/* Orbital landing page — minimalista, dark theme */

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

:root {
  --bg: #0a0a0f;
  --bg-card: #14141c;
  --bg-card-hover: #1a1a26;
  --text: #e6e6f0;
  --text-muted: #8888a0;
  --accent: #5b8def;
  --accent-glow: rgba(91, 141, 239, 0.15);
  --gradient-start: #5b8def;
  --gradient-end: #b85bef;
  --border: #2a2a3e;
  --success: #4ade80;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-card);
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent);
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #4a7dde;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  opacity: 1;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--accent-glow), transparent 50%),
    var(--bg);
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-stats strong {
  display: block;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ── Sections ─────────────────────────────────────────────── */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* ── Grid ─────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* ── How section ──────────────────────────────────────────── */
.how {
  background: var(--bg-card);
}

.steps {
  display: grid;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.step-num {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing .card {
  position: relative;
  text-align: center;
}

.pricing .card.highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-card), rgba(91, 141, 239, 0.05));
}

.pricing .card.highlight::before {
  content: "Recomendado";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0 0.25rem;
}

.pricing .price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing .price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing ul li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.footnote {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footnote a {
  color: var(--accent);
}

/* ── Download ─────────────────────────────────────────────── */
.download {
  background: var(--bg-card);
}

.download .card {
  text-align: center;
  cursor: pointer;
}

.download-card .card-icon {
  font-size: 3rem;
}

.cta-text {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
}

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

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  padding: 0.3rem 0;
}

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

.footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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