/* OUTFITTR.FIT — PEAK WEBSITE 3.0 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #020617;
  --surface: #0b1329;
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-glass: rgba(15, 23, 42, 0.7);
  --primary: #f472b6;
  --primary-glow: rgba(244, 114, 182, 0.35);
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.6;
  position: relative;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }

/* ─── ANIMATED BACKGROUND ─── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #020617;
  overflow: hidden;
}

#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  animation: drift 20s ease-in-out infinite alternate;
}

.blob-1 { top: -15%; left: 10%; width: 600px; height: 600px; background: #f472b6; }
.blob-2 { top: 35%; right: -10%; width: 700px; height: 700px; background: #7c3aed; animation-delay: -7s; }
.blob-3 { bottom: -15%; left: 25%; width: 550px; height: 550px; background: #10b981; animation-delay: -13s; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -40px) scale(1.08); }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(2, 6, 23, 0.8);
  border-bottom: 1px solid var(--surface-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, #f472b6, #a855f7);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.btn-nav {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--primary-glow);
}

/* ─── HERO ─── */
.hero {
  padding: 170px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(244, 114, 182, 0.1);
  border: 1px solid rgba(244, 114, 182, 0.3);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 32px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(135deg, #f472b6, #a855f7, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--surface-border);
  padding: 14px 24px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.btn-store:hover {
  border-color: rgba(244, 114, 182, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-store svg { width: 24px; height: 24px; fill: currentColor; }
.btn-store-text { text-align: left; }
.btn-store-sub { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-store-title { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.tag-coming-soon {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

/* Stats pills */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─── HOW IT WORKS ─── */
.how-section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}

.step-card {
  flex: 1;
  max-width: 320px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step-icon { font-size: 32px; margin-bottom: 18px; }
.step-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.step-connector {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 300;
}

/* ─── FEATURES ─── */
.features-section {
  padding: 80px 20px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card-wide { grid-column: 1 / -1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.icon-ungate { background: rgba(244, 114, 182, 0.12); }
.icon-tryon { background: rgba(16, 185, 129, 0.12); }
.icon-roast { background: rgba(239, 68, 68, 0.12); }
.icon-battle { background: rgba(251, 191, 36, 0.12); }
.icon-story { background: rgba(139, 92, 246, 0.12); }

.feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ─── SHARED SECTION HEADINGS ─── */
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ─── DEMO ─── */
.demo-section {
  padding: 80px 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.app-frame {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.tab-selector {
  display: flex;
  gap: 8px;
  background: rgba(2, 6, 23, 0.8);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--surface-border);
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.app-phone-preview {
  background: #020617;
  border: 8px solid #1e293b;
  border-radius: 40px;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  height: 500px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(244, 114, 182, 0.1);
}

.phone-screen {
  padding: 16px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(ellipse at top, #1e1b4b, #020617);
}

.phone-notch {
  width: 110px;
  height: 22px;
  background: #0f172a;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: -16px auto 12px;
}

.phone-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px;
  backdrop-filter: blur(10px);
}

.garment-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 114, 182, 0.15);
  border: 1px solid rgba(244, 114, 182, 0.35);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ─── FAQ ─── */
.faq-section {
  padding: 80px 20px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: rgba(255,255,255,0.12); }

.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-user-select: none;
  user-select: none;
}

.faq-toggle {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
  line-height: 1;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer { display: block; }

/* ─── NOTIFY ─── */
.notify-section {
  padding: 60px 20px 100px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.notify-box {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 50px 36px;
  backdrop-filter: blur(20px);
}

.notify-icon { font-size: 36px; margin-bottom: 16px; }
.notify-box h2 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.notify-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.notify-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.notify-form input {
  flex: 1;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid var(--surface-border);
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input:focus { border-color: var(--primary); }

.notify-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px var(--primary-glow);
  white-space: nowrap;
}

.notify-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--primary-glow);
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 36px 20px;
}

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

.footer-copy { color: var(--text-muted); font-size: 13px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .app-frame { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); padding: 8px 0; }
  .feature-card-wide { grid-column: auto; }
}

@media (max-width: 640px) {
  nav { padding: 14px 16px; }
  .nav-links { display: none; }
  .hero { padding: 140px 16px 60px; }
  .notify-form { flex-direction: column; }
  .footer-content { flex-direction: column; gap: 12px; text-align: center; }
}
