/* ==========================================================================
   InviteVeda — Static HTML/CSS/JS build
   1:1 design port of the Next.js/Tailwind source (src/app, src/components)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-brand-crimson: #E22D55;
  --color-brand-crimson-hover: #C81E43;
  --color-brand-crimson-light: #FFF1F2;

  --color-brand-gold: #C5A059;
  --color-brand-gold-hover: #A9833D;
  --color-brand-gold-light: #FAF5E8;

  --color-brand-emerald: #0D5C3A;
  --color-brand-emerald-hover: #073B24;

  --color-bg-primary: #FCFAF6;
  --color-bg-secondary: #F6F1E5;
  --color-bg-dark: #121212;
  --color-bg-dark-card: #1C1C1C;

  --color-text-primary: #1C1C1C;
  --color-text-secondary: #5A5449;
  --color-text-light: #8E8779;
  --color-text-on-brand: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(138, 21, 56, 0.04);
  --shadow-md: 0 8px 24px rgba(138, 21, 56, 0.06);
  --shadow-lg: 0 16px 40px rgba(138, 21, 56, 0.1);
  --shadow-gold: 0 12px 30px rgba(197, 160, 89, 0.15);

  --transition-bezier: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-speed-fast: 200ms;
  --transition-speed-normal: 400ms;
  --transition-speed-slow: 600ms;

  --font-sans: "Outfit", sans-serif;
  --font-serif: "Playfair Display", serif;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-speed-fast: 0ms;
    --transition-speed-normal: 0ms;
    --transition-speed-slow: 0ms;
  }
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.has-smooth-scroll { scroll-behavior: auto; }

body {
  margin: 0;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

*:focus-visible {
  outline: 2px solid var(--color-brand-crimson);
  outline-offset: 4px;
}

.font-serif { font-family: var(--font-serif); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: var(--color-brand-crimson);
  border: 1px solid var(--color-brand-crimson);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.container-md { max-width: 56rem; }
.container-sm { max-width: 48rem; }

.section-pad { padding: 6rem 0; }

.text-balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  transition: transform var(--transition-speed-fast) ease, background-color var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn:hover { transform: scale(1.03); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.125rem; }

.btn-primary { background: var(--color-brand-crimson); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-brand-crimson-hover); }

.btn-outline { background: transparent; border: 1px solid rgba(226,45,85,0.3); color: var(--color-brand-crimson); }
.btn-outline:hover { background: rgba(226,45,85,0.05); }

.btn-gold { background: var(--color-brand-gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--color-brand-gold-hover); }

.btn-gold-outline { background: transparent; border: 1px solid var(--color-brand-gold); color: var(--color-brand-gold); }
.btn-gold-outline:hover { background: rgba(197,160,89,0.1); }

.btn-white { background: #fff; color: var(--color-brand-crimson); box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--color-bg-primary); }

.btn-full { width: 100%; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.badge-gold { background: rgba(197,160,89,0.1); color: var(--color-brand-gold); }
.badge-crimson { background: rgba(226,45,85,0.1); color: var(--color-brand-crimson); }

/* ---------- Link underline ---------- */
.link-underline { position: relative; }
.link-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: -2px;
  left: 0;
  background: currentColor;
  transform-origin: bottom right;
  transition: transform var(--transition-speed-fast) var(--transition-bezier);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 300ms;
  font-family: var(--font-sans);
}
.navbar.is-scrolled {
  background: rgba(252,250,246,0.8);
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(226,45,85,0.05);
  padding: 0.75rem 0;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-logo img { height: 2.75rem; width: auto; object-fit: contain; border-radius: 0.65rem; flex-shrink: 0; }
.brand-logo .logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  white-space: nowrap;
  transition: color 300ms;
}
.brand-logo .logo-text .accent { color: var(--color-brand-gold); font-style: italic; }

/* Navbar starts transparent over a dark Hero on the homepage: logo text needs to start white
   and switch dark once the navbar gets its scrolled cream background. */
.navbar-on-dark .brand-logo .logo-text { color: #fff; }
.navbar-on-dark.is-scrolled .brand-logo .logo-text { color: var(--color-text-primary); }

.site-footer .brand-logo .logo-text { color: #fff; }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--color-brand-gold);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color var(--transition-speed-fast);
}
.nav-links a:hover { color: var(--color-text-primary); }
/* Homepage navbar over the dark Hero (not yet scrolled): black hover would vanish, use pink instead. */
.navbar-on-dark:not(.is-scrolled) .nav-links a:hover { color: var(--color-brand-crimson); }

.navbar-cta { display: none; }

.mobile-menu-btn {
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: none;
  border: none;
  color: var(--color-text-primary);
}
.mobile-menu-btn:hover { color: var(--color-brand-crimson); }
.mobile-menu-btn svg { width: 24px; height: 24px; }

.mobile-drawer {
  position: fixed;
  inset-inline: 0;
  top: 60px;
  bottom: 0;
  background: rgba(252,250,246,0.97);
  backdrop-filter: blur(16px);
  z-index: 40;
  border-top: 1px solid rgba(226,45,85,0.05);
  transform: scaleY(0);
  opacity: 0;
  transform-origin: top;
  transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
  pointer-events: none;
}
.mobile-drawer.is-open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  padding-bottom: 5rem;
}
.mobile-nav a { color: var(--color-brand-gold); font-weight: 500; font-size: 1.25rem; }
.mobile-nav a:hover { color: var(--color-text-primary); }
.navbar-on-dark:not(.is-scrolled) .mobile-nav a:hover { color: var(--color-brand-crimson); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .navbar-cta { display: block; }
  .mobile-menu-btn { display: none; }
  .mobile-drawer { display: none; }
}

/* ---------- Section Backgrounds (theme radial gradients) ---------- */
.section-bg {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: background-color 500ms;
}
.section-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.015), transparent);
  pointer-events: none;
  z-index: 10;
}
.section-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(to top, rgba(0,0,0,0.015), transparent);
  pointer-events: none;
  z-index: 10;
}
.theme-night-luxury {
  background: radial-gradient(circle at 20% 20%, #140E20 0%, #0A0D14 50%, #111111 100%);
  color: #fff;
}
.theme-night-luxury::before { content: none; }
.theme-royal-cream {
  background: radial-gradient(circle at 80% 20%, #FDFBF7 0%, #F6F1E5 50%, #EDE8DC 100%);
  color: var(--color-text-primary);
}
.theme-pastel-sky {
  background: radial-gradient(circle at 10% 30%, #EDF7F6 0%, #F7ECE6 60%, #FCFAF6 100%);
  color: var(--color-text-primary);
}
.theme-white-floral {
  background: radial-gradient(circle at 50% 10%, #FFFFFF 0%, #F9FAF5 50%, #F2F5ED 100%);
  color: var(--color-text-primary);
}
.theme-sunset-cream {
  background: radial-gradient(circle at 70% 80%, #FFF7ED 0%, #FDF2E9 50%, #FFEFEF 100%);
  color: var(--color-text-primary);
}

.section-motifs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}
.motif { position: absolute; z-index: 0; }
.motif svg { width: 100%; height: 100%; display: block; }
.motif.parallax { will-change: transform; }

.section-content { position: relative; z-index: 10; width: 100%; }

/* ---------- Section Heading ---------- */
.section-heading { display: flex; flex-direction: column; margin-bottom: 3rem; }
.section-heading.align-center { text-align: center; align-items: center; }
.section-heading .badge { margin-bottom: 1rem; }
.section-heading h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 48rem;
}
.section-heading p {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 42rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .section-heading { margin-bottom: 4rem; }
  .section-heading h2 { font-size: 2.5rem; }
  .section-heading p { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .section-heading h2 { font-size: 3rem; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transition: opacity 0.7s var(--transition-bezier), transform 0.7s var(--transition-bezier);
}
.reveal-slide-up { transform: translateY(40px); }
.reveal-slide-down { transform: translateY(-40px); }
.reveal-scale { transform: scale(0.95); }
.reveal-fade { transform: none; }
.reveal.is-visible { opacity: 1; transform: translate(0, 0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 7rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; width: 100%; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .hero-left { grid-column: span 7; }
  .hero-right { grid-column: span 5; padding-left: 1.5rem; }
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(197,160,89,0.1);
  border: 1px solid rgba(197,160,89,0.2);
  color: var(--color-brand-gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-badge svg { animation: pulse-icon 2s ease-in-out infinite; }
@keyframes pulse-icon { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero-title .gold-word { color: var(--color-brand-gold); font-style: italic; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-subtitle {
  font-size: 1.125rem;
  color: #d4d4d4;
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: 1.7;
}

.hero-cta-row { display: flex; flex-direction: column; gap: 1rem; width: 100%; margin-bottom: 2rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; width: auto; } }

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  width: 100%;
  max-width: 28rem;
}
.hero-benefits div { display: flex; align-items: center; gap: 0.5rem; color: #d4d4d4; font-size: 0.875rem; }
.hero-benefits svg { color: var(--color-brand-gold); flex-shrink: 0; }

.hero-right { display: flex; justify-content: center; align-items: center; }
.phone-mock {
  position: relative;
  width: 300px;
  height: 600px;
  border-radius: 40px;
  background: #0a0a0a;
  border: 8px solid #262626;
  box-shadow: 0 25px 60px -15px rgba(197,160,89,0.25);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  animation: float-y 5s ease-in-out infinite;
}
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-mock .punch-hole {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: #171717;
  border-radius: 50%;
  z-index: 30;
}
.phone-mock .phone-screen {
  flex: 1;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-mock .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-mock .nav-pill {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: #525252;
  border-radius: var(--radius-full);
}
@media (min-width: 640px) { .phone-mock { width: 320px; height: 640px; } }

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  background: var(--color-bg-primary);
  border-bottom: 1px solid rgba(197,160,89,0.12);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.stat-value {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-brand-crimson);
}
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }
.stat-star { color: var(--color-brand-gold); margin-left: 0.1rem; }
.stat-value-android { color: var(--color-brand-emerald); }
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
}
@media (min-width: 768px) { .stat-label { font-size: 0.8125rem; } }

/* ==========================================================================
   APP SCREENSHOTS
   ========================================================================== */
.screens-marquee { width: 100%; }
.screen-phone {
  width: 170px; height: 360px;
  border-radius: 28px;
  background: #0a0a0a;
  border: 6px solid #262626;
  box-shadow: var(--shadow-md);
  padding: 6px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  user-select: none;
}
.screen-phone .punch-hole {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: #171717; border-radius: 50%; z-index: 30;
}
.screen-phone .inner {
  width: 100%; height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.screen-phone img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 640px) { .screen-phone { width: 200px; height: 420px; } }

.android-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: var(--color-brand-emerald);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ==========================================================================
   FEATURE HIGHLIGHTS
   ========================================================================== */
.features-list { display: flex; flex-direction: column; gap: 6rem; margin-top: 4rem; }
.feature-row { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .features-list { gap: 8rem; }
  .feature-row { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
  .feature-text { grid-column: span 7; order: 1; }
  .feature-visual { grid-column: span 5; order: 2; }
  .feature-row.reverse .feature-text { order: 2; }
  .feature-row.reverse .feature-visual { order: 1; }
}
.feature-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.feature-icon-badge {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-lg);
  background: rgba(226,45,85,0.05);
  border: 1px solid rgba(226,45,85,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-brand-crimson);
}
.feature-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .feature-text h3 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .feature-text h3 { font-size: 2.25rem; } }
.feature-text p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.feature-checks { display: grid; grid-template-columns: 1fr; gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .feature-checks { grid-template-columns: 1fr 1fr; } }
.feature-checks div { display: flex; align-items: center; gap: 0.5rem; color: var(--color-text-secondary); font-size: 0.875rem; font-weight: 600; }
.feature-checks span.tick { color: var(--color-brand-gold); }

.feature-visual { display: flex; justify-content: center; }
.mockup-frame {
  width: 280px;
  aspect-ratio: 412 / 917;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(197,160,89,0.15);
  box-shadow: var(--shadow-md);
  position: relative;
  user-select: none;
}
.mockup-frame img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
@media (min-width: 640px) { .mockup-frame { width: 360px; } }

.mockup-scroll-frame {
  width: 280px; height: 520px;
  border-radius: 1.5rem;
  overflow: hidden auto;
  border: 1px solid rgba(197,160,89,0.15);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-primary);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: none;
}
.mockup-scroll-frame::-webkit-scrollbar { display: none; }
.mockup-scroll-frame .page {
  width: 100%;
  aspect-ratio: 582/1024;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(197,160,89,0.1);
}
.mockup-scroll-frame .page img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .mockup-scroll-frame { width: 360px; height: 640px; } }

/* ==========================================================================
   HOW IT WORKS (Timeline)
   ========================================================================== */
.timeline-wrap { position: relative; margin-top: 5rem; }
.timeline-line {
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-1px);
  background: rgba(197,160,89,0.15);
  pointer-events: none;
  overflow: hidden;
}
.timeline-line .fill {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 0%;
  background: var(--color-brand-gold);
  transition: height 1.5s var(--transition-bezier);
}
@media (min-width: 768px) { .timeline-line { left: 50%; } }

.timeline-steps { display: flex; flex-direction: column; gap: 4rem; }
@media (min-width: 768px) { .timeline-steps { gap: 6rem; } }

.timeline-step { display: flex; flex-direction: column; position: relative; align-items: flex-start; }
@media (min-width: 768px) { .timeline-step { flex-direction: row; align-items: center; } }

.step-node {
  position: absolute;
  left: 0; top: 0;
  transform: translateX(-9px);
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-brand-crimson);
  color: #fff;
  border: 4px solid var(--color-bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .step-node { left: 50%; transform: translateX(-50%); } }

.step-text {
  width: 100%;
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
}
.step-text .card {
  max-width: 28rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(197,160,89,0.15);
  box-shadow: var(--shadow-sm);
  width: 100%;
  transition: box-shadow 300ms;
}
.step-text .card:hover { box-shadow: var(--shadow-md); }
.step-text .step-label {
  color: var(--color-brand-gold);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}
.step-text h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.75rem; }
.step-text p { color: var(--color-text-secondary); font-size: 0.875rem; line-height: 1.7; }

@media (min-width: 768px) {
  .step-text { width: 50%; padding-left: 0; }
  .timeline-step.even .step-text { padding-right: 4rem; align-items: flex-end; text-align: right; }
  .timeline-step.odd .step-text { padding-left: 4rem; align-items: flex-start; text-align: left; order: 2; }
}

.step-mockup {
  width: 100%;
  padding-left: 3rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .step-mockup { width: 50%; padding-left: 0; margin-top: 0; }
  .timeline-step.even .step-mockup { padding-left: 4rem; justify-content: flex-start; }
  .timeline-step.odd .step-mockup { padding-right: 4rem; justify-content: flex-end; order: 1; }
}

.step-phone {
  width: 180px; height: 360px;
  border-radius: 32px;
  background: #0a0a0a;
  border: 6px solid #262626;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  overflow: hidden;
  position: relative;
  user-select: none;
  transition: transform 350ms var(--transition-bezier), box-shadow 350ms var(--transition-bezier);
}
.step-phone .punch-hole {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: #171717; border-radius: 50%; z-index: 30;
}
.step-phone .inner { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; position: relative; }
.step-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 768px) { .step-phone { width: 200px; height: 400px; } }
.step-phone:hover, .step-phone:focus-within {
  transform: scale(1.25);
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  z-index: 10;
}
@media (prefers-reduced-motion: reduce) { .step-phone:hover, .step-phone:focus-within { transform: none; } }

/* ==========================================================================
   TEMPLATE GALLERY
   ========================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(197,160,89,0.15);
  background: #fff;
  color: var(--color-text-secondary);
  transition: all 300ms;
}
.filter-btn:hover { background: var(--color-bg-primary); }
.filter-btn.active {
  background: var(--color-brand-crimson);
  color: #fff;
  border-color: var(--color-brand-crimson);
  box-shadow: var(--shadow-md);
}

.gallery-showcase { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }

.marquee-view { width: 100%; display: flex; flex-direction: column; gap: 1rem; }
.marquee-view.is-hidden, .grid-view.is-hidden { display: none; }

.marquee-row {
  position: relative;
  display: flex;
  width: 100%;
  overflow-x: hidden;
  padding: 1rem 0;
  user-select: none;
}
.marquee-row::before, .marquee-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 8.333%;
  z-index: 10;
  pointer-events: none;
}
.marquee-row::before { left: 0; background: linear-gradient(to right, var(--color-bg-primary), transparent); }
.marquee-row::after { right: 0; background: linear-gradient(to left, var(--color-bg-primary), transparent); }

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 1.5rem;
  min-width: 100%;
  align-items: center;
  animation: marquee-left var(--marquee-duration, 45s) linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track.reverse { animation-name: marquee-right; }
@keyframes marquee-left { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0%); } }

.grid-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
  width: 100%;
}
@media (min-width: 640px) { .grid-view { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-view { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid-view { grid-template-columns: repeat(4, 1fr); } }

.template-card {
  width: 260px; height: 360px;
  border-radius: 1rem;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 300ms;
  user-select: none;
  overflow: hidden;
  border: 1px solid rgba(197,160,89,0.15);
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
}
.template-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-8px); }
.template-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms;
}
.template-card:hover img { transform: scale(1.05); }
.template-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 50%, transparent);
  opacity: 0.9;
}
.template-card .label {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  text-align: left; z-index: 10;
  transition: opacity 300ms;
}
.template-card:hover .label { opacity: 0; }
.template-card .label .cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em;
  color: var(--color-brand-gold); text-transform: uppercase; display: block; margin-bottom: 0.25rem;
}
.template-card .label h4 { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 500; color: #fff; line-height: 1.3; }
.template-card .cta-pill {
  position: absolute; bottom: 1.5rem; left: 0; right: 0;
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: all 300ms;
  z-index: 20;
}
.template-card:hover .cta-pill { opacity: 1; transform: translateY(0); }
.template-card .cta-pill span {
  background: #fff; color: var(--color-brand-crimson);
  font-weight: 600; font-size: 0.75rem;
  padding: 0.375rem 1rem; border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .template-card { width: 280px; height: 400px; } }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-stage { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.testimonial-card {
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(197,160,89,0.15);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: grab;
  transition: opacity 300ms, transform 400ms;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  position: absolute; top: 1.5rem; left: 2rem;
  font-family: var(--font-serif); font-size: 3.75rem;
  color: rgba(197,160,89,0.2);
  user-select: none; pointer-events: none;
}
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; }
.testimonial-stars svg { color: var(--color-brand-gold); fill: var(--color-brand-gold); }
.testimonial-quote { font-size: 1.125rem; font-weight: 500; margin-bottom: 2rem; line-height: 1.7; max-width: 42rem; }
.testimonial-person { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.testimonial-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(197,160,89,0.1);
  border: 1px solid rgba(197,160,89,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.testimonial-person .info { text-align: left; }
.testimonial-person h4 { font-weight: 700; font-size: 1rem; }
.testimonial-person p { font-size: 0.75rem; color: var(--color-text-secondary); }
@media (min-width: 768px) { .testimonial-card { padding: 3rem; } .testimonial-quote { font-size: 1.25rem; } }

.testimonial-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.testimonial-dots { display: flex; gap: 0.5rem; }
.testimonial-dots button { width: 10px; height: 10px; border-radius: var(--radius-full); border: none; background: rgba(226,45,85,0.2); transition: all 300ms; padding: 0; }
.testimonial-dots button.active { width: 24px; background: var(--color-brand-crimson); }
.testimonial-arrows { display: flex; gap: 0.75rem; }
.testimonial-arrows button {
  padding: 0.75rem; border-radius: 50%;
  border: 1px solid rgba(226,45,85,0.15);
  background: transparent; color: var(--color-brand-crimson);
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms;
}
.testimonial-arrows button:hover { background: rgba(226,45,85,0.05); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 56rem; margin: 3rem auto 0; align-items: stretch; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

.pricing-card {
  width: 100%;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border: 1px solid rgba(197,160,89,0.15);
  background: #fff;
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.popular {
  background: var(--color-bg-dark);
  color: #fff;
  border-color: rgba(197,160,89,0.45);
  box-shadow: 0 20px 50px rgba(197,160,89,0.15);
}
@media (min-width: 768px) { .pricing-card.popular { transform: scale(1.05); } }

.pricing-badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-brand-gold); color: #fff;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.25rem 1rem; border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.pricing-card h3 { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-brand-crimson); }
.pricing-card.popular h3 { color: var(--color-brand-gold); }
.pricing-price { display: flex; align-items: baseline; margin-top: 1rem; margin-bottom: 0.5rem; }
.pricing-price .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.pricing-price .period { margin-left: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-secondary); }
.pricing-card.popular .period { color: var(--color-text-light); }
.pricing-card .desc { font-size: 0.875rem; color: var(--color-text-secondary); }
.pricing-card.popular .desc { color: var(--color-text-light); }
.pricing-divider { height: 1px; width: 100%; margin: 1.5rem 0; background: #f5f5f5; }
.pricing-card.popular .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--color-text-secondary); }
.pricing-card.popular .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-features svg { flex-shrink: 0; margin-top: 2px; color: var(--color-brand-emerald); }
.pricing-card.popular .pricing-features svg { color: var(--color-brand-gold); }
.pricing-card .btn { margin-top: auto; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; margin: 3rem auto 0; }
.faq-item {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(197,160,89,0.15);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  transition: color 200ms;
}
.faq-trigger:hover { color: var(--color-brand-crimson); }
.faq-trigger .chev { flex-shrink: 0; margin-left: 1rem; color: var(--color-text-light); transition: transform 300ms ease-in-out, color 300ms; display: flex; }
.faq-item.is-open .faq-trigger .chev { transform: rotate(180deg); color: var(--color-brand-crimson); }

.faq-panel {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 350ms var(--transition-bezier), opacity 350ms var(--transition-bezier);
}
.faq-item.is-open .faq-panel { opacity: 1; }
.faq-panel-inner {
  padding: 0.5rem 1.5rem 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  border-top: 1px solid #f5f5f5;
}

/* ==========================================================================
   DOWNLOAD CTA
   ========================================================================== */
.cta-panel {
  background: var(--color-bg-dark-card);
  border: 1px solid rgba(197,160,89,0.15);
  border-radius: 2.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  color: #fff;
}
@media (min-width: 768px) { .cta-panel { flex-direction: row; padding: 4rem; } }

.cta-text { flex: 1; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.cta-text .eyebrow { color: var(--color-brand-gold); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; display: block; }
.cta-text h2 { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 1.5rem; max-width: 32rem; line-height: 1.3; }
@media (min-width: 640px) { .cta-text h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-text h2 { font-size: 3rem; } }
.cta-text p { color: var(--color-text-light); font-size: 1rem; margin-bottom: 2rem; max-width: 28rem; line-height: 1.7; }
@media (min-width: 768px) { .cta-text p { font-size: 1.125rem; } }

.cta-qr-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(197,160,89,0.1);
  padding: 1.5rem; border-radius: 1.5rem;
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 640px) { .cta-qr-wrap { width: 260px; } }
.cta-qr-wrap svg { width: 10rem; height: 10rem; background: #fff; padding: 0.625rem; border-radius: 1rem; box-shadow: var(--shadow-md); }
.cta-qr-wrap span { display: block; font-size: 0.75rem; font-weight: 700; text-align: center; margin-top: 0.75rem; color: var(--color-text-light); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--color-bg-dark); color: #fff; border-top: 1px solid rgba(197,160,89,0.1); padding: 4rem 0; font-family: var(--font-sans); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }
.footer-brand p { color: var(--color-text-light); font-size: 0.875rem; max-width: 24rem; line-height: 1.7; }
.footer-play-badge { display: inline-block; margin-top: 0.25rem; transition: transform 200ms; }
.footer-play-badge:hover { transform: scale(1.04); }
.footer-play-badge img { height: 52px; width: auto; }
.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-col h3 { color: var(--color-brand-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--color-text-light); font-size: 0.875rem; transition: color 200ms; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { color: var(--color-text-light); font-size: 0.75rem; text-align: center; }
@media (min-width: 768px) { .footer-bottom p { text-align: left; } }
.footer-legal { display: flex; gap: 1.5rem; font-size: 0.75rem; color: var(--color-text-light); }
.footer-legal a:hover { color: #fff; }

/* ---------- Fairy lights animation ---------- */
.light-glow { transform-origin: center; animation: glowPulse 4s ease-in-out infinite; }
.light-1 { animation-delay: 0.2s; }
.light-2 { animation-delay: 1.2s; }
.light-3 { animation-delay: 2.2s; }
.light-4 { animation-delay: 0.8s; }
.light-5 { animation-delay: 1.8s; }
@keyframes glowPulse { 0%, 100% { opacity: 0.25; transform: scale(0.95); } 50% { opacity: 0.95; transform: scale(1.1); } }

/* ==========================================================================
   LEGAL PAGES (Privacy Policy / Terms of Service)
   ========================================================================== */
.legal-hero { padding: 9rem 0 4rem; }
.legal-hero .badge { margin-bottom: 1.25rem; }
.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 40rem;
  line-height: 1.25;
}
@media (min-width: 768px) { .legal-hero h1 { font-size: 3rem; } }
.legal-hero .updated {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.legal-hero .updated svg { color: var(--color-brand-gold); }

.legal-body { padding: 4rem 0 6rem; }
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 15rem 1fr; gap: 4rem; } }

.legal-toc {
  display: none;
  position: sticky;
  top: 6.5rem;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid rgba(197,160,89,0.15);
  padding-left: 1.25rem;
}
@media (min-width: 1024px) { .legal-toc { display: flex; } }
.legal-toc span.toc-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}
.legal-toc a {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding: 0.35rem 0;
  transition: color 200ms;
}
.legal-toc a:hover, .legal-toc a.is-active { color: var(--color-brand-crimson); font-weight: 600; }

.legal-content { max-width: 42rem; }
.legal-content section { margin-bottom: 3rem; scroll-margin-top: 6rem; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content .section-num {
  color: var(--color-brand-gold);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}
@media (min-width: 768px) { .legal-content h2 { font-size: 1.75rem; } }
.legal-content p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul { display: flex; flex-direction: column; gap: 0.65rem; margin: 1rem 0 1.25rem; }
.legal-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.legal-content ul li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-brand-gold);
}
.legal-content strong { color: var(--color-text-primary); font-weight: 600; }
.legal-content a.inline-link { color: var(--color-brand-crimson); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.legal-callout {
  background: var(--color-brand-gold-light);
  border: 1px solid rgba(197,160,89,0.25);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.legal-callout strong { color: var(--color-brand-gold-hover); }

.legal-contact-card {
  margin-top: 3.5rem;
  background: var(--color-bg-dark-card);
  color: #fff;
  border: 1px solid rgba(197,160,89,0.15);
  border-radius: 1.5rem;
  padding: 2rem;
}
.legal-contact-card h3 { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 500; margin-bottom: 0.5rem; }
.legal-contact-card p { color: var(--color-text-light); font-size: 0.9375rem; margin-bottom: 1.25rem; }
.legal-contact-card a.email { color: var(--color-brand-gold); font-weight: 600; }

/* ==========================================================================
   USER GUIDE
   ========================================================================== */
.guide-list { display: flex; flex-direction: column; gap: 0.65rem; margin: 1.25rem 0 0; width: 100%; }
.guide-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.guide-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-brand-gold);
}
.guide-list strong { color: var(--color-text-primary); font-weight: 600; }

/* Quick-nav pill row */
.guide-quicknav {
  position: sticky;
  top: 4.5rem;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  background: rgba(252,250,246,0.9);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197,160,89,0.15);
  margin: 0 auto 4rem;
  max-width: 64rem;
}
.guide-quicknav a {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border: 1px solid transparent;
  transition: all 200ms;
  white-space: nowrap;
}
.guide-quicknav a:hover { background: #fff; border-color: rgba(197,160,89,0.25); color: var(--color-brand-crimson); }

/* Numbered chapter timeline */
.guide-timeline { position: relative; display: flex; flex-direction: column; gap: 2.5rem; max-width: 64rem; margin: 0 auto; }
.guide-timeline::before {
  content: '';
  position: absolute;
  left: 1.75rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: rgba(197,160,89,0.2);
  display: none;
}
@media (min-width: 768px) { .guide-timeline::before { display: block; } }

.guide-chapter { display: flex; flex-direction: column; gap: 1.25rem; scroll-margin-top: 8rem; }
@media (min-width: 768px) { .guide-chapter { flex-direction: row; gap: 1.75rem; } }

.guide-chapter-num {
  flex-shrink: 0;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-crimson), var(--color-brand-gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.guide-chapter-body {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(197,160,89,0.15);
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 300ms;
}
.guide-chapter-body:hover { box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .guide-chapter-body { padding: 2.25rem; } }

.guide-chapter-top { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.guide-chapter-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-lg);
  background: rgba(226,45,85,0.06);
  border: 1px solid rgba(226,45,85,0.12);
  color: var(--color-brand-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-chapter-body h3 { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 500; color: var(--color-text-primary); }
@media (min-width: 768px) { .guide-chapter-body h3 { font-size: 1.625rem; } }
.guide-chapter-body > p { color: var(--color-text-secondary); font-size: 0.9375rem; line-height: 1.7; }

.guide-shots {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 3rem 0.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #f5f5f5;
  scrollbar-width: none;
}
.guide-shots::-webkit-scrollbar { display: none; }
.guide-shot { padding: 0 0.5rem; }
.guide-shot { flex-shrink: 0; }
.guide-shot .step-phone { width: 140px; height: 311px; }
@media (min-width: 640px) { .guide-shot .step-phone { width: 168px; height: 373px; } }

.guide-tips-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .guide-tips-grid { grid-template-columns: 1fr 1fr; } }
.guide-tip-card {
  background: #fff;
  border: 1px solid rgba(197,160,89,0.15);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.guide-tip-card .icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: rgba(226,45,85,0.08);
  color: var(--color-brand-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-tip-card h4 { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--color-text-primary); }
.guide-tip-card p { color: var(--color-text-secondary); font-size: 0.9375rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .light-glow { animation: none !important; opacity: 0.65; }
  .marquee-track { animation-play-state: paused !important; }
  .phone-mock { animation: none !important; }
}
