/* ═══════════════════════════════════
   LUNA LANDING PAGE CSS
═══════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --rose: #c2547a;
  --rose-d: #8b2a52;
  --sage: #4a9b72;
  --amber: #d4803a;
  --violet: #7a52b8;
  --text: #e8d0e0;
  --text-muted: #8a6a7a;
  --bg: #0e0810;
  --surface: #1c1020;
  --surface-2: #231428;
  --border: rgba(224,122,160,0.12);
  --rose-glow: rgba(181,68,110,0.2);
  --font-h: 'Cormorant Garamond', Georgia, serif;
  --font: 'DM Sans', system-ui, sans-serif;
  --max: 1200px;
}
[data-theme="light"] {
  --text: #3D1828;
  --text-muted: #9B7080;
  --bg: #FBF5F8;
  --surface: #FFFFFF;
  --surface-2: #F5EBF1;
  --border: rgba(181,68,110,0.14);
  --rose-glow: rgba(181,68,110,0.12);
  --rose: #B5446E;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background 0.3s, color 0.3s; }
::selection { background: var(--rose-glow); color: var(--rose); }
a { text-decoration: none; }

/* ── NAV ── */
.lnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: transparent; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.lnav.scrolled {
  background: rgba(14,8,16,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
[data-theme="light"] .lnav.scrolled { background: rgba(251,245,248,0.88); }
.lnav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; gap: 32px;
}
.lnav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 700;
  color: #fff; transition: color 0.2s; flex-shrink: 0;
}
[data-theme="light"] .lnav-logo { color: var(--text); }
.lnav-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--rose-d), var(--rose));
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.lnav-links { display: flex; gap: 28px; flex: 1; }
.lnav-links a {
  font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
[data-theme="light"] .lnav-links a { color: var(--text-muted); }
.lnav-links a:hover { color: white; }
[data-theme="light"] .lnav-links a:hover { color: var(--rose); }
.lnav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lnav-theme {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer; font-size: 0.95rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.lnav-theme:hover { background: rgba(255,255,255,0.14); }
[data-theme="light"] .lnav-theme { background: var(--surface-2); border-color: var(--border); }
.lnav-hamburger { display: none; background: none; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; color: white; font-size: 1rem; }
[data-theme="light"] .lnav-hamburger { border-color: var(--border); color: var(--text); }
.lnav-mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 16px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.lnav-mobile.open { display: flex; }
.lnav-mobile a { padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); }
.lnav-mobile a:hover { background: var(--surface-2); color: var(--rose); }

/* ── BUTTONS ── */
.lbtn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 50px;
  font-family: var(--font); font-size: 0.875rem; font-weight: 700;
  cursor: pointer; transition: all 0.22s; white-space: nowrap; border: none;
}
.lbtn-primary {
  background: linear-gradient(135deg, var(--rose-d), var(--rose));
  color: white; box-shadow: 0 4px 18px var(--rose-glow);
}
.lbtn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 8px 28px var(--rose-glow); color: white; }
.lbtn-outline {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.22);
}
[data-theme="light"] .lbtn-outline { color: var(--text-muted); border-color: var(--border); }
.lbtn-outline:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-glow); }
.lbtn-ghost {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.14);
}
.lbtn-ghost:hover { background: rgba(255,255,255,0.12); color: white; }
[data-theme="light"] .lbtn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
[data-theme="light"] .lbtn-ghost:hover { color: var(--rose); border-color: var(--rose); }
.lbtn-lg { padding: 14px 32px; font-size: 0.95rem; }
.lbtn-xl { padding: 16px 40px; font-size: 1.05rem; }
.w-full { width: 100%; justify-content: center; margin-top: 4px; }

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; padding: 100px 32px 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.25;
  animation: heroFloat 10s ease-in-out infinite;
}
.o1 { width: 600px; height: 600px; background: radial-gradient(circle, #8b2a52, transparent); top: -200px; right: -150px; }
.o2 { width: 400px; height: 400px; background: radial-gradient(circle, #4a2280, transparent); bottom: -100px; left: -100px; animation-delay: -4s; animation-duration: 13s; }
.o3 { width: 300px; height: 300px; background: radial-gradient(circle, #c2547a, transparent); top: 40%; left: 40%; animation-delay: -7s; opacity: 0.15; }
@keyframes heroFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
[data-theme="light"] .hero-grid { opacity: 0.03; background-image: linear-gradient(rgba(0,0,0,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.3) 1px, transparent 1px); }
[data-theme="light"] .hero-orb { opacity: 0.12; }
.hero-inner {
  max-width: var(--max); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(181,68,110,0.12); border: 1px solid rgba(181,68,110,0.25);
  padding: 6px 14px; border-radius: 30px;
  font-size: 0.78rem; font-weight: 700; color: var(--rose);
  margin-bottom: 22px; letter-spacing: 0.3px;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--rose); border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero-h1 {
  font-family: var(--font-h); font-size: 3.8rem; font-weight: 700;
  line-height: 1.1; letter-spacing: -1px; color: #fff;
  margin-bottom: 20px;
}
[data-theme="light"] .hero-h1 { color: var(--text); }
.hero-h1 em { font-style: italic; color: var(--rose); font-weight: 400; }
.hero-p {
  font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.65);
  max-width: 480px; margin-bottom: 32px;
}
[data-theme="light"] .hero-p { color: var(--text-muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-social { display: flex; gap: 20px; flex-wrap: wrap; }
.hs-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.55); }
[data-theme="light"] .hs-item { color: var(--text-muted); }
.hs-item span { font-size: 0.9rem; }
.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(transparent, rgba(255,255,255,0.3));
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100%{opacity:0.3;transform:scaleY(0.7)} 50%{opacity:1;transform:scaleY(1)} }

/* ── PHONE MOCKUP ── */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hv-phone {
  width: 280px; height: 560px;
  background: linear-gradient(145deg, #1a1020, #2a1428);
  border-radius: 44px; border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
  animation: phoneTilt 6s ease-in-out infinite;
}
@keyframes phoneTilt { 0%,100%{transform:rotate(-1deg) translateY(0)} 50%{transform:rotate(1deg) translateY(-10px)} }
.hv-notch {
  width: 100px; height: 28px; background: #0e0810; border-radius: 0 0 16px 16px;
  margin: 0 auto; position: relative; z-index: 2;
}
.hv-screen { padding: 8px 16px 12px; }
.hv-status { display: flex; justify-content: space-between; font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.hv-phase-card {
  background: linear-gradient(135deg, #8b2a52, #c2547a);
  border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.hv-phase-icon { font-size: 1.6rem; }
.hv-phase-name { font-family: var(--font-h); font-size: 0.9rem; font-weight: 700; color: white; }
.hv-phase-day { font-size: 0.65rem; color: rgba(255,255,255,0.7); }
.hv-ring {
  width: 38px; height: 38px; border-radius: 50%; margin-left: auto; flex-shrink: 0;
  background: conic-gradient(rgba(255,255,255,0.8) 28%, rgba(255,255,255,0.15) 0);
  mask: radial-gradient(circle, transparent 55%, black 55%);
  -webkit-mask: radial-gradient(circle, transparent 55%, black 55%);
}
.hv-stats-row { display: flex; gap: 6px; margin-bottom: 10px; }
.hv-stat { flex:1; background: rgba(255,255,255,0.05); border-radius: 10px; padding: 8px 6px; text-align: center; }
.hv-sv { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.hv-sl { font-size: 0.55rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
.hv-cal-preview { margin-bottom: 10px; }
.hv-cal-row { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 2px; }
.hv-day {
  aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.5);
}
.hv-day.p  { background: #c2547a; color: white; }
.hv-day.f  { background: rgba(74,155,114,0.3); color: #4a9b72; }
.hv-day.ov { background: #d4803a; color: white; }
.hv-quick { display: flex; gap: 5px; }
.hv-qb { flex:1; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 6px 4px; font-size: 0.55rem; font-weight: 700; text-align: center; color: rgba(255,255,255,0.6); }
.hv-home-btn { width: 100px; height: 5px; background: rgba(255,255,255,0.3); border-radius: 3px; margin: 8px auto 0; }

.hv-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  font-size: 0.78rem; color: var(--text);
}
.hv-badge span { font-size: 1.3rem; }
.hv-badge b { display: block; font-weight: 700; font-size: 0.78rem; }
.hv-b1 { top: 60px; right: -60px; animation: badgeFloat 5s ease-in-out infinite; }
.hv-b2 { bottom: 80px; left: -70px; animation: badgeFloat 5s ease-in-out infinite; animation-delay: -2.5s; }
@keyframes badgeFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── SECTIONS ── */
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--rose);
  margin-bottom: 12px;
}
.section-h2 {
  font-family: var(--font-h); font-size: 2.8rem; font-weight: 700;
  line-height: 1.15; letter-spacing: -0.5px; color: #fff; margin-bottom: 14px;
}
[data-theme="light"] .section-h2 { color: var(--text); }
.section-sub { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 520px; margin-bottom: 52px; line-height: 1.7; }
[data-theme="light"] .section-sub { color: var(--text-muted); }

/* ── FEATURES ── */
.features { padding: 100px 0; background: var(--surface); }
.feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feat-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px 22px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  opacity: 0; transform: translateY(20px);
}
.feat-card.visible { opacity: 1; transform: none; }
.feat-card:hover { transform: translateY(-4px); border-color: var(--rose); box-shadow: 0 12px 40px var(--rose-glow); }
.feat-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.feat-card h3 { font-family: var(--font-h); font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
[data-theme="light"] .feat-card h3 { color: var(--text); }
.feat-card p { font-size: 0.83rem; line-height: 1.65; color: rgba(255,255,255,0.5); }
[data-theme="light"] .feat-card p { color: var(--text-muted); }

/* ── HOW ── */
.how { padding: 100px 0; }
.steps { display: flex; align-items: flex-start; gap: 16px; }
.step {
  flex:1; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 24px;
  opacity: 0; transform: translateY(20px); transition: all 0.3s;
}
.step.visible { opacity: 1; transform: none; }
.step:hover { border-color: var(--rose); box-shadow: 0 8px 30px var(--rose-glow); }
.step-num { font-family: var(--font-h); font-size: 3rem; font-weight: 300; color: rgba(181,68,110,0.2); line-height: 1; margin-bottom: 10px; }
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step h3 { font-family: var(--font-h); font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
[data-theme="light"] .step h3 { color: var(--text); }
.step p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
[data-theme="light"] .step p { color: var(--text-muted); }
.step-arrow { font-size: 1.5rem; color: rgba(181,68,110,0.3); padding-top: 60px; flex-shrink: 0; }

/* ── PHASES ── */
.phases-section { padding: 100px 0; background: var(--surface); }
.phases-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.phase-item {
  border-radius: 20px; padding: 28px 22px; border: 1px solid transparent;
  opacity: 0; transform: translateY(20px); transition: all 0.35s;
}
.phase-item.visible { opacity: 1; transform: none; }
.phase-item:hover { transform: translateY(-4px); }
.p-red    { background: linear-gradient(145deg, rgba(139,42,82,0.15), rgba(194,84,122,0.08)); border-color: rgba(194,84,122,0.2); }
.p-amber  { background: linear-gradient(145deg, rgba(192,80,32,0.15), rgba(212,128,58,0.08)); border-color: rgba(212,128,58,0.2); }
.p-green  { background: linear-gradient(145deg, rgba(26,110,74,0.15), rgba(74,155,114,0.08)); border-color: rgba(74,155,114,0.2); }
.p-violet { background: linear-gradient(145deg, rgba(74,40,128,0.15), rgba(122,82,184,0.08)); border-color: rgba(122,82,184,0.2); }
.pi-icon { font-size: 2.2rem; margin-bottom: 6px; }
.pi-day { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
[data-theme="light"] .pi-day { color: var(--text-muted); }
.phase-item h3 { font-family: var(--font-h); font-size: 1.2rem; color: white; margin-bottom: 8px; }
[data-theme="light"] .phase-item h3 { color: var(--text); }
.phase-item p { font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
[data-theme="light"] .phase-item p { color: var(--text-muted); }

/* ── CTA ── */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; }
.cta-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.cta-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.c1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(139,42,82,0.3), transparent); top: -200px; right: -100px; }
.c2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(74,40,128,0.25), transparent); bottom: -100px; left: -50px; }
[data-theme="light"] .c1 { opacity: 0.4; }
[data-theme="light"] .c2 { opacity: 0.3; }
.cta-content { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-moon { font-size: 4rem; margin-bottom: 16px; animation: moonSpin 20s linear infinite; display: inline-block; }
@keyframes moonSpin { from{filter:drop-shadow(0 0 0 transparent)} 50%{filter:drop-shadow(0 0 20px rgba(181,68,110,0.5))} to{filter:drop-shadow(0 0 0 transparent)} }
.cta-content h2 { font-family: var(--font-h); font-size: 3rem; font-weight: 700; color: white; margin-bottom: 14px; letter-spacing: -0.5px; }
[data-theme="light"] .cta-content h2 { color: var(--text); }
.cta-content p { color: rgba(255,255,255,0.55); font-size: 1rem; margin-bottom: 32px; line-height: 1.7; }
[data-theme="light"] .cta-content p { color: var(--text-muted); }
.cta-note { margin-top: 14px; font-size: 0.78rem; color: rgba(255,255,255,0.35); }
[data-theme="light"] .cta-note { color: var(--text-muted); }

/* ── FOOTER ── */
.lfooter { border-top: 1px solid var(--border); padding: 28px 0; }
.lf-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 24px; }
.lf-logo { font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; color: rgba(255,255,255,0.5); }
[data-theme="light"] .lf-logo { color: var(--text-muted); }
.lf-links { display: flex; gap: 18px; }
.lf-links a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.lf-links a:hover { color: var(--rose); }
[data-theme="light"] .lf-links a { color: var(--text-muted); }
.lf-copy { margin-left: auto; font-size: 0.78rem; color: rgba(255,255,255,0.3); }
[data-theme="light"] .lf-copy { color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .phases-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .lnav-links, .lnav-cta .lbtn-outline { display: none; }
  .lnav-hamburger { display: flex; align-items: center; justify-content: center; }
  .lnav-inner { padding: 0 16px; }
  .hero { padding: 80px 20px 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-h1 { font-size: 2.6rem; }
  .hero-p { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-social { justify-content: center; }
  .hero-visual { order: -1; }
  .hv-phone { width: 220px; height: 440px; }
  .hv-b1, .hv-b2 { display: none; }
  .section-inner { padding: 0 20px; }
  .section-h2 { font-size: 2rem; }
  .features, .how, .phases-section { padding: 70px 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .phases-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 80px 0; }
  .cta-content h2 { font-size: 2rem; }
  .lf-inner { flex-direction: column; text-align: center; }
  .lf-copy { margin-left: 0; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 2rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .phases-grid { grid-template-columns: 1fr; }
}
