/* Unitelya 2.1.3 — blue GTA RP visual layer built strictly on top of v1.4.8 */
:root,
[data-theme="dark"] {
  --bg: #080a0d;
  --bg-deep: #050609;
  --surface: rgba(15, 18, 22, .90);
  --surface-solid: #111419;
  --surface-soft: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .105);
  --line-strong: rgba(103, 216, 255, .34);
  --text: #f4f9ff;
  --text-soft: #c2c0b8;
  --text-muted: #858982;
  --cyan: #67d8ff;
  --cyan-strong: #2db9f4;
  --blue: #48b7ff;
  --violet: #9d59ff;
  --green: #67d8ff;
  --amber: #74cfff;
  --danger: #ff5f64;
  --rp-lime: #4cc8ff;
  --rp-yellow: #8cddff;
  --rp-purple: #a45dff;
  --rp-blue: #36b7ff;
  --rp-red: #ff5b62;
  --shadow: 0 28px 70px rgba(0,0,0,.48), 0 8px 22px rgba(0,0,0,.28);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --header-height: 82px;
}

[data-theme="light"] {
  --bg: #d8eaf6;
  --bg-deep: #abc8db;
  --surface: rgba(255, 248, 230, .89);
  --surface-solid: #eef8ff;
  --surface-soft: rgba(30, 20, 16, .055);
  --line: rgba(36, 26, 20, .17);
  --line-strong: rgba(38, 149, 201, .38);
  --text: #171711;
  --text-soft: #4e493f;
  --text-muted: #716a5e;
  --cyan: #217eb8;
  --cyan-strong: #176c9f;
  --blue: #167db1;
  --violet: #7340ad;
  --green: #2695c9;
  --amber: #268cc8;
  --danger: #c84444;
  --shadow: 0 28px 62px rgba(56, 34, 21, .20), 0 8px 18px rgba(56, 34, 21, .11);
}

html { scroll-padding-top: 98px; }
body {
  color: var(--text);
  background:
    linear-gradient(rgba(7, 8, 11, .92), rgba(7, 8, 11, .92)),
    radial-gradient(circle at 20% 10%, rgba(95, 105, 255, .18), transparent 32%),
    radial-gradient(circle at 85% 28%, rgba(76, 200, 255, .12), transparent 28%),
    #080a0d;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: .002em;
}
[data-theme="light"] body {
  background:
    linear-gradient(rgba(239, 221, 188, .92), rgba(230, 211, 176, .94)),
    radial-gradient(circle at 15% 4%, rgba(255, 130, 83, .24), transparent 33%),
    #d8eaf6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(255,255,255,.015) 50%, transparent 50.2%),
    linear-gradient(transparent 0 49.8%, rgba(255,255,255,.012) 50%, transparent 50.2%);
  background-size: 72px 72px;
  opacity: .38;
}

h1, h2, h3, .brand-name, .button, .desktop-nav a, .eyebrow, .module-kicker,
.step-status, .tab-button, .comparison-tag, .cta-badge, .window-address,
.hero-rp-window-top, .hero-rp-stats small, .hero-rp-brand strong, .footer-links b {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .045em;
}

p, li, small, .hero-rp-features, .footer-bottom, .footer-brand p {
  font-family: Arial, Helvetica, sans-serif;
}

::selection { color: #080b0d; background: var(--rp-lime); }
::-webkit-scrollbar-track { background: #08090c; }
::-webkit-scrollbar-thumb {
  border: 3px solid #08090c;
  background: linear-gradient(var(--rp-lime), #217eb8);
}

.page-noise { opacity: .085; mix-blend-mode: soft-light; }
.cursor-glow {
  width: 430px;
  height: 430px;
  z-index: 2;
  opacity: .48;
  background: radial-gradient(circle, rgba(76,200,255,.09), transparent 67%);
}
.section { padding: 108px 0; }
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,.018) 46.2% 46.7%, transparent 46.9%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: auto, 24px 24px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.section > .container { position: relative; z-index: 2; }

/* Header */
.site-header {
  height: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(5, 7, 10, .76);
  backdrop-filter: blur(18px) saturate(1.15);
}
.site-header.scrolled {
  background: rgba(4, 6, 9, .94);
  border-color: rgba(76,200,255,.22);
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
}
[data-theme="light"] .site-header,
[data-theme="light"] .site-header.scrolled {
  background: rgba(25, 21, 17, .90);
  border-color: rgba(255,255,255,.11);
}
.brand { gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  padding: 3px;
  border: 1px solid rgba(76,200,255,.46);
  border-radius: 7px;
  background: rgba(76,200,255,.07);
  filter: drop-shadow(0 0 14px rgba(76,200,255,.28));
}
.brand-name {
  color: #f4f9ff;
  font-size: 25px;
  letter-spacing: .035em;
  text-shadow: 0 2px 0 #000;
}
.desktop-nav { gap: 34px; }
.desktop-nav a {
  color: rgba(244,240,232,.72);
  font-size: 14px;
  letter-spacing: .07em;
}
.desktop-nav a::after {
  bottom: -11px;
  height: 3px;
  border-radius: 0;
  background: var(--rp-lime);
  box-shadow: 0 0 12px rgba(76,200,255,.5);
}
.desktop-nav a:hover { color: #fff; }
.header-discord-button,
.theme-toggle,
.mobile-menu-button {
  border-radius: 6px !important;
  border-color: rgba(255,255,255,.13) !important;
  color: #f4f9ff !important;
  background: rgba(255,255,255,.035) !important;
}
.header-discord-button {
  min-height: 42px;
  padding: 0 17px;
  font-family: Impact, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.header-discord-button:hover {
  border-color: rgba(76,200,255,.46) !important;
  background: rgba(76,200,255,.08) !important;
}
.header-discord-icon { color: #67d8ff; }

/* Buttons and small labels */
.button {
  min-height: 48px;
  border-radius: 5px;
  padding: 0 22px;
  font-size: 15px;
  letter-spacing: .055em;
  box-shadow: none;
}
.button-large { min-height: 56px; border-radius: 5px; padding: 0 27px; }
.button-primary {
  color: #0a0d0b;
  border: 1px solid #a6e9ff;
  background: linear-gradient(180deg, #79dcff, #2aa9ec);
  box-shadow: 0 14px 30px rgba(42,169,236,.22), inset 0 1px rgba(255,255,255,.55);
}
.button-primary:hover {
  background: linear-gradient(180deg, #9be7ff, #36b8f5);
  box-shadow: 0 18px 34px rgba(42,169,236,.32), 0 0 0 3px rgba(76,200,255,.1);
}
.button-secondary,
.button-ghost,
.button-transparent {
  color: #f4f9ff;
  border: 1px solid rgba(255,255,255,.19);
  background: rgba(4,6,9,.62);
  backdrop-filter: blur(12px);
}
.button-secondary:hover,
.button-ghost:hover,
.button-transparent:hover {
  color: #fff;
  border-color: var(--rp-lime);
  background: rgba(76,200,255,.08);
}
[data-theme="light"] .button-secondary,
[data-theme="light"] .button-ghost {
  color: #201c17;
  background: rgba(255,248,230,.72);
  border-color: rgba(40,28,20,.2);
}
.eyebrow,
.cta-badge,
.module-kicker,
.comparison-tag,
.step-status {
  border-radius: 4px;
  letter-spacing: .085em;
}
.eyebrow,
.cta-badge {
  color: var(--rp-lime);
  border-color: rgba(76,200,255,.34);
  background: rgba(76,200,255,.07);
}
.eyebrow-dot,
.cta-badge i { background: var(--rp-lime); box-shadow: 0 0 13px var(--rp-lime); }
.gradient-text,
.muted-gradient {
  color: var(--rp-lime) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 0 24px rgba(76,200,255,.18);
}

/* Hero */
.hero {
  min-height: 930px;
  padding-top: 134px;
  padding-bottom: 72px;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(5,7,10,.93) 0%, rgba(5,7,10,.68) 46%, rgba(5,7,10,.30) 72%, rgba(5,7,10,.62) 100%),
    linear-gradient(180deg, rgba(5,7,10,.18) 0%, rgba(5,7,10,.12) 58%, #080a0d 100%),
    url("assets/gta-rp-city.svg");
  background-size: cover;
  background-position: center 38%;
}
[data-theme="light"] .hero {
  background-image:
    linear-gradient(90deg, rgba(33,21,18,.76) 0%, rgba(33,21,18,.46) 46%, rgba(33,21,18,.13) 72%, rgba(33,21,18,.42) 100%),
    linear-gradient(180deg, rgba(12,11,14,.10), rgba(72,43,30,.20) 60%, #d8eaf6 100%),
    url("assets/gta-rp-city.svg");
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.hero::after {
  content: "LOS SANTOS // RP OPERATIONS // UNITELYA";
  position: absolute;
  left: max(20px, calc((100vw - var(--container))/2));
  bottom: 34px;
  color: rgba(255,255,255,.24);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: .24em;
  white-space: nowrap;
}
.hero-grid { display: none; }
.hero-orb { filter: blur(40px); opacity: .22; }
.hero-orb-one { background: var(--rp-purple); left: 8%; top: 12%; }
.hero-orb-two { background: var(--rp-lime); right: 5%; top: 35%; opacity: .13; }
.hero-panel {
  grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
  gap: 52px;
  min-height: 670px;
  padding: 64px 68px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: linear-gradient(112deg, rgba(5,7,10,.88), rgba(7,9,12,.62) 58%, rgba(12,14,18,.72));
  box-shadow: 0 44px 110px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(5px);
}
.hero-panel::before {
  background:
    linear-gradient(90deg, var(--rp-lime) 0 5px, transparent 5px),
    radial-gradient(circle at 18% -12%, rgba(255,255,255,.11), transparent 28%),
    repeating-linear-gradient(135deg, transparent 0 13px, rgba(255,255,255,.018) 13px 14px);
  background-size: auto;
}
.hero-panel::after {
  width: 230px;
  height: 230px;
  right: -70px;
  top: -90px;
  border-radius: 0;
  border: 0;
  background: linear-gradient(135deg, transparent 48%, rgba(76,200,255,.12) 49% 51%, transparent 52%);
  box-shadow: none;
  transform: rotate(15deg);
}
.hero-panel-copy h1 {
  max-width: 10ch;
  margin: 20px 0 22px;
  color: #f4f9ff;
  font-size: clamp(56px, 6vw, 88px);
  line-height: .91;
  letter-spacing: .02em;
  text-wrap: balance;
  text-shadow: 0 4px 0 #000, 0 0 38px rgba(0,0,0,.45);
}
.hero-panel-copy h1::first-line { color: #fff; }
.hero-panel .hero-lead {
  max-width: 56ch;
  color: rgba(244,240,232,.76);
  font-size: 17px;
  line-height: 1.68;
}
.hero-panel .cta-badge {
  border-radius: 3px;
  color: #b7ff7c;
  background: rgba(5,7,10,.54);
}
.hero-panel-actions { gap: 10px; }
.hero-rp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.hero-rp-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: rgba(244,240,232,.68);
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 4px;
  background: rgba(5,7,10,.50);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-rp-features b { color: var(--rp-lime); }
.hero-logo-stage { min-height: 480px; }
.hero-logo-glow {
  width: 440px;
  height: 240px;
  right: 5%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(76,200,255,.22), transparent 68%);
}
.hero-rp-window {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(5,7,10,.90);
  box-shadow: 0 38px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(76,200,255,.04) inset;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
}
.hero-rp-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,.035) 47%, transparent 49%);
}
.hero-rp-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  padding: 0 17px;
  color: rgba(244,240,232,.62);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: #0a0d11;
  font-size: 11px;
}
.hero-rp-window-top em {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--rp-lime);
  font-style: normal;
}
.hero-rp-window-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--rp-lime); box-shadow: 0 0 10px var(--rp-lime); }
.hero-rp-window-body { padding: 28px; }
.hero-rp-brand { display: grid; grid-template-columns: 98px 1fr; grid-template-rows: auto auto; align-items: center; gap: 0 18px; }
.hero-rp-brand .hero-logo-card {
  grid-row: 1 / 3;
  width: 98px;
  border-radius: 7px;
  transform: rotate(-4deg);
  background: linear-gradient(145deg, #11151b, #07090c);
  border: 1px solid rgba(76,200,255,.32);
  box-shadow: 0 18px 36px rgba(0,0,0,.38), 0 0 28px rgba(76,200,255,.08);
}
.hero-rp-brand strong { align-self: end; color: #f4f9ff; font-size: 32px; letter-spacing: .07em; }
.hero-rp-brand small { align-self: start; color: var(--rp-lime); font-size: 10px; letter-spacing: .16em; }
.hero-logo-image { transform: none !important; filter: contrast(1.08) saturate(.92); }
.hero-rp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 26px; }
.hero-rp-stats span {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}
.hero-rp-stats small { display: block; color: #7e837d; font-size: 9px; letter-spacing: .09em; }
.hero-rp-stats b { display: block; margin-top: 7px; color: #f4f9ff; font-family: Impact, "Arial Narrow", sans-serif; font-size: 30px; font-weight: 400; letter-spacing: .05em; }
.hero-rp-line { height: 45px; margin-top: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(76,200,255,.18) 0 2px, transparent 2px 21px); overflow: hidden; }
.hero-rp-line span { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, transparent, rgba(76,200,255,.10), transparent); animation: rp-scan 3.3s linear infinite; }
@keyframes rp-scan { from { transform: translateX(-100%); } to { transform: translateX(180%); } }

/* Global card treatment */
.dashboard-window,
.bento-card,
.comparison-card,
.workflow-step,
.workflow-summary,
.audience-tabs,
.principles-panel,
.accordion-item,
.faq-intro,
.footer-top,
.flip-front,
.flip-back {
  border-radius: 9px !important;
  border: 1px solid rgba(255,255,255,.105) !important;
  background: linear-gradient(145deg, rgba(18,21,26,.95), rgba(8,10,13,.97)) !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.025) !important;
}
[data-theme="light"] .dashboard-window,
[data-theme="light"] .bento-card,
[data-theme="light"] .comparison-card,
[data-theme="light"] .workflow-step,
[data-theme="light"] .workflow-summary,
[data-theme="light"] .audience-tabs,
[data-theme="light"] .principles-panel,
[data-theme="light"] .accordion-item,
[data-theme="light"] .faq-intro,
[data-theme="light"] .footer-top,
[data-theme="light"] .flip-front,
[data-theme="light"] .flip-back {
  color: #1c1915;
  border-color: rgba(52,37,25,.18) !important;
  background: linear-gradient(145deg, rgba(255,248,230,.96), rgba(226,207,173,.96)) !important;
  box-shadow: 0 24px 50px rgba(65,39,21,.17), inset 0 1px rgba(255,255,255,.4) !important;
}
.spotlight-card::before { background: radial-gradient(circle, rgba(76,200,255,.11), transparent 68%); }

/* Showcase / dashboard */
.showcase-section {
  background:
    linear-gradient(180deg, #080a0d, rgba(15,13,20,.84) 46%, #080a0d),
    radial-gradient(circle at 85% 30%, rgba(95,105,255,.17), transparent 34%);
}
[data-theme="light"] .showcase-section { background: linear-gradient(180deg, #d8eaf6, #c9ad88 48%, #d8eaf6); }
.showcase-copy h2,
.section-heading h2,
.workflow-copy h2,
.principles-copy h2,
.faq-intro h2 {
  color: var(--text);
  font-size: clamp(44px, 4.8vw, 70px);
  line-height: .94;
  letter-spacing: .025em;
  text-shadow: 0 3px 0 rgba(0,0,0,.30);
}
.showcase-copy p,
.section-heading p,
.workflow-copy p,
.principles-copy p,
.faq-intro p { color: var(--text-soft); }
.showcase-visual { padding: 18px 10px 34px; }
.showcase-visual .dashboard-window { border-color: rgba(76,200,255,.20) !important; }
.window-topbar { height: 48px; background: #090b0e; }
.window-dots span { border-radius: 2px; }
.window-address { border-radius: 3px; font-family: "Arial Narrow", Arial, sans-serif; letter-spacing: .08em; }
.dashboard-sidebar { background: rgba(0,0,0,.2); }
.sidebar-workspace,
.sidebar-profile,
.mini-stat,
.activity-panel,
.tasks-panel { border-radius: 5px; }
.sidebar-links span { border-radius: 3px; text-transform: uppercase; letter-spacing: .045em; }
.sidebar-links span.active { color: #b9ecff; background: linear-gradient(90deg, rgba(76,200,255,.15), transparent); box-shadow: inset 3px 0 var(--rp-lime); }
.mini-mark,
.workspace-avatar,
.profile-avatar,
.mini-stat-icon,
.task-icon,
.icon-button,
.dash-primary { border-radius: 4px; }
.mini-mark,
.dash-primary { color: #05131d; background: var(--rp-lime); }
.chart-line { stroke: var(--rp-lime) !important; }
.chart-area { fill: url(#chartGradient) !important; opacity: .36; }
.trend { color: var(--rp-lime); background: rgba(76,200,255,.08); }
.showcase-visual .floating-card {
  border-radius: 5px;
  background: rgba(7,9,12,.94);
  border-color: rgba(76,200,255,.19);
}
[data-theme="light"] .showcase-visual .floating-card { background: rgba(240,248,255,.95); }

/* Flip cards / capabilities */
.problem-section {
  background:
    linear-gradient(180deg, #080a0d, #101014 50%, #080a0d),
    radial-gradient(circle at 15% 45%, rgba(255,91,98,.11), transparent 28%);
}
[data-theme="light"] .problem-section { background: linear-gradient(180deg, #d8eaf6, #d2b995 50%, #d8eaf6); }
.flip-grid { gap: 16px; }
.flip-card { height: 310px; perspective: 1100px; }
.flip-front,
.flip-back { padding: 25px; }
.flip-front::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-left: 4px solid var(--rp-lime);
  background: linear-gradient(135deg, rgba(76,200,255,.06), transparent 42%);
}
.flip-card:nth-child(2) .flip-front::after { border-left-color: var(--rp-purple); background: linear-gradient(135deg, rgba(95,105,255,.07), transparent 42%); }
.flip-card:nth-child(3) .flip-front::after { border-left-color: var(--rp-blue); background: linear-gradient(135deg, rgba(54,183,255,.07), transparent 42%); }
.flip-symbol {
  border-radius: 5px;
  color: var(--rp-lime);
  border: 1px solid rgba(76,200,255,.30);
  background: rgba(76,200,255,.07);
}
.flip-card:nth-child(2) .flip-symbol { color: var(--rp-purple); border-color: rgba(95,105,255,.3); background: rgba(95,105,255,.07); }
.flip-card:nth-child(3) .flip-symbol { color: var(--rp-blue); border-color: rgba(54,183,255,.3); background: rgba(54,183,255,.07); }
.flip-face h3 { font-size: 26px; letter-spacing: .035em; }
.flip-hint { color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.flip-back li::before { color: var(--rp-lime); }

/* Modules */
.modules-section {
  background:
    linear-gradient(180deg, #080a0d, rgba(19,16,24,.92), #080a0d),
    radial-gradient(circle at 80% 35%, rgba(95,105,255,.14), transparent 35%);
}
[data-theme="light"] .modules-section { background: linear-gradient(180deg, #d8eaf6, #c5a87f, #d8eaf6); }
.bento-grid { gap: 14px; }
.bento-card { overflow: hidden; }
.bento-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rp-lime), transparent 58%);
}
.bento-card:nth-child(2)::after { background: linear-gradient(90deg, var(--rp-purple), transparent 58%); }
.bento-card:nth-child(3)::after { background: linear-gradient(90deg, var(--rp-yellow), transparent 58%); }
.bento-card:nth-child(4)::after { background: linear-gradient(90deg, var(--rp-blue), transparent 58%); }
.module-icon { border-radius: 5px; }
.bento-copy h3 { font-size: 27px; letter-spacing: .035em; }
.feature-tags span { border-radius: 3px; text-transform: uppercase; letter-spacing: .045em; }

/* Depth section */
.depth-section {
  background:
    linear-gradient(rgba(7,9,12,.87), rgba(7,9,12,.94)),
    url("assets/gta-rp-city.svg") center 62% / cover fixed;
}
[data-theme="light"] .depth-section {
  background:
    linear-gradient(rgba(215,196,165,.86), rgba(215,196,165,.93)),
    url("assets/gta-rp-city.svg") center 62% / cover fixed;
}
.depth-section::before { opacity: .35; }
.comparison-card { min-height: 410px; }
.comparison-before { border-top: 4px solid var(--rp-red) !important; }
.comparison-after { border-top: 4px solid var(--rp-lime) !important; }
.comparison-tag { border-radius: 3px; }
.comparison-after .comparison-tag { color: var(--rp-lime); }
.flow-core { border-radius: 6px; border-color: rgba(76,200,255,.28); }

/* Workflow — highlight only on hover, preserving v1.4.8 behavior */
.workflow-section {
  background:
    linear-gradient(100deg, rgba(76,200,255,.045), transparent 48%),
    #090b0e;
}
[data-theme="light"] .workflow-section { background: linear-gradient(100deg, rgba(94,139,38,.08), transparent 48%), #d8eaf6; }
.workflow-steps::before { left: 39px; background: linear-gradient(var(--rp-lime), rgba(255,255,255,.09), transparent); }
.workflow-step {
  border-radius: 7px !important;
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease !important;
}
.workflow-step::before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 7px 0 0 7px;
  background: linear-gradient(var(--rp-lime), #267fb7);
}
.workflow-step:hover,
[data-theme="dark"] .workflow-step:hover {
  transform: none !important;
  color: var(--text) !important;
  border-color: rgba(76,200,255,.46) !important;
  background: linear-gradient(90deg, rgba(76,200,255,.10), rgba(12,15,18,.96) 42%) !important;
  box-shadow: 0 22px 48px rgba(0,0,0,.42), 0 0 0 1px rgba(76,200,255,.07) inset !important;
}
[data-theme="light"] .workflow-step:hover {
  background: linear-gradient(90deg, rgba(76,160,212,.14), rgba(239,248,255,.96) 44%) !important;
}
.workflow-step:hover::before { width: 4px !important; }
.workflow-step .step-number {
  border-radius: 4px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
}
.workflow-step:hover .step-number {
  color: #04131d !important;
  background: var(--rp-lime) !important;
  box-shadow: 0 0 18px rgba(76,200,255,.24) !important;
}
.workflow-step:hover h3,
.workflow-step:hover p,
.workflow-step:hover .step-status { color: inherit !important; }
.step-status { color: var(--text-muted); border-radius: 3px; }

/* Audience tabs */
.audience-section {
  background:
    linear-gradient(180deg, #080a0d, #101014 55%, #080a0d),
    radial-gradient(circle at 15% 45%, rgba(54,183,255,.12), transparent 28%);
}
[data-theme="light"] .audience-section { background: linear-gradient(180deg, #d8eaf6, #ccb18d 55%, #d8eaf6); }
.audience-tabs { border-radius: 10px !important; }
.tab-list { background: rgba(0,0,0,.18); border-bottom-color: rgba(255,255,255,.08); }
.tab-button { border-radius: 4px; }
.tab-button.active {
  color: #0b0d0b;
  border-color: var(--rp-lime);
  background: var(--rp-lime);
  box-shadow: 0 0 20px rgba(76,200,255,.14);
}
.tab-copy h3 { font-size: 38px; letter-spacing: .035em; }
.tab-copy li::before { color: var(--rp-lime); }
.metric-center,
.metric-chip,
.kanban-col,
.profile-card-ui { border-radius: 5px; }

/* Principles and FAQ */
.principles-section {
  background:
    linear-gradient(135deg, rgba(95,105,255,.07), transparent 52%),
    #090b0e;
}
[data-theme="light"] .principles-section { background: linear-gradient(135deg, rgba(111,64,173,.08), transparent 52%), #d8eaf6; }
.principles-panel { border-left: 4px solid var(--rp-purple) !important; }
.principles-panel::after {
  content: "RP";
  left: -22px;
  bottom: -90px;
  color: rgba(76,200,255,.035);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 310px;
  letter-spacing: -.06em;
}
.principles-list article > span,
.principles-list article span {
  color: var(--rp-lime) !important;
  border-radius: 4px;
  background: rgba(76,200,255,.06) !important;
  -webkit-text-fill-color: currentColor !important;
}
.principles-list h3 { font-size: 20px; }
.faq-section {
  background:
    linear-gradient(180deg, #080a0d, #0e1013 60%, #080a0d),
    radial-gradient(circle at 82% 25%, rgba(76,200,255,.08), transparent 30%);
}
[data-theme="light"] .faq-section { background: linear-gradient(180deg, #d8eaf6, #cdb28e 60%, #d8eaf6); }
.faq-intro { border-top: 4px solid var(--rp-yellow) !important; }
.accordion { gap: 9px; }
.accordion-item { overflow: hidden; }
.accordion-item.open { border-color: rgba(76,200,255,.34) !important; }
.accordion-trigger { font-family: Arial, Helvetica, sans-serif; font-weight: 700; }
.accordion-trigger i {
  border-radius: 3px;
  color: #0b0d0b;
  background: var(--rp-lime);
}

/* Footer */
.site-footer {
  padding-top: 58px;
  background:
    linear-gradient(rgba(5,7,10,.96), rgba(5,7,10,.99)),
    url("assets/gta-rp-city.svg") center 70% / cover;
  border-top: 1px solid rgba(76,200,255,.16);
}
[data-theme="light"] .site-footer {
  background: linear-gradient(rgba(35,26,20,.94), rgba(20,16,13,.98)), url("assets/gta-rp-city.svg") center 70% / cover;
  color: #f4f9ff;
}
.footer-top {
  color: #f4f9ff;
  border-color: rgba(255,255,255,.12) !important;
  background: rgba(8,10,13,.84) !important;
}
.footer-brand p,
.footer-links a,
.footer-bottom { color: rgba(244,240,232,.58); }
.footer-links a:hover { color: var(--rp-lime); }
.footer-bottom { border-top-color: rgba(255,255,255,.09); }
.footer-author-text { color: var(--rp-lime); }

/* Mobile */
@media (max-width: 1180px) {
  .hero-panel { grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); padding: 54px; }
  .hero-panel-copy h1 { font-size: clamp(52px, 6.2vw, 76px); }
  .hero-rp-window { transform: perspective(1200px) rotateY(-4deg); }
}

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .site-header { background: rgba(5,7,10,.94) !important; }
  .mobile-menu {
    border-color: rgba(76,200,255,.18);
    background: rgba(5,7,10,.98);
  }
  .mobile-menu a { color: #f4f9ff; font-family: Impact, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .05em; }
  .hero { min-height: auto; padding-top: 112px; padding-bottom: 86px; background-position: 58% center; }
  .hero::after { display: none; }
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding: 42px 28px;
    background: rgba(5,7,10,.78);
  }
  .hero-panel-copy h1 { max-width: 10ch; font-size: clamp(48px, 13vw, 72px); }
  .hero-logo-stage { min-height: 0; }
  .hero-rp-window { width: 100%; transform: none; }
  .hero-rp-window-body { padding: 20px; }
  .hero-rp-brand { grid-template-columns: 74px 1fr; gap: 0 13px; }
  .hero-rp-brand .hero-logo-card { width: 74px; }
  .hero-rp-brand strong { font-size: 25px; }
  .showcase-copy h2,
  .section-heading h2,
  .workflow-copy h2,
  .principles-copy h2,
  .faq-intro h2 { font-size: clamp(40px, 11vw, 58px); }
  .depth-section { background-attachment: scroll; }
  .workflow-steps::before { left: 34px; }
  .workflow-step { grid-template-columns: 44px 1fr; }
  .footer-top { background: rgba(8,10,13,.94) !important; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .hero { padding-top: 102px; }
  .hero-panel { padding: 34px 20px; border-radius: 8px; }
  .hero-panel-copy h1 { font-size: clamp(43px, 14vw, 62px); line-height: .91; }
  .hero-panel .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-rp-features { display: grid; }
  .hero-rp-features span { width: 100%; }
  .hero-rp-window-top { gap: 8px; font-size: 8px; }
  .hero-rp-window-top em { font-size: 8px; }
  .hero-rp-stats { grid-template-columns: 1fr 1fr; }
  .hero-rp-stats span { min-height: 72px; }
  .hero-rp-stats b { font-size: 25px; }
  .flip-card { height: 300px; }
  .tab-copy h3 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rp-line span { animation: none; }
}


/* ===== v2.1.3: user city photo + fixed cinematic blue background ===== */
body {
  background:
    linear-gradient(180deg, rgba(4, 10, 18, .34) 0%, rgba(4, 11, 20, .68) 38%, rgba(5, 12, 21, .92) 78%, #060d16 100%),
    linear-gradient(115deg, rgba(30, 158, 232, .22), rgba(91, 104, 255, .14)),
    url("assets/gta-rp-kremlin-blue.webp") center top / cover fixed no-repeat !important;
}
[data-theme="light"] body {
  background:
    linear-gradient(180deg, rgba(232, 245, 255, .54) 0%, rgba(222, 239, 251, .76) 43%, rgba(231, 242, 250, .94) 82%, #edf6fc 100%),
    linear-gradient(115deg, rgba(49, 166, 231, .14), rgba(95, 111, 255, .09)),
    url("assets/gta-rp-kremlin-blue.webp") center top / cover fixed no-repeat !important;
}
body::before {
  z-index: 0;
  opacity: .28;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(103,216,255,.025) 50%, transparent 50.2%),
    linear-gradient(transparent 0 49.8%, rgba(103,216,255,.018) 50%, transparent 50.2%);
  background-size: 72px 72px;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header {
  background: rgba(4, 10, 18, .74);
  border-bottom-color: rgba(103,216,255,.10);
}
.site-header.scrolled {
  background: rgba(4, 10, 18, .94);
  border-color: rgba(76,200,255,.25);
  box-shadow: 0 12px 34px rgba(0,0,0,.34), 0 0 28px rgba(46,185,244,.06);
}
.hero {
  min-height: 880px;
  display: grid;
  align-items: center;
}
.hero-panel {
  border-color: rgba(103,216,255,.24) !important;
  background:
    linear-gradient(120deg, rgba(255,255,255,.035), transparent 35%),
    rgba(5, 12, 22, .67) !important;
  backdrop-filter: blur(16px) saturate(1.18);
  box-shadow: 0 32px 82px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.05);
}
[data-theme="light"] .hero-panel {
  background: rgba(239, 249, 255, .76) !important;
  box-shadow: 0 28px 64px rgba(45, 85, 117, .18), inset 0 1px rgba(255,255,255,.66);
}
.hero-rp-window,
.dashboard-window,
.bento-card,
.comparison-card,
.workflow-step,
.workflow-summary,
.audience-tabs,
.principles-panel,
.accordion-item,
.final-cta,
.modal-card,
.mobile-menu,
.tab-shell,
.flip-card,
.footer-top,
.faq-intro {
  background: rgba(8, 17, 29, .76) !important;
  border-color: rgba(103,216,255,.16) !important;
  backdrop-filter: blur(14px) saturate(1.16);
}
[data-theme="light"] .hero-rp-window,
[data-theme="light"] .dashboard-window,
[data-theme="light"] .bento-card,
[data-theme="light"] .comparison-card,
[data-theme="light"] .workflow-step,
[data-theme="light"] .workflow-summary,
[data-theme="light"] .audience-tabs,
[data-theme="light"] .principles-panel,
[data-theme="light"] .accordion-item,
[data-theme="light"] .final-cta,
[data-theme="light"] .modal-card,
[data-theme="light"] .mobile-menu,
[data-theme="light"] .tab-shell,
[data-theme="light"] .flip-card,
[data-theme="light"] .footer-top,
[data-theme="light"] .faq-intro {
  background: rgba(245, 251, 255, .80) !important;
}
.showcase-section,
.capabilities-section,
.comparison-section,
.modules-section,
.workflow-section,
.audience-section,
.principles-section,
.faq-section,
.final-section {
  background: transparent !important;
}
.button-primary {
  color: #04131d;
  border-color: #a6e9ff;
  background: linear-gradient(180deg, #79dcff, #2aa9ec);
  box-shadow: 0 14px 30px rgba(42,169,236,.24), inset 0 1px rgba(255,255,255,.58);
}
.button-primary:hover {
  background: linear-gradient(180deg, #9be7ff, #36b8f5);
  box-shadow: 0 18px 36px rgba(42,169,236,.34), 0 0 0 3px rgba(76,200,255,.11);
}
.header-discord-icon { color: #67d8ff; }
.hero-rp-window-top em i,
.window-status::before,
.timeline-dot.active::after,
.status-dot,
.online-dot {
  background: #4cc8ff !important;
  box-shadow: 0 0 13px rgba(76,200,255,.74) !important;
}
.workflow-step:hover {
  border-color: rgba(76,200,255,.46) !important;
  background: rgba(76,200,255,.075) !important;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#67d8ff, #2a7db8);
}
@media (max-width: 900px) {
  body,
  [data-theme="light"] body {
    background-attachment: scroll !important;
    background-image:
      linear-gradient(180deg, rgba(4, 10, 18, .42) 0%, rgba(4, 11, 20, .76) 42%, rgba(5, 12, 21, .94) 82%, #060d16 100%),
      linear-gradient(115deg, rgba(30, 158, 232, .19), rgba(91, 104, 255, .11)),
      url("assets/gta-rp-kremlin-blue-mobile.webp") !important;
    background-position: center top !important;
    background-size: cover !important;
  }
  [data-theme="light"] body {
    background-image:
      linear-gradient(180deg, rgba(232, 245, 255, .62) 0%, rgba(222, 239, 251, .82) 44%, rgba(231, 242, 250, .96) 84%, #edf6fc 100%),
      linear-gradient(115deg, rgba(49, 166, 231, .12), rgba(95, 111, 255, .07)),
      url("assets/gta-rp-kremlin-blue-mobile.webp") !important;
  }
  .hero { min-height: auto; }
}


/* ===== v2.1.7: remove white theme and keep full dark cinematic mode ===== */
[data-theme="light"] body {
  background:
    linear-gradient(180deg, rgba(4, 10, 18, .34) 0%, rgba(4, 11, 20, .68) 38%, rgba(5, 12, 21, .92) 78%, #060d16 100%),
    linear-gradient(115deg, rgba(30, 158, 232, .22), rgba(91, 104, 255, .14)),
    url("assets/gta-rp-kremlin-blue.webp") center top / cover fixed no-repeat !important;
}
[data-theme="light"] .site-header,
[data-theme="light"] .site-header.scrolled {
  background: rgba(4, 10, 18, .88) !important;
  border-color: rgba(103,216,255,.16) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.34), 0 0 28px rgba(46,185,244,.06) !important;
}
[data-theme="light"] .hero {
  background-image:
    linear-gradient(90deg, rgba(5,7,10,.93) 0%, rgba(5,7,10,.68) 46%, rgba(5,7,10,.30) 72%, rgba(5,7,10,.62) 100%),
    linear-gradient(180deg, rgba(5,7,10,.18) 0%, rgba(5,7,10,.12) 58%, #080a0d 100%),
    url("assets/gta-rp-city.svg") !important;
}
[data-theme="light"] .hero-panel {
  background:
    linear-gradient(120deg, rgba(255,255,255,.035), transparent 35%),
    rgba(5, 12, 22, .67) !important;
  border-color: rgba(103,216,255,.24) !important;
  box-shadow: 0 32px 82px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.05) !important;
}
[data-theme="light"] .hero-rp-window,
[data-theme="light"] .dashboard-window,
[data-theme="light"] .bento-card,
[data-theme="light"] .comparison-card,
[data-theme="light"] .workflow-step,
[data-theme="light"] .workflow-summary,
[data-theme="light"] .audience-tabs,
[data-theme="light"] .principles-panel,
[data-theme="light"] .accordion-item,
[data-theme="light"] .final-cta,
[data-theme="light"] .modal-card,
[data-theme="light"] .mobile-menu,
[data-theme="light"] .tab-shell,
[data-theme="light"] .flip-card,
[data-theme="light"] .footer-top,
[data-theme="light"] .faq-intro {
  background: rgba(8, 17, 29, .76) !important;
  border-color: rgba(103,216,255,.16) !important;
  color: #f4f9ff !important;
}
[data-theme="light"] .desktop-nav a,
[data-theme="light"] .text-soft,
[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] .section-text,
[data-theme="light"] .workflow-step p,
[data-theme="light"] .flip-front p,
[data-theme="light"] .flip-back p,
[data-theme="light"] .accordion-content,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-bottom {
  color: rgba(244,248,255,.78) !important;
}
[data-theme="light"] .brand-name,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] .button,
[data-theme="light"] .module-title,
[data-theme="light"] .workflow-step h3,
[data-theme="light"] .accordion-trigger {
  color: #f4f9ff !important;
}
@media (max-width: 900px) {
  [data-theme="light"] body {
    background-attachment: scroll !important;
    background-image:
      linear-gradient(180deg, rgba(4, 10, 18, .42) 0%, rgba(4, 11, 20, .76) 42%, rgba(5, 12, 21, .94) 82%, #060d16 100%),
      linear-gradient(115deg, rgba(30, 158, 232, .19), rgba(91, 104, 255, .11)),
      url("assets/gta-rp-kremlin-blue-mobile.webp") !important;
    background-position: center top !important;
    background-size: cover !important;
  }
}


/* ===== v2.1.8: dark-only mode + new decorative hero object ===== */
:root {
  color-scheme: dark;
}
.theme-toggle {
  display: none !important;
}
[data-theme="light"], html:not([data-theme]) {
  color-scheme: dark;
}
[data-theme="light"] body,
html:not([data-theme]) body {
  background:
    linear-gradient(rgba(7, 8, 11, .92), rgba(7, 8, 11, .92)),
    radial-gradient(circle at 20% 10%, rgba(95, 105, 255, .18), transparent 32%),
    radial-gradient(circle at 85% 28%, rgba(76, 200, 255, .12), transparent 28%),
    #080a0d !important;
  color: #f4f9ff !important;
}
[data-theme="light"] .site-header,
[data-theme="light"] .site-header.scrolled,
html:not([data-theme]) .site-header,
html:not([data-theme]) .site-header.scrolled {
  background: rgba(5, 7, 10, .84) !important;
  border-color: rgba(255,255,255,.08) !important;
}
[data-theme="light"] .desktop-nav a,
[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] .text-soft,
[data-theme="light"] .section-copy p,
[data-theme="light"] .hero-lead,
[data-theme="light"] .footer-bottom,
html:not([data-theme]) .desktop-nav a,
html:not([data-theme]) p,
html:not([data-theme]) li,
html:not([data-theme]) .text-soft,
html:not([data-theme]) .section-copy p,
html:not([data-theme]) .hero-lead,
html:not([data-theme]) .footer-bottom {
  color: rgba(244,249,255,.78) !important;
}
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] .brand-name,
[data-theme="light"] .button,
[data-theme="light"] .accordion-trigger,
[data-theme="light"] .module-title,
html:not([data-theme]) h1,
html:not([data-theme]) h2,
html:not([data-theme]) h3,
html:not([data-theme]) .brand-name,
html:not([data-theme]) .button,
html:not([data-theme]) .accordion-trigger,
html:not([data-theme]) .module-title {
  color: #f4f9ff !important;
}
[data-theme="light"] .hero-panel,
[data-theme="light"] .hero-rp-window,
[data-theme="light"] .dashboard-window,
[data-theme="light"] .comparison-card,
[data-theme="light"] .workflow-step,
[data-theme="light"] .workflow-summary,
[data-theme="light"] .audience-tabs,
[data-theme="light"] .principles-panel,
[data-theme="light"] .accordion-item,
[data-theme="light"] .final-cta,
[data-theme="light"] .modal-card,
[data-theme="light"] .mobile-menu,
[data-theme="light"] .tab-shell,
[data-theme="light"] .flip-card,
[data-theme="light"] .footer-top,
[data-theme="light"] .faq-intro,
[data-theme="light"] .bento-card,
[data-theme="light"] .footer-card,
html:not([data-theme]) .hero-panel,
html:not([data-theme]) .hero-rp-window,
html:not([data-theme]) .dashboard-window,
html:not([data-theme]) .comparison-card,
html:not([data-theme]) .workflow-step,
html:not([data-theme]) .workflow-summary,
html:not([data-theme]) .audience-tabs,
html:not([data-theme]) .principles-panel,
html:not([data-theme]) .accordion-item,
html:not([data-theme]) .final-cta,
html:not([data-theme]) .modal-card,
html:not([data-theme]) .mobile-menu,
html:not([data-theme]) .tab-shell,
html:not([data-theme]) .flip-card,
html:not([data-theme]) .footer-top,
html:not([data-theme]) .faq-intro,
html:not([data-theme]) .bento-card,
html:not([data-theme]) .footer-card {
  background: rgba(8, 17, 29, .74) !important;
  border-color: rgba(103,216,255,.14) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.26) !important;
}

/* ===== v2.2.0: replace old side hero illustration with cinematic Moscow background photo ===== */
.hero,
[data-theme="light"] .hero,
html:not([data-theme]) .hero {
  background-image:
    linear-gradient(90deg, rgba(4, 8, 14, .90) 0%, rgba(4, 8, 14, .66) 40%, rgba(4, 8, 14, .28) 67%, rgba(4, 8, 14, .74) 100%),
    linear-gradient(180deg, rgba(6, 11, 18, .10) 0%, rgba(6, 11, 18, .18) 56%, #060d16 100%),
    url("assets/gta-rp-kremlin-blue.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 900px) {
  .hero,
  [data-theme="light"] .hero,
  html:not([data-theme]) .hero {
    background-image:
      linear-gradient(180deg, rgba(4, 8, 14, .52) 0%, rgba(4, 8, 14, .74) 38%, rgba(6, 12, 20, .94) 82%, #060d16 100%),
      linear-gradient(115deg, rgba(30, 158, 232, .12), rgba(91, 104, 255, .08)),
      url("assets/gta-rp-kremlin-blue-mobile.webp") !important;
    background-position: center top !important;
  }
}

/* ===== v2.2.1: soften depth/comparison section darkness ===== */
.depth-section,
[data-theme="light"] .depth-section,
html:not([data-theme]) .depth-section {
  background:
    linear-gradient(rgba(6, 11, 18, .52), rgba(6, 11, 18, .66)),
    url("assets/gta-rp-kremlin-blue.webp") center 54% / cover fixed !important;
}

.depth-section::before,
[data-theme="light"] .depth-section::before,
html:not([data-theme]) .depth-section::before {
  opacity: .14 !important;
}

.comparison-card,
[data-theme="light"] .comparison-card,
html:not([data-theme]) .comparison-card {
  background: rgba(7, 14, 24, .54) !important;
  border-color: rgba(103, 216, 255, .20) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(10px) saturate(1.12) !important;
}

.comparison-card:hover,
[data-theme="light"] .comparison-card:hover,
html:not([data-theme]) .comparison-card:hover {
  background: rgba(8, 17, 28, .60) !important;
}

.comparison-card p,
.comparison-card li,
.depth-copy p {
  color: rgba(236, 243, 252, .88) !important;
}

.comparison-card h3,
.depth-copy h2 {
  text-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}

/* ===== v2.2.2: make "Порядок в процессах" section translucent like the others ===== */
.comparison-section,
.depth-section,
[data-theme="light"] .comparison-section,
[data-theme="light"] .depth-section,
html:not([data-theme]) .comparison-section,
html:not([data-theme]) .depth-section {
  background: transparent !important;
}

.depth-section::before,
.comparison-section::before,
[data-theme="light"] .depth-section::before,
[data-theme="light"] .comparison-section::before,
html:not([data-theme]) .depth-section::before,
html:not([data-theme]) .comparison-section::before {
  opacity: 0 !important;
  background: none !important;
}

.depth-copy,
[data-theme="light"] .depth-copy,
html:not([data-theme]) .depth-copy {
  background: transparent !important;
}

.comparison-card,
[data-theme="light"] .comparison-card,
html:not([data-theme]) .comparison-card {
  background: rgba(8, 17, 29, .42) !important;
  border-color: rgba(103, 216, 255, .16) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(8px) saturate(1.08) !important;
}

.comparison-card:hover,
[data-theme="light"] .comparison-card:hover,
html:not([data-theme]) .comparison-card:hover {
  background: rgba(8, 17, 29, .52) !important;
}

.depth-copy p,
.comparison-card p,
.comparison-card li,
[data-theme="light"] .depth-copy p,
html:not([data-theme]) .depth-copy p {
  color: rgba(236, 243, 252, .90) !important;
}

/* ===== v2.2.3: remove outline/frame around Unitelya logo in header and hero card ===== */
.brand-mark,
[data-theme="light"] .brand-mark,
html:not([data-theme]) .brand-mark {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.brand-mark img,
[data-theme="light"] .brand-mark img,
html:not([data-theme]) .brand-mark img {
  display: block;
  width: 42px;
  height: 42px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.hero-rp-brand .hero-logo-card,
[data-theme="light"] .hero-rp-brand .hero-logo-card,
html:not([data-theme]) .hero-rp-brand .hero-logo-card {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-logo-image,
[data-theme="light"] .hero-logo-image,
html:not([data-theme]) .hero-logo-image {
  display: block;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}


/* ===== v2.2.4: fixed floating header + glass back-to-top button ===== */
.site-header,
[data-theme="light"] .site-header,
html:not([data-theme]) .site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  transform: translateZ(0);
  will-change: background, border-color, box-shadow;
}

.site-header.scrolled,
[data-theme="light"] .site-header.scrolled,
html:not([data-theme]) .site-header.scrolled {
  background: rgba(4, 10, 18, .88) !important;
  border-bottom-color: rgba(103, 216, 255, .24) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .34), 0 0 28px rgba(46, 185, 244, .07) !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 2.3vw, 34px);
  bottom: clamp(18px, 2.3vw, 34px);
  z-index: 950;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: #dff6ff;
  border: 1px solid rgba(111, 211, 255, .30);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(69, 193, 255, .18), rgba(67, 105, 255, .10)),
    rgba(7, 18, 31, .56);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .30), inset 0 1px rgba(255, 255, 255, .10);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(.88);
  transition: opacity .24s ease, visibility .24s ease, transform .24s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(103, 216, 255, .42));
}

.back-to-top:hover {
  color: #fff;
  border-color: rgba(116, 221, 255, .62);
  background:
    linear-gradient(145deg, rgba(83, 204, 255, .28), rgba(78, 116, 255, .16)),
    rgba(7, 18, 31, .66);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34), 0 0 24px rgba(65, 190, 255, .14), inset 0 1px rgba(255, 255, 255, .14);
  transform: translateY(-3px) scale(1.03);
}

.back-to-top:active {
  transform: translateY(0) scale(.96);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(115, 218, 255, .90);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .back-to-top {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity .15s ease, visibility .15s ease;
  }
}


/* ===== v2.2.7: flip cards cleanup + no sticky tap state on phones ===== */
.flip-card,
.flip-inner {
  overflow: hidden !important;
  isolation: isolate;
}

.flip-card:focus {
  outline: none;
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .flip-card {
    height: auto !important;
    perspective: none !important;
  }

  .flip-inner {
    display: grid !important;
    height: auto !important;
    transform: none !important;
    transform-style: flat !important;
    gap: 14px;
  }

  .flip-card:hover .flip-inner,
  .flip-card:focus .flip-inner,
  .flip-card:focus-visible .flip-inner {
    transform: none !important;
  }

  .flip-front,
  .flip-back {
    position: relative !important;
    inset: auto !important;
    min-height: 0 !important;
    transform: none !important;
    backface-visibility: visible !important;
  }

  .flip-front::after {
    display: none !important;
  }

  .flip-hint {
    display: none !important;
  }
}


/* ===== v2.2.8: flip cards final fix — no 3D shell, no stuck tap state ===== */
.flip-grid {
  align-items: stretch;
}

.flip-card,
.flip-inner {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.flip-card {
  position: relative;
  height: 310px !important;
  perspective: none !important;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: none !important;
  transform-style: flat !important;
}

.flip-card:hover .flip-inner,
.flip-card:focus .flip-inner,
.flip-card:focus-visible .flip-inner {
  transform: none !important;
}

.flip-front,
.flip-back {
  position: absolute !important;
  inset: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  transform: none !important;
  transition: opacity .28s ease, visibility .28s ease;
}

.flip-front {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.flip-back {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.flip-front::before,
.flip-back::before,
.flip-back::after {
  display: none !important;
}

.flip-front::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-left: 4px solid var(--rp-lime);
  background: linear-gradient(135deg, rgba(76,200,255,.06), transparent 42%);
}

.flip-card:nth-child(2) .flip-front::after {
  border-left-color: var(--rp-purple);
  background: linear-gradient(135deg, rgba(95,105,255,.07), transparent 42%);
}

.flip-card:nth-child(3) .flip-front::after {
  border-left-color: var(--rp-blue);
  background: linear-gradient(135deg, rgba(54,183,255,.07), transparent 42%);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-front,
  .flip-card:focus-within .flip-front {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .flip-card:hover .flip-back,
  .flip-card:focus-within .flip-back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .flip-card {
    height: auto !important;
  }

  .flip-inner {
    display: grid !important;
    height: auto !important;
    gap: 14px;
  }

  .flip-front,
  .flip-back {
    position: relative !important;
    inset: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .flip-hint {
    display: none !important;
  }
}


/* ===== v2.2.9: restore stable flip on desktop, disable flip on touch ===== */
.flip-card,
.flip-inner {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.flip-card {
  position: relative;
  height: 286px !important;
  perspective: 1100px !important;
  overflow: visible !important;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible !important;
  transform: rotateY(0deg) !important;
  transform-style: preserve-3d !important;
  transition: transform .75s cubic-bezier(.2,.7,.2,1) !important;
}

.flip-card:hover .flip-inner,
.flip-card:focus .flip-inner,
.flip-card:focus-visible .flip-inner {
  transform: rotateY(0deg) !important;
}

.flip-front,
.flip-back {
  position: absolute !important;
  inset: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform-style: preserve-3d !important;
}

.flip-front {
  transform: rotateY(0deg) !important;
  z-index: 2;
}

.flip-back {
  transform: rotateY(180deg) !important;
  z-index: 1;
}

.flip-front::before,
.flip-back::before,
.flip-back::after {
  display: none !important;
}

.flip-front::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-left: 4px solid var(--rp-lime);
  background: linear-gradient(135deg, rgba(76,200,255,.06), transparent 42%);
}

.flip-card:nth-child(2) .flip-front::after {
  border-left-color: var(--rp-purple);
  background: linear-gradient(135deg, rgba(95,105,255,.07), transparent 42%);
}

.flip-card:nth-child(3) .flip-front::after {
  border-left-color: var(--rp-blue);
  background: linear-gradient(135deg, rgba(54,183,255,.07), transparent 42%);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-inner,
  .flip-card:focus-within .flip-inner {
    transform: rotateY(180deg) !important;
  }
}

@media (max-width: 900px) {
  .flip-card {
    height: 278px !important;
  }

  .flip-face {
    padding: 21px;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .flip-card {
    height: auto !important;
    perspective: none !important;
    overflow: visible !important;
  }

  .flip-inner {
    display: grid !important;
    height: auto !important;
    gap: 14px;
    transform: none !important;
    transform-style: flat !important;
  }

  .flip-front,
  .flip-back {
    position: relative !important;
    inset: auto !important;
    min-height: 0 !important;
    transform: none !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
  }

  .flip-hint {
    display: none !important;
  }
}


/* ===== v2.2.10: desktop flip back face visibility fix ===== */
@media (hover: hover) and (pointer: fine) {
  .flip-front,
  .flip-back {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .flip-card:hover .flip-inner,
  .flip-card:focus .flip-inner,
  .flip-card:focus-visible .flip-inner,
  .flip-card:focus-within .flip-inner {
    transform: rotateY(180deg) !important;
  }
}


/* ===== v2.2.11: desktop flip front/back visibility final fix ===== */
@media (hover: hover) and (pointer: fine) {
  .flip-front {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .flip-back {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .flip-card:hover .flip-inner,
  .flip-card:focus .flip-inner,
  .flip-card:focus-visible .flip-inner,
  .flip-card:focus-within .flip-inner {
    transform: rotateY(180deg) !important;
  }

  .flip-card:hover .flip-front,
  .flip-card:focus .flip-front,
  .flip-card:focus-visible .flip-front,
  .flip-card:focus-within .flip-front {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .flip-card:hover .flip-back,
  .flip-card:focus .flip-back,
  .flip-card:focus-visible .flip-back,
  .flip-card:focus-within .flip-back {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


/* ===== v2.2.12: modules cards rewritten cleanly ===== */
.modules-flip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.module-card {
  position: relative;
  min-height: 286px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  perspective: 1200px;
}

.module-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 286px;
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.2,.7,.2,1);
}

.module-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 23px 24px;
  overflow: hidden;
  border: 1px solid rgba(95, 184, 255, .18);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(11,24,40,.92), rgba(7,17,29,.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.module-card__face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-left: 4px solid var(--rp-lime);
  background: linear-gradient(135deg, rgba(76,200,255,.06), transparent 42%);
}

.module-card--purple .module-card__face::after {
  border-left-color: var(--rp-purple);
  background: linear-gradient(135deg, rgba(95,105,255,.07), transparent 42%);
}

.module-card--blue .module-card__face::after {
  border-left-color: var(--rp-blue);
  background: linear-gradient(135deg, rgba(54,183,255,.07), transparent 42%);
}

.module-card__face > * {
  position: relative;
  z-index: 1;
}

.module-card__face--front {
  transform: rotateY(0deg);
}

.module-card__face--back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, rgba(15,30,48,.95), rgba(10,21,38,.98));
}

.module-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 15px 0 16px;
  border-radius: 14px;
  font-size: 21px;
  color: var(--rp-lime);
  border: 1px solid rgba(76,200,255,.30);
  background: rgba(76,200,255,.07);
}

.module-card--purple .module-card__icon {
  color: var(--rp-purple);
  border-color: rgba(95,105,255,.3);
  background: rgba(95,105,255,.07);
}

.module-card--blue .module-card__icon {
  color: var(--rp-blue);
  border-color: rgba(54,183,255,.3);
  background: rgba(54,183,255,.07);
}

.module-card__icon .ui-icon {
  width: 22px;
  height: 22px;
}

.module-card__face h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: .02em;
}

.module-card__face p,
.module-card__face li {
  margin: 0;
  font-size: 14px;
  line-height: 1.52;
  color: rgba(236, 243, 252, .88);
}

.module-card__face--back ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.module-card__face--back li {
  position: relative;
  padding-left: 18px;
}

.module-card__face--back li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 0;
  top: 8px;
  border-radius: 50%;
  background: var(--rp-lime);
  box-shadow: 0 0 9px rgba(76, 200, 255, .45);
}

.module-card__kicker {
  display: inline-block;
  margin-top: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.module-card__hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}

.module-card__hint i {
  display: inline-flex;
}

@media (hover: hover) and (pointer: fine) {
  .module-card:hover .module-card__inner,
  .module-card:focus-within .module-card__inner {
    transform: rotateY(180deg);
  }
}

@media (max-width: 900px) {
  .modules-flip-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .module-card {
    min-height: 0;
    perspective: none;
  }

  .module-card__inner {
    display: grid;
    height: auto;
    min-height: 0;
    transform: none !important;
    transform-style: flat;
    gap: 14px;
  }

  .module-card__face {
    position: relative;
    inset: auto;
    min-height: 0;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .module-card__hint {
    display: none;
  }
}


/* ===== v2.2.13: polished mobile module cards ===== */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .modules-flip-grid {
    gap: 14px;
  }

  .module-card {
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(95, 184, 255, .18) !important;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(11,24,40,.94), rgba(7,17,29,.97)) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24) !important;
  }

  .module-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    z-index: 3;
    background: var(--rp-lime);
  }

  .module-card--purple::before {
    background: var(--rp-purple);
  }

  .module-card--blue::before {
    background: var(--rp-blue);
  }

  .module-card__inner {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    transform-style: flat !important;
  }

  .module-card__face {
    position: relative !important;
    inset: auto !important;
    min-height: 0 !important;
    transform: none !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
  }

  .module-card__face::after {
    display: none !important;
  }

  .module-card__face--front {
    padding: 20px 20px 12px 23px;
  }

  .module-card__face--back {
    padding: 0 20px 20px 23px;
  }

  .module-card__icon {
    width: 42px;
    height: 42px;
    margin: 0 0 14px;
    border-radius: 12px;
  }

  .module-card__face h3 {
    margin-bottom: 9px;
    font-size: 22px;
    line-height: 1.12;
  }

  .module-card__face p {
    max-width: none;
    font-size: 14px;
    line-height: 1.55;
  }

  .module-card__kicker,
  .module-card__face--back > h3,
  .module-card__hint {
    display: none !important;
  }

  .module-card__face--back ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }

  .module-card__face--back li {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 10px 8px 25px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 9px;
    background: rgba(255,255,255,.035);
    font-size: 12.5px;
    line-height: 1.3;
  }

  .module-card__face--back li::before {
    left: 11px;
    top: 50%;
    width: 5px;
    height: 5px;
    transform: translateY(-50%);
  }
}

@media (max-width: 340px) {
  .module-card__face--back ul {
    grid-template-columns: 1fr;
  }

  .module-card__face--back li {
    min-height: 36px;
  }
}
