/* ============================================
   VISION HAIR — Landing Page Styles
   Accent: #895bf5
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #895bf5;
  --accent-light: #a47fff;
  --accent-dark: #6b3fd4;
  --accent-glow: rgba(137, 91, 245, 0.35);
  --bg: #09090b;
  --bg-card: #131316;
  --bg-card-hover: #1a1a1f;
  --bg-elevated: #18181b;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: #27272a;
  --border-light: #3f3f46;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- BADGE --- */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(137, 91, 245, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(137, 91, 245, 0.2);
  margin-bottom: 16px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--accent);
}

.btn-white {
  background: #fff;
  color: var(--accent-dark);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg-blur {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.15); }
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-store-buttons {
  margin-bottom: 40px;
}
.store-btn-hero {
  background: rgba(137, 91, 245, 0.1);
  border-color: rgba(137, 91, 245, 0.3);
}
.store-btn-hero:hover {
  background: rgba(137, 91, 245, 0.18);
}
.store-btn-coming-soon {
  cursor: default;
  opacity: 0.75;
}
.store-btn-coming-soon:hover {
  transform: none;
  box-shadow: none;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}
.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--bg-card);
  border-radius: 36px;
  border: 3px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-glow);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.card-1 { top: 20%; left: -30px; }
.card-2 { bottom: 22%; right: -40px; }
.floating-icon { font-size: 1.2rem; }

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* --- SOCIAL PROOF --- */
.social-proof {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.social-proof-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.media-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  opacity: 0.5;
  transition: var(--transition);
}
.media-logo:hover { opacity: 1; color: var(--text); }

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* --- FEATURES --- */
.features {
  padding: 120px 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 28px;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(137, 91, 245, 0.08);
}
.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(137, 91, 245, 0.1);
  border-radius: 14px;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-elevated);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
}
.step {
  text-align: center;
  max-width: 260px;
}
.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.step-visual {
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.step-arrow {
  color: var(--text-muted);
  padding-top: 100px;
}

/* --- GALLERY --- */
.gallery {
  padding: 120px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.gallery-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ba-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.ba-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0,0,0,0.65);
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gallery-caption {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* --- CTA BANNER --- */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(137, 91, 245, 0.12) 0%, rgba(107, 63, 212, 0.06) 100%);
  border-top: 1px solid rgba(137, 91, 245, 0.15);
  border-bottom: 1px solid rgba(137, 91, 245, 0.15);
}
.cta-banner-content {
  text-align: center;
}
.cta-banner-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-banner-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 120px 0;
  background: var(--bg-elevated);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.stars {
  color: #facc15;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
  padding: 120px 0;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item p a {
  color: var(--accent-light);
  text-decoration: underline;
}

/* --- DOWNLOAD --- */
.download {
  padding: 120px 0;
  background: var(--bg-elevated);
}
.download-content {
  text-align: center;
}
.download-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 40px var(--accent-glow);
}
.download-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.download-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.store-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(137, 91, 245, 0.12);
}
.store-btn small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: left;
  line-height: 1;
}
.store-btn strong {
  display: block;
  font-size: 1rem;
  text-align: left;
  line-height: 1.2;
}

/* --- FOOTER --- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-links-group {
  display: flex;
  gap: 48px;
  justify-content: flex-end;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover { color: var(--accent-light); }

/* --- PLACEHOLDER IMAGES --- */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.placeholder-hero {
  min-height: 100%;
  background: linear-gradient(160deg, #1a1a2e 0%, #1f1035 50%, #16213e 100%);
}
.placeholder-step {
  min-height: 180px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-light);
}
.placeholder-gallery {
  min-height: 100%;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-right {
  transform: translateX(40px) translateY(0);
}
.reveal-right.visible {
  transform: translateX(0) translateY(0);
}
.reveal-float {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-float.visible {
  opacity: 1;
  transform: translateY(0);
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Feature card stagger */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.4s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.5s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }
  .card-1 { left: 0; top: 10%; }
  .card-2 { right: 0; bottom: 15%; }

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

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links-group {
    justify-content: flex-start;
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .store-buttons { flex-direction: column; align-items: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
}

/* --- LEGAL PAGES --- */
.legal-page {
  padding: 120px 0 80px;
}
.legal-page .container {
  max-width: 800px;
}
.legal-page h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-page .legal-date {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page a {
  color: var(--accent-light);
  text-decoration: underline;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
  transition: var(--transition);
}
.legal-back:hover { color: var(--text); }
