/* ─── TOKENS ─────────────────────────────────────── */
:root {
  --purple:       #7C3AED;
  --purple-mid:   #9D5CF0;
  --purple-light: #A78BFA;
  --purple-pale:  #EDE9FE;
  --purple-faint: #F5F3FF;
  --cyan:         #06B6D4;
  --cyan-pale:    #ECFEFF;
  --green:        #10B981;
  --green-pale:   #D1FAE5;
  --amber:        #F59E0B;
  --amber-pale:   #FEF3C7;
  --red:          #EF4444;
  --red-pale:     #FEE2E2;
  --ink:          #111827;
  --ink-2:        #1F2937;
  --ink-3:        #374151;
  --muted:        #6B7280;
  --muted-2:      #9CA3AF;
  --muted-3:      #D1D5DB;
  --bg:           #FFFFFF;
  --bg-2:         #F9FAFB;
  --bg-3:         #F3F4F6;
  --border:       #E5E7EB;
  --border-2:     #D1D5DB;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    20px;
  --radius-2xl:   24px;
  --shadow-xs:    0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-xl:    0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-purple: 0 8px 24px rgba(124,58,237,.2);
}

/* ─── RESET ──────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  transition: opacity .15s ease;
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── LAYOUT ─────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.label::before {
  content: '';
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 2px;
}
h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 16px;
}
h2 .accent { color: var(--purple); }
h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -.01em;
}

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .4; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate { opacity: 0; }
.animate.visible { animation: fadeUp .65s cubic-bezier(.16,1,.3,1) forwards; }
.animate.d1 { animation-delay: .1s; }
.animate.d2 { animation-delay: .2s; }
.animate.d3 { animation-delay: .3s; }
.animate.d4 { animation-delay: .4s; }
.animate.d5 { animation-delay: .5s; }

/* ─── NAV ────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px; display: flex; align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}
#nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-xs); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s; letter-spacing: -.01em;
}
.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  display: flex; background: var(--bg-3); border-radius: 8px;
  overflow: hidden; margin-right: 4px; padding: 2px;
}
.lang-btn {
  padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--muted);
  border-radius: 6px; transition: all .2s; letter-spacing: .02em;
}
.lang-btn.active { background: var(--purple); color: #fff; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; z-index: 210;
}
.nav-hamburger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(17,24,39,.5);
  backdrop-filter: blur(4px); z-index: 190; opacity: 0; transition: opacity .3s;
}
.mobile-nav-overlay.open { opacity: 1; }
.mobile-nav {
  display: none; position: fixed; top: 0; right: -100%;
  width: min(320px, 85vw); height: 100vh; background: var(--bg);
  z-index: 195; padding: 80px 24px 40px;
  box-shadow: -8px 0 40px rgba(0,0,0,.1);
  transition: right .35s cubic-bezier(.16,1,.3,1); overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-nav-links a {
  display: block; padding: 14px 16px; font-size: 15px; font-weight: 600;
  color: var(--ink); border-radius: var(--radius-sm); transition: background .2s;
}
.mobile-nav-links a:hover { background: var(--bg-2); }
.mobile-nav-actions {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 20px; border-top: 1px solid var(--border);
}

/* Buttons */
.btn-ghost {
  padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--ink-3);
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: all .2s; display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: -.01em;
}
.btn-ghost:hover { border-color: var(--muted-2); background: var(--bg-2); }
.btn-purple {
  padding: 8px 20px; font-size: 14px; font-weight: 600; color: #fff;
  background: var(--purple); border-radius: var(--radius-sm); transition: all .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  letter-spacing: -.01em;
}
.btn-purple:hover { background: #6D28D9; transform: translateY(-1px); box-shadow: var(--shadow-purple); }
.btn-purple .arr { transition: transform .2s; }
.btn-purple:hover .arr { transform: translateX(3px); }

/* ─── CTA BANNER ─────────────────────────────────── */
#cta-section { background: var(--bg-2); padding: 88px 0; }
.cta-inner {
  background: var(--ink); border-radius: var(--radius-2xl);
  padding: 80px 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-glow-1 {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.3), transparent 70%);
  top: -100px; left: -80px; pointer-events: none;
}
.cta-glow-2 {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,.2), transparent 70%);
  bottom: -80px; right: -60px; pointer-events: none;
}
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.5vw, 42px); margin-bottom: 16px; position: relative; }
.cta-inner h2 .accent { color: var(--purple-light); }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.5); margin-bottom: 40px; position: relative; line-height: 1.6; letter-spacing: -.01em; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-cta-white {
  padding: 15px 30px; font-size: 15px; font-weight: 600; color: var(--purple);
  background: #fff; border: none; border-radius: var(--radius-md);
  display: inline-flex; align-items: center; gap: 8px; transition: all .25s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15); letter-spacing: -.01em;
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.btn-cta-ghost-white {
  padding: 15px 26px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.7); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md);
  display: inline-flex; align-items: center; gap: 8px; transition: all .25s;
  letter-spacing: -.01em;
}
.btn-cta-ghost-white:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ─── FAQ ─────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; gap: 16px; }
.faq-q:hover { color: var(--purple); }
.faq-icon { font-size: 20px; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--purple); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ─── FOOTER ENRICHED ─────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 0; background: var(--bg);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.footer-grid h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted-2); margin-bottom: 16px; }
.footer-grid a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; padding: 4px 0; transition: color .15s; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-3); color: var(--muted); transition: background .15s, color .15s; padding: 0; }
.footer-social a:hover { background: var(--purple); color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--ink); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .cta-inner { padding: 56px 40px; }
}

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav, .mobile-nav-overlay { display: block; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .cta-inner { padding: 48px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-cta-white, .btn-cta-ghost-white { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
}

@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  h1 { font-size: 32px; }
  .lang-toggle { display: none; }
}
