:root {
    --bg-warm: #FFFDF9;
    --bg-soft: #F3F6FA;
    --bg-card: #FFFFFF;
    --header-bg: rgba(255, 253, 249, 0.92);
    --hero-grad: radial-gradient(circle at 82% 22%, #FFEAD5 0%, #FFFDF9 58%);
    --navy-deep: #0D1B2A;
    --navy-mid: #1B263B;
    --heading-color: #0D1B2A;
    --text-main: #0F172A;
    --text-muted: #475569;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --accent-soft: #FFF0E5;
    --amber-gold: #F59E0B;
    --border-light: #E2E8F0;
    --card-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    --store-btn-bg: #0D1B2A;
    --store-btn-border: #1E293B;
  }

  html[data-theme="dark"] {
    --bg-warm: #0D1B2A;
    --bg-soft: #132235;
    --bg-card: #1B2B40;
    --header-bg: rgba(13, 27, 42, 0.92);
    --hero-grad: radial-gradient(circle at 82% 22%, #1E293B 0%, #0D1B2A 62%);
    --heading-color: #F8FAFC;
    --text-main: #F1F5F9;
    --text-muted: #CBD5E1;
    --accent: #F97316;
    --accent-hover: #FB923C;
    --accent-soft: rgba(249, 115, 22, 0.16);
    --border-light: rgba(255, 255, 255, 0.12);
    --card-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
    --store-btn-bg: #1E293B;
    --store-btn-border: rgba(255, 255, 255, 0.22);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); background: var(--bg-warm); line-height: 1.6; transition: background-color 0.25s ease, color 0.25s ease; }
  body { overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

  /* Header & Navigation */
  header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-light); }
  .nav-bar { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 850; font-size: 1.32rem; color: var(--heading-color); letter-spacing: -0.02em; }
  .brand-logo-wrap { width: 52px; height: 42px; border-radius: 12px; background: #0D1B2A; display: flex; align-items: center; justify-content: center; padding: 4px; box-shadow: 0 4px 10px rgba(13, 27, 42, 0.15); border: 1px solid rgba(255,255,255,0.12); }
  .brand-logo-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.94rem; font-weight: 600; color: var(--text-muted); }
  .nav-links a:hover { color: var(--accent); }
  .nav-actions { display: flex; align-items: center; gap: 12px; }
  .theme-toggle { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); color: var(--heading-color); border: 1px solid var(--border-light); padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; cursor: pointer; transition: all 0.2s ease; box-shadow: var(--card-shadow); }
  .theme-toggle:hover { border-color: var(--accent); transform: translateY(-1px); }
  .theme-toggle svg { width: 16px; height: 16px; stroke: var(--accent); }

  /* Hero Section */
  .hero { padding: 64px 0 72px; background: var(--hero-grad); border-bottom: 1px solid var(--border-light); }
  .hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
  .hero-logo-banner { display: inline-flex; align-items: center; gap: 14px; background: #0D1B2A; color: #FFFFFF; padding: 10px 20px 10px 12px; border-radius: 18px; margin-bottom: 22px; box-shadow: 0 12px 26px rgba(13, 27, 42, 0.18); border: 1px solid rgba(249, 115, 22, 0.35); }
  .hero-logo-banner img { width: 64px; height: 47px; object-fit: contain; display: block; }
  .hero-logo-banner div strong { display: block; font-size: 1rem; color: #F97316; letter-spacing: 0.02em; }
  .hero-logo-banner div span { font-size: 0.78rem; color: #CBD5E1; font-weight: 600; }
  .hero h1 { font-size: clamp(2.35rem, 4.5vw, 3.6rem); font-weight: 850; color: var(--heading-color); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 18px; }
  .hero h1 span { color: var(--accent); }
  .hero p.lead { font-size: 1.16rem; color: var(--text-muted); margin-bottom: 30px; max-width: 560px; }

  /* Official App Store & Google Play Store Buttons */
  .store-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
  .store-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--store-btn-bg); color: #FFFFFF; padding: 11px 22px; border-radius: 14px; border: 1.5px solid var(--store-btn-border); box-shadow: 0 10px 24px rgba(13, 27, 42, 0.18); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; min-width: 190px; }
  .store-badge:hover { transform: translateY(-2px); border-color: var(--accent); background: #1B263B; }
  .store-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
  .store-badge-text { text-align: left; line-height: 1.15; }
  .store-badge-text small { display: block; font-size: 0.68rem; font-weight: 500; color: #CBD5E1; letter-spacing: 0.02em; }
  .store-badge-text strong { display: block; font-size: 1.08rem; font-weight: 700; color: #FFFFFF; letter-spacing: -0.01em; }

  .safety-note { font-size: 0.86rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; font-weight: 500; }
  .safety-note svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; }

  /* Hero Dual Phone Showcase */
  .hero-phones { display: flex; justify-content: center; align-items: center; gap: 20px; position: relative; }
  .phone-frame { background: #0D1B2A; border-radius: 34px; padding: 9px; border: 4px solid #1E293B; box-shadow: 0 24px 50px rgba(13, 27, 42, 0.26); transition: transform 0.3s ease; }
  .phone-frame:hover { transform: translateY(-6px); }
  .phone-frame img { display: block; width: 100%; height: auto; border-radius: 25px; }
  .phone-primary { width: 255px; z-index: 2; }
  .phone-secondary { width: 225px; opacity: 0.96; transform: translateY(18px); }

  /* Screenshot Carousel / Gallery */
  .gallery-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 24px; margin-top: 36px; }
  .gallery-item { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 24px; padding: 20px 16px; box-shadow: var(--card-shadow); transition: transform 0.25s ease; }
  .gallery-item:hover { transform: translateY(-4px); }
  .gallery-item .phone-frame { width: 100%; max-width: 215px; margin-bottom: 14px; border-radius: 28px; padding: 7px; box-shadow: 0 14px 28px rgba(13, 27, 42, 0.16); }
  .gallery-item .phone-frame img { border-radius: 21px; }
  .gallery-item h4 { font-size: 1rem; font-weight: 800; color: var(--heading-color); margin-bottom: 4px; }
  .gallery-item p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.45; }

  /* Sections */
  section { padding: 84px 0; }
  section.alt { background: var(--bg-soft); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
  .section-head { text-align: center; max-width: 740px; margin: 0 auto 52px; }
  .section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.55rem); font-weight: 850; color: var(--heading-color); letter-spacing: -0.025em; margin-bottom: 12px; line-height: 1.2; }
  .section-head p { font-size: 1.1rem; color: var(--text-muted); }

  /* Grid Cards */
  .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; }
  .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; align-items: stretch; }
  .card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 24px; padding: 30px; box-shadow: var(--card-shadow); transition: transform 0.2s ease; }
  .card:hover { transform: translateY(-3px); }
  .card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
  .card-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
  .card h3 { font-size: 1.22rem; font-weight: 800; color: var(--heading-color); margin-bottom: 10px; }
  .card p { font-size: 0.96rem; color: var(--text-muted); }

  /* Packs Grid */
  .pack-badge { display: inline-block; font-size: 0.75rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
  .pack-free { background: rgba(22, 163, 74, 0.15); color: #16A34A; }
  html[data-theme="dark"] .pack-free { color: #4ADE80; }
  .pack-paid { background: var(--accent-soft); color: var(--accent-hover); }
  .bundle-banner { margin-top: 36px; background: linear-gradient(135deg, #F59E0B 0%, #F97316 50%, #DB2777 100%); color: #FFFFFF; border-radius: 28px; padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 20px 40px rgba(249, 115, 22, 0.22); }
  .bundle-banner h3 { font-size: 1.65rem; font-weight: 850; margin-bottom: 8px; }
  .bundle-banner p { font-size: 1.02rem; opacity: 0.95; max-width: 640px; }
  .bundle-price-box { background: #FFFFFF; color: #0D1B2A; padding: 16px 28px; border-radius: 999px; font-weight: 850; font-size: 1.2rem; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); white-space: nowrap; }

  /* Progression & Museum Dark Feature Section */
  .dark-band { background: linear-gradient(180deg, #0D1B2A 0%, #1E1B4B 100%); color: #FFFFFF; padding: 88px 0; }
  .dark-band .section-head h2 { color: #FEF3C7; }
  .dark-band .section-head p { color: #CBD5E1; }
  .dark-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(251, 191, 36, 0.25); border-radius: 24px; padding: 28px; backdrop-filter: blur(8px); }
  .dark-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .dark-card-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(251, 191, 36, 0.15); border: 1px solid rgba(251, 191, 36, 0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .dark-card-icon svg { width: 22px; height: 22px; stroke: #FDE68A; }
  .dark-card h3 { color: #FDE68A; font-size: 1.22rem; font-weight: 800; margin: 0; }
  .dark-card p { color: #E2E8F0; font-size: 0.95rem; }
  .rank-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .rank-chip { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #F8FAFC; font-size: 0.78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
  .whisper-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
  .whisper-item { background: rgba(255, 255, 255, 0.05); border-left: 3px solid #F59E0B; padding: 8px 12px; border-radius: 0 10px 10px 0; font-size: 0.88rem; color: #FDE68A; font-style: italic; }
  .dark-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
  .dark-gallery-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 22px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .dark-gallery-item .phone-frame { max-width: 210px; margin-bottom: 12px; border-color: rgba(251, 191, 36, 0.3); }
  .dark-gallery-item h4 { color: #FDE68A; font-size: 0.98rem; font-weight: 800; margin-bottom: 4px; }
  .dark-gallery-item p { color: #CBD5E1; font-size: 0.82rem; }

  /* Legal Pages */
  .legal-wrap { max-width: 800px; margin: 0 auto; padding: 64px 24px 96px; }
  .legal-wrap h1 { font-size: 2.4rem; font-weight: 850; color: var(--heading-color); margin-bottom: 8px; }
  .legal-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); }
  .legal-section { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 20px; padding: 26px 30px; margin-bottom: 20px; box-shadow: var(--card-shadow); }
  .legal-section h2 { font-size: 1.2rem; font-weight: 800; color: var(--heading-color); margin-bottom: 10px; }
  .legal-section p, .legal-section li { font-size: 0.97rem; color: var(--text-muted); margin-bottom: 8px; }
  .legal-section ul { padding-left: 20px; }

  /* Footer */
  footer { background: #09131E; color: #CBD5E1; padding: 64px 0 44px; font-size: 0.92rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .footer-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 36px; margin-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .footer-cta-band h3 { color: #FFFFFF; font-size: 1.35rem; font-weight: 800; margin-bottom: 4px; }
  .footer-cta-band p { color: #94A3B8; font-size: 0.94rem; }
  .footer-cta-band .store-buttons { margin-bottom: 0; }
  .footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
  .footer-links a:hover { color: var(--accent); }
  .footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.84rem; color: #94A3B8; }

  /* Meet Host Buttons & Accessible Modal */
  .host-btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .host-btn-row.center { justify-content: center; margin-top: 18px; }
  .meet-host-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft); color: var(--accent-hover); border: 1px solid rgba(249, 115, 22, 0.35); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 0.82rem; cursor: pointer; transition: all 0.2s ease; font-family: inherit; }
  html[data-theme="dark"] .meet-host-btn, .dark-band .meet-host-btn { color: #FB923C; border-color: rgba(249, 115, 22, 0.45); background: rgba(249, 115, 22, 0.14); }
  .meet-host-btn:hover { background: var(--accent) !important; color: #FFFFFF !important; border-color: var(--accent) !important; transform: translateY(-1px); }
  .meet-host-btn svg { width: 15px; height: 15px; stroke: currentColor; flex-shrink: 0; }
  .host-modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(9, 19, 30, 0.72); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
  .host-modal-backdrop.open { display: flex; }
  .host-modal { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-light); border-radius: 26px; max-width: 520px; width: 100%; padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); position: relative; animation: modalPop 0.2s ease-out; }
  @keyframes modalPop { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
  .host-modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
  .host-modal-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 6px; }
  .host-modal-title { font-size: 1.45rem; font-weight: 850; color: var(--heading-color); line-height: 1.2; }
  .host-modal-close { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border-light); background: var(--bg-soft); color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; }
  .host-modal-close:hover { border-color: var(--accent); color: var(--accent); }
  .host-modal-close svg { width: 18px; height: 18px; stroke: currentColor; }
  .host-modal-transcript { background: var(--bg-soft); border: 1px solid var(--border-light); border-radius: 18px; padding: 18px 20px; font-size: 0.98rem; color: var(--text-main); line-height: 1.65; margin-bottom: 20px; }
  .host-modal-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .host-audio-btn { flex: 1; min-width: 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #FFFFFF; border: none; padding: 12px 18px; border-radius: 14px; font-weight: 800; font-size: 0.92rem; cursor: pointer; transition: background 0.2s ease, transform 0.15s ease; font-family: inherit; }
  .host-audio-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
  .host-audio-btn svg { width: 17px; height: 17px; stroke: currentColor; }
  .host-audio-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--bg-soft); color: var(--heading-color); border: 1px solid var(--border-light); padding: 12px 16px; border-radius: 14px; font-weight: 750; font-size: 0.88rem; cursor: pointer; transition: all 0.2s ease; font-family: inherit; }
  .host-audio-secondary:hover { border-color: var(--accent); color: var(--accent); }
  .host-audio-secondary svg { width: 16px; height: 16px; stroke: currentColor; }

  @media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .store-buttons, .safety-note { justify-content: center; }
    .nav-links { display: none; }
    .phone-secondary { display: none; }
    .dark-gallery { grid-template-columns: repeat(2, 1fr); }
    .footer-cta-band { flex-direction: column; text-align: center; justify-content: center; }
  }
