/* Astra Vibe — Info Site Styles */
/* Dark cosmic theme matching the main app */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg-deep: #0B0920;
  --bg-card: #161430;
  --bg-elevated: #1E1B3A;
  --text-primary: #E0D8F0;
  --text-secondary: #9E97B5;
  --text-muted: #6B6580;
  --accent-gold: #C9A962;
  --accent-gold-dim: #8B7441;
  --accent-purple: #7C4DFF;
  --border-subtle: rgba(160, 140, 255, 0.12);
  --border-card: rgba(160, 140, 255, 0.18);
}

/* ── Base ──────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #0B0920 0%, #10103A 50%, #0B0920 100%);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #D4BA7D;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 9, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
}

.lang-switch a {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.lang-switch a:hover {
  color: var(--text-primary);
}
.lang-switch a.active {
  color: var(--accent-gold);
  border-color: rgba(201, 169, 98, 0.3);
  background: rgba(201, 169, 98, 0.08);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 77, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-symbol {
  font-size: 3rem;
  color: var(--accent-gold);
  opacity: 0.7;
  margin-bottom: 16px;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; text-shadow: 0 0 0 transparent; }
  50% { opacity: 0.9; text-shadow: 0 0 20px rgba(201, 169, 98, 0.4); }
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #E0D8F0 20%, #C9A962 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 48px 0;
  animation: fade-in 0.6s ease-out both;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }

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

.section-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  border-radius: 1px;
}

.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
    0 4px 24px -4px rgba(100, 60, 220, 0.15);
}

.card + .card {
  margin-top: 16px;
}

/* ── Feature Grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px 20px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(124, 77, 255, 0.35);
  box-shadow: 0 0 20px 3px rgba(124, 77, 255, 0.12);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(to bottom right, rgba(124, 77, 255, 0.15), rgba(90, 60, 200, 0.25));
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Pricing Tables ────────────────────────────────────────── */
.pricing-group {
  margin-bottom: 24px;
}

.pricing-group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-action {
  color: var(--text-secondary);
}

.pricing-cost {
  font-weight: 600;
  color: var(--accent-gold);
  white-space: nowrap;
}

/* ── Packages ──────────────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

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

.package-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
}

.package-card:hover {
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 0 16px 2px rgba(201, 169, 98, 0.12);
}

.package-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.package-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.package-price {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.package-price-alt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Steps ─────────────────────────────────────────────────── */
.steps {
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-purple), #6a35f0);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step p {
  padding-top: 6px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ── CTA Button ────────────────────────────────────────────── */
.cta-wrapper {
  text-align: center;
  padding: 40px 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to bottom, #7C4DFF, #6a35f0);
  border: 1px solid rgba(124, 77, 255, 0.40);
  box-shadow:
    0 0 16px 2px rgba(124, 77, 255, 0.20),
    0 0 4px 1px rgba(124, 77, 255, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-btn:hover {
  color: white;
  background: linear-gradient(to bottom, #9370ff, #7C4DFF);
  box-shadow:
    0 0 24px 4px rgba(124, 77, 255, 0.30),
    0 0 8px 2px rgba(124, 77, 255, 0.22);
  transform: translateY(-1px);
}

/* ── Provider ──────────────────────────────────────────────── */
.provider-info {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.provider-info strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  margin-top: 48px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-copy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-subtle) 30%,
    rgba(201, 169, 98, 0.15) 50%,
    var(--border-subtle) 70%,
    transparent 100%
  );
  margin: 8px 0;
}

/* ── Legal pages ───────────────────────────────────────────── */
.legal-content {
  padding: 48px 0 60px;
}

.legal-content h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-content .subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.legal-content li {
  margin-bottom: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--accent-gold);
  margin-bottom: 24px;
}
.back-link:hover {
  color: #D4BA7D;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero {
    padding: 56px 0 40px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section {
    padding: 32px 0;
  }
  .card {
    padding: 20px;
  }
}
