/* ============================================================
   GlowMuse Website — Luxury Dark Beauty-Tech Aesthetic
   ============================================================ */

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

:root {
  /* Palette */
  --bg-deep: #06060C;
  --bg-surface: #0C0C16;
  --bg-card: rgba(18, 18, 32, 0.55);
  --bg-card-hover: rgba(28, 28, 50, 0.7);
  --bg-card-solid: #121220;

  --accent-purple: #A855F7;
  --accent-pink: #EC4899;
  --accent-blue: #6366F1;
  --accent-cyan: #00D4FF;
  --accent-green: #10B981;

  --gradient-brand: linear-gradient(135deg, #6366F1, #A855F7, #EC4899);
  --gradient-brand-reverse: linear-gradient(135deg, #EC4899, #A855F7, #6366F1);
  --gradient-glow: linear-gradient(135deg, rgba(99,102,241,0.35), rgba(168,85,247,0.35), rgba(236,72,153,0.35));

  --text-primary: #F2EDFF;
  --text-secondary: #9B93B4;
  --text-muted: #5E5878;

  --border-subtle: rgba(168, 85, 247, 0.1);
  --border-accent: rgba(168, 85, 247, 0.25);

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-gap: clamp(5rem, 12vw, 9rem);
  --container: 1140px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* --- Background Effects --- */
.gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 15% 45%, rgba(99,102,241,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 15%, rgba(168,85,247,0.055) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 55% 85%, rgba(236,72,153,0.04) 0%, transparent 50%);
  animation: meshDrift 25s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.05) translate(-1%, 2%); }
  100% { transform: scale(1) translate(1%, -1%); }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* --- Container & Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { position: relative; z-index: 2; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  display: inline-block;
}

.section-heading { margin-bottom: 1.2rem; }

.section-subtext {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(6, 6, 12, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo span:last-child {
  color: var(--accent-purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-brand);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-accent);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--accent-purple);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
}

.btn-ghost {
  background: rgba(168, 85, 247, 0.08);
  color: var(--accent-purple);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.14);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.15rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.phone-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(168,85,247,0.18) 0%, rgba(99,102,241,0.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.7; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 270px;
  border-radius: 36px;
  border: 3px solid rgba(168, 85, 247, 0.2);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 25px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(168,85,247,0.1);
}

.phone-mockup img {
  width: 100%;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--bg-deep);
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

/* --- Features Section --- */
.features {
  padding: var(--section-gap) 0;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header .section-subtext {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s, background 0.4s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--card-accent, var(--gradient-brand));
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  position: relative;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.feature-icon--purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
}

.feature-icon--cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
}

.feature-icon--green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.feature-icon--pink {
  background: rgba(236, 72, 153, 0.1);
  color: var(--accent-pink);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Screenshots Section --- */
.screenshots {
  padding: var(--section-gap) 0;
}

.screenshots-header {
  text-align: center;
  margin-bottom: 4rem;
}

.screenshots-header .section-subtext {
  margin: 0 auto;
}

.screenshots-display {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: flex-start;
  perspective: 1200px;
}

.screenshot-phone {
  position: relative;
}

.screenshot-phone:nth-child(1) {
  transform: rotateY(4deg);
}

.screenshot-phone:nth-child(2) {
  transform: rotateY(-4deg);
  margin-top: 3rem;
}

.screenshot-frame {
  width: 260px;
  border-radius: 32px;
  border: 3px solid rgba(168, 85, 247, 0.15);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.4),
    0 0 60px rgba(168,85,247,0.08);
  transition: transform 0.5s, box-shadow 0.5s;
}

.screenshot-frame:hover {
  transform: scale(1.03);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(168,85,247,0.14);
}

.screenshot-frame img {
  width: 100%;
  display: block;
}

.screenshot-label {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-gap) 0;
}

.cta-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(236,72,153,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 { margin-bottom: 1rem; }

.cta-box .section-subtext {
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.footer-logo span:last-child { color: var(--accent-purple); }

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links-group h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-links-group a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.footer-links-group a:hover {
  color: var(--accent-purple);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--accent-purple); }

/* --- Legal Pages (Privacy, Terms) --- */
.legal-page {
  padding-top: 8rem;
  padding-bottom: var(--section-gap);
}

.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 0;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
  line-height: 1.7;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  opacity: 0.6;
}

.legal-content a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-decoration-color: rgba(168,85,247,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

.legal-content a:hover {
  text-decoration-color: var(--accent-purple);
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Support Page --- */
.support-page {
  padding-top: 8rem;
  padding-bottom: var(--section-gap);
}

.support-header {
  text-align: center;
  margin-bottom: 4rem;
}

.support-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.support-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.support-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.support-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
}

.support-card-icon svg {
  width: 26px;
  height: 26px;
}

.support-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.support-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.support-card a {
  color: var(--accent-purple);
  font-weight: 600;
  transition: opacity 0.3s;
}

.support-card a:hover { opacity: 0.8; }

/* FAQ */
.faq-section { margin-top: 2rem; }

.faq-section > h2 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover { border-color: var(--border-accent); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover { color: var(--accent-purple); }

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.35s, color 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* Hero-specific entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s cubic-bezier(0.23,1,0.32,1) forwards;
}

.hero-enter-d1 { animation-delay: 0.1s; }
.hero-enter-d2 { animation-delay: 0.22s; }
.hero-enter-d3 { animation-delay: 0.34s; }
.hero-enter-d4 { animation-delay: 0.46s; }
.hero-enter-d5 { animation-delay: 0.58s; }
.hero-enter-d6 { animation-delay: 0.72s; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Store Buttons (custom styled) --- */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.75rem 1.4rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
}

.store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store-btn-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle { margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 2rem; }

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

  .screenshots-display {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .screenshot-phone:nth-child(1),
  .screenshot-phone:nth-child(2) {
    transform: none;
    margin-top: 0;
  }

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

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.23,1,0.32,1);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 1.1rem;
  }

  .menu-toggle { display: flex; }

  .hero-stats { gap: 1.5rem; }

  .phone-mockup { width: 230px; }
  .screenshot-frame { width: 220px; }

  .footer .container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
