:root {
  --bg-main: #070d19;
  --bg-alt: #0b1426;
  --bg-card: rgba(17, 29, 53, 0.72);
  --border-color: rgba(148, 163, 184, 0.16);
  --border-highlight: rgba(56, 189, 248, 0.45);
  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --accent: #22d3ee;
  --success: #22c55e;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
}

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

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-hover);
  background: rgba(56, 189, 248, 0.08);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 25, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  color: #fff;
  display: grid;
  place-items: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-link:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(7, 13, 25, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.9rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7dd3fc;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.text-gradient {
  background: linear-gradient(90deg, #38bdf8, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 1.2rem;
  color: #fff;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-color);
}

/* Tarjeta orbital Hero */
.orbital-card {
  background: linear-gradient(160deg, rgba(17, 29, 53, 0.9), rgba(9, 17, 34, 0.95));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}

.orbital-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.orbital-id {
  color: var(--text-muted);
  font-family: monospace;
}

.satellite-illustration {
  background: rgba(7, 13, 25, 0.6);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.satellite-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.telemetry-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
}

.telemetry-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.telemetry-value {
  font-size: 0.98rem;
  font-weight: 700;
}

.text-success {
  color: #4ade80;
}

/* Secciones generales */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.2rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

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

/* Planes */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), border-color var(--transition);
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-featured {
  border-color: var(--primary-hover);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(17, 29, 53, 0.9));
  box-shadow: 0 18px 45px rgba(14, 165, 233, 0.15);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #04111f;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.plan-top h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  min-height: 44px;
}

.plan-speed {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.plan-price .currency {
  font-size: 1.3rem;
  vertical-align: super;
  margin-right: 2px;
}

.plan-price .period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plan-features li {
  font-size: 0.92rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.step-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.35);
  margin-bottom: 0.6rem;
}

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

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

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.14);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(7, 13, 25, 0.75);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-hover);
}

.form-feedback {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-feedback.success {
  color: #4ade80;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background: #050912;
  padding: 3rem 0 1.8rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
  max-width: 380px;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.4rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* Responsivo */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(7, 13, 25, 0.98);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.1rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stat-divider {
    display: none;
  }
}
