/* ============================================================
   Outfit Checker: AI Scanner — Landing Page
   Brand: Courier New typewriter, lavender / indigo / pink
   ============================================================ */

:root {
  --bg:        #C5C8FF;   /* lavender background   */
  --bg-soft:   #D3D6FF;
  --pink:      #FF3699;   /* accent                */
  --indigo:    #3F44A3;   /* headings / primary    */
  --indigo-d:  #2E3280;
  --white:     #FFFFFF;
  --ink:       #23264f;   /* body text             */
  --muted:     #5257a8;
  --radius:    20px;
  --shadow:    0 14px 34px rgba(63, 68, 163, .18);
  --shadow-lg: 0 26px 60px rgba(63, 68, 163, .28);
  --maxw:      1140px;
  --font: "Courier New", "Courier", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { color: var(--indigo); font-weight: 700; letter-spacing: -.5px; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.accent { color: var(--pink); }

p { margin-bottom: 0; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--indigo); color: #fff; font-family: var(--font);
  font-weight: 700; font-size: 1.02rem; padding: 15px 26px;
  border-radius: 16px; box-shadow: var(--shadow); border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--indigo-d); }
.btn-badge img { height: 54px; width: auto; }
.btn-badge { transition: transform .15s ease; }
.btn-badge:hover { transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(197, 200, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(63, 68, 163, .12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--indigo); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow); }
.brand span { font-size: 1.05rem; letter-spacing: -.5px; }
.brand small { display: block; color: var(--pink); font-size: .72rem; line-height: 1; }
.site-header .btn { padding: 10px 18px; font-size: .92rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(38px, 8vw, 84px) 0 clamp(30px, 6vw, 56px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { margin-bottom: 26px; max-width: 30ch; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 700; color: var(--indigo); }
.rating .stars { color: var(--pink); letter-spacing: 2px; font-size: 1.15rem; }
.rating small { color: var(--muted); font-weight: 700; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  border-radius: 34px; box-shadow: var(--shadow-lg);
  border: 8px solid var(--white); background: var(--white);
  max-width: 296px; width: 100%; height: auto;
}
.hero-visual .blob {
  position: absolute; inset: auto; width: 300px; height: 300px; border-radius: 50%;
  background: var(--pink); opacity: .14; filter: blur(8px); z-index: -1;
  top: 20px; right: 10px;
}

/* ---------- trust bar ---------- */
.trust { background: var(--indigo); color: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 5vw, 60px); padding: 20px 22px; text-align: center; }
.trust b { display: block; font-size: 1.35rem; color: #fff; }
.trust span { font-size: .82rem; opacity: .85; }

/* ---------- section base ---------- */
section { padding: clamp(48px, 8vw, 92px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 6vw, 56px); }
.section-head p { color: var(--muted); font-weight: 700; margin-top: 14px; }
.eyebrow { color: var(--pink); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; margin-bottom: 10px; }

/* ---------- features ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px);
  align-items: center; margin-bottom: clamp(48px, 8vw, 96px);
}
.feature:last-child { margin-bottom: 0; }
.feature:nth-child(even) .feature-visual { order: -1; }
.feature-copy h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.feature-copy p { color: var(--ink); }
.feature-copy .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; background: var(--pink);
  color: #fff; font-weight: 700; margin-bottom: 16px; box-shadow: var(--shadow);
}
.feature-visual { display: flex; justify-content: center; }
.feature-visual img { max-width: 249px; width: 100%; height: auto; border-radius: 30px; border: 7px solid var(--white); background: var(--white); box-shadow: var(--shadow-lg); }

/* ---------- steps ---------- */
.steps { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 30px 22px; border-radius: var(--radius); background: var(--bg-soft); }
.step .n { font-size: 2.4rem; color: var(--pink); font-weight: 700; line-height: 1; margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-weight: 700; font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
details.faq {
  background: var(--white); border-radius: 16px; padding: 4px 22px;
  box-shadow: var(--shadow); border: 1px solid rgba(63,68,163,.08);
}
details.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--indigo);
  padding: 18px 30px 18px 0; position: relative; font-size: 1.05rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--pink); font-size: 1.6rem; line-height: 1;
}
details.faq[open] summary::after { content: "\2013"; }
details.faq p { color: var(--ink); padding: 0 0 20px; }

/* ---------- final CTA ---------- */
.cta-final { text-align: center; }
.cta-final .card {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  color: #fff; border-radius: 28px; padding: clamp(40px, 7vw, 72px) 26px;
  box-shadow: var(--shadow-lg);
}
.cta-final .card h2 { color: #fff; margin-bottom: 14px; }
.cta-final .card p { color: rgba(255,255,255,.86); font-weight: 700; margin-bottom: 28px; max-width: 46ch; margin-inline: auto; }
.cta-final .btn-badge img { height: 58px; }
.cta-final .app-icon { width: 78px; height: 78px; border-radius: 20px; margin: 0 auto 22px; box-shadow: var(--shadow-lg); }

/* ---------- footer ---------- */
.site-footer { padding: 44px 0 40px; border-top: 1px solid rgba(63,68,163,.14); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.site-footer .brand small { color: var(--pink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 700; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--indigo); }
.copyright { width: 100%; color: var(--muted); font-size: .85rem; padding-top: 18px; }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 7vw, 80px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--ink); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--indigo); text-decoration: underline; }
.legal .back { display: inline-block; margin-bottom: 26px; color: var(--pink); font-weight: 700; }
.legal .placeholder { background: #fff3c4; color: #7a5b00; padding: 1px 6px; border-radius: 5px; font-weight: 700; }
.legal .note { background: var(--white); border-left: 4px solid var(--pink); padding: 14px 18px; border-radius: 10px; margin: 18px 0; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta, .rating { justify-content: center; }
  .feature { grid-template-columns: 1fr; text-align: center; }
  .feature:nth-child(even) .feature-visual { order: 0; }
  .feature-copy .num { margin-inline: auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .site-header .btn span.hide-sm { display: none; }
}
@media (max-width: 480px) {
  .brand .brand-text { display: none; }
  .site-header .wrap { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
