/* NOVION STYLES */

:root {
  --blue: #2A54FF;
  --blue-2: #4267FF;
  --blue-3: #6B8AFF;
  --blue-glow: #7c9aff;
  --blue-dark: #0D1B5C;

  --bg-0: #030820;
  --bg-1: #061033;
  --bg-2: #0a1a4f;

  --white: #FFFFFF;
  --text: #E8ECFF;
  --text-muted: rgba(232, 236, 255, 0.60);
  --text-dim: rgba(232, 236, 255, 0.40);

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(107, 138, 255, 0.20);

  --radius-lg: 26px;
  --radius-md: 22px;
  --radius-sm: 14px;

  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.34, 1.56, 0.64, 1);

  --topo-img: url('images/topo.png');
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background-color: #061033;
  max-width: 100%;
  width: 100%;
  overflow-x: sticky;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 100% 60% at 15% 5%, rgba(35, 65, 180, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 90% 55% at 85% 25%, rgba(25, 50, 150, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 60%, rgba(20, 40, 130, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 90%, rgba(30, 55, 160, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #0a1450 0%, #050c2e 60%, #030820 100%);
  background-attachment: fixed;
}

html {
  scroll-behavior: smooth;
  background-color: #061033;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  width: 100%;
  background:
    radial-gradient(ellipse 100% 60% at 15% 5%, rgba(35, 65, 180, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 90% 55% at 85% 25%, rgba(25, 50, 150, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 60%, rgba(20, 40, 130, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 90%, rgba(30, 55, 160, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #0a1450 0%, #050c2e 60%, #030820 100%);
  background-attachment: fixed;
}

.bg-fixed {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 100% 60% at 15% 5%, rgba(35, 65, 180, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 90% 55% at 85% 25%, rgba(25, 50, 150, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 60%, rgba(20, 40, 130, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 90%, rgba(30, 55, 160, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #0a1450 0%, #050c2e 60%, #030820 100%);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3 { font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--white); }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; position: relative; }

.eyebrow { font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-3); display: block; margin-bottom: 14px; }
.eyebrow.on-blue { color: rgba(255, 255, 255, 0.85); }

:focus-visible { outline: 2px solid var(--blue-3); outline-offset: 3px; border-radius: 6px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}


/* ATMOSPHERE BACKGROUNDS */
.atmosphere { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }

.topo-blur { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-image: var(--topo-img); background-size: 170% auto; background-repeat: repeat; background-position: center center; filter: blur(10px) brightness(1.6) saturate(1.3) hue-rotate(215deg); opacity: 0.14; mix-blend-mode: screen; animation: topoDrift 70s ease-in-out infinite; pointer-events: none; z-index: 1; mask-image: radial-gradient(ellipse 55% 65% at 50% 50%, transparent 0%, transparent 30%, black 75%, black 90%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 55% 65% at 50% 50%, transparent 0%, transparent 30%, black 75%, black 90%, transparent 100%); }

.topo-main { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-image: var(--topo-img); background-size: 170% auto; background-repeat: repeat; background-position: center center; filter: blur(0.5px) brightness(1.3) saturate(1.1) hue-rotate(215deg); opacity: 0.10; mix-blend-mode: overlay; animation: topoDrift 70s ease-in-out infinite; pointer-events: none; z-index: 2; mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 0%, transparent 25%, black 70%, black 88%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 0%, transparent 25%, black 70%, black 88%, transparent 100%); }

@keyframes topoDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-15px, -20px) scale(1.02); } }

.atm-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 1; }
.atm-glow-1 { width: 900px; height: 900px; top: -200px; left: -300px; background: radial-gradient(circle, rgba(66, 103, 255, 0.35) 0%, transparent 65%); animation: glowBreath 12s ease-in-out infinite; }
.atm-glow-2 { width: 800px; height: 800px; top: 200px; right: -250px; background: radial-gradient(circle, rgba(107, 138, 255, 0.28) 0%, transparent 65%); animation: glowBreath 15s ease-in-out infinite reverse; }
.atm-glow-3 { width: 700px; height: 700px; top: 40%; left: 30%; background: radial-gradient(circle, rgba(42, 84, 255, 0.20) 0%, transparent 65%); animation: glowBreath 18s ease-in-out infinite; }
.atm-glow-4 { width: 800px; height: 800px; top: 60%; right: 10%; background: radial-gradient(circle, rgba(66, 103, 255, 0.25) 0%, transparent 65%); animation: glowBreath 14s ease-in-out infinite reverse; }
.atm-glow-5 { width: 700px; height: 700px; bottom: -100px; left: 20%; background: radial-gradient(circle, rgba(107, 138, 255, 0.20) 0%, transparent 65%); animation: glowBreath 16s ease-in-out infinite; }

@keyframes glowBreath { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.1); } }


/* NAVIGATION — always sticky */
header.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(6, 16, 51, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--white); }
.brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 18px rgba(42, 84, 255, 0.5); }

.nav-links { display: flex; align-items: center; gap: 32px; margin-right: 10px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--text); opacity: 0.78; transition: opacity 0.3s var(--ease), color 0.3s var(--ease); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue-3); border-radius: 2px; box-shadow: 0 0 8px var(--blue-3); transition: width 0.4s var(--ease); }
.nav-links a:hover { opacity: 1; color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 18px; margin-right: -12px; }

.lang-switch { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.lang-btn:hover { border-color: var(--blue-3); background: rgba(107, 138, 255, 0.1); }
.lang-btn svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease); }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }

.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; background: rgba(10, 26, 79, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); min-width: 168px; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.96); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; z-index: 200; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 12px; font-size: 14px; font-weight: 500; border-radius: 8px; color: var(--text); transition: background 0.2s var(--ease); }
.lang-menu button:hover { background: rgba(107, 138, 255, 0.15); }
.lang-menu button.active { color: var(--blue-3); font-weight: 700; }


/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 600; padding: 13px 24px; border-radius: 14px; white-space: nowrap; transition: transform 0.45s var(--ease-soft), box-shadow 0.45s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease); }

.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); box-shadow: 0 12px 28px -8px rgba(42, 84, 255, 0.6), 0 0 0 1px rgba(107, 138, 255, 0.35) inset, 0 0 20px rgba(66, 103, 255, 0.25); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px -8px rgba(42, 84, 255, 0.75), 0 0 0 1px rgba(107, 138, 255, 0.5) inset, 0 0 30px rgba(66, 103, 255, 0.4); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue-3); background: rgba(107, 138, 255, 0.12); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px -12px rgba(107, 138, 255, 0.4); }
.btn-ghost:active { transform: translateY(0); }

.btn-white { background: var(--white); color: var(--blue); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4); }
.btn-white:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.5); }
.btn-white:active { transform: translateY(0) scale(0.98); }

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 16px; }

.btn-glass-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); border: 1px solid rgba(107, 138, 255, 0.4); width: 100%; box-shadow: 0 8px 20px -8px rgba(42, 84, 255, 0.5), 0 0 15px rgba(66, 103, 255, 0.2); }
.btn-glass-primary:hover { background: linear-gradient(135deg, var(--blue-2), var(--blue)); transform: translateY(-2px); }

.btn-glass-ghost { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); width: 100%; }
.btn-glass-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.nav-cta { display: inline-flex; }


/* BURGER BUTTON */
.burger { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line-strong); }
.burger span { position: relative; width: 16px; height: 2px; background: var(--white); display: block; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease); }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.burger.open span { background: transparent; }
.burger.open span::before { transform: rotate(45deg); top: 0; }
.burger.open span::after { transform: rotate(-45deg); top: 0; }

.mobile-panel { display: none; }


/* HERO SECTION */
.hero { position: relative; padding: 100px 0 96px; z-index: 3; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-content { position: relative; z-index: 3; }

.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; background: rgba(107, 138, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(107, 138, 255, 0.28); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--blue-3); margin-bottom: 24px; box-shadow: 0 0 20px rgba(107, 138, 255, 0.15); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; position: relative; box-shadow: 0 0 10px #22C55E; }
.pulse-dot::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: rgba(34, 197, 94, 0.35); animation: pulse 2s ease-in-out infinite; }

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.8); opacity: 0; } }

.hero h1 { font-size: clamp(40px, 5.4vw, 66px); color: var(--white); text-shadow: 0 4px 40px rgba(66, 103, 255, 0.2); }
.hero-sub { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 520px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 26px; font-size: 15px; }

.hero-visual { position: relative; max-width: 460px; justify-self: end; width: 100%; z-index: 3; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-1deg); } }

.visual-halo { position: absolute; inset: -100px -80px; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(107, 138, 255, 0.45) 0%, transparent 70%), radial-gradient(ellipse 80% 80% at 50% 50%, rgba(42, 84, 255, 0.2) 0%, transparent 70%); filter: blur(40px); z-index: 0; pointer-events: none; animation: haloPulse 6s ease-in-out infinite; }
@keyframes haloPulse { 0%, 100% { opacity: 0.9; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.visual-ring { position: absolute; inset: -10px; border-radius: 32px; border: 1px solid rgba(107, 138, 255, 0.4); box-shadow: 0 0 40px rgba(107, 138, 255, 0.3), inset 0 0 20px rgba(107, 138, 255, 0.05); z-index: 1; pointer-events: none; animation: ringGlow 5s ease-in-out infinite; }
@keyframes ringGlow { 0%, 100% { border-color: rgba(107, 138, 255, 0.4); box-shadow: 0 0 40px rgba(107, 138, 255, 0.3), inset 0 0 20px rgba(107, 138, 255, 0.05); } 50% { border-color: rgba(124, 154, 255, 0.6); box-shadow: 0 0 60px rgba(107, 138, 255, 0.45), inset 0 0 25px rgba(107, 138, 255, 0.12); } }

.chat-mock { position: relative; z-index: 2; background: linear-gradient(165deg, rgba(15, 30, 90, 0.9), rgba(8, 18, 60, 0.96)); backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%); border: 1px solid rgba(107, 138, 255, 0.3); border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 0 60px rgba(107, 138, 255, 0.2); padding: 24px; animation: float 7s ease-in-out infinite; }

.chat-mock-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 18px; }
.chat-mock-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(160deg, var(--blue), var(--blue-dark)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; box-shadow: 0 4px 16px rgba(42, 84, 255, 0.5); }
.chat-mock-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.chat-mock-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14.5px; color: #fff; }
.chat-mock-status { font-size: 12px; color: rgba(255, 255, 255, 0.5); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.chat-mock-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; flex-shrink: 0; box-shadow: 0 0 6px #34D399; }

.vacancy-alert { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: #fff; margin-bottom: 12px; }
.vacancy-meta { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin-bottom: 14px; }
.vacancy-company { font-size: 12px; color: rgba(255, 255, 255, 0.42); margin-bottom: 4px; }
.vacancy-title { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; }
.vacancy-city { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin-bottom: 14px; }
.vacancy-desc { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.vacancy-hint { font-size: 12px; font-style: italic; color: rgba(255, 255, 255, 0.4); margin-bottom: 16px; }
.vacancy-actions { display: flex; flex-direction: column; gap: 10px; }
.chat-mock-btn { padding: 12px 16px; font-size: 13.5px; border-radius: 12px; }

.floating-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(15, 30, 90, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(107, 138, 255, 0.3); border-radius: 999px; padding: 10px 16px; box-shadow: 0 18px 34px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(107, 138, 255, 0.15); font-size: 12.5px; font-weight: 600; color: var(--white); z-index: 3; }
.floating-chip.chip-1 { top: -18px; right: 0; animation: floatSlow 6.5s ease-in-out infinite; }
.floating-chip.chip-2 { bottom: -14px; left: 0; animation: floatSlow 5.5s ease-in-out infinite reverse; }
.floating-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; box-shadow: 0 0 6px #22C55E; }
.floating-chip svg { width: 14px; height: 14px; color: var(--blue-3); flex-shrink: 0; }


/* SECTIONS GENERAL */
section { padding: 112px 0; position: relative; z-index: 3; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); color: var(--white); text-shadow: 0 4px 40px rgba(66, 103, 255, 0.2); }
.section-head p { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--text-muted); }


/* HOW IT WORKS */
.how-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how-connector { position: absolute; top: 46px; left: 15%; right: 15%; height: 2px; z-index: 0; pointer-events: none; opacity: 0; }
.how-connector svg { display: none; }

.step-card { position: relative; z-index: 2; background: rgba(10, 26, 79, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(107, 138, 255, 0.15); border-radius: var(--radius-lg); padding: 32px 28px 34px; box-shadow: var(--shadow-card); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease); }
.step-card::after { content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(107, 138, 255, 0.18) 0%, transparent 70%); transition: transform 0.6s var(--ease); }
.step-card:hover { transform: translateY(-6px); background: rgba(15, 34, 100, 0.55); border-color: rgba(107, 138, 255, 0.4); box-shadow: 0 26px 44px -18px rgba(42, 84, 255, 0.4), 0 0 40px -10px rgba(107, 138, 255, 0.3); }
.step-card:hover::after { transform: scale(1.5); }

.step-icon { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 12px 22px -8px rgba(42, 84, 255, 0.6), 0 0 24px rgba(107, 138, 255, 0.35); position: relative; z-index: 1; overflow: hidden; }
.step-icon svg { width: 20px; height: 20px; }
.step-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--white); position: relative; z-index: 1; }
.step-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); position: relative; z-index: 1; }


/* FOR SEEKERS */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.benefit-card { padding: 28px 24px; border-radius: var(--radius-md); border: 1px solid rgba(107, 138, 255, 0.15); background: rgba(10, 26, 79, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease); }
.benefit-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-3)); box-shadow: 0 0 12px var(--blue-3); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-card:hover { background: rgba(15, 34, 100, 0.55); border-color: rgba(107, 138, 255, 0.4); transform: translateY(-6px); box-shadow: 0 26px 44px -18px rgba(42, 84, 255, 0.4), 0 0 40px -10px rgba(107, 138, 255, 0.3); }

.benefit-icon-badge { width: 44px; height: 44px; border-radius: 13px; background: rgba(107, 138, 255, 0.15); border: 1px solid rgba(107, 138, 255, 0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 20px rgba(107, 138, 255, 0.15); }
.benefit-card svg { width: 22px; height: 22px; color: var(--blue-3); }
.benefit-card h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--white); }
.benefit-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }


/* TELEGRAM CTA */
.telegram-section { padding: 0 0 112px; position: relative; z-index: 3; }
.telegram { position: relative; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); border-radius: 32px; padding: 80px 60px; overflow: hidden; color: var(--white); box-shadow: 0 40px 80px -20px rgba(13, 27, 92, 0.7), 0 0 80px -20px rgba(107, 138, 255, 0.5); border: 1px solid rgba(107, 138, 255, 0.3); }
.telegram-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 40px 40px, 60px 60px; z-index: 0; }
.telegram-inner { position: relative; z-index: 2; max-width: 560px; }
.telegram h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 38px); }
.telegram p { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.75); }
.telegram-buttons { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.telegram-mark { position: absolute; right: 50px; top: 50%; transform: translateY(-50%); width: 340px; height: 340px; object-fit: cover; border-radius: 50%; opacity: 0.18; z-index: 1; filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3)); animation: markPulse 6s ease-in-out infinite; }
@keyframes markPulse { 0%, 100% { opacity: 0.18; transform: translateY(-50%) scale(1); } 50% { opacity: 0.25; transform: translateY(-50%) scale(1.05); } }


/* FOR AGENCIES */
.agencies-head { max-width: 720px; margin-bottom: 56px; }
.agencies-head h2 { font-size: clamp(30px, 3.6vw, 42px); color: var(--white); text-shadow: 0 4px 40px rgba(66, 103, 255, 0.2); }
.agencies-desc { margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 680px; }

.agency-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.agency-card { padding: 30px 26px; background: rgba(10, 26, 79, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--radius-md); border: 1px solid rgba(107, 138, 255, 0.15); position: relative; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease); }
.agency-card::after { content: ''; position: absolute; bottom: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(107, 138, 255, 0.2) 0%, transparent 70%); transition: transform 0.6s var(--ease); }
.agency-card:hover { background: rgba(15, 34, 100, 0.55); transform: translateY(-6px); box-shadow: 0 26px 44px -18px rgba(42, 84, 255, 0.4), 0 0 40px -10px rgba(107, 138, 255, 0.3); border-color: rgba(107, 138, 255, 0.4); }
.agency-card:hover::after { transform: scale(1.6); }

.agency-icon-badge { width: 44px; height: 44px; border-radius: 13px; background: rgba(107, 138, 255, 0.15); border: 1px solid rgba(107, 138, 255, 0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 20px rgba(107, 138, 255, 0.15); position: relative; z-index: 1; }
.agency-card svg { width: 21px; height: 21px; color: var(--blue-3); }
.agency-card h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--white); position: relative; z-index: 1; }
.agency-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); position: relative; z-index: 1; }


/* FINAL CTA */
.final { text-align: center; padding: 72px 0 88px; position: relative; z-index: 3; }
.final-glow { position: absolute; width: 700px; height: 700px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(107, 138, 255, 0.22) 0%, transparent 70%); border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(40px); animation: glowPulse 6s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); } }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(32px, 4.2vw, 48px); color: var(--white); text-shadow: 0 4px 40px rgba(107, 138, 255, 0.25); }
.final p { margin-top: 14px; font-size: 17px; color: var(--text-muted); }
.final .btn { margin-top: 26px; }


/* CONTACT MODAL */
.modal { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; transition: visibility 0s linear 0.4s; }
.modal.open { visibility: visible; transition: visibility 0s linear 0s; }

.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 8, 32, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity; }
.modal.open .modal-backdrop { opacity: 1; }

.modal-window { position: relative; width: 100%; max-width: 460px; background: linear-gradient(165deg, rgba(15, 30, 90, 0.98), rgba(8, 18, 60, 1)); border: 1px solid rgba(107, 138, 255, 0.35); border-radius: 24px; padding: 40px 32px 32px; text-align: center; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 0 80px rgba(107, 138, 255, 0.25); transform: translateY(20px) scale(0.96); opacity: 0; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform, opacity; }
.modal.open .modal-window { transform: translateY(0) scale(1); opacity: 1; }

.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease); }
.modal-close:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); border-color: rgba(107, 138, 255, 0.3); }
.modal-close svg { width: 18px; height: 18px; }

.modal-icon { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 18px; background: linear-gradient(160deg, var(--blue), var(--blue-2)); display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: 0 12px 28px -8px rgba(42, 84, 255, 0.6), 0 0 30px rgba(107, 138, 255, 0.4); }
.modal-icon svg { width: 28px; height: 28px; }

.modal-title { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.modal-desc { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); margin-bottom: 24px; max-width: 360px; margin-left: auto; margin-right: auto; }

.modal-email-box { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(107, 138, 255, 0.2); border-radius: 14px; margin-bottom: 12px; }
.modal-email-value { flex: 1; text-align: left; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.modal-copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(42, 84, 255, 0.55); transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.3s var(--ease); }
.modal-copy-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(42, 84, 255, 0.7); }
.modal-copy-btn svg { width: 15px; height: 15px; }
.modal-copy-btn .icon-check, .modal-copy-btn .copied-text { display: none; }
.modal-copy-btn.copied { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 6px 16px -6px rgba(16, 185, 129, 0.55); }
.modal-copy-btn.copied .icon-copy, .modal-copy-btn.copied .copy-text { display: none; }
.modal-copy-btn.copied .icon-check, .modal-copy-btn.copied .copied-text { display: inline; }

.modal-gmail-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(107, 138, 255, 0.25); color: var(--white); font-size: 14.5px; font-weight: 600; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease); }
.modal-gmail-btn:hover { background: rgba(107, 138, 255, 0.15); border-color: rgba(107, 138, 255, 0.5); transform: translateY(-1px); }
.modal-gmail-btn svg { width: 18px; height: 18px; }

.modal-hint { margin-top: 20px; font-size: 13px; color: var(--text-dim); }
.modal-hint a { color: var(--blue-3); font-weight: 600; transition: color 0.25s var(--ease); }
.modal-hint a:hover { color: var(--white); }

body.modal-open { overflow: hidden; }


/* FOOTER */
footer { background: rgba(3, 8, 32, 0.9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: rgba(232, 236, 255, 0.6); padding: 0; position: relative; z-index: 10; border-top: 1px solid var(--line-strong); }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 50px; align-items: start; }
footer .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand-col { max-width: 340px; }
.footer-desc { font-size: 14.5px; color: rgba(232, 236, 255, 0.5); max-width: 340px; line-height: 1.65; }

.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232, 236, 255, 0.4); margin-bottom: 18px; }
.footer-col > a:not(.footer-contact-item) { display: block; font-size: 14.5px; color: rgba(232, 236, 255, 0.6); margin-bottom: 12px; transition: color 0.3s var(--ease); }
.footer-col > a:not(.footer-contact-item):hover { color: var(--white); }

.footer-contact-item { display: flex !important; align-items: center; gap: 10px; width: auto; padding: 0; margin-bottom: 12px; margin-left: 0; border-radius: 0; background: none; color: rgba(232, 236, 255, 0.6); text-align: left; font-family: inherit; font-size: 14.5px; text-decoration: none; transition: color 0.3s var(--ease); }
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item:hover { background: none; color: var(--white); transform: none; }
.footer-contact-icon { width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 0; background: none; border: none; color: var(--blue-3); transition: color 0.3s var(--ease); box-shadow: none; }
.footer-contact-item:hover .footer-contact-icon { background: none; border: none; color: var(--white); box-shadow: none; }
.footer-contact-icon svg { width: 18px; height: 18px; }
.footer-contact-text { display: flex; align-items: center; font-size: 14.5px; font-weight: 500; min-width: 0; flex: 1; line-height: 1; }
.footer-contact-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-contact-copied { display: none; color: #34D399; font-weight: 600; }
.footer-contact-item.copied .footer-contact-value { display: none; }
.footer-contact-item.copied .footer-contact-copied { display: inline; }
.footer-contact-item.copied .footer-contact-icon { color: #34D399; background: none; border: none; box-shadow: none; }

/* LEGAL LINKS */
.footer-legal-link { display: block; font-size: 14.5px; color: rgba(232, 236, 255, 0.6); margin-bottom: 12px; transition: color 0.3s var(--ease); cursor: pointer; }
.footer-legal-link:hover { color: var(--white); }
.footer-legal-link:last-child { margin-bottom: 0; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13px; color: rgba(232, 236, 255, 0.35); flex-wrap: wrap; gap: 10px; }
.footer-bottom-right { display: flex; align-items: center; gap: 8px; }
.footer-dot { color: rgba(232, 236, 255, 0.2); }


/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1400;
  max-width: 440px;
  width: calc(100% - 48px);
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), visibility 0.5s;
  will-change: transform, opacity;
}

.cookie-banner.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-inner {
  background: linear-gradient(165deg, rgba(15, 30, 90, 0.98), rgba(8, 18, 60, 1));
  border: 1px solid rgba(107, 138, 255, 0.35);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 0 60px rgba(107, 138, 255, 0.2);
}

.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 6px 16px -4px rgba(42, 84, 255, 0.55), 0 0 18px rgba(107, 138, 255, 0.35);
}

.cookie-icon svg {
  width: 18px;
  height: 18px;
}

.cookie-banner-title {
  font-family: 'Sora', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.cookie-banner-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cookie-banner-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #b8c4ff;
  margin-bottom: 18px;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(184, 196, 255, 0.5);
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.cookie-banner-link:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

.cookie-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 42px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(107, 138, 255, 0.25);
  color: var(--text);
}

.cookie-btn-secondary:hover {
  background: rgba(107, 138, 255, 0.12);
  border-color: rgba(107, 138, 255, 0.5);
  color: var(--white);
}

.cookie-btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  border: 1px solid rgba(107, 138, 255, 0.4);
  box-shadow: 0 6px 16px -6px rgba(42, 84, 255, 0.45);
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(42, 84, 255, 0.65);
}


/* COOKIE SETTINGS MODAL */
.cookie-modal-window { max-width: 520px; text-align: left; padding: 36px 30px 28px; }
.cookie-modal-window .modal-icon { margin: 0 auto 18px; }
.cookie-modal-window .modal-title, .cookie-modal-window .modal-desc { text-align: center; }
.cookie-modal-window .modal-desc { margin-bottom: 24px; }

.cookie-categories { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.cookie-category { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(107, 138, 255, 0.18); border-radius: 14px; padding: 16px 18px; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.cookie-category:hover { border-color: rgba(107, 138, 255, 0.3); background: rgba(107, 138, 255, 0.05); }

.cookie-category-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-category-info { flex: 1; min-width: 0; }
.cookie-category-info h4 { font-family: 'Sora', sans-serif; font-size: 14.5px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cookie-category-info p { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); margin: 0; }


.cookie-toggle { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; cursor: pointer; margin-top: 2px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.cookie-toggle-slider { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(107, 138, 255, 0.2); border-radius: 999px; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.cookie-toggle-slider::before { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform 0.3s var(--ease-soft); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }

.cookie-toggle input:checked + .cookie-toggle-slider { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: rgba(107, 138, 255, 0.6); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }

.cookie-toggle-locked { cursor: not-allowed; opacity: 0.7; }
.cookie-toggle-locked .cookie-toggle-slider { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: rgba(107, 138, 255, 0.6); }
.cookie-toggle-locked .cookie-toggle-slider::before { transform: translateX(18px); }

.cookie-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }


/* RESPONSIVE DESIGN & MOBILE PERFORMANCE FIXES */
@media (max-width: 980px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .atm-glow, .visual-halo, .topo-blur { 
    display: none !important; 
  }
  
  .topo-main, .visual-ring, .chat-mock, .floating-chip, .pulse-dot::after, .telegram-mark {
    animation: none !important;
  }
  
  .chat-mock, .step-card, .benefit-card, .agency-card {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  /* FIXED header on mobile — always stays on top */
  header.nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(6, 16, 51, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

  body {
    background-attachment: scroll;
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
    padding-bottom: 0;
  }

  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  /* MENU under header (z-index 999 < 1000) so X is always visible */
  .mobile-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 999;
    background: #061033;
    background-image: 
      radial-gradient(ellipse 80% 50% at 20% 10%, rgba(35, 65, 180, 0.35) 0%, transparent 60%),
      radial-gradient(ellipse 80% 50% at 80% 90%, rgba(25, 50, 150, 0.30) 0%, transparent 60%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: calc(96px + env(safe-area-inset-top, 0px)) 24px calc(40px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mobile-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-panel a:not(.btn) {
    display: block;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(107, 138, 255, 0.15);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    transition: background 0.25s ease, border-color 0.25s ease;
  }
  .mobile-panel a:not(.btn):active {
    background: rgba(107, 138, 255, 0.18);
    border-color: rgba(107, 138, 255, 0.4);
  }
  .mobile-panel .btn {
    margin-top: 14px;
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
  }
  .mobile-panel a:not(.btn) {
    display: block;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(107, 138, 255, 0.15);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    transition: background 0.25s ease, border-color 0.25s ease;
  }
  .mobile-panel a:not(.btn):active {
    background: rgba(107, 138, 255, 0.18);
    border-color: rgba(107, 138, 255, 0.4);
  }
  .mobile-panel .btn {
    margin-top: 14px;
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
  }

  /* HERO ORDER: TITLE FIRST, VISUAL SECOND */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { order: 1; }
  .hero-visual {
    order: 2;
    justify-self: center;
    max-width: 320px;
    width: 100%;
    margin-top: 40px;
    overflow: visible;
  }

  .visual-halo { inset: -60px -40px; }
  .visual-ring { inset: -8px; border-radius: 28px; }

  .floating-chip { font-size: 11px; padding: 8px 12px; }
  .floating-chip.chip-1 { top: -14px; right: -6px; }
  .floating-chip.chip-2 { bottom: -12px; left: -8px; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .how-track { grid-template-columns: 1fr; }
  .how-connector { display: none; }
  .agency-benefits { grid-template-columns: 1fr; }

  /* TELEGRAM CTA — 1:1 WITH REFERENCE */
  .telegram { 
    padding: 40px 24px; 
    border-radius: var(--radius-md); 
    text-align: left; 
    overflow: hidden; 
  }
  .telegram-inner { 
    max-width: 100%; 
    position: relative; 
    z-index: 3; 
  }
  .telegram h2 { font-size: 28px; line-height: 1.2; }
  .telegram p { 
    font-size: 15px; 
    margin-top: 12px; 
    margin-bottom: 24px; 
    max-width: 240px; 
  }
  .telegram-buttons { justify-content: flex-start; margin-top: 0; }
  .telegram-buttons .btn { width: 100%; }
  .telegram-mark { 
    width: 240px; 
    height: 240px; 
    top: auto;
    left: auto;
    bottom: -40px; 
    right: -30px; 
    transform: none !important;
    opacity: 0.12;
    z-index: 1;
  }
  .telegram-pattern { z-index: 2; opacity: 0.5; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand-col { grid-column: 1 / -1; max-width: none; }

  section { padding: 76px 0; }
  .telegram-section { padding: 0 0 76px; }
  .final { padding: 56px 0 72px; }

  .cookie-banner { right: 12px; left: 12px; bottom: 12px; max-width: none; width: auto; }
}

@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 60px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { grid-template-columns: 1fr; gap: 8px; }
  .cookie-modal-actions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .modal-window { padding: 36px 22px 26px; border-radius: 20px; }
  .modal-title { font-size: 19px; }
  .modal-desc { font-size: 13.5px; }
  .modal-email-box { flex-direction: column; gap: 10px; padding: 12px; }
  .modal-email-value { text-align: center; font-size: 14px; }
  .modal-copy-btn { width: 100%; justify-content: center; }
  .cookie-banner-inner { padding: 18px; }
  .cookie-modal-window { padding: 32px 22px 24px; }
}
/* LEGAL PAGES STYLING */
.legal-wrap {
  padding-top: 50px;
  padding-bottom: 90px;
  max-width: 900px;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-3);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 28px;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.legal-back-btn:hover {
  color: var(--white);
  transform: translateX(-3px);
}

.legal-card {
  background: rgba(10, 26, 79, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(107, 138, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-size: 34px;
  margin-bottom: 6px;
}

.legal-updated {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 28px;
  display: block;
}

.legal-card h2 {
  font-size: 20px;
  color: var(--white);
  margin-top: 36px;
  margin-bottom: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.legal-card h3 {
  font-size: 16.5px;
  color: var(--blue-3);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-card ul {
  margin-left: 20px;
  margin-bottom: 20px;
  list-style: disc;
}

.legal-card li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 28px 20px;
  }
  .legal-card h1 {
    font-size: 26px;
  }
  .legal-card h2 {
    font-size: 18px;
    margin-top: 28px;
  }
}