/* ============================================================
   LUMAFY AI — Landing Page Styles v2 / Premium Sunrise
   ============================================================ */

/* ── NAV LINKS ────────────────────────────────────────────────── */
.nav-links { display: flex; align-items: center; gap: var(--space-6); margin-right: var(--space-4); }
.nav-link { font-size: var(--text-sm); color: var(--color-text-muted); transition: color var(--transition); font-weight: 500; }
.nav-link:hover { color: var(--color-text); }
@media (max-width: 680px) { .nav-links { display: none; } }

/* Sign In — prominent nav button */
.nav-signin {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}
@media (max-width: 480px) {
  .nav-signin { padding: 0.5rem 1rem; font-size: var(--text-xs); }
}

/* ── SECTION TAG ─────────────────────────────────────────────── */
.section-tag { color: #E8820C; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-3); }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-height));
  display: flex; align-items: center; overflow: hidden;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0 clamp(var(--space-16), 10vw, var(--space-32));
}
.hero > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
}
@media (max-width: 900px) { .hero > .container { grid-template-columns: 1fr; } }

/* Aurora mesh gradient background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #FFF8F1;
  background-image:
    radial-gradient(at 85% 5%, rgba(232,130,12,0.35) 0px, transparent 55%),
    radial-gradient(at 15% 25%, rgba(244,96,58,0.20) 0px, transparent 60%),
    radial-gradient(at 70% 85%, rgba(249,165,109,0.28) 0px, transparent 55%),
    radial-gradient(at 5% 80%, rgba(248,190,140,0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(255,220,180,0.10) 0px, transparent 70%);
  background-size: 200% 200%;
  animation: auroraShift 12s ease-in-out infinite;
}

/* Film grain texture overlay */
.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035; pointer-events: none; mix-blend-mode: multiply;
}

/* Remove old orbs — aurora in .hero-bg handles depth */
.hero-orb { display: none; }

.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--space-6);
}

/* Hero entrance animations */
.hero-badge { animation: heroReveal 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.hero-heading { animation: heroReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
.hero-sub { animation: heroReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.35s both; }
.hero-cta { animation: heroReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.45s both; }
.hero-social-proof { animation: heroReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.55s both; }

/* Hero badge — warm amber tint */
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(232,130,12,0.08); border: 1px solid rgba(232,130,12,0.20);
  border-radius: var(--radius-full); padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs); color: #6B5E57; font-weight: 500;
  backdrop-filter: blur(8px);
}
.badge-dot { background: #E8820C; box-shadow: 0 0 8px rgba(232,130,12,0.6); animation: pulse 2.4s infinite; }

/* Hero heading — dark on light */
.hero-heading {
  font-family: var(--font-display); font-size: var(--text-hero);
  color: #1A1614; line-height: 1.08; letter-spacing: -0.02em;
}
.hero-heading em {
  background: linear-gradient(135deg, #E8820C 0%, #F4603A 50%, #F9A56D 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-style: italic;
}

.hero-sub { font-size: clamp(var(--text-base), 1rem + 0.5vw, var(--text-lg)); color: #6B5E57; line-height: 1.7; max-width: 540px; }
.hero-cta { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; max-width: 400px; }
.hero-fine { font-size: var(--text-xs); color: rgba(26,22,20,0.40); text-align: center; }

/* Social proof */
.hero-social-proof { display: flex; align-items: center; gap: var(--space-3); }
.proof-avatars { display: flex; }
.proof-avatar {
  width: 32px; height: 32px; border-radius: 50%; font-size: 0.8rem; font-weight: 700;
  border: 2px solid rgba(255,255,255,0.8); margin-left: -8px;
  background: rgba(232,130,12,0.15);
  display: flex; align-items: center; justify-content: center; color: #1A1614;
  text-transform: uppercase; letter-spacing: 0;
}
.proof-avatar:first-child { margin-left: 0; }
.proof-avatar-a { background: linear-gradient(135deg, #E8820C, #F4A03A); }
.proof-avatar-b { background: linear-gradient(135deg, #2E8B57, #52C77A); }
.proof-avatar-c { background: linear-gradient(135deg, #F4603A, #F9A56D); }
.proof-avatar-d { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.hero-social-proof p { font-size: var(--text-xs); color: rgba(26,22,20,0.55); }
.hero-social-proof strong { color: #1A1614; }

/* HERO PREVIEW CARDS */
.hero-preview {
  position: relative;
  display: flex; flex-direction: column; gap: var(--space-4);
  z-index: 1; pointer-events: none;
  align-self: center;
}
@media (max-width: 900px) { .hero-preview { display: none; } }

.preview-card {
  padding: var(--space-5); min-width: 280px;
  background: rgba(255,249,245,0.80) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  color: #1A1614;
  box-shadow: 0 4px 24px rgba(26,22,20,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}
.preview-card-1 { transform: none; }
.preview-card-2 { transform: none; }

/* Mood card */
.preview-mood-row { display: flex; flex-direction: column; gap: var(--space-3); }
.preview-mood-row > span { font-size: var(--text-xs); color: rgba(26,22,20,0.55); font-weight: 500; letter-spacing: 0.01em; }
.preview-moods { display: flex; gap: 6px; align-items: center; }
.preview-moods span {
  font-size: 1.4rem;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(232,130,12,0.07);
  cursor: default;
  transition: background 0.2s;
}
.preview-moods .selected-mood {
  background: rgba(232,130,12,0.15);
  box-shadow: 0 0 0 1.5px rgba(232,130,12,0.5);
  transform: scale(1.12);
}
.preview-ai-bubble { margin-top: var(--space-3); display: flex; align-items: flex-start; gap: var(--space-2); }
.preview-ai-dot { width: 8px; height: 8px; border-radius: 50%; background: #E8820C; box-shadow: 0 0 8px rgba(232,130,12,0.5); margin-top: 5px; flex-shrink: 0; animation: pulse 2.4s infinite; }
.preview-ai-bubble p { font-size: var(--text-xs); color: #6B5E57; line-height: 1.65; }

/* Streak card */
.preview-streak { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.preview-streak-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: #1A1614; line-height: 1; }
.preview-streak span:last-child { font-size: 0.72rem; color: rgba(26,22,20,0.45); text-transform: uppercase; letter-spacing: 0.06em; }

/* Bar chart */
.preview-chart-wrap { display: flex; flex-direction: column; gap: 6px; }
.preview-chart { display: flex; align-items: flex-end; gap: 7px; height: 72px; }
.chart-bar {
  flex: 1;
  background: rgba(232,130,12,0.15);
  border-radius: 4px 4px 0 0;
  transition: background 0.3s;
  position: relative;
}
.chart-bar.active { background: rgba(232,130,12,0.90); }
.chart-days { display: flex; gap: 7px; }
.chart-days span { flex: 1; text-align: center; font-size: 0.65rem; color: rgba(26,22,20,0.35); }
.chart-days span.active-day { color: rgba(232,130,12,0.9); font-weight: 600; }
.preview-chart-label { font-size: var(--text-xs); color: rgba(26,22,20,0.40); margin-top: var(--space-1); }

/* ── SECTIONS ─────────────────────────────────────────────────── */
.section { padding: clamp(var(--space-16), 8vw, var(--space-32)) 0; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto var(--space-12); }
.section-heading { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-text); margin-bottom: var(--space-4); }
.section-sub { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; }

/* ── FEATURES — PREMIUM BENTO ─────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(232,130,12,0.10);
  border-radius: 20px;
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,130,12,0.3), transparent);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(232,130,12,0.06);
  border-color: rgba(232,130,12,0.20);
}
.feature-card-accent {
  background: linear-gradient(135deg, #E8820C 0%, #F4603A 100%);
  border-color: transparent;
}
.feature-card-accent::before { display: none; }
.feature-card-accent h3, .feature-card-accent p { color: rgba(255,255,255,0.95) !important; }
.feature-card-accent .feature-icon { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }
.feature-card-accent:hover { box-shadow: 0 8px 40px rgba(232,130,12,0.35); }
.feature-icon {
  font-size: 2rem; margin-bottom: var(--space-4);
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(232,130,12,0.12), rgba(244,96,58,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(232,130,12,0.15);
}
.feature-card h3 { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text); margin-bottom: var(--space-2); }
.feature-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }
.feature-badge {
  position: absolute; top: var(--space-5); right: var(--space-5);
  background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9);
  border-radius: var(--radius-full); padding: 0.2rem 0.6rem;
  font-size: var(--text-xs); font-weight: 600;
}

/* ── YOUR JOURNEY — VERTICAL TIMELINE ────────────────────────── */
.how-section { background: var(--color-bg-alt); }

.journey-timeline {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
}

.journey-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: clamp(var(--space-5), 3vw, var(--space-8));
}

/* Left column: number + vertical line */
.journey-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey-num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
}

.journey-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(232,130,12,0.12), rgba(244,96,58,0.08));
  border: 2px solid rgba(232,130,12,0.20);
  border-radius: var(--radius-xl);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(232,130,12,0.15);
}

.journey-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, rgba(232,130,12,0.35), rgba(232,130,12,0.05));
  margin-top: var(--space-3);
  min-height: 40px;
}

/* Right column: content + preview card */
.journey-step-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
  padding-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.journey-step-last .journey-step-right {
  padding-bottom: 0;
}

.journey-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-3);
}

.journey-icon-badge {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.journey-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  line-height: 1.2;
}

.journey-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.journey-card {
  padding: var(--space-5);
  align-self: start;
  margin-top: var(--space-3);
  min-width: 0;
}

/* Hide preview card on smaller screens */
@media (max-width: 640px) {
  .journey-step {
    grid-template-columns: 52px 1fr;
    gap: var(--space-4);
  }
  .journey-num {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  .journey-step-right {
    grid-template-columns: 1fr;
  }
  .journey-card {
    display: none;
  }
}

/* Journey mini-cards */
.mini-quiz { padding: var(--space-5); min-width: 220px; }
.mini-q { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.mini-option { font-size: var(--text-xs); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); color: var(--color-text-muted); border: 1px solid var(--color-border); margin-bottom: var(--space-2); }
.mini-option.chosen { background: var(--color-primary-highlight); border-color: var(--color-primary); color: var(--color-primary); font-weight: 500; }
.mini-dashboard { padding: var(--space-4); min-width: 220px; display: flex; flex-direction: column; gap: var(--space-2); }
.mini-dash-row { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-xs); color: var(--color-text-muted); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); }
.mini-dash-row.active { background: var(--color-primary-highlight); color: var(--color-primary); font-weight: 500; }
.mini-done { color: var(--color-success); margin-left: auto; }
.mini-badge { margin-left: auto; background: var(--color-primary); color: #fff; border-radius: var(--radius-full); padding: 1px 8px; font-size: 10px; font-weight: 700; }
.mini-streak { padding: var(--space-5); text-align: center; }
.streak-num { font-family: var(--font-display); font-size: 2rem; color: var(--color-text); }
.streak-label { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.streak-dots { display: flex; gap: var(--space-2); justify-content: center; }
.streak-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.streak-dot.done { background: #E8820C; }
.streak-dot.today { background: var(--color-accent); box-shadow: 0 0 8px var(--color-accent); }

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); max-width: 780px; margin: 0 auto var(--space-8); }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-5);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card-featured {
  background: linear-gradient(160deg, #1A1614 0%, #2A1C0E 100%);
  border-color: rgba(232,130,12,0.35);
  box-shadow: 0 0 0 1px rgba(232,130,12,0.15), var(--shadow-lg), 0 0 60px rgba(232,130,12,0.15);
}
.pricing-card-featured:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(232,130,12,0.20), var(--shadow-lg), 0 0 80px rgba(232,130,12,0.20); }
.pricing-card-featured .pricing-plan-name,
.pricing-card-featured .pricing-desc,
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,0.85) !important; }
.pricing-card-featured .pricing-price { color: #FFFFFF; }
.pricing-card-featured .check { color: #F9A56D !important; }
.pricing-popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #E8820C, #F4603A);
  color: #fff; border-radius: var(--radius-full); padding: 0.3rem 1rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em;
  white-space: nowrap;
}
.pricing-plan-name { font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }
.pricing-price { font-family: var(--font-display); font-size: 3rem; color: var(--color-text); line-height: 1; }
.pricing-price span { font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text-muted); font-weight: 400; }
.pricing-billed { font-size: var(--text-xs); color: var(--color-accent); font-weight: 600; margin-top: calc(var(--space-2) * -1); }
.pricing-desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
.pricing-features { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.pricing-features li { font-size: var(--text-sm); color: var(--color-text); display: flex; align-items: center; gap: var(--space-2); }
.check { color: var(--color-success); font-weight: 700; }
.pricing-fine { text-align: center; font-size: var(--text-xs); color: var(--color-text-faint); max-width: 540px; margin: 0 auto; line-height: 1.6; }

/* ── CTA ──────────────────────────────────────────────────────── */
.cta-card {
  background: #1A1614;
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  text-align: center; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-5);
}
.cta-orb {
  position: absolute; width: 600px; height: 600px; top: -250px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232,130,12,0.25) 0%, transparent 70%);
  border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: auroraShift 8s ease-in-out infinite;
}
.cta-card::before {
  content: '';
  position: absolute; width: 400px; height: 400px; bottom: -200px; right: 10%;
  background: radial-gradient(circle, rgba(244,96,58,0.15) 0%, transparent 70%);
  border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.cta-heading { font-family: var(--font-display); font-size: var(--text-2xl); color: #fff; max-width: 500px; position: relative; z-index: 1; }
.cta-sub { font-size: var(--text-base); color: rgba(255,255,255,0.55); max-width: 440px; line-height: 1.7; position: relative; z-index: 1; }
.cta-card .btn { position: relative; z-index: 1; }

/* ── FOOTER — DARK PREMIUM ────────────────────────────────────── */
.site-footer {
  background: #1A1614;
  border-top: none;
  padding: var(--space-8) 0;
}
.footer-inner {
  display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap;
  width: 100%; max-width: var(--content-wide); margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12)); box-sizing: border-box;
}
.footer-logo { flex-shrink: 0; font-size: var(--text-sm) !important; }
.footer-logo .logo-text { color: #FFFFFF; }
.footer-logo .logo-text .ai { background: linear-gradient(135deg, #E8820C, #F4603A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-copy { font-size: var(--text-xs); color: #B5A89E; flex: 1; min-width: 0; overflow-wrap: break-word; }
.footer-links { display: flex; gap: var(--space-5); flex-shrink: 0; flex-wrap: wrap; }
.footer-links a { font-size: var(--text-xs); color: #B5A89E; transition: color var(--transition); }
.footer-links a:hover { color: #F9A56D; }
@media (max-width: 600px) { .footer-inner { justify-content: center; text-align: center; } .footer-copy { flex: none; width: 100%; } }

/* ── MHAM SECTION ─────────────────────────────────────────────── */
.mham-section {
  background: linear-gradient(160deg, rgba(232,130,12,0.05) 0%, rgba(244,96,58,0.03) 100%);
  position: relative;
}
.mham-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,130,12,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,130,12,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.mham-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.mham-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0 auto 1.25rem;
  max-width: 640px;
}
.mham-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0 2.5rem;
}
.mham-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 140px;
}
.mham-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #E8820C;
  line-height: 1;
}
.mham-stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
  max-width: 130px;
}
@media (max-width: 600px) {
  .mham-stats { gap: 1.5rem; }
  .mham-stat-num { font-size: 1.8rem; }
}
