:root {
  --bg-deep: #0b1026;
  --bg-section: #0f1535;
  --bg-card: #151d42;
  --bg-card-hover: #1a2352;
  --text-primary: #e8e4f0;
  --text-secondary: #a8a0bf;
  --text-muted: #6e6889;
  --accent-gold: #e8b94a;
  --accent-lavender: #b8a0e8;
  --accent-warm: #e8826a;
  --accent-soft-blue: #6a8de8;
  --star-color: #ffe8a0;
  --moon-color: #f5e6b8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1100px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
em { font-style: italic; color: var(--accent-gold); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(180deg, #070d1f 0%, var(--bg-deep) 60%, var(--bg-section) 100%);
  overflow: hidden;
}

.stars-field { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--star-color);
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite alternate;
}
.star-1 { top: 8%; left: 12%; animation-delay: 0s; }
.star-2 { top: 15%; left: 78%; animation-delay: 0.5s; width: 4px; height: 4px; }
.star-3 { top: 25%; left: 45%; animation-delay: 1s; width: 2px; height: 2px; }
.star-4 { top: 5%; left: 60%; animation-delay: 1.5s; }
.star-5 { top: 35%; left: 88%; animation-delay: 0.8s; width: 2px; height: 2px; }
.star-6 { top: 12%; left: 32%; animation-delay: 2s; width: 4px; height: 4px; }
.star-7 { top: 40%; left: 8%; animation-delay: 0.3s; }
.star-8 { top: 20%; left: 92%; animation-delay: 1.2s; width: 2px; height: 2px; }
.star-9 { top: 48%; left: 55%; animation-delay: 2.2s; }
.star-10 { top: 6%; left: 48%; animation-delay: 0.7s; width: 5px; height: 5px; }
.star-11 { top: 30%; left: 20%; animation-delay: 1.8s; width: 2px; height: 2px; }
.star-12 { top: 42%; left: 72%; animation-delay: 0.4s; }

@keyframes twinkle {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.3); }
}

.moon {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--moon-color) 0%, #d4c68a 60%, #b8a86a 100%);
  box-shadow: 0 0 60px rgba(245, 230, 184, 0.25), 0 0 120px rgba(245, 230, 184, 0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg-section));
  pointer-events: none;
}

/* ============ PHILOSOPHY ============ */
.philosophy {
  background: var(--bg-section);
  padding: var(--space-xl) var(--space-md);
}

.philosophy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.philosophy-accent {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  margin-bottom: var(--space-sm);
}

.philosophy h2 {
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 160, 232, 0.08);
  border-radius: 16px;
  padding: var(--space-md);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.philosophy-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(184, 160, 232, 0.18);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
  color: var(--accent-gold);
}

.philosophy-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 600;
}

.philosophy-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ FEATURES ============ */
.features {
  background: var(--bg-deep);
  padding: var(--space-xl) var(--space-md);
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }

.feature-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  display: block;
  margin-bottom: var(--space-xs);
}

.feature-text h2 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

/* Story Cards */
.story-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(232, 185, 74, 0.12);
  border-radius: 20px;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  overflow: hidden;
}

.story-card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 74, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.story-card-lavender { border-color: rgba(184, 160, 232, 0.15); }
.story-card-glow-lavender { background: radial-gradient(circle, rgba(184, 160, 232, 0.12) 0%, transparent 70%); }
.story-card-warm { border-color: rgba(232, 130, 106, 0.15); }
.story-card-glow-warm { background: radial-gradient(circle, rgba(232, 130, 106, 0.12) 0%, transparent 70%); }

.story-theme {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(232, 185, 74, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.story-card-lavender .story-theme {
  color: var(--accent-lavender);
  background: rgba(184, 160, 232, 0.1);
}

.story-card-warm .story-theme {
  color: var(--accent-warm);
  background: rgba(232, 130, 106, 0.1);
}

.story-card h4 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.story-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.story-age {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============ CREDENTIALS ============ */
.credentials {
  background: var(--bg-section);
  padding: var(--space-xl) var(--space-md);
}

.credentials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: start;
}

.credentials-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: var(--space-xs);
}

.credentials-text h2 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.credentials-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.credentials-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding-top: var(--space-md);
}

.badge {
  background: var(--bg-card);
  border: 1px solid rgba(232, 185, 74, 0.1);
  border-radius: 12px;
  padding: var(--space-sm);
  text-align: center;
}

.badge span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.badge {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============ CLOSING ============ */
.closing {
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #070d1f 100%);
  padding: var(--space-xl) var(--space-md) calc(var(--space-xl) + 2rem);
  text-align: center;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.closing-stars { position: absolute; inset: 0; pointer-events: none; }
.star-c1 { top: 15%; left: 10%; animation-delay: 0.2s; }
.star-c2 { top: 25%; left: 85%; animation-delay: 1.1s; width: 4px; height: 4px; }
.star-c3 { top: 60%; left: 20%; animation-delay: 0.6s; width: 2px; height: 2px; }
.star-c4 { top: 70%; left: 75%; animation-delay: 1.7s; }
.star-c5 { top: 40%; left: 50%; animation-delay: 0.9s; width: 5px; height: 5px; }

.closing h2 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.closing-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ============ FOOTER ============ */
.site-footer {
  background: #050a18;
  padding: var(--space-md);
  text-align: center;
  border-top: 1px solid rgba(184, 160, 232, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.footer-sep {
  color: var(--text-muted);
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    direction: ltr;
  }

  .credentials-inner {
    grid-template-columns: 1fr;
  }

  .credentials-badges {
    grid-template-columns: 1fr 1fr;
    padding-top: var(--space-sm);
  }

  .moon {
    width: 50px;
    height: 50px;
    top: 5%;
    right: 8%;
  }

  .hero {
    min-height: 90vh;
    padding: var(--space-lg) var(--space-sm);
  }

  .closing {
    padding: var(--space-lg) var(--space-sm);
  }
}

@media (max-width: 480px) {
  .credentials-badges {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
  }

  .footer-sep { display: none; }
}