/* ============================================
   LunaLog Marketing Site — Soft Dawn Theme
   Light top half, dark bottom half (day→night)
   ============================================ */

/* ============================================
   Design Tokens (Light Defaults)
   ============================================ */

:root {
  --bg: #fafaf8;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f5f5f3;
  --border: #e5e5e0;
  --border-hover: #d5d5d0;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --accent: #5563a8;
  --accent-hover: #474f91;
  --accent-text: #ffffff;
  --shadow: rgba(0, 0, 0, 0.06);
  --nav-bg: #fafaf8;
  --radius: 12px;
  --radius-lg: 20px;
  --beta-amber: #d97706;
  --banner-height: 40px;
  --nav-height: 65px;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease;
}

body.body-night {
  background-color: #0a0f1a;
}

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================
   Beta Banner
   ============================================ */

.beta-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  padding: 10px 0;
  text-align: center;
}

.beta-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.beta-banner-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beta-amber);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(217, 119, 6, 0); }
}

.beta-banner-text {
  font-size: 0.88rem;
  color: var(--text);
}

.beta-banner-text strong {
  color: var(--beta-amber);
}

.beta-banner-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
  transition: color 0.2s;
}

.beta-banner-link:hover {
  color: var(--accent-hover);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Text gradient: solid color in light mode, gradient in night sections */
.text-gradient {
  color: var(--accent);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-surface);
  cursor: pointer;
}

.btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-primary {
  background: var(--accent);
  border: none;
  color: var(--accent-text);
  box-shadow: 0 2px 12px rgba(85, 99, 168, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(85, 99, 168, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost:hover {
  background: rgba(85, 99, 168, 0.06);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ============================================
   App Store Buttons
   ============================================ */

.store-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-buttons-sm {
  gap: 10px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 52px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.18);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.28);
}

.store-btn svg {
  flex-shrink: 0;
  color: #ffffff;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-btn-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.85;
  text-transform: uppercase;
}

.store-btn-name {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.store-buttons-sm .store-btn {
  padding: 8px 14px;
  min-height: 44px;
  border-radius: 10px;
}

.store-buttons-sm .store-btn-name {
  font-size: 0.9rem;
}

.store-buttons-sm .store-btn-eyebrow {
  font-size: 0.58rem;
}

.night-section .store-btn {
  background: #ffffff;
  color: #0a0f1a;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.night-section .store-btn:hover {
  background: #f1f5f9;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}

.night-section .store-btn svg {
  color: #0a0f1a;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.5s ease, border-color 0.5s ease;
  box-shadow: 0 -20px 0 0 var(--nav-bg);
}

.nav.nav-night {
  background: #0a0f1a;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 -20px 0 0 #0a0f1a;
}

.nav.nav-night .nav-links a:not(.btn) {
  color: #94a3b8;
}

.nav.nav-night .nav-links a:not(.btn):hover {
  color: #e2e8f0;
}

.nav.nav-night .logo-text {
  color: #e2e8f0;
}

.beta-banner {
  transition: background 0.5s ease, border-color 0.5s ease;
}

.banner-night {
  background: #1c1305 !important;
  border-bottom-color: rgba(245, 158, 11, 0.2) !important;
}

.banner-night .beta-banner-text {
  color: #94a3b8;
}

.banner-night .beta-banner-text strong {
  color: #f59e0b;
}

.banner-night .beta-banner-link {
  color: #5563a8;
}

.nav-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  height: 32px;
  width: 32px;
}

.logo-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo-text-accent {
  color: #5563a8;
}

/* Theme-aware screenshots: light shown by default, dark hidden.
   Night sections override to show dark variants. */
.screenshot-dark { display: none !important; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--banner-height) + var(--nav-height));
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu.mobile-menu-night {
  background: #0a0f1a;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mobile-menu.mobile-menu-night a {
  color: #e2e8f0;
}

.mobile-menu.mobile-menu-night .btn-primary {
  color: var(--accent-text);
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
}

.mobile-menu .btn {
  margin-top: 4px;
  justify-content: center;
}

.mobile-menu .btn-primary {
  color: var(--accent-text);
}

@media (max-width: 768px) {
  .nav-inner { justify-content: center; min-height: 50px; }
  .nav-inner .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; position: absolute; right: 24px; }
  .mobile-menu.open { display: flex; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: 200px 0 80px;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg);
}

/* Subtle radial glow — light mode: warm teal, dark mode: deeper */
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(85, 99, 168, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(85, 99, 168, 0.08);
  border: 1px solid rgba(85, 99, 168, 0.15);
  margin-bottom: 28px;
}

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

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 36px;
  text-align: left;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-bullets li svg {
  flex-shrink: 0;
  color: var(--accent);
}

.hero-audience {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-audience > span:first-child {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-audience-tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-web-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.hero-web-link:hover {
  color: var(--accent-hover);
}

.hero-mockup-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

/* Hero dual phone mockup */
.hero-mockup {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-phone {
  width: 240px;
  border-radius: 24px;
  padding: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px var(--shadow), 0 0 0 1px var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-phone:first-child {
  transform: rotate(-4deg) translateX(16px);
  z-index: 2;
}

.hero-phone:last-child {
  transform: rotate(4deg) translateX(-16px);
  z-index: 1;
}

.hero-phone:first-child:hover {
  transform: rotate(-2deg) translateX(16px) translateY(-4px);
  box-shadow: 0 16px 60px var(--shadow);
}

.hero-phone:last-child:hover {
  transform: rotate(2deg) translateX(-16px) translateY(-4px);
  box-shadow: 0 16px 60px var(--shadow);
}

.hero-screenshot {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

@media (max-width: 640px) {
  .hero-phone { width: 180px; }
  .hero-mockup { margin-top: 36px; }
  .hero-phone:first-child { transform: rotate(-4deg) translateX(12px); }
  .hero-phone:last-child { transform: rotate(4deg) translateX(-12px); }
}

@media (max-width: 400px) {
  .hero-phone { width: 150px; }
  .hero-phone:first-child { transform: rotate(-3deg) translateX(8px); }
  .hero-phone:last-child { transform: rotate(3deg) translateX(-8px); }
}

/* ============================================
   Platforms
   ============================================ */

.platforms {
  padding: 24px 0 48px;
  text-align: center;
}

.platform-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

a.platform-badge:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.platform-badge-android {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.2);
  background: rgba(5, 150, 105, 0.04);
}

.platform-badge-android:hover {
  border-color: rgba(5, 150, 105, 0.35);
  background: rgba(5, 150, 105, 0.08);
}

.platform-badge-ios-live {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.04);
}

.platform-badge-ios-live:hover {
  border-color: rgba(15, 23, 42, 0.3);
  background: rgba(15, 23, 42, 0.08);
}

.night-section .platform-badge-ios-live,
.nav-night ~ .platforms .platform-badge-ios-live {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.25);
  background: rgba(226, 232, 240, 0.06);
}

/* Trust signals */
.trust-signals {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
}

.trust-item svg {
  color: var(--accent);
}

/* ============================================
   How It Works (Steps)
   ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.section-demo {
  padding: 72px 0;
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.demo-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
}

.demo-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent);
}

.demo-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.demo-visual {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
}

.demo-screenshot {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.demo-caption {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-card {
  text-align: center;
  padding: 36px 28px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 16px rgba(85, 99, 168, 0.25);
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .demo-panel { grid-template-columns: 1fr; }
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 96px 0;
  position: relative;
  scroll-margin-top: calc(var(--banner-height) + var(--nav-height) + 16px);
  background-color: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header p {
  max-width: 540px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-header .hero-badge {
  margin-bottom: 20px;
}

/* ============================================
   Bedtime Transition
   ============================================ */

.bedtime-transition {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--bg) 0%, #0a0f1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.bedtime-transition-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.bedtime-transition.visible .bedtime-transition-inner {
  opacity: 1;
  transform: translateY(0);
}

.bedtime-moon {
  margin-bottom: 8px;
  display: inline-block;
  animation: bedtime-rock 3s ease-in-out infinite;
}

.bedtime-moon-cutout {
  fill: var(--bg);
  transition: fill 0.5s ease;
}

.bedtime-transition.visible .bedtime-moon-cutout {
  fill: #0a0f1a;
}

@keyframes bedtime-rock {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.bedtime-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #94a3b8;
  font-style: italic;
  letter-spacing: 0.02em;
}

.bedtime-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bedtime-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  color: #f0d060;
  font-size: 10px;
  opacity: 0;
  animation: bedtime-twinkle 2s ease-in-out infinite;
  animation-delay: var(--delay);
}

.bedtime-transition.visible .bedtime-star {
  opacity: 1;
}

@keyframes bedtime-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Night mode: override all theme tokens so everything just works */
.night-section {
  --bg: #0a0f1a;
  --bg-surface: #111827;
  --bg-surface-hover: #1a2234;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --shadow: rgba(0, 0, 0, 0.3);
  background: var(--bg);
  color: var(--text);
  position: relative;
}

/* Subtle CSS starfield behind night sections */
.night-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 40% 8%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 55%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 15% 65%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 45% 75%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1.5px 1.5px at 60% 90%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 80% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 5% 90%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 95% 40%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 33% 52%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 78% 12%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,0.2), transparent);
  background-size: 300px 300px;
}

.night-section > * {
  position: relative;
  z-index: 1;
}

.night-section .text-gradient {
  background: linear-gradient(135deg, #5563a8, #7b8cd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Night sections always show dark screenshots, regardless of theme toggle */
.night-section .screenshot-light { display: none !important; }
.night-section .screenshot-dark { display: block !important; }

.night-section .ai-quote {
  background: rgba(85, 99, 168, 0.08);
  border-color: rgba(85, 99, 168, 0.15);
}

.night-section .ai-quote-icon {
  color: rgba(85, 99, 168, 0.5);
}

.night-section .ai-preview-user {
  background: rgba(85, 99, 168, 0.15);
}

.night-section .pricing-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.night-section .logo-text {
  color: #e2e8f0;
}

/* ============================================
   Features Grid
   ============================================ */

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
}

/* ============================================
   Proof / Why LunaLog
   ============================================ */

.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.proof-card {
  text-align: center;
  padding: 36px 28px;
}

.proof-icon {
  color: var(--accent);
  margin-bottom: 18px;
}

.proof-card h3 {
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Credibility signal */
.credibility-signal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.1);
}

.credibility-signal svg {
  flex-shrink: 0;
  color: #e11d48;
}

.credibility-signal p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   Testimonial
   ============================================ */

.testimonial {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: rgba(85, 99, 168, 0.04);
  border: 1px solid rgba(85, 99, 168, 0.1);
  text-align: center;
}

.testimonial blockquote {
  margin: 0;
}

.testimonial blockquote p {
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-author strong {
  font-size: 0.9rem;
  display: block;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================
   Caregiver Coordination
   ============================================ */

.section-coordination {
  padding: 64px 0;
}

.coordination-block {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
}

.coordination-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 32px;
}

.coordination-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.coordination-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.coordination-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.coordination-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.coordination-step p strong {
  color: var(--text);
}

.coordination-arrow {
  color: var(--text-dim);
}

.coordination-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Coordination screenshot */
.coordination-screenshot-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.coordination-phone {
  max-width: 240px;
  width: 100%;
  border-radius: 20px;
  padding: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px var(--shadow);
}

.coordination-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

@media (max-width: 480px) {
  .coordination-arrow { display: none; }
  .coordination-flow { gap: 20px; }
  .coordination-phone { max-width: 200px; }
}

/* ============================================
   Why LunaLog (Differentiation)
   ============================================ */

.section-why {
  padding: 64px 0;
}

.section-story {
  padding-top: 32px;
}

.story-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(85, 99, 168, 0.14);
  background: linear-gradient(180deg, rgba(85, 99, 168, 0.06), rgba(255, 255, 255, 0.95));
  box-shadow: 0 10px 40px rgba(85, 99, 168, 0.08);
  text-align: center;
}

.story-photo {
  width: min(100%, 320px);
  aspect-ratio: 4 / 3;
  margin: 0 auto 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(85, 99, 168, 0.2);
  box-shadow: 0 8px 24px rgba(85, 99, 168, 0.12);
}

.story-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-kicker {
  display: inline-flex;
  padding: 6px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(85, 99, 168, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.story-close {
  color: var(--text) !important;
  font-weight: 600;
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
  transition: all 0.2s ease;
}

.why-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(85, 99, 168, 0.08);
  color: var(--accent);
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   AI Section
   ============================================ */

.section-ai {
  overflow: hidden;
}

.ai-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(85, 99, 168, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.night-section .ai-glow {
  background: radial-gradient(ellipse, rgba(85, 99, 168, 0.06) 0%, transparent 70%);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.ai-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(85, 99, 168, 0.12);
  background: rgba(85, 99, 168, 0.03);
  box-shadow: 0 1px 3px var(--shadow);
  transition: all 0.3s ease;
}

.ai-card:hover {
  border-color: rgba(85, 99, 168, 0.2);
  background: rgba(85, 99, 168, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.ai-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--accent);
}

.ai-card-header h3 {
  color: var(--text);
}

.ai-card > p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.ai-card-preview {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-surface-hover);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-preview-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ai-preview-line strong {
  color: var(--accent);
}

.ai-preview-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.ai-preview-user {
  background: rgba(85, 99, 168, 0.1);
  color: var(--text);
  align-self: flex-end;
  max-width: 80%;
  border-bottom-right-radius: 4px;
}

.ai-preview-ai {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  align-self: flex-start;
  max-width: 85%;
  border-bottom-left-radius: 4px;
}

/* ============================================
   Pricing
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 740px;
  margin: 0 auto;
}

.pricing-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.pricing-card-featured {
  border-color: rgba(217, 119, 6, 0.25);
  background: rgba(217, 119, 6, 0.03);
  box-shadow: 0 4px 24px rgba(217, 119, 6, 0.08);
}

.night-section .pricing-card-featured {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.1);
}

.pricing-card-featured:hover {
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 12px 40px rgba(217, 119, 6, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--beta-amber), #ea580c);
  color: #fff;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-original {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-right: 8px;
}

.pricing-card > p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.pricing-features li strong {
  color: var(--text);
}

.pricing-beta-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--beta-amber);
  text-align: center;
  opacity: 0.9;
}

/* ============================================
   Product Showcase
   ============================================ */

.section-product {
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

.product-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-card-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Phone mockup */
.mockup-phone {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-surface-hover);
  overflow: hidden;
}

.mockup-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 6px 14px;
  font-size: 0.7rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.mockup-header-bar {
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* Timeline mockup items */
.mockup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.mockup-item:last-child {
  border-bottom: none;
}

.mockup-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-item-text {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mockup-item-text strong {
  color: var(--text);
}

.mockup-item-text span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Prediction mockup */
.mockup-prediction-card {
  padding: 20px 14px;
  text-align: center;
}

.mockup-pred-icon {
  margin-bottom: 8px;
}

.mockup-pred-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mockup-pred-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 4px 0;
}

.mockup-pred-window {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.mockup-pred-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.mockup-pred-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.mockup-pred-row strong {
  color: var(--text-muted);
}

.mockup-easier {
  color: #059669 !important;
}

/* Insight mockup */
.mockup-insight-card {
  padding: 14px;
}

.mockup-insight-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.mockup-insight-body p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(85, 99, 168, 0.04);
  border-left: 2px solid rgba(85, 99, 168, 0.3);
}

.mockup-insight-stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mockup-insight-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 8px 4px;
  border-radius: 8px;
  background: var(--bg-surface-hover);
}

.mockup-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.mockup-stat-up {
  color: #059669 !important;
}

.mockup-stat-label {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Sync mockup */
.mockup-sync-content {
  padding: 14px;
}

.mockup-sync-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg-surface-hover);
  margin-bottom: 8px;
}

.mockup-sync-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mockup-sync-text {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  line-height: 1.4;
}

.mockup-sync-text strong {
  color: var(--text);
}

.mockup-sync-text span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.mockup-sync-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.mockup-sync-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #059669;
  font-weight: 500;
}

/* Product screenshots */
.product-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.product-cta {
  text-align: center;
  margin-top: 40px;
}

.product-cta-text {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ============================================
   AI Insight Quotes
   ============================================ */

.ai-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.ai-quote {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(85, 99, 168, 0.04);
  border: 1px solid rgba(85, 99, 168, 0.1);
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ai-quote.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-quote-icon {
  color: rgba(85, 99, 168, 0.3);
  margin-bottom: 8px;
}

.ai-quote p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}

.ai-ask-examples {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ai-ask-examples > span:first-child {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}

.ai-ask-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent);
  background: rgba(85, 99, 168, 0.08);
  border: 1px solid rgba(85, 99, 168, 0.12);
}

@media (max-width: 640px) {
  .ai-quotes { grid-template-columns: 1fr; }
}

.ai-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Comparison Table
   ============================================ */

.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table thead th {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-surface-hover);
}

.comparison-table .comparison-featured {
  background: rgba(85, 99, 168, 0.08);
  border-left: 2px solid rgba(85, 99, 168, 0.32);
  color: var(--text);
  font-weight: 500;
}

.comparison-table tbody th {
  width: 16%;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.comparison-table td {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   Download Section
   ============================================ */

.section-download {
  padding: 56px 0 72px;
}

.download-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 1px 3px var(--shadow);
}

.download-block .section-header {
  margin-bottom: 28px;
}

.download-block h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  margin-bottom: 10px;
}

.download-web-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.download-web-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.download-web-note a:hover {
  color: var(--accent-hover);
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 1px 3px var(--shadow);
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 24px 18px;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item p a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ============================================
   CTA
   ============================================ */

.section-cta {
  text-align: center;
  padding: 80px 0 96px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(85, 99, 168, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.night-section .cta-glow {
  background: radial-gradient(ellipse, rgba(85, 99, 168, 0.06) 0%, transparent 70%);
}

.section-cta h2 {
  margin-bottom: 16px;
}

.section-cta p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand .logo-img {
  height: 70px;
  margin-left: 10px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.contact-text {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 8px;
  max-width: 220px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 640px) {
  .hero { padding: 180px 0 60px; }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer-inner { flex-direction: column; gap: 32px; align-items: center; text-align: center; }
  .footer-links { gap: 40px; flex-wrap: wrap; justify-content: center; }
  .footer-bottom { text-align: center; }
}

/* ============================================
   Sticky Mobile CTA
   ============================================ */

.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--nav-bg);
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .sticky-cta.visible {
    transform: translateY(0);
  }

  .sticky-cta.sticky-cta-night {
    background: #0a0f1a;
    border-top-color: rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, background 0.5s ease, border-color 0.5s ease;
  }

  .sticky-cta .btn {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 12px;
  }

  /* Add bottom padding to footer so sticky CTA doesn't overlap */
  .footer {
    padding-bottom: 80px;
  }
}

/* ============================================
   Animations
   ============================================ */

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

/* Fade-in on scroll */
.feature-card,
.ai-card,
.pricing-card,
.step-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.feature-card.visible,
.ai-card.visible,
.pricing-card.visible,
.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA button arrow animation */
.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}
