/* DressClan — marketing site
   Matches the app's identity: black canvas, #1C1C1E elevated surfaces,
   orange-neon brand (sampled from the app icon), orange→amber title
   gradient, Siri rainbow for AI accents only.
   Sans-serif throughout — the app is pure system type. Mobile-first. */

:root {
  --black: #000000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --ink: #f5f5f7;
  --ink-soft: #d1d1d6;
  --muted: #98989f;
  --faint: #636366;
  --brand: #ff6b2f;          /* neon orange (app icon): primary actions, links */
  --brand-deep: #e85d1f;     /* deeper orange: hover, secondary */
  --brand-soft: rgba(255, 107, 47, 0.14);
  --accent: #ffb347;         /* warm amber: badges, highlights */
  --accent-soft: rgba(255, 179, 71, 0.14);
  --rainbow: linear-gradient(90deg, #ff5990, #ff8c40, #ffd959, #59d973, #4d99ff, #7366ff, #b359ff);
  --title-gradient: linear-gradient(90deg, var(--brand), var(--accent));
  --card: var(--surface);
  --line: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "SF Pro Text", sans-serif;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: var(--brand); }
img { max-width: 100%; }

/* Gradient headline sweep: neon orange → warm amber (app icon language) */
.grad-text {
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.wrap {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 42rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.35rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 0 18px rgba(255, 107, 47, 0.35);
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  display: block;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 44px rgba(255, 107, 47, 0.4);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(255, 107, 47, 0.6);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.2rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.6rem 1.1rem 0.6rem 0.8rem;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.app-badge:hover { transform: translateY(-2px); border-color: var(--brand); }

.app-badge svg { width: 30px; height: 30px; flex-shrink: 0; }

.app-badge .small { display: block; font-size: 0.68rem; opacity: 0.7; line-height: 1.2; }
.app-badge .big { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.25; }

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-points .tick {
  color: var(--brand);
  font-weight: 700;
}

/* screenshot placeholder frame — real iPhone shots land here */
.shot-stage {
  display: flex;
  justify-content: center;
  position: relative;
}

.shot-frame-hero {
  width: min(290px, 72vw);
  aspect-ratio: 9 / 19.2;
  background: var(--surface);
  border: 1px dashed var(--faint);
  border-radius: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.shot-frame-hero .shot-icon { font-size: 2.4rem; }

.shot-frame-hero .soon-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
}

.shot-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 47, 0.18), transparent 65%);
  z-index: -1;
  top: 8%;
}

/* rainbow hairline — Siri intelligence accent, used sparingly */
.rainbow-line {
  height: 2px;
  border: none;
  background: var(--rainbow);
  opacity: 0.7;
  border-radius: 2px;
}

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.section-alt { background: #0a0a0c; }

.section-head { max-width: 44rem; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 { margin-bottom: 0.4rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

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

/* AI feature card gets the intelligence rainbow border */
.feature-card.ai {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--rainbow) border-box;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.4rem;
}

.step-num {
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

.step h3 { margin: 0.4rem 0; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* screenshots — placeholders until Naveen supplies real iPhone shots */
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.shot { text-align: center; }

.shot-frame {
  aspect-ratio: 9 / 16;
  background: var(--surface);
  border: 1px dashed var(--faint);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--muted);
  margin-bottom: 1rem;
  padding: 1.2rem;
  font-size: 0.9rem;
}

.shot-frame .shot-icon { font-size: 2.2rem; }

.shot-frame .soon-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- phone-frame presentation for real screenshots ----
   iPhone-style device mockup: dark bezel, large corner radius,
   orange neon ring + glow. Do not restyle the page theme here. */
.shot-frame.has-img,
.shot-frame-hero.has-img {
  border: 10px solid #1a1a1c;   /* dark bezel */
  background: #000;
  padding: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 19.2;
  /* orange neon: thin ring hugging the bezel + layered glow falloff */
  box-shadow:
    0 0 0 2px rgba(255, 107, 47, 0.65),
    0 0 28px rgba(255, 107, 47, 0.35),
    0 0 72px rgba(255, 107, 47, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.6);
}

/* hero phone */
.shot-frame-hero.has-img {
  width: min(300px, 72vw);
  border-radius: 52px;
}

/* grid phones — smaller, capped */
.shot-frame.has-img {
  border-radius: 46px;
  max-width: 260px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.shot-frame.has-img img,
.shot-frame-hero.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.shot h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.shot p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.price-card p { color: var(--ink-soft); }

.price-card.featured {
  border: 1px solid var(--accent);
  box-shadow: 0 18px 50px -18px rgba(235, 107, 77, 0.35);
  position: relative;
}

.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price { font-size: 2.4rem; font-weight: 700; margin: 0.4rem 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }

.price-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; flex: 1; }
.price-list li { padding: 0.42rem 0; font-size: 0.95rem; display: flex; gap: 0.6rem; color: var(--ink-soft); }
.price-list .tick { color: var(--brand); font-weight: 700; }
.price-card.featured .tick { color: var(--accent); }

.price-fine { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 1.6rem; }

/* CTA band */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 26px;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--rainbow);
  opacity: 0.8;
  border-radius: 2px;
}

.cta-band p { color: var(--ink-soft); max-width: 34rem; margin: 0 auto 1.8rem; }

/* footer */
.site-footer {
  background: #0a0a0c;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 3.2rem 0 1.6rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.footer-brand { font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.footer-grid p { font-size: 0.92rem; margin: 0; max-width: 22rem; }

.footer-grid h4 {
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.9rem;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.footer-grid a:hover { color: var(--brand); }

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--faint);
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.8rem;
  background: var(--card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1.3rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font);
}

.faq-q .plus { color: var(--brand); font-size: 1.3rem; font-weight: 400; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }

.faq-a { display: none; padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: 0.96rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- prose pages ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; }

.prose { max-width: 760px; padding-bottom: 4rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose .updated { color: var(--muted); font-size: 0.88rem; }

.support-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
  text-align: center;
}

.support-card .big-mail {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .shot-frame-hero { width: min(250px, 64vw); }
  .shot-frame-hero.has-img { width: min(270px, 68vw); }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .shots { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4%;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin-top: 0.8rem; }
  .nav-toggle { display: block; }
}
