/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --purple: #7C3AED;
  --purple-light: #a855f7;
  --purple-dark: #5b21b6;
  --bg: #09090b;
  --bg-card: #18181b;
  --bg-card-hover: #1f1f23;
  --surface: #27272a;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --border: #2e2e33;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Nav === */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(9,9,11,.85); backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a { color: var(--text-muted); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: .9rem; padding: 10px 22px; border-radius: 50px; border: none; cursor: pointer; transition: all .2s; white-space: nowrap; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-light); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(124,58,237,.35); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple-light); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-block { width: 100%; justify-content: center; }

/* === Hero === */
.hero { position: relative; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,.15) 0%, transparent 60%); pointer-events: none; }
.hero-content { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.badge { display: inline-block; background: rgba(124,58,237,.15); color: var(--purple-light); font-size: .85rem; font-weight: 600; padding: 6px 16px; border-radius: 50px; border: 1px solid rgba(124,58,237,.25); margin-bottom: 24px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 20px; letter-spacing: -.02em; }
.gradient-text { background: linear-gradient(135deg, var(--purple), var(--purple-light), #e879f9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; max-width: 560px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.stat span { font-size: .8rem; color: var(--text-muted); }

/* === Showcase (Hero 3-panel) === */
.hero-showcase { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 900px; margin: 0 auto; }
.showcase-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); flex: 1; max-width: 260px; }
.showcase-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.showcase-label { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; z-index: 2; }
.showcase-result { border-color: var(--purple); box-shadow: 0 0 40px rgba(124,58,237,.2); }
.showcase-badge-ai { position: absolute; bottom: 12px; right: 12px; background: var(--purple); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.showcase-plus, .showcase-arrow { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-muted); font-weight: 600; flex-shrink: 0; }

/* === Logos === */
.logos { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; color: var(--text-muted); font-size: .85rem; margin-bottom: 24px; text-transform: uppercase; letter-spacing: .1em; }
.logos-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; }
.logos-row span { color: var(--text-muted); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; opacity: .5; transition: opacity .2s; }
.logos-row span:hover { opacity: 1; }

/* === Section Commons === */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-tag { display: inline-block; color: var(--purple-light); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 16px; letter-spacing: -.02em; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* === Results === */
.results { padding: 100px 0; }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* Try-on transformation cards */
.tryon-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; padding: 20px; }
.tryon-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.tryon-trio { display: flex; align-items: center; gap: 12px; }
.tryon-panel { flex: 1; position: relative; border-radius: 12px; overflow: hidden; }
.tryon-panel img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; border-radius: 12px; }
.tryon-panel--result { border: 2px solid var(--purple); box-shadow: 0 0 20px rgba(124,58,237,.25); }
.tryon-label { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.7); backdrop-filter: blur(8px); color: #fff; font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.tryon-label--result { background: var(--purple); }
.tryon-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; width: 56px; }
.tryon-garment-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.tryon-garment-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tryon-plus { color: var(--purple-light); font-size: 1.2rem; font-weight: 700; }
.tryon-speed { text-align: center; margin-top: 12px; color: var(--text-muted); font-size: .8rem; font-weight: 500; }

/* === How It Works === */
.how-it-works { padding: 100px 0; background: var(--bg-card); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.step { text-align: center; padding: 40px 32px; flex: 1; max-width: 340px; position: relative; }
.step-num { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--purple); opacity: .1; }
.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: .95rem; }
.step-connector { width: 60px; height: 2px; background: var(--border); margin-top: 80px; flex-shrink: 0; }

/* === Features === */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: border-color .3s, transform .3s; }
.feature-card:hover { border-color: rgba(124,58,237,.4); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* === Gallery Scroll === */
.gallery { padding: 100px 0; background: var(--bg-card); }
.gallery-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: var(--border); border-radius: 3px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
.gallery-item { flex-shrink: 0; width: 220px; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.gallery-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* === Pricing === */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; position: relative; text-align: center; }
.price-card-pop { border-color: var(--purple); background: linear-gradient(180deg, rgba(124,58,237,.08) 0%, var(--bg-card) 100%); transform: scale(1.04); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--purple); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 16px; border-radius: 50px; }
.price-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.price-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin-bottom: 24px; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.price-features { list-style: none; text-align: left; margin-bottom: 32px; }
.price-features li { padding: 8px 0; color: var(--text-muted); font-size: .9rem; border-bottom: 1px solid var(--border); }

/* === Testimonials === */
.testimonials { padding: 100px 0; background: var(--bg-card); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.testimonial-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--purple); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }

/* === FAQ === */
.faq { padding: 100px 0; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: none; color: var(--text); font-family: var(--font); font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left; gap: 16px; }
.faq-icon { font-size: 1.3rem; color: var(--purple-light); transition: transform .3s; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-item.active .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

/* === CTA === */
.cta { padding: 100px 0; }
.cta-inner { text-align: center; background: linear-gradient(135deg, rgba(124,58,237,.15) 0%, rgba(168,85,247,.08) 100%); border: 1px solid rgba(124,58,237,.25); border-radius: 24px; padding: 80px 40px; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 16px; }
.cta-inner p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; }
.cta-note { display: block; margin-top: 16px; color: var(--text-muted); font-size: .85rem; }

/* === Footer === */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: .9rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: .85rem; }

/* === Reveal Animations === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* === Mobile === */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(9,9,11,.95); backdrop-filter: blur(20px); padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-showcase { flex-direction: column; gap: 12px; }
  .showcase-card { max-width: 80%; }
  .showcase-plus, .showcase-arrow { font-size: 1.2rem; }
  .results-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; margin: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .price-card-pop { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stats { gap: 32px; }
  .logos-row { gap: 24px; }
  .logos-row span { font-size: .9rem; }
}
