/* Aether Landing Page - Extends main styles */
:root {
  color-scheme: dark;
  --bg-0: #020617;
  --bg-1: #08111f;
  --bg-2: #0f172a;
  --panel: rgba(8, 15, 31, 0.76);
  --panel-strong: rgba(10, 18, 36, 0.92);
  --line: rgba(147, 197, 253, 0.16);
  --text: #eef4ff;
  --muted: #9fb1d4;
  --accent-a: #7dd3fc;
  --accent-b: #818cf8;
  --accent-c: #c084fc;
  --success: #6ee7b7;
  --warning: #fbbf24;
  --danger: #fb7185;
  --aether-primary: #c084fc;
  --aether-secondary: #7dd3fc;
  --glow-size: 24px;
  --page-gap: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 12%, rgba(192, 132, 252, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(125, 211, 252, 0.18), transparent 25%),
    radial-gradient(circle at 52% 88%, rgba(34, 211, 238, 0.15), transparent 32%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 45%, #030712 100%);
  color: var(--text);
  font-family: 'Avenir Next', 'Inter', 'Segoe UI', sans-serif;
}

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

.nebula-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle at 26% 62%, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.3px),
    radial-gradient(circle at 48% 16%, rgba(192, 132, 252, 0.58) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 66% 74%, rgba(125, 211, 252, 0.54) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.3px),
    radial-gradient(circle at 88% 88%, rgba(34, 211, 238, 0.44) 0 1px, transparent 1.4px);
  opacity: 0.9;
  animation: drift 26s linear infinite;
}

.site-shell {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px;
}

/* Topbar */
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  margin-bottom: 32px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

.brand-mark--aether {
  background: linear-gradient(135deg, var(--aether-primary), var(--aether-secondary));
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-copy small {
  font-size: 0.75rem;
  color: var(--muted);
}

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

.topnav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.topnav a:hover {
  color: var(--text);
}

.topbar-actions {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-b), var(--accent-c));
  color: white;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(129, 140, 248, 0.3);
}

.btn--secondary {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}

.btn--secondary:hover {
  background: var(--panel-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
}

.btn--large {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 20px;
}

.eyebrow {
  color: var(--aether-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text), var(--aether-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

/* Model Stats */
.model-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 32px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-kicker {
  color: var(--aether-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 600;
}

/* Model Grid */
.models-section,
.features-section,
.pricing-section {
  padding: 60px 20px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.model-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}

.model-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-b);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.model-card--featured {
  border-color: var(--aether-primary);
  box-shadow: 0 0 32px rgba(192, 132, 252, 0.2);
}

.model-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent-b);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.model-badge--free {
  background: var(--success);
  color: #022c22;
}

.model-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 16px 0 8px;
}

.model-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.model-capabilities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.capability {
  background: var(--bg-2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--muted);
}

.model-pricing {
  margin-bottom: 20px;
}

.model-pricing .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.model-pricing .unit {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--aether-primary);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-b), var(--accent-c));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
}

.pricing-tier {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 24px;
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-price .period {
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pricing-features li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--panel);
  border-radius: 24px;
  margin: 40px 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

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

/* Animations */
@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topnav {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

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