/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:    #0B0B0C;
  --surf1: #141416;
  --surf2: #1C1C1F;
  --bone:  #F5F1EA;
  --champ: #C8A96A;
  --dim:   #6B6A68;
  --line:  #27272A;
  --serif: 'EB Garamond', Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--champ);
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.1;
}

h1 { font-size: clamp(48px, 7vw, 88px); color: var(--bone); }
h2 { font-size: clamp(38px, 5vw, 64px); color: var(--bone); }
h3 { font-size: 22px; margin-bottom: 10px; }
h4 { font-size: 18px; margin-bottom: 8px; }

em { color: var(--champ); font-style: italic; }

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  color: var(--bone);
  letter-spacing: -0.5px;
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.nav-cta {
  background: var(--champ);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 50px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text { max-width: 560px; }

.hero-text h1 { margin-bottom: 24px; }

.hero-body {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.badge-ios {
  background: var(--champ);
  color: var(--bg);
}
.badge-ios:hover { opacity: 0.85; transform: translateY(-1px); }

.badge-android {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line);
}
.badge-android:hover { border-color: var(--champ); color: var(--champ); transform: translateY(-1px); }

.hero-note {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.5px;
}

/* ─── PHONE MOCKUP ───────────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.phone-wrap { position: relative; z-index: 1; }

.phone-frame {
  width: 272px;
  height: 572px;
  background: var(--surf1);
  border-radius: 52px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(200,169,106,0.1),
    0 0 0 8px rgba(255,255,255,0.03),
    0 48px 96px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.3);
}

.phone-frame::before {
  content: '';
  position: absolute;
  right: -3px; top: 120px;
  width: 3px; height: 64px;
  background: rgba(255,255,255,0.06);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 80px 0 rgba(255,255,255,0.06);
}

.phone-island {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 112px; height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%; height: 100%;
  padding: 60px 0 0;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 8px;
  flex-shrink: 0;
  color: var(--bone);
}

.phone-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--bone);
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--bone);
}

/* ─── PHONE CONTENT & TABS ───────────────────────────────────── */
.phone-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.pscreen {
  position: absolute;
  inset: 0;
  padding: 6px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.pscreen.is-active { opacity: 1; pointer-events: auto; }

.p-screen-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
}

.p-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(200,169,106,0.2);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.p-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--champ);
  text-transform: uppercase;
  flex-shrink: 0;
}

.p-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--bone);
  line-height: 1;
  margin-top: -4px;
  flex-shrink: 0;
}

.p-sub {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: -4px;
  flex-shrink: 0;
}

/* try-on cards */
.p-card-row {
  display: flex;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.p-card {
  flex: 1;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card:first-child {
  background: linear-gradient(155deg, rgba(200,169,106,0.07) 0%, var(--surf2) 100%);
}

.p-card-center {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.p-plus {
  font-size: 26px;
  font-weight: 200;
  color: rgba(200,169,106,0.35);
  line-height: 1;
}

.p-shirt-icon {
  width: 34px;
  height: 34px;
  color: rgba(200,169,106,0.4);
}

.p-card-tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--dim);
  white-space: nowrap;
}

.p-gen-btn {
  background: var(--champ);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  padding: 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  flex-shrink: 0;
}

.p-engine-lbl {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dim);
  text-align: center;
  opacity: 0.55;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* wardrobe sub-tabs */
.p-subtab-row {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.p-stab {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--dim);
  padding: 4px 9px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
}

.p-stab.is-active { color: var(--champ); border-color: rgba(200,169,106,0.3); }

/* stat chips */
.p-stats-row {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.p-stat-chip {
  flex: 1;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.p-stat-chip b {
  font-size: 13px;
  font-weight: 700;
  color: var(--champ);
  font-family: var(--serif);
  font-style: italic;
  line-height: 1;
}

.p-stat-chip span {
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dim);
  text-transform: uppercase;
}

/* filter pills */
.p-filter-row {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  overflow: hidden;
}

.p-fpill {
  font-size: 8px;
  font-weight: 700;
  color: var(--dim);
  padding: 3px 8px;
  border-radius: 50px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.p-fpill.is-active { color: var(--champ); border-color: rgba(200,169,106,0.35); }

/* item grid */
.p-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
  min-height: 0;
}

.p-grid-card {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
  min-height: 0;
}

/* discover featured card */
.p-feat-card {
  background: linear-gradient(135deg, #2d2015 0%, #14100c 100%);
  border-radius: 12px;
  height: 64px;
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.p-feat-inner { display: flex; align-items: center; gap: 8px; }

.p-feat-badge {
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--champ);
  border: 1px solid rgba(200,169,106,0.4);
  padding: 2px 5px;
  border-radius: 50px;
  text-transform: uppercase;
}

.p-feat-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--bone);
  font-family: var(--serif);
}

/* profile */
.p-profile-hd { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }

.p-edit-pill {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--champ);
  border: 1px solid rgba(200,169,106,0.3);
  padding: 3px 8px;
  border-radius: 50px;
}

.p-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.p-avatar-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,169,106,0.25), rgba(200,169,106,0.08));
  border: 1px solid rgba(200,169,106,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--champ);
}

.p-avatar-name { font-size: 13px; font-weight: 700; color: var(--bone); font-family: var(--serif); }
.p-avatar-email { font-size: 8px; color: var(--dim); }

.p-settings {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  flex: 1;
}

.p-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 600;
  color: var(--bone);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.p-setting-row:last-child { border-bottom: none; }
.p-setting-row--gold { color: var(--champ); }
.p-chev { color: var(--dim); font-size: 14px; line-height: 1; }

/* ─── TAB BAR ────────────────────────────────────────────────── */
.p-tabbar-wrap { flex-shrink: 0; padding: 5px 10px 10px; }

.p-tabbar {
  background: var(--surf1);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 4px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.3);
}

.p-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: none;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  padding: 4px 2px;
  border-radius: 18px;
  transition: color 0.18s;
}

.p-tab.is-active { color: var(--champ); }
.p-tab svg { width: 16px; height: 16px; }
.p-tab span { font-size: 6.5px; font-weight: 700; letter-spacing: 0.3px; }

/* ─── FLOAT BADGES ───────────────────────────────────────────── */
.float-badge {
  position: absolute;
  background: rgba(28,28,31,0.92);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  white-space: nowrap;
}

.float-badge--tl {
  top: 48px;
  left: -52px;
  animation: floatUp 3.2s ease-in-out infinite;
}

.float-badge--br {
  bottom: 56px;
  right: -56px;
  animation: floatUp 3.2s ease-in-out infinite 1.6s;
}

.float-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--champ);
  flex-shrink: 0;
  animation: pulseDot 1.4s ease-in-out infinite;
}

.float-badge > span:last-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--bone);
}

.float-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200,169,106,0.15);
  border: 1px solid rgba(200,169,106,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--champ);
  flex-shrink: 0;
}

.float-badge-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.3;
}

.float-badge-sub {
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.3px;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ─── STRIP ──────────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  background: var(--surf1);
}

.strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.strip-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--champ);
  font-family: var(--serif);
  font-style: italic;
}

.strip-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--dim);
}

.strip-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

/* ─── FEATURES ───────────────────────────────────────────────── */
.features {
  padding: 120px 24px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features h2 { margin-bottom: 64px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.feature-card {
  background: var(--surf1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,106,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover { border-color: rgba(200,169,106,0.3); }
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: span 2;
}

.feature-card--wide {
  grid-column: span 2;
}

.feature-icon {
  font-size: 20px;
  color: var(--champ);
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 { font-family: var(--serif); color: var(--bone); }

.feature-card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.7;
  margin-top: 8px;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--champ);
  border: 1px solid rgba(200,169,106,0.3);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.how {
  padding: 120px 24px;
  background: var(--surf1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how h2 { margin-bottom: 64px; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step {
  flex: 1;
  background: var(--surf2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}

.step-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 800;
  font-style: italic;
  color: var(--champ);
  opacity: 0.4;
  margin-bottom: 16px;
  line-height: 1;
}

.step h4 { font-family: var(--serif); color: var(--bone); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--dim); line-height: 1.7; }

.step-arrow {
  font-size: 24px;
  color: var(--champ);
  opacity: 0.3;
  margin-top: 48px;
  flex-shrink: 0;
}

/* ─── QUOTE ──────────────────────────────────────────────────── */
.quote-section {
  padding: 120px 24px;
}

.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bone);
}

/* ─── CTA ────────────────────────────────────────────────────── */
.cta-section {
  padding: 120px 24px;
  background: var(--surf1);
  border-top: 1px solid var(--line);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 { margin-bottom: 16px; }

.cta-body {
  font-size: 15px;
  color: var(--dim);
  margin-bottom: 40px;
}

.cta-inner .badge-row { justify-content: center; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  color: var(--bone);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--champ); }

.footer-copy {
  font-size: 12px;
  color: var(--dim);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-visual { order: -1; }

  .hero-body { margin: 0 auto 40px; }

  .badge-row { justify-content: center; }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large,
  .feature-card--wide {
    grid-column: span 1;
  }

  .steps {
    flex-direction: column;
    align-items: stretch;
  }

  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
    margin: 0;
  }

  .strip-inner { flex-direction: column; gap: 16px; }
  .strip-divider { width: 40px; height: 1px; }
}

@media (max-width: 900px) {
  .float-badge { display: none; }
}

@media (max-width: 600px) {
  .phone-frame { width: 232px; height: 472px; border-radius: 44px; }
  .phone-island { width: 90px; height: 27px; top: 12px; }
  .phone-screen { padding: 52px 0 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 100px 20px 60px; }
  .features, .how, .cta-section, .quote-section { padding: 80px 20px; }
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text { animation: fadeUp 0.8s ease both; }
.hero-visual { animation: fadeUp 0.8s 0.2s ease both; }
