/* =================================================================
   FenixUz — Official Information Site
   Stylesheet © 2026 VipAds LLC. All rights reserved.
   https://vipads.uz · https://fenixuz.uz
   ================================================================= */

/* ----- Design tokens ----- */
:root {
  --green-50:  #ECFDF5;
  --green-100: #D1FAE5;
  --green-200: #A7F3D0;
  --green-300: #6EE7B7;
  --green-400: #34D399;
  --green-500: #10B981;
  --green-600: #059669;
  --green-700: #047857;
  --green-800: #065F46;
  --green-900: #064E3B;

  --red-500:  #DC2626;
  --red-600:  #B91C1C;

  --ink-900: #0B1220;
  --ink-800: #111827;
  --ink-700: #1F2937;
  --ink-600: #374151;
  --ink-500: #6B7280;
  --ink-400: #9CA3AF;
  --ink-300: #D1D5DB;
  --ink-200: #E5E7EB;
  --ink-100: #F3F4F6;
  --ink-50:  #F9FAFB;

  --bg:        #FFFFFF;
  --bg-soft:   #F8FBF9;
  --bg-mid:    #ECFDF5;
  --text:      #0B1220;
  --text-soft: #4B5563;
  --text-mute: #6B7280;
  --border:    #E5E7EB;
  --primary:   var(--green-600);
  --primary-hover: var(--green-700);
  --accent:    var(--red-500);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgb(15 23 42 / .04), 0 1px 3px rgb(15 23 42 / .06);
  --shadow:    0 4px 12px -2px rgb(15 23 42 / .08), 0 2px 6px -2px rgb(15 23 42 / .05);
  --shadow-lg: 0 24px 48px -12px rgb(5 150 105 / .18), 0 8px 24px -6px rgb(15 23 42 / .08);
  --shadow-glow: 0 0 0 6px rgb(16 185 129 / .12);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);

  --container: 1180px;
  --nav-h: 72px;

  --font-sans: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-hover); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--text-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-soft); line-height: 1.65; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); padding: 6px 14px; border-radius: 999px;
  background: var(--green-50); border: 1px solid var(--green-100);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgb(16 185 129 / .2); }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 2; }

/* =================================================================
   Frost glass — text shield over the animated background.
   Wherever bare text appears, the icons behind get blurred so the
   text remains crisp and legible.
   ================================================================= */
.hero-text,
.hero-meta,
.legal-content,
.legal-toc,
.faq-item,
.legal-meta,
.legal-content table,
.feature-row > div:not(.feature-mock),
.stat,
.callout,
.cta-banner,
.page-header,
.center,
.eyebrow,
.feature-mock {
  position: relative;
}

/* Apply backdrop blur to text-content areas so animated icons get blurred behind */
.legal-content,
.legal-toc,
.faq-item,
.card,
.stat,
.callout,
.legal-meta,
.feature-mock,
.hero-phone,
.btn,
.btn-store,
.badge,
.faq-q-icon,
.bubble,
.bubble.in,
.nav-wrap,
.footer-social a,
.footer,
.page-header,
table {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Text-only sections (paragraphs, lists) — apply blur to the parent container */
.section .container > .center > *,
.section .container > .grid,
.hero-text > h1,
.hero-text > p.lead,
.hero-text > .eyebrow,
.hero-text > .hero-cta,
.hero-text > .hero-meta {
  position: relative;
  z-index: 3;
}

/* For paragraphs/headings sitting on bare background, add a soft frost behind them.
   Use overflow:visible and generous insets so descenders / italics aren't clipped. */
.section .container .center,
.section h1, .section h2, .section h3, .section .lead,
.hero-text {
  position: relative;
}
.section .container .center::before,
.hero-text::before {
  content: '';
  position: absolute;
  inset: -32px -48px -48px -48px;
  background: rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  z-index: -1;
  pointer-events: none;
}

@supports not (backdrop-filter: blur(1px)) {
  .legal-content, .card, .stat, .callout, .feature-mock { background-color: rgba(255,255,255,0.92); }
}
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-tight { padding: 56px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.flex { display: flex; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }

/* =================================================================
   Animated Background — Telegram-style floating icons
   ================================================================= */
.tg-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgb(16 185 129 / .14), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgb(16 185 129 / .10), transparent 55%),
    radial-gradient(700px 700px at 50% 110%, rgb(16 185 129 / .08), transparent 60%),
    linear-gradient(180deg, #FBFEFC 0%, #F4FBF7 100%);
}
.tg-bg::before, .tg-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgb(16 185 129 / .08) 1px, transparent 1.5px),
    radial-gradient(circle at 75% 75%, rgb(16 185 129 / .05) 1px, transparent 1.5px);
  background-size: 80px 80px, 60px 60px;
  background-position: 0 0, 30px 30px;
  animation: gridDrift 60s linear infinite;
}
.tg-bg::after { opacity: .5; animation-duration: 100s; animation-direction: reverse; }
@keyframes gridDrift {
  to { background-position: 80px 80px, 90px 90px; }
}

.tg-icons {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.tg-icon {
  position: absolute;
  display: grid; place-items: center;
  width: var(--s, 56px); height: var(--s, 56px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  color: #fff;
  box-shadow: 0 18px 38px -12px rgb(16 185 129 / .45), 0 6px 16px -6px rgb(15 23 42 / .15), inset 0 1px 0 rgb(255 255 255 / .35);
  opacity: 0;
  animation: tgFloat var(--d, 22s) linear infinite, tgFade .8s var(--ease) forwards;
  animation-delay: var(--del, 0s), var(--del, 0s);
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 24px rgb(16 185 129 / .25));
}
.tg-icon svg { width: 55%; height: 55%; }
.tg-icon.tg-icon--ghost {
  background: rgb(16 185 129 / .10);
  color: var(--green-700);
  border: 1.5px solid rgb(16 185 129 / .25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -10px rgb(16 185 129 / .25);
}
.tg-icon.tg-icon--mint {
  background: linear-gradient(135deg, #6EE7B7, #10B981);
}
.tg-icon.tg-icon--deep {
  background: linear-gradient(135deg, #047857, #064E3B);
}
@keyframes tgFloat {
  0%   { transform: translate3d(0, 110vh, 0) rotate(0deg) scale(.85); }
  10%  { transform: translate3d(2vw, 88vh, 0) rotate(8deg) scale(.92); }
  50%  { transform: translate3d(-1vw, 40vh, 0) rotate(-12deg) scale(1.05); }
  90%  { transform: translate3d(3vw, 5vh, 0) rotate(6deg) scale(.95); }
  100% { transform: translate3d(0, -20vh, 0) rotate(20deg) scale(.85); }
}
@keyframes tgFade {
  to { opacity: var(--op, .38); }
}
.tg-icon.tg-icon--soft { --op: .22; }
.tg-icon.tg-icon--vivid { --op: .55; }

/* Subtle pulse blobs for added depth */
.tg-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: .6;
  animation: blobMove 20s ease-in-out infinite alternate;
}
.tg-blob.tg-blob--1 { width: 380px; height: 380px; background: radial-gradient(circle, rgb(110 231 183 / .55), transparent 70%); top: -100px; right: -80px; }
.tg-blob.tg-blob--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgb(16 185 129 / .40), transparent 70%); bottom: -120px; left: -120px; animation-delay: -7s; }
.tg-blob.tg-blob--3 { width: 300px; height: 300px; background: radial-gradient(circle, rgb(52 211 153 / .35), transparent 70%); top: 40%; left: 50%; animation-delay: -14s; }
@keyframes blobMove {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,-40px) scale(1.15); }
}

/* =================================================================
   Navigation
   ================================================================= */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgb(255 255 255 / .78);
  border-bottom: 1px solid rgb(15 23 42 / .06);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav-wrap.is-scrolled { box-shadow: 0 8px 28px -12px rgb(15 23 42 / .12); background: rgb(255 255 255 / .92); }
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--ink-900); letter-spacing: -.02em; }
.nav-brand:hover { color: var(--ink-900); }
.nav-brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 18px -6px rgb(220 38 38 / .35), inset 0 0 0 1px rgb(15 23 42 / .06);
}
.nav-brand-mark svg { width: 28px; height: 28px; }
.nav-brand-name { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.nav-brand-name small { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  color: var(--ink-700); font-weight: 600; font-size: .95rem;
  transition: all .2s var(--ease);
}
.nav-links a:hover { color: var(--primary); background: var(--green-50); }
.nav-links a.active { color: var(--primary); background: var(--green-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; color: var(--ink-700); font-weight: 600; font-size: .95rem; transition: all .2s var(--ease); }
.nav-dropdown > button:hover { color: var(--primary); background: var(--green-50); }
.nav-dropdown > button svg { transition: transform .2s var(--ease); }
.nav-dropdown[aria-expanded="true"] > button svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 280px; padding: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s var(--ease);
}
.nav-dropdown[aria-expanded="true"] .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink-800); font-weight: 600; font-size: .92rem;
}
.nav-dropdown-menu a:hover { background: var(--green-50); color: var(--primary); }
.nav-dropdown-menu a small { display: block; font-size: .78rem; font-weight: 500; color: var(--text-mute); margin-top: 2px; }

.nav-burger {
  display: none; width: 44px; height: 44px;
  border-radius: 12px; background: var(--ink-100);
  align-items: center; justify-content: center;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink-900); border-radius: 2px; position: relative; transition: all .2s var(--ease); }
.nav-burger span::before, .nav-burger span::after { content:''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: all .2s var(--ease); }
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }
.nav-burger.is-open span { background: transparent; }
.nav-burger.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.is-open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-text { display: none; }
  .nav-burger { display: inline-flex; }
}
.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgb(255 255 255 / .98);
  backdrop-filter: blur(20px);
  z-index: 49; padding: 24px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: all .25s var(--ease);
  overflow-y: auto;
}
.nav-mobile.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-mobile a { padding: 14px 16px; border-radius: 12px; font-weight: 600; color: var(--ink-800); }
.nav-mobile a:hover, .nav-mobile a.active { background: var(--green-50); color: var(--primary); }
.nav-mobile-section { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); padding: 16px 16px 6px; font-weight: 700; }

/* =================================================================
   Buttons
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700; font-size: .95rem;
  letter-spacing: -.005em;
  transition: all .22s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff;
  box-shadow: 0 12px 28px -8px rgb(16 185 129 / .55), inset 0 1px 0 rgb(255 255 255 / .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgb(16 185 129 / .65); color: #fff; }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--green-300); background: var(--green-50); color: var(--ink-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-800); }
.btn-ghost:hover { background: var(--green-50); color: var(--primary); }
.btn-lg { padding: 16px 28px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  background: var(--ink-900); color: #fff;
  border-radius: 14px;
  transition: all .22s var(--ease);
  box-shadow: 0 10px 24px -8px rgb(15 23 42 / .35);
}
.btn-store:hover { transform: translateY(-2px); background: #000; color: #fff; box-shadow: 0 18px 32px -10px rgb(15 23 42 / .5); }
.btn-store-icon { width: 32px; height: 32px; flex-shrink: 0; }
.btn-store-text { display: flex; flex-direction: column; line-height: 1.1; gap: 3px; text-align: left; }
.btn-store-text small { font-size: .7rem; opacity: .85; font-weight: 500; }
.btn-store-text strong { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }

/* =================================================================
   Hero
   ================================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 18px 0 22px;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-meta-item small { display: block; color: var(--text-mute); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hero-meta-item strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--ink-900); margin-top: 4px; letter-spacing: -.01em; }

/* Hero phone mockup */
.hero-phone {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 9 / 18;
  background: linear-gradient(155deg, #1F2937 0%, #0B1220 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 60px 120px -30px rgb(15 23 42 / .55), 0 30px 60px -20px rgb(16 185 129 / .25), inset 0 0 0 1.5px rgb(255 255 255 / .06);
  animation: float-y 6s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  background: linear-gradient(180deg, var(--green-50), #fff 30%, #fff);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #0B1220;
  border-radius: 999px; z-index: 4;
}
.hero-phone-header {
  padding: 44px 18px 14px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / .8);
  backdrop-filter: blur(8px);
}
.hero-phone-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--green-400), var(--green-700)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 4px 12px -2px rgb(16 185 129 / .5); }
.hero-phone-name { line-height: 1.1; }
.hero-phone-name strong { font-size: .9rem; color: var(--ink-900); }
.hero-phone-name small { font-size: .72rem; color: var(--green-600); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.hero-phone-name small::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgb(16 185 129 / .25); }
.hero-phone-chat { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.bubble {
  max-width: 82%; padding: 9px 13px;
  border-radius: 16px;
  font-size: .82rem;
  animation: bubbleIn .5s var(--ease) backwards;
}
.bubble.in {
  align-self: flex-start;
  background: #fff; color: var(--ink-800);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px -2px rgb(16 185 129 / .4);
}
.bubble:nth-child(1) { animation-delay: .3s; }
.bubble:nth-child(2) { animation-delay: .9s; }
.bubble:nth-child(3) { animation-delay: 1.5s; }
.bubble:nth-child(4) { animation-delay: 2.1s; }
.bubble:nth-child(5) { animation-delay: 2.7s; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(12px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.bubble-typing { display: flex; gap: 3px; padding: 11px 14px; }
.bubble-typing span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--green-500);
  animation: typing 1.2s ease-in-out infinite;
}
.bubble-typing span:nth-child(2) { animation-delay: .15s; }
.bubble-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-3px); }
}
.hero-phone-input {
  margin: 8px 14px 18px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--ink-100);
  border-radius: 999px;
  font-size: .82rem; color: var(--text-mute);
}
.hero-phone-input::after { content:''; flex: 1; }

.hero-orbit {
  position: absolute; inset: -10%;
  pointer-events: none;
}
.hero-orbit-dot {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 18px 38px -12px rgb(16 185 129 / .35), 0 8px 18px -4px rgb(15 23 42 / .12);
  animation: orbit 8s ease-in-out infinite;
}
.hero-orbit-dot svg { width: 28px; height: 28px; color: var(--green-600); }
.hero-orbit-dot:nth-child(1) { top: 10%; left: -8%; animation-delay: 0s; }
.hero-orbit-dot:nth-child(2) { top: 60%; right: -5%; animation-delay: -2.5s; }
.hero-orbit-dot:nth-child(3) { bottom: 5%; left: 10%; animation-delay: -5s; }
@keyframes orbit {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50%      { transform: translate(8px, -14px) rotate(6deg); }
}

/* =================================================================
   Cards & feature blocks
   ================================================================= */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgb(16 185 129 / .04) 100%);
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.card:hover { border-color: var(--green-200); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--green-700);
  box-shadow: inset 0 0 0 1px rgb(16 185 129 / .14);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; }
.card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--primary);
  font-weight: 700; font-size: .9rem;
}
.card-arrow svg { transition: transform .2s var(--ease); }
.card:hover .card-arrow svg { transform: translateX(4px); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-row.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse > :first-child { order: 0; }
}
.feature-mock {
  position: relative;
  border-radius: 24px;
  padding: 32px;
  background: linear-gradient(155deg, var(--green-50) 0%, #fff 100%);
  border: 1px solid var(--green-100);
  min-height: 320px;
  display: grid; place-items: center;
  overflow: hidden;
}
.feature-mock::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -20%, rgb(16 185 129 / .15), transparent 70%);
  pointer-events: none;
}

/* =================================================================
   CTA / banner
   ================================================================= */
.cta-banner {
  position: relative;
  padding: clamp(48px, 6vw, 80px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 50%, var(--green-500) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 10%, rgb(255 255 255 / .15), transparent 60%),
    radial-gradient(400px 250px at 10% 80%, rgb(255 255 255 / .1), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgb(255 255 255 / .85); }
.cta-banner .btn-primary { background: #fff; color: var(--green-700); }
.cta-banner .btn-primary:hover { background: var(--green-50); color: var(--green-800); }
.cta-banner .btn-secondary { background: rgb(255 255 255 / .15); border-color: rgb(255 255 255 / .2); color: #fff; backdrop-filter: blur(10px); }
.cta-banner .btn-secondary:hover { background: rgb(255 255 255 / .25); color: #fff; }

/* =================================================================
   Footer
   ================================================================= */
.footer {
  position: relative;
  z-index: 2;
  padding: 72px 0 40px;
  background: linear-gradient(180deg, transparent 0%, rgb(6 78 59 / .03) 100%);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { font-size: .9rem; max-width: 360px; margin-top: 14px; }
.footer-col h5 { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; color: var(--ink-900); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-soft); font-size: .92rem; font-weight: 500; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: var(--text-mute);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--text-mute); }
.footer-legal a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-700);
}
.footer-social a:hover { color: var(--primary); border-color: var(--green-300); transform: translateY(-2px); }

/* =================================================================
   Page header
   ================================================================= */
.page-header {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(800px 320px at 50% 20%, rgb(16 185 129 / .12), transparent 70%);
  pointer-events: none;
}
.page-header .lead { max-width: 720px; margin: 16px auto 0; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-mute); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }

/* =================================================================
   Legal / long-form content
   ================================================================= */
.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  position: relative;
}
@media (max-width: 980px) { .legal { grid-template-columns: 1fr; gap: 24px; } }
.legal-toc {
  position: sticky; top: calc(var(--nav-h) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  padding: 20px;
  background: rgb(255 255 255 / .7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.legal-toc h6 { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.legal-toc ol { display: flex; flex-direction: column; gap: 4px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block;
  padding: 8px 12px 8px 32px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
  transition: all .2s var(--ease);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 8px; top: 8px;
  font-size: .72rem; font-weight: 700; color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}
.legal-toc a:hover { background: var(--green-50); color: var(--primary); }
.legal-toc a.active { background: var(--green-50); color: var(--primary); }
.legal-toc a.active::before { color: var(--primary); }

@media (max-width: 980px) {
  .legal-toc { position: relative; top: auto; max-height: none; }
}

.legal-content { max-width: 820px; }
.legal-content h2 {
  font-size: 1.6rem; margin-top: 56px; margin-bottom: 16px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
  position: relative; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content h2 .num {
  display: inline-block;
  font-size: .82rem; font-weight: 800; letter-spacing: .08em;
  color: var(--primary); background: var(--green-50);
  padding: 4px 10px; border-radius: 999px;
  margin-right: 12px; vertical-align: middle;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.legal-content h3 {
  font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px;
  color: var(--ink-800);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.legal-content p { margin-bottom: 14px; line-height: 1.75; color: var(--text-soft); }
.legal-content ul, .legal-content ol {
  margin: 12px 0 18px 0; padding-left: 24px;
  list-style: disc; color: var(--text-soft);
}
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 8px; line-height: 1.7; }
.legal-content li::marker { color: var(--primary); font-weight: 700; }
.legal-content strong { color: var(--ink-900); font-weight: 700; }
.legal-content blockquote {
  margin: 20px 0; padding: 18px 22px;
  background: var(--green-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-800);
  font-style: italic;
}
.legal-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: .92rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border);
}
.legal-content th {
  background: var(--green-50);
  text-align: left; padding: 12px 16px;
  font-weight: 700; color: var(--ink-900);
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
}
.legal-content td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.legal-content tr:hover td { background: var(--bg-soft); }

.legal-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding: 18px 22px; margin-bottom: 32px;
  background: rgb(255 255 255 / .7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .87rem;
  backdrop-filter: blur(6px);
}
.legal-meta-item { display: flex; align-items: center; gap: 8px; }
.legal-meta-item small { color: var(--text-mute); font-weight: 600; }
.legal-meta-item strong { color: var(--ink-900); font-weight: 700; }
.legal-meta-item svg { width: 18px; height: 18px; color: var(--primary); }

.callout {
  display: flex; gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  margin: 20px 0;
}
.callout-icon { flex-shrink: 0; width: 28px; height: 28px; color: var(--primary); }
.callout-body strong { color: var(--ink-900); display: block; margin-bottom: 4px; }
.callout-body p { color: var(--ink-700); font-size: .92rem; margin: 0; }
.callout.warn { background: #FEF3C7; border-color: #FDE68A; }
.callout.warn .callout-icon { color: #B45309; }
.callout.warn .callout-body strong { color: #78350F; }
.callout.warn .callout-body p { color: #92400E; }
.callout.danger { background: #FEE2E2; border-color: #FECACA; }
.callout.danger .callout-icon { color: #B91C1C; }
.callout.danger .callout-body strong { color: #7F1D1D; }
.callout.danger .callout-body p { color: #991B1B; }

/* =================================================================
   Misc utilities & components
   ================================================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; font-size: .78rem; font-weight: 700;
  border-radius: 999px; background: var(--green-50); color: var(--green-700);
  border: 1px solid var(--green-100);
}
.badge.live::before { content:''; width: 6px; height: 6px; border-radius:50%; background: var(--green-500); box-shadow: 0 0 0 3px rgb(16 185 129 / .25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(.85); }
}

.divider {
  height: 1px; background: var(--border); margin: 32px 0;
}
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-300), transparent);
}

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 880px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all .25s var(--ease);
}
.stat:hover { transform: translateY(-3px); border-color: var(--green-200); box-shadow: var(--shadow); }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; line-height: 1;
}
.stat-label { font-size: .88rem; color: var(--text-mute); font-weight: 600; margin-top: 6px; }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item:hover { border-color: var(--green-200); }
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; color: var(--ink-900);
  font-size: 1rem;
}
.faq-q-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 8px; background: var(--green-50); color: var(--primary);
  transition: transform .25s var(--ease);
}
.faq-item.is-open .faq-q-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 24px;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.faq-item.is-open .faq-a { max-height: 600px; padding: 0 24px 22px; }
.faq-a p { font-size: .95rem; line-height: 1.7; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .tg-icon, .tg-blob, .hero-phone, .hero-orbit-dot, .bubble, .bubble-typing span { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Selection */
::selection { background: var(--green-200); color: var(--green-900); }

/* Focus visible */
:focus-visible {
  outline: 3px solid rgb(16 185 129 / .45);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Print friendly */
@media print {
  .nav-wrap, .footer, .tg-bg, .tg-icons, .tg-blob, .cta-banner { display: none !important; }
  body { background: #fff; }
  .legal-content { max-width: 100%; }
  .container { padding: 0; }
}

/* =================================================================
   Language switcher (inside nav)
   ================================================================= */
.lang-switcher {
  position: relative;
  display: inline-flex;
}
.lang-switcher-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: .82rem; font-weight: 700;
  color: var(--ink-700);
  background: rgb(255 255 255 / .65);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all .18s var(--ease);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lang-switcher-btn:hover { color: var(--primary); border-color: var(--green-300); background: rgb(255 255 255 / .85); }
.lang-switcher-btn .flag { font-size: 1.1em; line-height: 1; }
.lang-switcher-btn svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.lang-switcher[aria-expanded="true"] .lang-switcher-btn svg { transform: rotate(180deg); }
.lang-switcher-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: all .2s var(--ease);
  z-index: 100;
}
.lang-switcher[aria-expanded="true"] .lang-switcher-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-switcher-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  color: var(--ink-800);
  text-decoration: none;
}
.lang-switcher-menu a:hover { background: var(--green-50); color: var(--primary); }
.lang-switcher-menu a.active { background: var(--green-50); color: var(--primary); }
.lang-switcher-menu a.active::before { content: '✓'; color: var(--primary); margin-right: 4px; }
.lang-switcher-menu .flag { font-size: 1.15em; line-height: 1; }
.lang-switcher-menu small { display: block; font-size: .72rem; font-weight: 500; color: var(--text-mute); margin-top: 1px; letter-spacing: 0; text-transform: none; }

@media (max-width: 980px) {
  .lang-switcher { display: none; }
  .nav-mobile .lang-switcher-mobile { display: flex; gap: 8px; padding: 12px 16px; }
  .nav-mobile .lang-switcher-mobile a { flex: 1; padding: 10px; text-align: center; border: 1px solid var(--border); border-radius: 10px; font-weight: 700; font-size: .85rem; color: var(--ink-800); }
  .nav-mobile .lang-switcher-mobile a.active { background: var(--green-50); border-color: var(--green-300); color: var(--primary); }
}
