/* ============================================================
   MONAITH — PREMIUM FINTECH DESIGN SYSTEM v3
   Clean, confident, money-focused
   ============================================================ */

/* ──────── DESIGN TOKENS ──────── */
:root {
  /* Backgrounds — slightly lighter moonlight */
  --bg:           #0d1220;
  --bg-elevated:  #111827;
  --bg-surface:   #151c2e;
  --bg-card:      #171f33;
  --bg-glass:     rgba(17, 24, 39, 0.65);

  /* Accent palette */
  --accent:       #4fd1c5;
  --accent-dim:   rgba(79, 209, 197, 0.12);
  --accent-glow:  rgba(79, 209, 197, 0.25);
  --accent2:      #7c3aed;
  --accent2-dim:  rgba(124, 58, 237, 0.12);
  --accent2-glow: rgba(124, 58, 237, 0.3);
  --green:        #34d399;
  --green-dim:    rgba(52, 211, 153, 0.12);

  /* Text */
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --text-faint:   #64748b;

  /* Borders */
  --border:       rgba(148, 163, 184, 0.08);
  --border-hover: rgba(148, 163, 184, 0.15);

  /* Type scale (clamp) */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
  --text-sm:   clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --text-lg:   clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --text-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl:  clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-3xl:  clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-hero: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', system-ui, sans-serif;
  --font-body:    'Satoshi', system-ui, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(79,209,197,0.12);

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ──────── UTILITIES ──────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ──────── SECTION BASE ──────── */
.section {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.section__label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--space-4);
}
.section__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ──────── NAVIGATION ──────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}
.nav--scrolled {
  background: rgba(13, 18, 32, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}
/* Remove backdrop-filter when menu is open to avoid containing block issues */
.nav--menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  transition: opacity var(--transition-interactive);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo svg { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav__link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav__link:hover,
.nav__link--active {
  color: var(--text);
}
.nav__link--active {
  background: rgba(79, 209, 197, 0.08);
}
.nav__cta {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-left: var(--space-3);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79, 209, 197, 0.35);
}
.nav__cta:active { transform: translateY(0); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-5);
    background: rgba(13, 18, 32, 0.72);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
    z-index: 1001;
    overflow: hidden;
  }
  .nav__links--open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    font-size: var(--text-xl);
    padding: var(--space-3) var(--space-6);
    text-align: center;
  }
  .nav__cta {
    margin-left: 0;
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-8);
    margin-top: var(--space-2);
  }
}

/* ──────── PAGE ROUTING ──────── */
.page { display: none; }
.page--active { display: block; }

/* ──────── HERO ──────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero__bg-gradient {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(79,209,197,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 30% 40%, rgba(124,58,237,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero__text {
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  background: var(--accent-dim);
  border: 1px solid rgba(79, 209, 197, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-8);
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-6);
}
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
}
.hero__title-accent {
  color: var(--accent);
}
.hero__title-accent .word {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-8);
  opacity: 0;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
}

/* ──── PHONE MOCKUP ──── */
.hero__phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.phone-scene {
  position: relative;
  width: 320px;
  perspective: 1200px;
}
.phone-mockup {
  position: relative;
  width: 280px;
  margin: 0 auto;
  background: #1a1f36;
  border-radius: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 25px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(79,209,197,0.08);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}
.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

/* Phone notch */
.phone-notch {
  width: 120px;
  height: 28px;
  background: #0d1220;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* Phone screen */
.phone-screen {
  padding: 8px 16px 24px;
  min-height: 480px;
}
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 16px;
}
.phone-greeting {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.3;
}
.phone-greeting strong {
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  display: block;
  font-family: var(--font-display);
}
.phone-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(79, 209, 197, 0.3);
  flex-shrink: 0;
}
.phone-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Balance card */
.phone-balance {
  background: linear-gradient(135deg, rgba(79,209,197,0.12), rgba(124,58,237,0.08));
  border: 1px solid rgba(79,209,197,0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}
.phone-balance__label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.phone-balance__amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.phone-balance__change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-top: 4px;
}

/* ──── PHONE NOTIFICATION (sliding from top) ──── */
.phone-notification {
  position: absolute;
  top: 32px;
  left: 8px;
  right: 8px;
  z-index: 10;
  background: rgba(21, 28, 46, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(79, 209, 197, 0.2);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(79, 209, 197, 0.08);
  opacity: 0;
  transform: translateY(-20px);
}
.phone-notification__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.phone-notification__app {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.phone-notification__time {
  font-size: 9px;
  color: var(--text-faint);
}
.phone-notification__body {}
.phone-notification__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 4px;
}
.phone-notification__tag--warn {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.phone-notification__text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 8px;
}
.phone-notification__actions {
  display: flex;
  gap: 6px;
}
.phone-notification__btn {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  transition: background 0.2s;
}
.phone-notification__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.phone-notification__btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.phone-notification__btn--primary:hover {
  background: #38b2ac;
}

/* Transaction list */
.phone-transactions__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.phone-tx {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.phone-tx:last-child { border-bottom: none; }
.phone-tx__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.phone-tx__icon--food { background: rgba(251,191,36,0.12); }
.phone-tx__icon--transport { background: rgba(79,209,197,0.12); }
.phone-tx__icon--shopping { background: rgba(244,114,182,0.12); }
.phone-tx__icon--income { background: rgba(52,211,153,0.12); }
.phone-tx__details { flex: 1; }
.phone-tx__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.phone-tx__category {
  font-size: 11px;
  color: var(--text-faint);
}
.phone-tx__amount {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.phone-tx__amount--negative { color: var(--text); }
.phone-tx__amount--positive { color: var(--green); }
.phone-tx__amount--leak {
  color: #f87171;
  font-weight: 700;
}
.phone-tx__icon--streaming { background: rgba(239, 68, 68, 0.12); }

/* ──── FLOATING DOLLAR SIGNS ──── */
.hero__money-flow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.money-particle {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  opacity: 0;
  will-change: transform, opacity;
  user-select: none;
  text-shadow: 0 0 12px rgba(79, 209, 197, 0.3);
  filter: drop-shadow(0 0 4px rgba(79, 209, 197, 0.15));
}

/* Phone glow behind */
.phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 350px; height: 500px;
  background: radial-gradient(ellipse, rgba(79,209,197,0.1) 0%, rgba(124,58,237,0.05) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__text { order: 1; }
  .hero__phone-wrapper { order: 2; margin-top: var(--space-8); }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__badge { margin-inline: auto; }
  .phone-mockup { transform: none; }
  .phone-mockup:hover { transform: none; }
}

/* ──────── BUTTONS ──────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive);
  white-space: nowrap;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #38b2ac);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(79, 209, 197, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 209, 197, 0.4);
}
.btn--secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}
.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}
.btn__arrow {
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ──────── SCROLL REVEAL ──────── */
.gs-reveal {
  opacity: 0;
  will-change: opacity, transform;
}

/* ──────── FEATURES SECTION ──────── */
.features { background: var(--bg); }
.features__header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.features__header .section__subtitle { margin-inline: auto; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  position: relative;
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 209, 197, 0.2);
  box-shadow: var(--shadow-glow);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(79,209,197,0.06), transparent);
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  color: var(--accent);
  font-size: 24px;
}
.feature-card__icon--purple {
  background: var(--accent2-dim);
  color: var(--accent2);
}
.feature-card__icon--green {
  background: var(--green-dim);
  color: var(--green);
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.feature-card__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* ──────── TRUST / STATS ──────── */
.trust { background: var(--bg); }
.trust__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}
.stat {
  text-align: center;
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s var(--ease-out);
}
.stat:hover {
  border-color: rgba(79, 209, 197, 0.15);
}
.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-2);
}
.stat__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .trust__stats { grid-template-columns: 1fr; }
}

/* ──────── CTA SECTION ──────── */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(79,209,197,0.05), transparent);
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}
.cta-section__text {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

/* ──────── ABOUT PAGE ──────── */
.about__hero {
  padding-top: calc(80px + var(--space-24));
  text-align: center;
}
.about__hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}
.about__hero-text {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
.about__story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}
.about__story-block h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text);
}
.about__story-block p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.about__story-block p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .about__story { grid-template-columns: 1fr; gap: var(--space-8); }
}

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), rgba(124,58,237,0.15), transparent);
  margin-bottom: var(--space-16);
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.value-card {
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.value-card:hover {
  border-color: rgba(79, 209, 197, 0.15);
  transform: translateY(-3px);
}
.value-card__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  margin-bottom: var(--space-4);
}
.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.value-card__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .about__values { grid-template-columns: 1fr; }
}
.about__team-section {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  text-align: center;
}

/* ──────── PRODUCT PAGE ──────── */
.product__hero {
  padding-top: calc(80px + var(--space-24));
  text-align: center;
}
.steps { max-width: 900px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12) 0;
}
.step + .step { border-top: 1px solid var(--border); }
.step:nth-child(even) { direction: rtl; }
.step:nth-child(even) > * { direction: ltr; }
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.step__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
}
.step__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__visual-inner {
  width: 100%;
  padding: var(--space-10);
  background: linear-gradient(135deg, rgba(79,209,197,0.03), rgba(124,58,237,0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}
.step__visual-inner svg { margin: 0 auto var(--space-4); }
.step__visual-inner p { font-size: var(--text-sm); color: var(--text-faint); }
@media (max-width: 768px) {
  .step { grid-template-columns: 1fr; gap: var(--space-6); }
  .step:nth-child(even) { direction: ltr; }
}

.deep-dives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.deep-dive {
  position: relative;
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.deep-dive:hover {
  border-color: rgba(79, 209, 197, 0.15);
  transform: translateY(-3px);
}
.deep-dive::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(79,209,197,0.06), transparent);
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.deep-dive:hover::before { opacity: 1; }
.deep-dive__icon {
  width: 40px; height: 40px;
  color: var(--accent);
  margin-bottom: var(--space-5);
}
.deep-dive__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.deep-dive__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}
.deep-dive-section {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}
@media (max-width: 768px) {
  .deep-dives { grid-template-columns: 1fr; }
}

/* ──────── PRIVACY PAGE ──────── */
.privacy-page { padding-top: calc(80px + var(--space-16)); }
.privacy__header { text-align: center; margin-bottom: var(--space-16); }
.privacy__header .section__subtitle { margin-inline: auto; }
.privacy__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--accent-dim);
  border: 1px solid rgba(79,209,197,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
}
.privacy-badge svg { width: 14px; height: 14px; display: inline-block; }
.privacy__content { max-width: 760px; margin: 0 auto; }
.privacy__section { margin-bottom: var(--space-10); }
.privacy__section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text);
}
.privacy__section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: var(--space-5) 0 var(--space-3);
  color: var(--text);
}
.privacy__section p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-3);
}
.privacy__section ul { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.privacy__section li {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  list-style: disc;
}
.privacy__section li::marker { color: var(--accent); }
.privacy__section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ──────── JOIN PAGE ──────── */
.join-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}
.join__bg-glow {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,209,197,0.08) 0%, rgba(124,58,237,0.04) 50%, transparent 70%);
  pointer-events: none;
}
.join__content { position: relative; z-index: 2; text-align: center; max-width: 560px; margin: 0 auto; }
.join__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--accent-dim);
  border-radius: var(--radius-lg);
  color: var(--accent);
  margin-bottom: var(--space-8);
}
.join__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.join__text { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.8; margin-bottom: var(--space-8); }
.join__form { display: flex; gap: var(--space-3); max-width: 440px; margin: 0 auto var(--space-4); }
.join__input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.join__input::placeholder { color: var(--text-faint); }
.join__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.15); }
.join__disclaimer { font-size: var(--text-xs); color: var(--text-faint); }
.join__success {
  display: none;
  padding: var(--space-4) var(--space-6);
  background: rgba(79,209,197,0.08);
  border: 1px solid rgba(79,209,197,0.2);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-weight: 500;
  margin-top: var(--space-6);
}
.join__success--visible {
  display: block;
  animation: fadeUp 0.5s var(--ease-out);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .join__form { flex-direction: column; }
}

/* ──────── FOOTER ──────── */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: var(--text);
}
.footer__logo svg { color: var(--accent); }
.footer__brand-text { font-size: var(--text-sm); color: var(--text-faint); line-height: 1.7; max-width: 300px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-faint);
  padding: var(--space-1) 0;
  cursor: pointer;
  transition: color var(--transition-interactive);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-faint);
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: var(--space-2); text-align: center; }
}

/* ──────── PAGE TRANSITION ──────── */
.page-transition-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
  z-index: 999;
  pointer-events: none;
  opacity: 0;
}

/* ──────── PAGE-LEVEL MONEY FLOW (all pages) ──────── */
.page-money-flow {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.page-money-flow .money-particle {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0;
  will-change: transform, opacity;
  user-select: none;
  text-shadow: 0 0 12px rgba(79, 209, 197, 0.2);
}

/* ──────── ABOUT: TIMELINE ──────── */
.about__timeline-section {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}
.about__timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline-line {
  position: absolute;
  left: 12px; top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent2), transparent);
  opacity: 0.3;
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-12);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -34px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(79, 209, 197, 0.4);
}
.timeline-marker::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(79, 209, 197, 0.2);
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
.timeline-content {}
.timeline-date {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.timeline-content p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
}

/* Team badges */
.about__team-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.about__team-badge {
  padding: var(--space-2) var(--space-5);
  background: rgba(79, 209, 197, 0.06);
  border: 1px solid rgba(79, 209, 197, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about__timeline { padding-left: 30px; }
  .timeline-marker { left: -24px; }
}

/* ──────── PREFERS-REDUCED-MOTION ──────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
