:root {
  --bg: #f5f7fb;
  --bg-elevated: #eef2f8;
  --surface: #ffffff;
  --border: rgba(26, 43, 86, 0.1);
  --text: #1a2b56;
  --muted: #5c6b88;
  --primary: #ff6b00;
  --purple: #7c5cff;
  --purple-deep: #5b3fd4;
  --navy: #1a2b56;
  --gradient: linear-gradient(135deg, #1a2b56 0%, #ff6b00 100%);
  --glass: rgba(255, 255, 255, 0.94);
  --shadow-sm: 0 4px 18px rgba(26, 43, 86, 0.06);
  --shadow-md: 0 12px 36px rgba(26, 43, 86, 0.08);
  --shadow-lg: 0 22px 56px rgba(26, 43, 86, 0.1);
  --radius: 20px;
  --nav-h: 72px;
  --font-display: 'Syne', 'Poppins', system-ui, sans-serif;
  --font-body: 'Outfit', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-anchor: none; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-anchor: none;
  line-height: 1.6;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 183, 140, 0.38), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(147, 197, 253, 0.34), transparent 40%),
    radial-gradient(circle at 88% 88%, rgba(196, 181, 253, 0.32), transparent 44%),
    radial-gradient(circle at 12% 92%, rgba(253, 186, 116, 0.28), transparent 42%);
}

::selection { background: rgba(255, 107, 0, 0.22); color: var(--navy); }

/* Scroll progress */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 9999;
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.6);
}

/* Cursor glow */
#cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body.cursor-active #cursor-glow { opacity: 1; }
@media (hover: none) { #cursor-glow { display: none; } }

/* Typography */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--navy);
}

/* Glass cards */
.glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.glass:hover {
  border-color: rgba(255, 107, 0, 0.22);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #ff7a1a;
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.34);
}
.btn-ghost {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(255, 107, 0, 0.25);
  transform: translateY(-2px);
}
.btn-pulse { animation: pulse-glow 2.5s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 107, 0, 0.28); }
  50% { box-shadow: 0 10px 36px rgba(124, 92, 255, 0.22); }
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  overflow: visible;
  background: rgba(245, 247, 251, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.nav-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(26, 43, 86, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 43, 86, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: nav-grid-move 16s linear infinite;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  opacity: 0.9;
}
.nav-grid-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.08), rgba(124, 92, 255, 0.1), transparent);
  animation: nav-grid-scan 5.5s ease-in-out infinite;
}
@keyframes nav-grid-move {
  from { background-position: 0 0; }
  to { background-position: 28px 28px; }
}
@keyframes nav-grid-scan {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(380%); }
}
.nav-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.nav-logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-logo img { width: 28px; height: 28px; }
.nav-logo-text {
  white-space: nowrap;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--navy);
  background: rgba(255, 107, 0, 0.08);
}
.nav-links .nav-cta {
  padding: 0.48rem 1rem;
  font-size: 0.84rem;
  margin-left: 0.2rem;
}
.nav-toggle { display: none; background: none; border: none; color: var(--navy); cursor: pointer; }

@media (max-width: 1100px) {
  .nav-links a .lucide-icon { display: none; }
}
@media (max-width: 980px) {
  .nav-links { gap: 0; }
  .nav-links a { font-size: 0.78rem; padding: 0.4rem 0.6rem; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-links a .lucide-icon { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.75rem;
    gap: 0.25rem;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links .nav-cta { margin: 0.35rem 0 0; justify-content: center; }
}

/* Animated site grid */
.site-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.site-grid-lines {
  position: absolute;
  inset: -15%;
  background-image:
    linear-gradient(to right, rgba(26, 43, 86, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 43, 86, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: site-grid-drift 22s linear infinite;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 35%, transparent 78%);
}
.site-grid-scan {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 0, 0.14), rgba(124, 92, 255, 0.1), transparent);
  animation: site-grid-scan 7s ease-in-out infinite;
}
.site-grid-pulse {
  position: absolute;
  width: 180px;
  height: 180px;
  left: 18%;
  top: 28%;
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 0, 0.22);
  animation: site-grid-pulse 5s ease-in-out infinite;
}
.site-grid--compact .site-grid-lines { opacity: 0.7; }
.site-grid--compact .site-grid-pulse { display: none; }
@keyframes site-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-52px, -52px, 0); }
}
@keyframes site-grid-scan {
  0% { transform: translateY(-40%); }
  100% { transform: translateY(280%); }
}
@keyframes site-grid-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(196, 181, 253, 0.28), transparent),
    radial-gradient(ellipse 55% 35% at 85% 55%, rgba(255, 183, 140, 0.26), transparent),
    radial-gradient(ellipse 50% 30% at 8% 75%, rgba(147, 197, 253, 0.22), transparent);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.hero-logo-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  opacity: 0;
}
.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(26, 43, 86, 0.12));
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  color: var(--navy);
  opacity: 0;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; opacity: 0; }

/* Sections */
section { padding: 5rem 1.5rem; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(40px); }
body.no-anim .reveal { opacity: 1; transform: none; }

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.feature-card {
  padding: 1.25rem;
  transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card h4 { margin: 0; font-size: 0.9rem; font-weight: 600; }

/* Lucide icons */
.lucide-icon { stroke: currentColor; flex-shrink: 0; }
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(124, 92, 255, 0.12));
  border: 1px solid rgba(26, 43, 86, 0.06);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.icon-wrap--sm { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 0.6rem; }
.icon-stars { display: inline-flex; gap: 0.15rem; margin-bottom: 0.75rem; }
.icon-star-filled { color: #fbbf24; fill: rgba(251, 191, 36, 0.35); stroke: #fbbf24; }
.rating-badge { display: inline-flex; align-items: center; gap: 0.35rem; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
}
.check-icon { color: var(--primary); }
.btn-icon { margin-right: 0.35rem; }
.mobile-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; }
.success-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item .number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item .label { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

/* Path to success */
.path-lead {
  color: var(--muted);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2rem;
}
.path-board {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.path-card {
  position: relative;
  flex: 1 1 160px;
  max-width: 200px;
  min-width: 148px;
  padding: 1.6rem 1rem 1.2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.path-card:hover,
.path-card.active {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 16px 36px rgba(255, 107, 0, 0.12);
}
.path-num {
  position: absolute;
  top: 0.35rem;
  right: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 107, 0, 0.16);
  line-height: 1;
}
.path-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0.4rem auto 0.85rem;
  border-radius: 16px;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(124, 92, 255, 0.14));
  border: 1px solid rgba(26, 43, 86, 0.06);
}
.path-card.active .path-icon,
.path-card:hover .path-icon {
  color: var(--primary);
}
.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.path-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.path-arrow {
  display: flex;
  align-items: center;
  color: var(--primary);
  flex: 0 0 auto;
  opacity: 0.7;
}
.path-board--roadmap .path-card { max-width: 240px; }
@media (max-width: 900px) {
  .path-board { flex-direction: column; align-items: center; }
  .path-card { max-width: 420px; width: 100%; }
  .path-arrow { transform: rotate(90deg); padding: 0.15rem 0; }
}

/* Phone mockup */
.phone-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .phone-showcase { grid-template-columns: 1fr; text-align: center; }
}
.phone-frame {
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    0 0 60px rgba(142, 45, 226, 0.15);
  position: relative;
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: #111;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1a2e, #16213e);
}
.phone-slide {
  position: absolute;
  inset: 0;
  padding: 2.5rem 1rem 1rem;
  opacity: 0;
  transition: opacity 0.6s, transform 0.6s;
  transform: translateX(20px);
}
.phone-slide.active { opacity: 1; transform: translateX(0); }
.mock-ui-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); margin-bottom: 0.75rem; }
.mock-ui-card {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.screen-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }
.screen-tab {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.screen-tab.active {
  background: rgba(255, 107, 0, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* App screenshots */
.screenshot-showcase { max-width: 420px; margin: 0 auto; }
.screenshot-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 0.75rem;
  aspect-ratio: 9 / 16;
  overflow-anchor: none;
}
.screenshot-slide {
  position: absolute;
  inset: 0.75rem;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.screenshot-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.screenshot-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.screenshot-card img,
.download-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.screenshot-nav,
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s;
}
.screenshot-nav:hover,
.lightbox-nav:hover {
  background: rgba(255, 107, 0, 0.2);
  border-color: var(--primary);
}
.screenshot-nav.prev,
.lightbox-nav.prev { left: 0.5rem; }
.screenshot-nav.next,
.lightbox-nav.next { right: 0.5rem; }
.screenshot-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0 0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshot-thumb {
  flex: 0 0 88px;
  scroll-snap-align: start;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  padding: 0.35rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.screenshot-thumb.active {
  border-color: var(--primary);
  background: rgba(255, 107, 0, 0.08);
}
.screenshot-thumb span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.screenshot-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshot-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: center;
  border: none;
  padding: 0.65rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.screenshot-card:hover { transform: translateY(-4px); }
.screenshot-card span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.download-screenshot {
  max-width: 260px;
  margin: 0 auto;
  padding: 0.65rem;
  border-radius: 18px;
}
.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3.5rem;
}
.screenshot-lightbox[hidden] { display: none; }
.lightbox-frame {
  margin: 0;
  max-width: min(420px, 92vw);
  text-align: center;
}
.lightbox-frame img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.lightbox-frame figcaption {
  margin-top: 0.75rem;
  color: #fff;
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Testimonials */
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-testimonials 40s linear infinite;
  width: max-content;
}
.testimonials-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  flex: 0 0 320px;
  padding: 1.5rem;
}
.testimonial-card .icon-stars { margin-bottom: 0.75rem; }
.testimonial-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1rem; }
.testimonial-card .author { font-weight: 600; font-size: 0.9rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 1.25rem; }
.faq-icon { transition: transform 0.3s; color: var(--primary); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* Download section */
.download-section {
  background:
    radial-gradient(ellipse at center, rgba(255, 183, 140, 0.22), transparent 70%);
}
.play-badge img { height: 52px; }
.qr-box {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  margin: 0 auto;
}
.download-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.download-meta span { color: var(--muted); font-size: 0.9rem; }

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(26, 43, 86, 0.08);
  z-index: 998;
}
.mobile-cta .btn { width: 100%; }
@media (max-width: 768px) { .mobile-cta { display: block; } body { padding-bottom: 80px; } }

/* Footer */
.site-footer {
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.9rem; display: block; padding: 0.25rem 0; transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(147, 197, 253, 0.28), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
  color: var(--navy);
}

/* Contact form */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}
.form-success {
  display: none;
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
}
.form-success.show { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* Timeline (about) */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--primary));
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
}
.timeline-item h4 { margin: 0 0 0.35rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Privacy / article prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.75; }
.prose ul { padding-left: 1.25rem; }
.prose a { color: var(--primary); }
.article-body { margin: 0 auto; }

/* Blog listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.blog-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.blog-card h2 { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); font-size: 0.95rem; margin: 0; flex: 1; }
.blog-card-cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
}
.blog-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}
.blog-empty h2 { margin: 0 0 0.75rem; }
.blog-empty p { color: var(--muted); margin: 0 0 1.5rem; }
.blog-empty-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Floating shapes */
.float-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.55;
}
