
@font-face { font-family: 'Geist Sans'; src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist Sans'; src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist Sans'; src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist Sans'; src: url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --background: hsl(260, 87%, 3%);
  --foreground: hsl(40, 6%, 95%);
  --primary: hsl(121, 95%, 76%);
  --primary-foreground: hsl(0, 0%, 5%);
  --hero-heading: hsl(40, 10%, 96%);
  --hero-sub: hsl(40, 6%, 82%);
  --secondary: hsl(240, 4%, 16%);
  --muted: hsl(240, 4%, 16%);
  --border: hsl(240, 4%, 20%);
}

/* ═══ CUSTOM SCROLLBAR ═══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }
html { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.12) var(--background); }

html { scroll-behavior: smooth; }
body { background: var(--background); color: var(--foreground); font-family: 'Geist Sans', 'Inter', -apple-system, sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

.liquid-glass { position: relative; background: rgba(255,255,255,0.01); background-blend-mode: luminosity; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: none; box-shadow: inset 0 1px 1px rgba(255,255,255,0.1); overflow: hidden; }
.liquid-glass::before { content: ''; position: absolute; inset: 0; padding: 1.4px; background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; border-radius: inherit; pointer-events: none; }

.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,3,18,0.3) 0%, rgba(7,3,18,0.15) 40%, rgba(7,3,18,0.4) 100%); z-index: 1; pointer-events: none; }

/* ═══ NAVBAR ═══ */
.navbar-wrapper { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 16px 24px; transition: padding 0.3s; }
.navbar { display: flex; align-items: center; justify-content: space-between; max-width: 850px; width: 100%; padding: 10px 10px 10px 20px; border-radius: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--foreground); }
.nav-logo-icon { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, rgba(135,251,137,0.15), rgba(135,251,137,0.05)); display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 2; fill: none; }
.nav-logo-text { font-size: 18px; font-weight: 600; letter-spacing: 0.5px; }
.nav-items { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-item { display: flex; align-items: center; gap: 3px; padding: 8px 14px; color: rgba(242,240,237,0.9); text-decoration: none; font-size: 15px; font-weight: 400; border-radius: 10px; transition: background 0.2s; cursor: pointer; }
.nav-item:hover { background: rgba(255,255,255,0.05); }
.nav-item svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; opacity: 0.6; }
.nav-signup { background: var(--primary); color: var(--primary-foreground); padding: 8px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s; }
.nav-signup:hover { opacity: 0.9; }

/* ═══ MOBILE MENU BUTTON ═══ */
.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
  transition: background 0.2s;
}
.nav-menu-btn:hover { background: rgba(255,255,255,0.05); }

.nav-menu-btn .hamburger {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-menu-btn .hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav-menu-btn.active .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-menu-btn.active .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ═══ MOBILE DRAWER ═══ */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-drawer-overlay.active {
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80vw;
  height: 100vh;
  background: hsl(260, 60%, 5%);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.06);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 24px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-drawer-close:hover { background: rgba(255,255,255,0.05); }

.mobile-drawer-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  color: rgba(242,240,237,0.85);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mobile-drawer-nav a:hover {
  background: rgba(255,255,255,0.03);
  color: var(--foreground);
}

.mobile-drawer-nav a svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  opacity: 0.5;
}

.mobile-drawer-cta {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-drawer-cta a {
  display: block;
  text-align: center;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mobile-drawer-cta a:hover { opacity: 0.9; }

/* ═══ BACK TO TOP ═══ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.2s;
}

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

.back-to-top:hover {
  background: rgba(255,255,255,0.12);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--foreground);
  stroke-width: 2;
  fill: none;
}

/* ═══ HERO CONTENT ═══ */
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 140px 24px 0; flex: 1; }
.hero-heading { font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--hero-heading); max-width: 780px; margin-bottom: 24px; animation: fadeUp 0.8s 0.1s ease both; font-size: clamp(36px, 6vw, 68px); }
.hero-sub { font-size: 18px; font-weight: 400; color: var(--hero-sub); max-width: 420px; line-height: 1.6; opacity: 0.8; margin-bottom: 40px; animation: fadeUp 0.8s 0.2s ease both; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s 0.3s ease both; }
.btn-hero { background: var(--primary); color: var(--primary-foreground); border-radius: 100px; padding: 14px 28px; font-size: 16px; font-weight: 500; font-family: inherit; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.2s; text-decoration: none; }
.btn-hero:hover { opacity: 0.9; transform: translateY(-1px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.social-proof { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; gap: 40px; padding: 40px 48px 48px; margin-top: auto; animation: fadeUp 0.8s 0.5s ease both; }
.social-proof-label { flex-shrink: 0; font-size: 13px; color: rgba(242,240,237,0.5); max-width: 140px; line-height: 1.5; }
.marquee-container { flex: 1; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
.marquee-track { display: flex; gap: 20px; animation: marquee 20s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 10px; flex-shrink: 0; white-space: nowrap; }
.marquee-item::before { border-radius: 10px; }
.marquee-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, rgba(135,251,137,0.15), rgba(0,180,216,0.15)); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--primary); flex-shrink: 0; }
.marquee-text { font-size: 13px; color: rgba(242,240,237,0.65); }
.marquee-text .uid { color: rgba(242,240,237,0.85); font-weight: 500; }
.marquee-text .amount { color: var(--primary); font-weight: 600; }

section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 3px; color: var(--primary); margin-bottom: 16px; }
.section-title { font-size: clamp(32px,4vw,48px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--hero-heading); margin-bottom: 20px; }
.section-desc { font-size: 16px; color: var(--hero-sub); line-height: 1.7; }

.Security-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 64px; }
.feature-card { border-radius: 16px; padding: 36px 28px; transition: all 0.35s cubic-bezier(0.16,1,0.3,1); }
.feature-card:hover { background: rgba(255,255,255,0.03); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(135,251,137,0.06); border: 1px solid rgba(135,251,137,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; }
.feature-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; color: var(--hero-heading); }
.feature-card p { font-size: 14px; color: var(--hero-sub); line-height: 1.7; opacity: 0.8; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 64px; position: relative; }
.steps::before { content:''; position:absolute; top:48px; left:15%; right:15%; height:1px; background:linear-gradient(90deg,transparent,var(--primary),transparent); opacity:0.2; }
.step { text-align: center; position: relative; }
.step-number { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 36px; font-weight: 700; color: var(--primary); position: relative; z-index: 1; background: var(--background); border: 1px solid var(--border); }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; color: var(--hero-heading); }
.step p { font-size: 14px; color: var(--hero-sub); line-height: 1.7; max-width: 280px; margin: 0 auto; opacity: 0.8; }

.stats-section { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 64px; }
.stat-card { border-radius: 16px; padding: 36px 24px; text-align: center; transition: all 0.35s; }
.stat-card:hover { background: rgba(255,255,255,0.03); transform: translateY(-2px); }
.stat-value { font-size: 42px; font-weight: 700; background: linear-gradient(135deg,var(--primary),hsl(180,80%,60%)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: rgba(242,240,237,0.45); text-transform: uppercase; letter-spacing: 1.5px; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 40px; }
.showcase-visual { border-radius: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--border); min-height: 420px; }
.showcase-content .section-title { font-size: clamp(28px,3vw,38px); }
.showcase-content ul { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.showcase-content li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--hero-sub); line-height: 1.6; }
.showcase-content li .check { flex-shrink: 0; width: 22px; height: 22px; background: rgba(135,251,137,0.08); border: 1px solid rgba(135,251,137,0.2); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 12px; margin-top: 2px; }

.mock-dashboard { width: 90%; padding: 24px; }
.mock-bar { display: flex; gap: 8px; margin-bottom: 20px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; opacity: 0.5; }
.mock-dot:first-child { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #28c840; }
.mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-bottom: 24px; }
.mock-chart-bar { flex: 1; background: linear-gradient(to top, rgba(135,251,137,0.15), rgba(135,251,137,0.5)); border-radius: 4px 4px 0 0; }
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-row { height: 10px; background: rgba(255,255,255,0.03); border-radius: 4px; }
.mock-row:nth-child(odd) { width: 85%; }
.mock-row:nth-child(even) { width: 65%; }

.commission-tree { width: 100%; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.tree-star { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 28px; position: relative; z-index: 2; }
.tree-connector-v { width: 1.5px; height: 24px; background: rgba(255,255,255,0.15); }
.tree-branch { position: relative; width: 80%; max-width: 380px; height: 24px; }
.tree-branch-h { position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: rgba(255,255,255,0.15); border-radius: 1px; }
.tree-branch-drop-l { position: absolute; top: 0; left: 0; width: 1.5px; height: 24px; background: rgba(255,255,255,0.15); }
.tree-branch-drop-r { position: absolute; top: 0; right: 0; width: 1.5px; height: 24px; background: rgba(255,255,255,0.15); }
.tree-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 90%; max-width: 440px; }
.tree-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 18px 12px; text-align: center; }
.tree-card-label { font-size: 13px; font-weight: 500; color: rgba(242,240,237,0.75); line-height: 1.4; }
.tree-card-value { font-size: 13px; font-weight: 500; color: rgba(242,240,237,0.65); line-height: 1.4; }
.tree-card-value .accent { color: var(--primary); font-weight: 700; font-style: italic; font-size: 15px; }
.tree-row-connectors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 90%; max-width: 440px; }
.tree-row-conn-item { display: flex; justify-content: center; }
.tree-mini-v { width: 1.5px; height: 20px; background: rgba(255,255,255,0.15); }

.faq-section { padding: 100px 24px 120px; max-width: 900px; margin: 0 auto; }
.faq-title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--hero-heading); margin-bottom: 56px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; color: var(--hero-heading); font-size: 18px; font-weight: 500; line-height: 1.4; transition: color 0.2s; }
.faq-question:hover { color: var(--foreground); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 300; color: rgba(242,240,237,0.5); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), color 0.2s; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer-inner { padding: 0 0 28px 0; font-size: 15px; line-height: 1.7; color: var(--hero-sub); opacity: 0.75; max-width: 680px; }

.cta-section { text-align: center; padding: 120px 24px; position: relative; }
.cta-section .section-title { font-size: clamp(36px,5vw,56px); max-width: 600px; margin: 0 auto 24px; }
.cta-section .section-desc { margin: 0 auto 40px; text-align: center; }
.cta-percent { font-size: 120px; font-weight: 700; background: linear-gradient(135deg,var(--primary),hsl(180,80%,60%),var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 24px; }

footer { border-top: 1px solid var(--border); padding: 60px 24px 40px; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo-text { font-size: 22px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 14px; color: var(--hero-sub); line-height: 1.7; opacity: 0.7; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 20px; color: var(--hero-heading); }
.footer-col a { display: block; color: var(--hero-sub); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.2s; opacity: 0.7; }
.footer-col a:hover { color: var(--primary); opacity: 1; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border); font-size: 13px; color: rgba(242,240,237,0.35); }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: rgba(242,240,237,0.35); text-decoration: none; transition: color 0.2s; }
.footer-socials a:hover { color: var(--primary); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) { .Security-grid { grid-template-columns: repeat(2,1fr); } .stats-grid { grid-template-columns: repeat(2,1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .nav-items { display: none; }
  .nav-signup { display: none; }
  .nav-menu-btn { display: flex; }
  .mobile-drawer { display: flex; }
  .mobile-drawer-overlay { display: block; pointer-events: none; }
  .mobile-drawer-overlay.active { pointer-events: auto; }
  .navbar { padding: 10px 10px 10px 16px; }
  .Security-grid, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .social-proof { flex-direction: column; gap: 20px; padding: 32px 24px; }
  .social-proof-label { max-width: none; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .steps::before { display: none; }
  section { padding: 70px 20px; }
  .faq-section { padding: 70px 20px 80px; }
  .faq-question { font-size: 16px; padding: 24px 0; }
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
@media (max-width: 480px) { .hero-heading { letter-spacing: -0.02em; } .hero-ctas { flex-direction: column; width: 100%; } .btn-hero { width: 100%; text-align: center; } .stats-grid { grid-template-columns: 1fr; } .tree-row, .tree-row-connectors { width: 95%; } .tree-card-label { font-size: 12px; } }

/* Body scroll lock when drawer is open */
body.drawer-open { overflow: hidden; }

.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; } .reveal-delay-2 { transition-delay: 0.2s; } .reveal-delay-3 { transition-delay: 0.3s; } .reveal-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════ */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: rgba(242,240,237,0.8);
  transition: background 0.2s, border-color 0.2s;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

.lang-globe {
  width: 16px;
  height: 16px;
  stroke: rgba(242,240,237,0.6);
  stroke-width: 1.5;
  fill: none;
}

.lang-current {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.lang-arrow {
  width: 12px;
  height: 12px;
  stroke: rgba(242,240,237,0.4);
  stroke-width: 2;
  fill: none;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: hsl(260, 50%, 7%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);

  /* Custom scrollbar for dropdown */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.lang-dropdown::-webkit-scrollbar { width: 4px; }
.lang-dropdown::-webkit-scrollbar-track { background: transparent; }
.lang-dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 100px; }

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(242,240,237,0.7);
  font-size: 14px;
  font-weight: 400;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.lang-option:hover {
  background: rgba(255,255,255,0.05);
  color: var(--foreground);
}

.lang-option.active {
  background: rgba(135,251,137,0.06);
  color: var(--primary);
  font-weight: 500;
}

.lang-flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* ═══ Mobile: 语言切换器在移动端也显示 ═══ */
@media (max-width: 768px) {
  .lang-switcher {
    /* 保持显示，在汉堡按钮旁边 */
  }

  .lang-btn {
    padding: 6px 10px;
    gap: 4px;
  }

  .lang-current {
    font-size: 12px;
  }

  .lang-globe {
    width: 14px;
    height: 14px;
  }

  .lang-arrow {
    width: 10px;
    height: 10px;
  }

  .lang-dropdown {
    right: -10px;
    min-width: 170px;
  }
}



.navbar.liquid-glass {
  overflow: visible;
}