/* ── Reset & Base ─────────────────────────────── */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --bg: #FCFCFC;
      --primary: #02080F;
      --gold: #C79E2E;
      --gold-dark: #8C6B2E;
      --gold-faint: rgba(199, 158, 46, 0.08);
      --gold-light: rgba(199, 158, 46, 0.18);
      --text: #02080F;
      --text-muted: #6B7280;
      --card-bg: #FFFFFF;
      --card-border: var(--gold-faint);
      --how-bg: linear-gradient(180deg, var(--bg) 0%, #F7F5EF 100%);
      --phone-bg: #1A1A1A;
      --phone-inset: rgba(255,255,255,0.08);
      --serif: 'Prata', 'Georgia', serif;
      --sans: 'IBM Plex Sans', -apple-system, sans-serif;
    }

    [data-theme="dark"] {
      --bg: #0A0A0F;
      --primary: #F0EDE4;
      --text: #F0EDE4;
      --text-muted: #8B8680;
      --card-bg: #141418;
      --card-border: rgba(199, 158, 46, 0.12);
      --gold-faint: rgba(199, 158, 46, 0.06);
      --gold-light: rgba(199, 158, 46, 0.15);
      --how-bg: linear-gradient(180deg, var(--bg) 0%, #111115 100%);
      --phone-bg: #000000;
      --phone-inset: rgba(255,255,255,0.05);
    }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: var(--sans);
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      transition: background 0.4s, color 0.4s;
    }

    nav, section, footer { position: relative; z-index: 1; }

    /* ── Utility ──────────────────────────────────── */
    .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
    .text-center { text-align: center; }

    .section-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 12px;
    }

    .section-title {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(2rem, 5vw, 3.2rem);
      line-height: 1.15;
      margin-bottom: 20px;
      color: var(--primary);
    }

    .section-subtitle {
      font-size: 1.05rem;
      font-weight: 300;
      color: var(--text-muted);
      max-width: 560px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* ── Navigation ───────────────────────────────── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: transparent;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--gold-faint);
      transition: background 0.3s;
    }

    nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }

    .nav-logo {
      font-family: var(--serif);
      font-size: 1.4rem;
      color: var(--primary);
      text-decoration: none;
      letter-spacing: 0.02em;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .nav-logo-icon { width: 22px; height: 22px; }

    .brand-inline {
      font-family: var(--serif);
      font-weight: 400;
      color: var(--primary);
      white-space: nowrap;
    }

    .brand-inline-icon {
      width: 14px;
      height: 14px;
      vertical-align: -1px;
      margin-right: 2px;
    }

    .nav-links { display: flex; gap: 32px; align-items: center; }

    .nav-links a {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--primary); }

    .nav-cta {
      background: var(--primary) !important;
      color: #fff !important;
      padding: 8px 22px;
      border-radius: 100px;
      font-size: 0.82rem !important;
      font-weight: 500 !important;
      transition: opacity 0.2s;
    }

    .nav-cta:hover { opacity: 0.85; }

    /* ── Theme Toggle ─────────────────────────────── */
    .theme-toggle {
      position: relative;
      width: 56px;
      height: 30px;
      background: var(--gold-faint);
      border: 1px solid var(--card-border);
      border-radius: 100px;
      cursor: pointer;
      transition: background 0.3s;
      display: flex;
      align-items: center;
      padding: 0 3px;
    }

    .theme-toggle .toggle-knob {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--gold);
      transition: transform 0.3s;
      z-index: 1;
    }

    [data-theme="dark"] .theme-toggle .toggle-knob {
      transform: translateX(26px);
    }

    .theme-toggle .toggle-icon-sun,
    .theme-toggle .toggle-icon-moon {
      position: absolute;
      font-size: 14px;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
    }
    .theme-toggle .toggle-icon-sun { left: 7px; color: var(--gold-dark); }
    .theme-toggle .toggle-icon-moon { right: 6px; color: var(--text-muted); }

    /* Dark mode overrides */
    [data-theme="dark"] .btn-primary {
      background: var(--gold);
      color: #0A0A0F;
    }

    [data-theme="dark"] .btn-secondary {
      color: var(--text);
      border-color: var(--gold-light);
    }

    [data-theme="dark"] .nav-cta {
      background: var(--gold) !important;
      color: #0A0A0F !important;
    }

    [data-theme="dark"] .step-number {
      background: var(--gold);
      color: #0A0A0F;
    }

    [data-theme="dark"] .hero h1 em { color: var(--gold); }

    [data-theme="dark"] .phone-screen {
      background: #1A1A1E;
    }

    [data-theme="dark"] .screenshot-inner {
      background: #1A1A1E;
    }

    [data-theme="dark"] .mock-tag { background: rgba(199,158,46,0.15); color: var(--gold); }
    [data-theme="dark"] .mock-tag.pink { background: rgba(236,72,153,0.15); color: #f472b6; }
    [data-theme="dark"] .mock-tag.teal { background: rgba(20,184,166,0.15); color: #5eead4; }

    /* ── Language Switcher ────────────────────────── */
    .lang-switch { position: relative; }

    .lang-btn {
      display: flex; align-items: center; gap: 4px;
      background: var(--gold-faint); border: 1px solid var(--card-border);
      border-radius: 100px; padding: 5px 12px 5px 8px;
      cursor: pointer; font-family: var(--sans);
      font-size: 0.78rem; font-weight: 500;
      color: var(--text-muted); transition: border-color 0.2s;
    }
    .lang-btn i { font-size: 14px; }
    .lang-btn:hover { border-color: var(--gold-light); }

    .lang-dropdown {
      display: none; position: absolute; top: calc(100% + 8px); right: 0;
      background: var(--card-bg); border: 1px solid var(--card-border);
      border-radius: 12px; padding: 6px 0; min-width: 130px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.12);
      z-index: 200;
    }
    .lang-dropdown.open { display: block; }

    .lang-dropdown button {
      display: block; width: 100%; text-align: left;
      padding: 8px 16px; border: none; background: none;
      font-family: var(--sans); font-size: 0.85rem;
      color: var(--text); cursor: pointer; transition: background 0.15s;
    }
    .lang-dropdown button:hover { background: var(--gold-faint); }
    .lang-dropdown button.active { color: var(--gold); font-weight: 600; }

    /* ── Nav dark overlay (when over universe section) ─ */
    nav.nav-dark {
      background: rgba(2, 8, 15, 0.85);
      border-bottom-color: rgba(199, 158, 46, 0.1);
    }
    nav.nav-dark .nav-logo,
    nav.nav-dark .nav-links a { color: #F0EDE4; }
    nav.nav-dark .nav-links a:hover { color: var(--gold); }
    nav.nav-dark .nav-cta {
      background: var(--gold) !important;
      color: #0A0A0F !important;
    }
    nav.nav-dark .nav-toggle svg { stroke: #F0EDE4; }
    nav.nav-dark .lang-btn { color: #F0EDE4; border-color: rgba(199,158,46,0.15); background: rgba(199,158,46,0.08); }

    .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
    .nav-toggle svg { width: 24px; height: 24px; stroke: var(--primary); }

    /* ── Hero ─────────────────────────────────────── */
    .hero {
      padding: 160px 0 100px;
      text-align: center;
      position: relative;
    }

    /* ── Floating gradient circles (splash-style) ── */
    .gradient-circles {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
    }


    .hero-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 24px;
    }

    .hero h1 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(2.6rem, 6vw, 4.2rem);
      line-height: 1.1;
      margin-bottom: 24px;
      color: var(--primary);
    }

    .hero h1 em {
      font-style: normal;
      color: var(--gold);
    }

    .hero-sub {
      font-size: 1.15rem;
      font-weight: 300;
      color: var(--text-muted);
      max-width: 520px;
      margin: 0 auto 40px;
      line-height: 1.7;
    }

    .hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary);
      color: #fff;
      padding: 14px 32px;
      border-radius: 100px;
      font-family: var(--sans);
      font-size: 0.95rem;
      font-weight: 500;
      text-decoration: none;
      transition: opacity 0.2s, transform 0.2s;
    }

    .btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

    .btn-primary svg { width: 18px; height: 18px; }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--primary);
      padding: 14px 32px;
      border-radius: 100px;
      font-family: var(--sans);
      font-size: 0.95rem;
      font-weight: 500;
      text-decoration: none;
      border: 1.5px solid var(--gold-light);
      transition: border-color 0.2s, transform 0.2s;
    }

    .btn-secondary:hover { border-color: var(--gold); transform: translateY(-1px); }

    .hero-mockup {
      margin-top: 64px;
      position: relative;
    }

    .hero-mockup .phone-frame {
      width: 280px;
      height: 580px;
      background: var(--phone-bg);
      border-radius: 44px;
      margin: 0 auto;
      padding: 8px;
      box-shadow:
        0 40px 80px rgba(2, 8, 15, 0.18),
        inset 0 0 0 1.5px var(--phone-inset);
      position: relative;
    }

    .phone-screen {
      width: 100%;
      height: 100%;
      border-radius: 37px;
      background: var(--bg);
      display: flex;
      flex-direction: column;
      padding: 48px 20px 20px;
      overflow: hidden;
      position: relative;
    }

    /* Dynamic Island for hero phone */
    .phone-screen::before {
      content: '';
      position: absolute;
      top: 12px;
      left: 50%;
      transform: translateX(-50%);
      width: 84px;
      height: 24px;
      background: var(--phone-bg);
      border-radius: 20px;
      z-index: 2;
    }

    .phone-screen .mock-greeting {
      font-size: 0.7rem;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .phone-screen .mock-title {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 1.3rem;
      margin-bottom: 24px;
    }

    .phone-screen .mock-card {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 16px;
      margin-bottom: 10px;
      border: 1px solid var(--card-border);
    }

    .phone-screen .mock-card-title {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 6px;
    }

    .phone-screen .mock-card-text {
      font-size: 0.72rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .mock-tags {
      display: flex;
      gap: 6px;
      margin-top: 8px;
    }

    .mock-tag {
      font-size: 0.55rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 100px;
      background: var(--gold-faint);
      color: var(--gold-dark);
    }

    .mock-tag.pink { background: rgba(236, 72, 153, 0.08); color: #be185d; }
    .mock-tag.teal { background: rgba(20, 184, 166, 0.08); color: #0d9488; }

    /* ── Features ─────────────────────────────────── */
    .features { padding: 100px 0; }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 56px;
    }

    .feature-card {
      padding: 36px 28px;
      border-radius: 20px;
      border: 1px solid var(--card-border);
      background: var(--card-bg);
      transition: border-color 0.3s, transform 0.3s;
    }

    .feature-card:hover {
      border-color: var(--gold-light);
      transform: translateY(-4px);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: var(--gold-faint);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 1.4rem;
      color: var(--gold-dark);
    }

    .feature-card h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 1.15rem;
      margin-bottom: 10px;
    }

    .feature-card p {
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ── How it Works ─────────────────────────────── */
    .how-it-works {
      padding: 100px 0;
      background: var(--how-bg);
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
      margin-top: 56px;
    }

    .step { text-align: center; }

    .step-number {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--serif);
      font-size: 1rem;
      margin-bottom: 20px;
    }

    .step h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 1.05rem;
      margin-bottom: 10px;
    }

    .step p {
      font-size: 0.88rem;
      font-weight: 300;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ── Universe Section ─────────────────────────── */
    .universe-section {
      padding: 0;
      position: relative;
      overflow: hidden;
    }

    .universe-bg {
      background: #02080F;
      padding: 120px 0;
      position: relative;
      overflow: hidden;
    }

    /* Full-area cosmic canvas */
    .universe-canvas-full {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .universe-canvas-full canvas {
      width: 100%;
      height: 100%;
      display: block;
    }

    .universe-content {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 2;
    }

    .universe-text {
      background: rgba(2, 8, 15, 0.75);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(199, 158, 46, 0.12);
      border-radius: 24px;
      padding: 48px 56px;
      max-width: 600px;
      text-align: center;
    }

    .universe-text .section-label { color: var(--gold); }

    .universe-text .section-title {
      color: #F0EDE4;
      font-weight: 400;
      font-size: clamp(2rem, 4.5vw, 2.8rem);
    }

    .universe-text .section-subtitle {
      color: rgba(240, 237, 228, 0.6);
      max-width: 480px;
      margin: 0 auto;
    }

    .universe-tagline {
      font-family: var(--serif);
      font-size: 1.1rem;
      color: var(--gold);
      margin-top: 32px;
      font-style: italic;
    }

    .universe-stats {
      display: flex;
      gap: 32px;
      justify-content: center;
      margin-top: 32px;
    }

    .universe-stat {
      text-align: center;
    }

    .universe-stat .stat-value {
      font-family: var(--serif);
      font-size: 1.6rem;
      color: var(--gold);
    }

    .universe-stat .stat-label {
      font-size: 0.7rem;
      font-weight: 500;
      color: rgba(240, 237, 228, 0.5);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* ── Screenshots Carousel ─────────────────────── */
    .screenshots { padding: 100px 0; }

    .screenshots-track {
      display: flex;
      gap: 24px;
      margin-top: 56px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding: 20px 0;
      scrollbar-width: none;
    }

    .screenshots-track::-webkit-scrollbar { display: none; }

    .screenshot-item {
      flex: 0 0 240px;
      scroll-snap-align: center;
    }

    .screenshot-frame {
      width: 240px;
      height: 500px;
      background: var(--phone-bg);
      border-radius: 40px;
      padding: 8px;
      box-shadow:
        0 20px 60px rgba(2, 8, 15, 0.15),
        inset 0 0 0 1.5px var(--phone-inset);
      position: relative;
    }

    .screenshot-inner {
      width: 100%;
      height: 100%;
      border-radius: 33px;
      background: var(--bg);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    /* Dynamic Island */
    .screenshot-inner::before {
      content: '';
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 72px;
      height: 22px;
      background: var(--phone-bg);
      border-radius: 20px;
      z-index: 2;
    }

    .screenshot-inner .scr-icon { font-size: 2rem; margin-bottom: 16px; }

    .screenshot-inner .scr-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      border-radius: 33px;
      position: absolute;
      inset: 0;
    }

    .screenshot-inner .scr-title {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 0.95rem;
      margin-bottom: 8px;
    }

    .screenshot-inner .scr-desc {
      font-size: 0.75rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    

    /* ── CTA ──────────────────────────────────────── */
    .cta-section {
      padding: 120px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      bottom: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, var(--gold-faint) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-section .section-title {
      margin-bottom: 16px;
    }

    .cta-section .section-subtitle {
      margin-bottom: 40px;
    }

    /* ── Footer ───────────────────────────────────── */
    footer {
      padding: 48px 0;
      border-top: 1px solid var(--gold-faint);
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-logo {
      font-family: var(--serif);
      font-size: 1.1rem;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .footer-logo-icon { width: 20px; height: 20px; }

    .footer-links { display: flex; gap: 24px; }

    .footer-links a {
      font-size: 0.82rem;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-links a:hover { color: var(--primary); }

    .footer-copy {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* ── Responsive ───────────────────────────────── */
    @media (max-width: 900px) {
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .steps { grid-template-columns: repeat(2, 1fr); }
      .universe-text { padding: 40px 32px; }
    }

    @media (max-width: 640px) {
      .nav-links { display: none; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gold-faint);
      }
      .nav-toggle { display: block; }
      .features-grid { grid-template-columns: 1fr; }
      .steps { grid-template-columns: 1fr; gap: 32px; }
      .hero { padding: 120px 0 60px; }
      .hero-mockup .phone-frame { width: 240px; height: 500px; }
      .universe-bg { padding: 80px 0; }
      .universe-text { padding: 32px 24px; }
      .universe-stats { gap: 20px; }
      .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    }

    /* ── Fade-in animation ────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }