:root {
  --navy: #0d1f35;
  --navy2: #122840;
  --navy3: #1a2e45;
  --gold: #EF9F27;
  --gold-light: #FAC775;
  --white: #ffffff;
  --muted: #8faac4;
  --border: rgba(255,255,255,0.08);
  --border-gold: rgba(239,159,39,0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(13,31,53,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-logo span { font-size: 15px; font-weight: 600; color: var(--white); }
.nav-back {
  font-size: 13px; color: var(--muted); text-decoration: none;
  display: flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }

/* ── HERO ── */
.hero {
  padding: 110px 24px 48px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(239,159,39,0.12); border: 1px solid var(--border-gold);
  color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 6vw, 44px); font-weight: 700; line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 16px; color: var(--muted); line-height: 1.65; max-width: 480px; margin: 0 auto 36px;
}

/* ── PLATFORM TABS ── */
.platform-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; padding: 0 24px;
}
.platform-tab {
  padding: 10px 28px; border-radius: 100px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.5);
  transition: all 0.2s; font-family: inherit;
}
.platform-tab.active {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.platform-tab:hover:not(.active) {
  background: rgba(255,255,255,0.1); color: var(--white);
}

/* ── STEPS CONTAINER ── */
.steps-wrap { display: none; padding: 0 16px 80px; max-width: 560px; margin: 0 auto; }
.steps-wrap.active { display: block; }

/* ── STEP CARD ── */
.step-card {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 48px;
}
.step-num-row {
  display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 20px;
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-title { font-size: 17px; font-weight: 700; color: var(--white); }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.step-connector {
  width: 2px; height: 32px; background: rgba(239,159,39,0.25);
  margin: 0 auto 16px 15px;
}

/* ── PHONE MOCKUP ── */
.phone-wrap {
  width: 100%; display: flex; justify-content: center; margin-bottom: 8px;
}
.phone {
  width: 220px; background: #0a1929;
  border-radius: 28px; border: 2.5px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden; position: relative;
}
.phone-notch {
  width: 90px; height: 22px; background: #0a1929;
  border-radius: 0 0 14px 14px; margin: 0 auto;
  position: relative; z-index: 2;
  border-left: 2.5px solid rgba(255,255,255,0.12);
  border-right: 2.5px solid rgba(255,255,255,0.12);
  border-bottom: 2.5px solid rgba(255,255,255,0.12);
}
.phone-screen { padding: 8px 10px 14px; min-height: 160px; position: relative; }
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; color: rgba(255,255,255,0.4); margin-bottom: 8px; padding: 0 2px;
}
/* Safari-style browser bar */
.safari-bar {
  background: rgba(255,255,255,0.07); border-radius: 8px;
  padding: 5px 10px; font-size: 9px; color: rgba(255,255,255,0.5);
  text-align: center; margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}
/* Chrome-style browser bar */
.chrome-bar {
  background: rgba(255,255,255,0.07); border-radius: 8px;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px; font-size: 9px; color: rgba(255,255,255,0.5);
  margin-bottom: 8px; border: 1px solid rgba(255,255,255,0.1);
}
.chrome-dots { display: flex; gap: 3px; }
.chrome-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.chrome-kebab {
  margin-left: auto; display: flex; flex-direction: column; gap: 2px; padding: 2px;
}
.chrome-kebab span { display: block; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.5); }
/* App screen mockup */
.app-screen {
  background: linear-gradient(160deg, #0d1f35 0%, #1a3a5c 100%);
  border-radius: 10px; padding: 12px 10px;
  display: flex; flex-direction: column; align-items: center;
}
.app-logo-mock {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 6px;
}
.app-name-mock { font-size: 10px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.app-mock-row { width: 100%; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); margin-bottom: 5px; }
.app-mock-row.short { width: 65%; }
.app-mock-row.gold { background: rgba(239,159,39,0.3); }
/* Share sheet */
.share-sheet {
  background: #1c2e42; border-radius: 14px 14px 0 0;
  padding: 10px 8px; margin-top: 6px;
}
.share-sheet-handle { width: 30px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.2); margin: 0 auto 8px; }
.share-sheet-title { font-size: 8px; color: rgba(255,255,255,0.4); text-align: center; margin-bottom: 8px; }
.share-icons { display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; }
.share-icon { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.share-icon-circle {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.share-icon-label { font-size: 7px; color: rgba(255,255,255,0.5); }
.share-highlight .share-icon-circle {
  background: rgba(239,159,39,0.25); border: 1.5px solid var(--gold);
}
.share-highlight .share-icon-label { color: var(--gold); font-weight: 700; }
.share-row {
  background: rgba(255,255,255,0.07); border-radius: 8px;
  padding: 6px 8px; font-size: 8px; color: rgba(255,255,255,0.55);
  margin-bottom: 4px; display: flex; align-items: center; gap: 6px;
}
.share-row.highlighted {
  background: rgba(239,159,39,0.15); border: 1px solid rgba(239,159,39,0.4);
  color: var(--gold); font-weight: 600;
}
/* Add to home screen dialog */
.aths-dialog {
  background: #1c2e42; border-radius: 12px; padding: 10px 10px 8px; margin-top: 4px;
}
.aths-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.aths-icon { width: 28px; height: 28px; border-radius: 7px; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.aths-info { flex: 1; }
.aths-info-name { font-size: 9px; font-weight: 700; color: #fff; }
.aths-info-url { font-size: 7px; color: rgba(255,255,255,0.4); }
.aths-btn-row { display: flex; justify-content: space-between; }
.aths-btn { font-size: 8px; padding: 4px 10px; border-radius: 6px; font-weight: 600; }
.aths-btn.cancel { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.aths-btn.add { background: var(--gold); color: var(--navy); }
/* Home screen */
.home-screen { padding: 4px; }
.home-row { display: flex; gap: 8px; margin-bottom: 8px; justify-content: center; }
.home-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.home-icon.gold { background: var(--gold); box-shadow: 0 0 0 2px rgba(239,159,39,0.5), 0 0 14px rgba(239,159,39,0.35); }
.home-icon.grey { background: rgba(255,255,255,0.08); }
.home-icon-label { font-size: 7px; text-align: center; color: rgba(255,255,255,0.7); margin-top: 2px; }
.home-icon-wrap { display: flex; flex-direction: column; align-items: center; }
/* Notification permission dialog */
.notif-dialog {
  background: #1e3350; border-radius: 12px; padding: 12px 10px 10px; margin: 20px 4px 0;
  border: 1px solid rgba(255,255,255,0.1); text-align: center;
}
.notif-dialog-icon { font-size: 22px; margin-bottom: 6px; }
.notif-dialog-title { font-size: 10px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.notif-dialog-msg { font-size: 8px; color: rgba(255,255,255,0.5); margin-bottom: 10px; line-height: 1.5; }
.notif-dialog-btns { display: flex; gap: 6px; }
.notif-dialog-btn { flex: 1; padding: 5px; border-radius: 7px; font-size: 8px; font-weight: 700; text-align: center; }
.notif-dialog-btn.deny { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.notif-dialog-btn.allow { background: var(--gold); color: var(--navy); box-shadow: 0 0 10px rgba(239,159,39,0.4); }
/* Safari bottom bar */
.safari-bottom {
  background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-around; align-items: center;
  padding: 6px 4px 4px; margin: 6px -10px -14px; font-size: 11px;
}
.safari-bottom-item { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 7px; color: rgba(255,255,255,0.4); }
.safari-bottom-item.share { color: var(--gold); font-weight: 700; }
.safari-bottom-item .icon { font-size: 14px; }
.safari-bottom-item.share .icon { background: rgba(239,159,39,0.2); border-radius: 50%; padding: 1px; }
/* Chrome menu dropdown */
.chrome-menu {
  position: absolute; right: 6px; top: 28px;
  background: #1c2e42; border-radius: 8px; padding: 4px;
  border: 1px solid rgba(255,255,255,0.12); z-index: 10; width: 110px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.chrome-menu-item {
  padding: 5px 8px; font-size: 8px; color: rgba(255,255,255,0.7); border-radius: 5px;
  display: flex; align-items: center; gap: 5px;
}
.chrome-menu-item.highlighted {
  background: rgba(239,159,39,0.15); color: var(--gold); font-weight: 700;
}

/* ── CALLOUT TIP ── */
.step-tip {
  width: 100%; background: rgba(239,159,39,0.08);
  border: 1px solid rgba(239,159,39,0.2); border-radius: 10px;
  padding: 10px 14px; font-size: 13px; color: rgba(255,255,255,0.65);
  line-height: 1.55; margin-top: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.step-tip-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* ── DONE CARD ── */
.done-card {
  text-align: center; padding: 32px 20px;
  background: rgba(239,159,39,0.07); border: 1px solid rgba(239,159,39,0.2);
  border-radius: 16px; margin-top: 8px;
}
.done-icon { font-size: 40px; margin-bottom: 12px; }
.done-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.done-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.done-btn {
  display: inline-block; padding: 12px 28px; background: var(--gold);
  color: var(--navy); border-radius: 100px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: opacity 0.2s;
}
.done-btn:hover { opacity: 0.88; }

@media (max-width: 480px) {
  nav { padding: 1rem 1.2rem; }
  .hero { padding: 90px 20px 36px; }
}
