/* FitScan — Warm, editorial, fashion-forward */

:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EDE8;
  --fg: #2D2926;
  --fg-muted: #7A6F66;
  --accent: #FF6B4A;
  --accent-warm: #FF8F75;
  --border: #E5DDD6;
  --card: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,41,38,0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
}

.lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {}

.stat-number {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 120px;
  display: block;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.silhouette-wrap {
  position: relative;
  width: 280px;
  height: 420px;
}

.silhouette-svg {
  width: 100%;
  height: 100%;
}

.scan-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,107,74,0.15);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.1; }
}

.scan-line {
  animation: scanMove 2.5s ease-in-out infinite;
}

.scan-line-2 { animation-delay: 0.8s; }
.scan-line-3 { animation-delay: 1.6s; }

@keyframes scanMove {
  0% { opacity: 0; transform: translateX(-5px); }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translateX(5px); }
}

/* How It Works */
.how-it-works {
  padding: 100px 60px;
  background: var(--bg-alt);
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-it-works h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  color: var(--fg);
  margin-bottom: 60px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  flex: 1;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.step-number {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 20px;
}

.step-icon {
  color: var(--fg);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  padding-top: 80px;
  flex-shrink: 0;
}

/* Features */
.features {
  padding: 100px 60px;
  background: var(--bg);
}

.features h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--fg);
  margin-bottom: 48px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-top: 3px solid var(--accent);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,107,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.feature-card em {
  font-style: normal;
  font-weight: 600;
  color: var(--fg);
}

/* Size Match */
.size-match {
  padding: 100px 60px;
  background: var(--bg-alt);
}

.size-match-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.size-match-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 2.5vw, 38px);
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 20px;
}

.size-match-text p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.size-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(255,107,74,0.08);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  font-style: italic;
}

/* Brand Table */
.brand-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.brand-table-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  padding: 16px 24px;
  background: var(--fg);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  align-items: center;
}

.brand-row:last-child { border-bottom: none; }

.brand-row:nth-child(even) { background: var(--bg); }

.brand-name {
  font-weight: 600;
  color: var(--fg);
}

.without {
  color: var(--fg-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.with {
  color: var(--accent);
  font-weight: 600;
}

/* Closing */
.closing {
  padding: 120px 60px;
  background: var(--fg);
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.closing-statement {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.closing-statement p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}

.closing-statement p:last-child {
  color: var(--accent);
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 48px 60px 24px;
  background: var(--fg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: white;
}

.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-links span {
  cursor: pointer;
}

.footer-links span:hover {
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 60px 24px 40px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .silhouette-wrap {
    width: 200px;
    height: 300px;
  }

  .hero-stats {
    gap: 32px;
  }

  .steps {
    flex-direction: column;
  }

  .step-connector {
    display: none;
  }

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

  .size-match-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-it-works,
  .features,
  .size-match,
  .closing {
    padding: 60px 24px;
  }

  .footer {
    padding: 40px 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-label {
    max-width: none;
  }
}
