/* =============================================
   ASTROCHAT — Landing Page v2
   Theme: Cosmic Purple / Gold / Mystical Dark
   ============================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  --accent: #7c3aed;
  --accent-dark: #6d28d9;
  --accent-light: #ddd6fe;
  --accent-xlight: #f5f3ff;
  --gold: #f59e0b;
  --gold-light: #fde68a;
  --text-primary: #0f0a1e;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #faf8ff;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-soft: #f0ecff;
  --shadow-sm: 0 1px 3px rgba(124,58,237,.07);
  --shadow-md: 0 4px 16px rgba(124,58,237,.12);
  --shadow-lg: 0 12px 40px rgba(124,58,237,.18);
  --shadow-xl: 0 20px 60px rgba(124,58,237,.22);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --nav-height: 72px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* ── Reset ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text-primary); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h3 { font-size: clamp(1rem, 1.8vw, 1.1rem); font-weight: 600; }
p { color: var(--text-secondary); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.gradient-text {
  background: linear-gradient(135deg, #7c3aed 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════
   LOADING SCREEN
   ════════════════════════════════════════ */
#astro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 60% 40%, #1a0533 0%, #0d0118 50%, #050010 100%);
  overflow: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}
#astro-loader.loader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* star field */
.loader-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.8) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 85%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 45%, rgba(255,255,255,.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 55%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 65% 80%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 15%, rgba(255,255,255,.8) 0%, transparent 100%);
  animation: starTwinkle 3s ease-in-out infinite alternate;
}
@keyframes starTwinkle {
  from { opacity: .6; }
  to   { opacity: 1; }
}

.loader-orb-1, .loader-orb-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.loader-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.25) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbPulse 4s ease-in-out infinite;
}
.loader-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,158,11,.15) 0%, transparent 70%);
  bottom: -80px; left: -80px;
  animation: orbPulse 4s ease-in-out infinite reverse;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-icon-ring {
  position: relative;
  width: 100px;
  height: 100px;
}
.loader-icon-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #7c3aed;
  border-right-color: #f59e0b;
  animation: spinRing 1.2s linear infinite;
}
.loader-icon-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid rgba(124,58,237,.3);
  border-bottom-color: #c4b5fd;
  animation: spinRing 1.8s linear infinite reverse;
}
@keyframes spinRing {
  to { transform: rotate(360deg); }
}
.loader-icon-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  animation: iconPop .6s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes iconPop {
  from { transform: scale(0) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

.loader-app-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c4b5fd, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.03em;
  animation: fadeSlideUp .6s .3s ease both;
}
.loader-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: fadeSlideUp .6s .45s ease both;
}

.loader-zodiac-strip {
  display: flex;
  gap: .75rem;
  font-size: 1.4rem;
  animation: fadeSlideUp .6s .55s ease both;
}
.loader-zodiac-strip span {
  animation: zodiacFloat 2s ease-in-out infinite;
  display: inline-block;
}
.loader-zodiac-strip span:nth-child(1) { animation-delay: 0s; }
.loader-zodiac-strip span:nth-child(2) { animation-delay: .15s; }
.loader-zodiac-strip span:nth-child(3) { animation-delay: .3s; }
.loader-zodiac-strip span:nth-child(4) { animation-delay: .45s; }
.loader-zodiac-strip span:nth-child(5) { animation-delay: .6s; }
.loader-zodiac-strip span:nth-child(6) { animation-delay: .75s; }
@keyframes zodiacFloat {
  0%,100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(-6px); opacity: 1; }
}

.loader-progress-wrap {
  width: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 50px;
  height: 4px;
  overflow: hidden;
  animation: fadeSlideUp .6s .65s ease both;
}
.loader-progress-bar {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, #7c3aed, #f59e0b);
  width: 0%;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(124,58,237,.7);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   SCROLL PROGRESS BAR
   ════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #f59e0b);
  z-index: 2000;
  transition: width .1s linear;
  pointer-events: none;
}

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.6rem; border-radius: 50px;
  cursor: pointer; transition: all .25s;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
  white-space: nowrap; border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.5); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--accent-dark);
  font-weight: 600; font-size: .95rem;
  padding: .78rem 1.6rem; border-radius: 50px;
  border: 2px solid var(--accent); cursor: pointer; transition: all .25s;
}
.btn-secondary:hover { background: var(--accent-xlight); transform: translateY(-2px); }
.btn-large { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-height);
  transition: all .3s;
}
.nav-header.scrolled { box-shadow: 0 4px 24px rgba(124,58,237,.12); }
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1rem,4vw,2rem);
  height: 100%; display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.nav-logo-icon { font-size: 1.4rem; }
.nav-logo-text { font-family: var(--font-display); }
.nav-links { display: flex; list-style: none; gap: .1rem; margin-left: auto; }
.nav-links a { color: var(--text-secondary); font-size: .875rem; font-weight: 500; padding: .4rem .75rem; border-radius: 8px; transition: all .2s; }
.nav-links a:hover { color: var(--accent-dark); background: var(--accent-xlight); }
.nav-cta {
  margin-left: .5rem;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white; font-weight: 700; font-size: .875rem;
  padding: .55rem 1.3rem; border-radius: 50px;
  transition: all .25s; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(124,58,237,.35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,.45); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: 8px; margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: white; z-index: 2000;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 40px rgba(0,0,0,.15);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; margin-top: 1rem; }
.mobile-link { display: block; padding: .8rem 1rem; border-radius: 12px; font-weight: 500; color: var(--text-secondary); transition: all .2s; }
.mobile-link:hover { background: var(--accent-xlight); color: var(--accent-dark); }
.mobile-menu-close { align-self: flex-end; background: var(--bg-soft); border: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; color: var(--text-secondary); transition: background .2s; }
.mobile-menu-close:hover { background: var(--accent-xlight); color: var(--accent-dark); }
.mobile-cta { margin-top: 1.5rem; justify-content: center; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-overlay.visible { opacity: 1; pointer-events: all; }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-height);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f5f3ff 0%, #fefcff 40%, #fffbeb 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(124,58,237,.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(245,158,11,.1) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
  background-position: 0 0, 20px 20px;
}
.orb { position: absolute; border-radius: 50%; }
.orb-1 {
  width: clamp(300px, 40vw, 700px); height: clamp(300px, 40vw, 700px);
  background: radial-gradient(circle, rgba(124,58,237,.12), transparent 70%);
  top: -20%; right: -10%;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: clamp(200px, 28vw, 450px); height: clamp(200px, 28vw, 450px);
  background: radial-gradient(circle, rgba(245,158,11,.09), transparent 70%);
  bottom: 5%; left: -5%;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(124,58,237,.07), transparent 70%);
  top: 45%; left: 38%;
  animation: orbFloat 6s ease-in-out infinite 2s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.04); }
}
.constellation { position: absolute; font-size: clamp(1.5rem, 3vw, 2.5rem); opacity: .1; animation: twinkle 5s ease-in-out infinite; }
.c1 { top: 15%; left: 8%; animation-delay: 0s; }
.c2 { top: 60%; right: 6%; animation-delay: 1.5s; }
.c3 { bottom: 20%; left: 5%; animation-delay: 3s; }
.c4 { top: 30%; right: 15%; animation-delay: 2s; }
@keyframes twinkle { 0%,100% { opacity: .1; } 50% { opacity: .22; } }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--accent-xlight); color: var(--accent-dark);
  font-size: .82rem; font-weight: 700; padding: .4rem 1rem;
  border-radius: 50px; border: 1px solid var(--accent-light);
  margin-bottom: 1.25rem;
  animation: fadeSlideUp .6s .2s ease both;
}
.hero-content h1 {
  margin-bottom: 1.25rem;
  animation: fadeSlideUp .7s .35s ease both;
}
.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  margin-bottom: 2rem; max-width: 480px; line-height: 1.75;
  animation: fadeSlideUp .7s .5s ease both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; animation: fadeSlideUp .7s .6s ease both; }
.disclaimer-inline { font-size: .78rem; color: var(--text-muted); font-style: italic; animation: fadeSlideUp .7s .7s ease both; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; animation: fadeSlideLeft .8s .2s ease both; }
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.phone-mockup { position: relative; z-index: 2; }
.phone-shell {
  width: clamp(220px, 30vw, 290px);
  background: linear-gradient(160deg, #1a0f2e, #0a0614);
  border-radius: 44px; padding: 16px;
  box-shadow: 0 40px 100px rgba(0,0,0,.35), 0 8px 24px rgba(124,58,237,.25), inset 0 0 0 1.5px rgba(255,255,255,.07);
}
.mock-screen { background: #0a0614; border-radius: 32px; padding: 1rem; }
.mock-astro-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .75rem; padding-bottom: .75rem;
  border-bottom: 1px solid rgba(124,58,237,.2);
}
.mock-astro-header span:first-child { color: white; font-size: .85rem; font-weight: 700; }
.mock-sign { background: rgba(124,58,237,.28); color: #c4b5fd; font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; }
.mock-chat { display: flex; flex-direction: column; gap: .45rem; margin-bottom: .6rem; }
.chat-bubble { max-width: 90%; border-radius: 14px; padding: .5rem .75rem; font-size: .68rem; line-height: 1.45; }
.chat-bubble.user { background: rgba(124,58,237,.28); color: #e9d5ff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-bubble.ai { background: rgba(255,255,255,.07); color: rgba(255,255,255,.82); align-self: flex-start; border-bottom-left-radius: 4px; display: flex; gap: .3rem; }
.ai-icon { flex-shrink: 0; }
.mock-input { background: rgba(255,255,255,.06); border: 1px solid rgba(124,58,237,.25); border-radius: 50px; padding: .4rem .75rem; font-size: .65rem; color: rgba(255,255,255,.3); }

.float-star {
  position: absolute;
  background: white; border: 1px solid var(--border);
  border-radius: 50px; padding: .45rem .95rem;
  font-size: .76rem; font-weight: 600; color: var(--text-secondary);
  box-shadow: var(--shadow-md); white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}
.fs-1 { top: 8%;  left: -14%; animation-delay: 0s; }
.fs-2 { bottom: 28%; left: -16%; animation-delay: 1.3s; }
.fs-3 { top: 48%; right: -10%; animation-delay: .7s; }
@keyframes floatBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ════════════════════════════════════════
   HIGHLIGHTS
   ════════════════════════════════════════ */
.highlights {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; }
.hl-item {
  display: flex; align-items: center; gap: .75rem;
  background: white; border-radius: var(--radius); padding: 1rem 1.25rem;
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.hl-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.hl-icon { font-size: 1.5rem; flex-shrink: 0; }
.hl-item div { display: flex; flex-direction: column; gap: .1rem; }
.hl-item strong { font-size: .88rem; color: var(--text-primary); }
.hl-item span { font-size: .76rem; color: var(--text-muted); line-height: 1.4; }

/* ════════════════════════════════════════
   SECTION HEADER
   ════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-tag {
  display: inline-block;
  background: var(--accent-xlight); color: var(--accent-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 50px;
  border: 1px solid var(--accent-light); margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════ */
.features { padding: clamp(4rem, 8vw, 7rem) 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 1.75rem);
  transition: all .3s; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-xlight), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--accent-light); }
.feature-card:hover::before { opacity: 1; }
.feat-icon { font-size: 2rem; margin-bottom: .85rem; display: block; }
.feature-card h3 { margin-bottom: .5rem; font-size: 1rem; position: relative; }
.feature-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; position: relative; }

/* ════════════════════════════════════════
   ZODIAC
   ════════════════════════════════════════ */
.zodiac { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--bg-soft); }
.zodiac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
.zodiac-card {
  background: white; border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 1.4rem .75rem;
  text-align: center; transition: all .35s; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  cursor: default;
}
.zodiac-card:hover { transform: translateY(-6px) scale(1.04); box-shadow: var(--shadow-lg); border-color: var(--accent-light); background: linear-gradient(135deg, var(--accent-xlight), white); }
.zc-symbol { font-size: 2rem; }
.zc-name { font-size: .8rem; font-weight: 700; color: var(--text-secondary); }

/* ════════════════════════════════════════
   SHOWCASE
   ════════════════════════════════════════ */
.showcase { padding: clamp(3rem, 6vw, 6rem) 0; }
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.showcase-row:last-child { margin-bottom: 0; }
.sc-vis-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.75rem;
  box-shadow: var(--shadow-xl);
}
.cv-header { font-size: .875rem; font-weight: 700; color: var(--text-primary); margin-bottom: .85rem; }
.cv-msg {
  max-width: 90%; border-radius: 14px; padding: .6rem .85rem;
  font-size: .84rem; line-height: 1.55; margin-bottom: .5rem;
  display: flex; gap: .4rem; align-items: flex-start;
}
.cv-msg.user { background: var(--accent); color: white; align-self: flex-end; margin-left: auto; border-bottom-right-radius: 4px; display: block; text-align: right; }
.cv-msg.ai { background: var(--bg-soft); border: 1px solid var(--border-soft); color: var(--text-secondary); border-bottom-left-radius: 4px; }
.sc-tag { display: inline-block; background: var(--accent-xlight); color: var(--accent-dark); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .75rem; border-radius: 50px; border: 1px solid var(--accent-light); margin-bottom: .75rem; }
.showcase-content h3 { font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: .85rem; }
.showcase-content p { font-size: 1rem; margin-bottom: 1.25rem; line-height: 1.75; }
.sc-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.sc-list li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--text-secondary); }
.sc-list li::before { content: '✦'; color: var(--accent); font-weight: 700; font-size: .7rem; }
.disclaimer-note { font-size: .78rem; color: var(--text-muted); font-style: italic; margin-top: .5rem !important; }

/* ════════════════════════════════════════
   SCREENSHOTS
   ════════════════════════════════════════ */
.screenshots { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--bg-soft); }
.screenshots-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem, 3vw, 2rem); flex-wrap: wrap; }
.screenshot-frame { display: flex; flex-direction: column; align-items: center; gap: 1rem; transition: transform .35s; }
.screenshot-frame:hover { transform: translateY(-8px); }
.screenshot-frame p { font-size: .84rem; font-weight: 600; color: var(--text-muted); }
.screenshot-frame.featured { transform: scale(1.07); }
.screenshot-frame.featured:hover { transform: scale(1.07) translateY(-8px); }
.phone-frame {
  width: clamp(140px, 19vw, 175px);
  background: linear-gradient(160deg, #1a0f2e, #0a0614);
  border-radius: 32px; padding: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(124,58,237,.2);
}
.phone-screen-ss { border-radius: 24px; overflow: hidden; aspect-ratio: 9/18; background: #0a0614; }
.ss-inner { padding: .75rem; height: 100%; display: flex; flex-direction: column; gap: .4rem; }
.ss-bar { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.75); padding-bottom: .4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.ss-zodiac-row { display: flex; justify-content: space-between; align-items: center; padding: .35rem .4rem; background: rgba(255,255,255,.05); border-radius: 8px; font-size: .65rem; font-weight: 500; color: rgba(255,255,255,.78); }
.ss-elem { font-size: .58rem; font-weight: 700; padding: .15rem .45rem; border-radius: 50px; }
.ss-elem.fire  { background: rgba(239,68,68,.2);  color: #fca5a5; }
.ss-elem.earth { background: rgba(34,197,94,.2);  color: #86efac; }
.ss-elem.air   { background: rgba(6,182,212,.2);  color: #67e8f9; }
.ss-elem.water { background: rgba(59,130,246,.2); color: #93c5fd; }
.ss-chat-bubble { max-width: 90%; border-radius: 12px; padding: .4rem .55rem; font-size: .62rem; line-height: 1.4; }
.ss-chat-bubble.user-b { background: rgba(124,58,237,.32); color: #e9d5ff; align-self: flex-end; margin-left: auto; }
.ss-chat-bubble.ai-b { background: rgba(255,255,255,.07); color: rgba(255,255,255,.78); }
.ss-sign-header { font-size: 1rem; text-align: center; color: #c4b5fd; font-weight: 700; padding: .3rem 0; }
.ss-horoscope-text { background: rgba(124,58,237,.12); border-radius: 8px; padding: .5rem; font-size: .62rem; color: rgba(255,255,255,.78); line-height: 1.55; }
.ss-planets { display: flex; justify-content: space-around; margin-top: auto; font-size: .62rem; color: rgba(255,255,255,.5); }

/* ════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════ */
.how-it-works { padding: clamp(4rem, 8vw, 7rem) 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step {
  text-align: center; padding: 2rem 1.25rem;
  background: var(--bg-soft); border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft); transition: all .35s;
  position: relative; overflow: hidden;
}
.step::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,.06), transparent);
  opacity: 0; transition: opacity .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.step:hover::before { opacity: 1; }
.step-num { font-size: 2.8rem; font-weight: 900; color: var(--accent-light); line-height: 1; margin-bottom: .25rem; font-family: var(--font-display); }
.step-icon { font-size: 2rem; margin-bottom: .85rem; }
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--text-muted); position: relative; }

/* ════════════════════════════════════════
   FAQ
   ════════════════════════════════════════ */
.faq { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--bg-soft); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; text-align: left; padding: 1.25rem 1.5rem; font-size: .92rem; font-weight: 600; color: var(--text-primary); cursor: pointer; gap: 1rem; transition: background .2s; }
.faq-question:hover { background: var(--bg-soft); }
.faq-question[aria-expanded="true"] { color: var(--accent-dark); }
.faq-icon { font-size: 1.3rem; font-weight: 400; color: var(--accent); flex-shrink: 0; transition: transform .35s; line-height: 1; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: .875rem; color: var(--text-muted); line-height: 1.75; }

/* ════════════════════════════════════════
   CTA
   ════════════════════════════════════════ */
.final-cta { padding: clamp(4rem, 8vw, 7rem) 0; }
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, #f5f3ff 0%, #fffbeb 100%);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '✨';
  position: absolute; font-size: 8rem; opacity: .04;
  top: -1rem; right: 2rem; pointer-events: none;
}
.cta-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.cta-box h2 { margin-bottom: .85rem; }
.cta-box p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-disclaimer { font-size: .75rem; color: var(--text-muted); font-style: italic; margin-top: 1rem; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: linear-gradient(160deg, #0f0a1e, #150a2a);
  color: rgba(255,255,255,.6);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-logo { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 700; color: white; font-family: var(--font-display); }
.footer-brand p { font-size: .875rem; line-height: 1.65; max-width: 280px; }
.footer-dl { align-self: flex-start; margin-top: .5rem; font-size: .875rem; }
.footer-links h3 { color: white; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: var(--accent-light); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.08); padding: 1rem 0; font-size: .78rem; color: rgba(255,255,255,.3); font-style: italic; margin-bottom: 1rem; }
.footer-bottom { display: flex; flex-direction: column; gap: .3rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }

/* ════════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(124,58,237,.5);
  transition: all .35s; opacity: 0; transform: translateY(10px);
}
.back-to-top:not([hidden]) { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(124,58,237,.6); }

/* ════════════════════════════════════════
   REVEAL ANIMATIONS
   ════════════════════════════════════════ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .float-star, .constellation, .orb { animation: none; }
  #astro-loader { transition: none; }
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc, .hero-actions { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-desc { max-width: 100%; }
  .float-star { display: none; }
  .showcase-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions > * { width: 100%; max-width: 280px; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
  .screenshots-row { flex-direction: column; align-items: center; }
  .screenshot-frame.featured { transform: scale(1); }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  h1 { font-size: 2rem; }
  .zodiac-grid { grid-template-columns: repeat(2, 1fr); }
}
