/* =========================================
   Lumina Verita — Landing Page Styles
   ========================================= */

:root {
  --bg: #07060e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --gold: #daa520;
  --gold-light: #f0d060;
  --gold-dim: rgba(218, 165, 32, 0.15);
  --gold-border: rgba(218, 165, 32, 0.2);
  --text: #e8e0d0;
  --text-muted: #9a9080;
  --purple: #6a3fa0;
  --purple-dim: rgba(106, 63, 160, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Animated Background ---- */

.bg-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.08), transparent 70%);
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.bg-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(106, 63, 160, 0.1), transparent 70%);
  bottom: 20%;
  left: -150px;
  animation: float 25s ease-in-out infinite reverse;
}

.bg-orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.06), transparent 70%);
  bottom: -100px;
  right: 10%;
  animation: float 18s ease-in-out infinite 5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  animation: twinkle var(--dur) ease-in-out infinite var(--delay);
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: var(--max-opacity, 0.6); }
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(7, 6, 14, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(218, 165, 32, 0.08);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav__icon {
  margin-right: 6px;
}

.nav__cta {
  padding: 8px 20px;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  transition: all 0.3s;
}

.nav__cta:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #c49218);
  color: #0a0a1a;
  box-shadow: 0 4px 24px rgba(218, 165, 32, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(218, 165, 32, 0.5);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--ghost:hover {
  border-color: var(--gold-border);
  background: var(--bg-card);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn__icon {
  font-size: 1.2em;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  background: var(--gold-dim);
  animation: fadeInUp 0.8s ease both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both 0.1s;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero__subtitle {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease both 0.2s;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease both 0.3s;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  animation: fadeInUp 0.8s ease both 0.5s;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

/* ---- Section Headers ---- */

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

.section-header__tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--gold-dim);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ---- Services Grid ---- */

.services {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}

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

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(218, 165, 32, 0.08);
}

.service-card--wide {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.service-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gold);
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card__features li {
  padding: 4px 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--gold);
}

/* ---- How It Works ---- */

.how-it-works {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 16px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.step__arrow {
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.3;
  padding-top: 36px;
}

/* ---- Features ---- */

.features {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.feature {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}

.feature:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gold);
}

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

/* ---- CTA ---- */

.cta {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
  text-align: center;
}

.cta__content {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--gold-dim), var(--purple-dim));
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 64px 40px;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ---- Footer ---- */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

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

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--gold);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }

  .nav__logo {
    font-size: 1.2rem;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero__stats {
    gap: 28px;
  }

  .hero__stat-value {
    font-size: 1.6rem;
  }

  .services__grid,
  .features__grid {
    grid-template-columns: 1fr;
  }

  .service-card--wide {
    max-width: 100%;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step__arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta__content {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

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