/* ============================================================
   SENTINEL · ValkirIA Core I — Global Styles
   Paleta: Dark (#050a0e) + Teal (#00f4fe) + Copper (#c8853a)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');

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

:root {
  --bg-base:        #050a0e;
  --bg-surface:     #0a1219;
  --bg-card:        rgba(10, 18, 25, 0.85);
  --bg-glass:       rgba(0, 244, 254, 0.04);
  --primary:        #00f4fe;
  --primary-dim:    rgba(0, 244, 254, 0.15);
  --primary-dark:   #00a3ad;
  --copper:         #c8853a;
  --copper-dim:     rgba(200, 133, 58, 0.2);
  --text:           #f1f5f9;
  --text-muted:     #94a3b8;
  --text-dim:       #475569;
  --border:         rgba(0, 244, 254, 0.12);
  --border-copper:  rgba(200, 133, 58, 0.25);
  --shadow-teal:    0 0 40px rgba(0, 244, 254, 0.08);
  --shadow-copper:  0 0 40px rgba(200, 133, 58, 0.08);
  --radius-lg:      16px;
  --radius-md:      10px;
  --radius-sm:      6px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 10px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', monospace; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   PAGE LAYOUT — main column + sticky sidebar
   ============================================================ */
.page-wrap {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

.page-main-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.page-sidebar-col {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 68px;
  z-index: 2;
  height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  border-left: 1px solid rgba(0,244,254,0.08);
  background: rgba(5, 10, 14, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Sidebar CTA card — glassmorphism */
.sidebar-cta-card {
  width: 100%;
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: rgba(10, 18, 25, 0.5);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(0, 244, 254, 0.14);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 60px rgba(0, 244, 254, 0.04);
  transition: box-shadow 0.3s, border-color 0.3s;
  position: relative;
}

.sidebar-cta-card:hover {
  border-color: rgba(0, 244, 254, 0.22);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 80px rgba(0, 244, 254, 0.07);
}

.sidebar-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.sidebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  animation: pulse-copper 2s ease-in-out infinite;
  flex-shrink: 0;
}

.sidebar-cta-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.sidebar-odin {
  color: var(--primary);
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.1;
}

.sidebar-cta-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.sidebar-cta-btn {
  width: 100%;
  padding: 12px 16px !important;
  font-size: 0.875rem !important;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.sidebar-plans {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.125rem;
  border-top: 1px solid rgba(0,244,254,0.1);
}

.sidebar-plan {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(0,244,254,0.03);
  border: 1px solid rgba(0,244,254,0.06);
  transition: background 0.2s, border-color 0.2s;
}

.sidebar-plan:hover {
  background: rgba(0,244,254,0.06);
  border-color: rgba(0,244,254,0.12);
}

.sp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  letter-spacing: 0.04em;
}

.sp-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(5, 10, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

/* Brand — left */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(120deg, #e8b84b 0%, #c8853a 60%, #d4963f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.525rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1;
}

.nav-brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav links — center */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

/* Nav actions — right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.nav-acceso-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-acceso-link:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: #050a0e;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0,244,254,0.3);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 2rem 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,163,173,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(200,133,58,0.10) 0%, transparent 60%),
              linear-gradient(170deg, #050a0e 0%, #060d12 40%, #050a0e 100%);
}

/* Animated grid background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,244,254,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,244,254,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

/* Scan line animation */
#hero::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: scan 8s linear infinite;
  opacity: 0.3;
}

@keyframes scan {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* ── GPS Map Routes Background — full page fixed layer ──────────── */
.page-map-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.page-map-bg svg {
  width: 100%;
  height: 100%;
  filter: blur(0.7px);
}

/* Main routes — solid, cyan, very subtle */
.r-main {
  fill: none;
  stroke: #00f4fe;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.09;
}

/* Secondary route — copper dashes */
.r-secondary {
  fill: none;
  stroke: #c8853a;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 7;
  opacity: 0.07;
}

/* Feeder / local streets — dotted, faintest */
.r-feeder {
  fill: none;
  stroke: #00f4fe;
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 4 10;
  opacity: 0.06;
}

/* Short connectors */
.r-connector {
  fill: none;
  stroke: #00f4fe;
  stroke-width: 0.8;
  stroke-linecap: round;
  opacity: 0.06;
}

/* Waypoint dots */
.wp-dot {
  fill: #00f4fe;
  opacity: 0.22;
}

/* Waypoint outer rings */
.wp-ring {
  fill: none;
  stroke: #00f4fe;
  stroke-width: 0.8;
  opacity: 0.12;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}


.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--primary);
  opacity: 0.6;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-title .accent { color: var(--primary); }
.hero-title .accent-copper { color: var(--copper); }

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-desc strong { color: var(--primary); font-weight: 600; }

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

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00c5cc);
  color: #050a0e;
  box-shadow: 0 0 30px rgba(0, 244, 254, 0.3), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 244, 254, 0.45), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 244, 254, 0.12);
}

/* Hero stats row */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Floating dashboard cards */
.hero-visuals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  color: var(--text-muted);
  animation: floatY 4s ease-in-out infinite;
}

.float-card-1 {
  top: 18%; left: 3%;
  animation-delay: 0s;
  max-width: 200px;
}
.float-card-2 {
  top: 60%; right: 4%;
  animation-delay: 1.5s;
  max-width: 180px;
}
.float-card-3 {
  bottom: 15%; left: 6%;
  animation-delay: 3s;
  max-width: 190px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.float-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.float-card-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.float-card-mini { font-size: 0.6875rem; color: var(--text-muted); margin-top: 2px; }

.mini-bar {
  display: flex;
  gap: 3px;
  margin-top: 8px;
}

.mini-bar span {
  flex: 1;
  height: 5px;
  border-radius: 2px;
  background: var(--primary-dim);
}
.mini-bar span.active { background: var(--primary); }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
@keyframes pulse-copper {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 133, 58, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(200, 133, 58, 0); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-title .accent { color: var(--primary); }

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Section divider */
.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin: 1.25rem auto 0;
}

/* ============================================================
   "¿ES PARA MÍ?" SECTION
   ============================================================ */
#es-para-mi {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
}

/* Profile selector tabs */
.profile-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.profile-tab {
  flex: 0 1 auto;
  min-width: 180px;
  padding: 20px 28px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.profile-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,244,254,0.1), rgba(200,133,58,0.05));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.profile-tab.active {
  background: var(--bg-card);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0,244,254,0.2), inset 0 0 20px rgba(0,244,254,0.05);
}

.profile-tab.active::before {
  opacity: 1;
}

.profile-tab:hover:not(.active) {
  border-color: var(--primary-dim);
  color: var(--text);
  background: var(--bg-glass);
  transform: translateY(-2px);
}

.profile-tab-icon {
  display: block;
  width: 28px;
  height: 28px;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: inherit;
  position: relative;
  z-index: 1;
}

.profile-tab > span:not(.profile-tab-icon) {
  position: relative;
  z-index: 1;
}

/* Profile panel */
.profile-panels {
  position: relative;
}

.profile-panel {
  display: none;
  position: relative;
  min-height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.profile-panel.active {
  display: grid;
  animation: fadeInUp 0.4s ease-out;
}

.profile-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.profile-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.profile-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 4rem;
  background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.3) 100%);
  min-height: 100%;
}

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

/* Panel left — specs */
.profile-specs {
  position: relative;
  max-width: 500px;
}

.profile-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.profile-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.profile-desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

/* Specs table */
.specs-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--bg-glass); }

.spec-key {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.spec-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
}

.spec-val.copper { color: var(--copper); }

/* Panel right — media */
.profile-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0a1219, #050a0e);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-teal), 0 20px 60px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
}

.profile-media::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,244,254,0.08);
  pointer-events: none;
  z-index: 3;
}

.profile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  transition: opacity 0.3s;
}

.profile-media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10,18,25,0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 4;
}

/* Multiple vehicles toggle */
.vehicle-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.vehicle-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.vehicle-btn.active {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   LA VERDAD OPERATIVA SECTION
   ============================================================ */
#verdad-operativa {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
  position: relative;
}

#verdad-operativa::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,244,254,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.operativa-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 2;
}

.operativa-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.operativa-subtitle {
  color: var(--primary);
  display: block;
  font-weight: 700;
}

.operativa-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Timeline horizontal layout */
.operativa-timeline-main {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 2rem 0;
  margin: 0 auto 4rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.operativa-timeline-main::-webkit-scrollbar {
  height: 6px;
}

.operativa-timeline-main::-webkit-scrollbar-track {
  background: var(--bg-surface);
  border-radius: 3px;
}

.operativa-timeline-main::-webkit-scrollbar-thumb {
  background: var(--primary-dim);
  border-radius: 3px;
}

.operativa-timeline-main::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  flex: 1;
  min-width: 120px;
  position: relative;
  scroll-snap-align: center;
}

.timeline-item::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dim), var(--primary-dim));
  z-index: 1;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-dot {
  position: relative;
  width: 24px;
  height: 24px;
  background: var(--bg-base);
  border: 3px solid var(--primary-dim);
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 3;
  transition: all 0.3s;
  order: -1;
}

/* Override static active/warning with sequential animations */
.operativa-timeline-main .timeline-dot,
.operativa-timeline-main .timeline-dot.active,
.operativa-timeline-main .timeline-dot.warning {
  border-color: rgba(0,244,254,0.12);
  background: var(--bg-base);
  box-shadow: none;
}

/* Staggered dot activations — green wave */
.operativa-timeline-main .timeline-item:nth-child(2) .timeline-dot {
  animation: dotGreen 8s ease-in-out infinite;
  animation-delay: 0s;
}
.operativa-timeline-main .timeline-item:nth-child(3) .timeline-dot {
  animation: dotGreen 8s ease-in-out infinite;
  animation-delay: 1.1s;
}
.operativa-timeline-main .timeline-item:nth-child(4) .timeline-dot {
  animation: dotRed 8s ease-in-out infinite;
  animation-delay: 2.2s;
}
.operativa-timeline-main .timeline-item:nth-child(5) .timeline-dot {
  animation: dotGreen 8s ease-in-out infinite;
  animation-delay: 3.3s;
}
.operativa-timeline-main .timeline-item:nth-child(6) .timeline-dot {
  animation: dotGreen 8s ease-in-out infinite;
  animation-delay: 4.4s;
}
.operativa-timeline-main .timeline-item:nth-child(7) .timeline-dot {
  animation: dotGreen 8s ease-in-out infinite;
  animation-delay: 5.5s;
}

@keyframes dotGreen {
  0%, 6% {
    border-color: rgba(0,244,254,0.12);
    background: var(--bg-base);
    box-shadow: none;
  }
  16%, 72% {
    border-color: #22c55e;
    background: rgba(34,197,94,0.2);
    box-shadow: 0 0 0 7px rgba(34,197,94,0.12), 0 0 20px rgba(34,197,94,0.35);
  }
  88%, 100% {
    border-color: rgba(0,244,254,0.12);
    background: var(--bg-base);
    box-shadow: none;
  }
}

@keyframes dotRed {
  0%, 6% {
    border-color: rgba(0,244,254,0.12);
    background: var(--bg-base);
    box-shadow: none;
  }
  16%, 72% {
    border-color: #ef4444;
    background: rgba(239,68,68,0.2);
    box-shadow: 0 0 0 7px rgba(239,68,68,0.15), 0 0 22px rgba(239,68,68,0.5);
  }
  88%, 100% {
    border-color: rgba(0,244,254,0.12);
    background: var(--bg-base);
    box-shadow: none;
  }
}

/* Traveling LED scanner */
.timeline-scanner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: calc(2rem + 12px);
  transform: translateY(-50%);
  background-color: #22c55e;
  filter: drop-shadow(0 0 5px #22c55e) drop-shadow(0 0 10px rgba(34,197,94,0.6));
  animation: scanMove 8s linear infinite, scanColor 8s linear infinite;
  z-index: 6;
  pointer-events: none;
  flex-shrink: 0;
}

@keyframes scanMove {
  0%   { left: 5%;  opacity: 0; }
  4%   { opacity: 1; }
  90%  { opacity: 1; left: 93%; }
  96%, 100% { opacity: 0; left: 96%; }
}

@keyframes scanColor {
  0%, 36% {
    background-color: #22c55e;
    filter: drop-shadow(0 0 5px #22c55e) drop-shadow(0 0 10px rgba(34,197,94,0.6));
  }
  41% {
    background-color: #ef4444;
    filter: drop-shadow(0 0 7px #ef4444) drop-shadow(0 0 14px rgba(239,68,68,0.7));
  }
  50%, 100% {
    background-color: #22c55e;
    filter: drop-shadow(0 0 5px #22c55e) drop-shadow(0 0 10px rgba(34,197,94,0.6));
  }
}

.timeline-content {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  text-align: center;
  width: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-item:hover .timeline-content {
  background: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 244, 254, 0.1);
  transform: translateY(-4px);
}

.timeline-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.timeline-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Summary stats */
.operativa-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.summary-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.summary-stat:hover {
  border-color: var(--primary);
  background: var(--bg-surface);
  transform: translateY(-4px);
}

.summary-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.summary-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text);
}

.warning-text {
  color: rgba(245, 158, 11, 0.8);
}

.success-text {
  color: #22c55e;
}

/* ============================================================
   PLANES SECTION
   ============================================================ */
#planes {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
  position: relative;
}

#planes::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,244,254,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  border-color: rgba(0,244,254,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.plan-card.plan-featured {
  border-color: rgba(168,85,247,0.4);
  background: linear-gradient(160deg, rgba(168,85,247,0.07) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 40px rgba(168,85,247,0.1), 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(-8px);
}

.plan-card.plan-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 60px rgba(168,85,247,0.15), 0 25px 60px rgba(0,0,0,0.4);
}

.plan-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(168,85,247,0.4);
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid;
  border-radius: 50px;
  padding: 4px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}

.plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.4;
}

.pf-item.pf-muted {
  color: var(--text-dim);
}

.pf-check, .pf-x {
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1.4;
}

.pf-x {
  color: var(--text-dim);
}

.plan-fleet {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.plan-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.875rem !important;
}

/* ============================================================
   LEADS / CTA SECTION
   ============================================================ */
#demo-cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg-base) 0%, #060e14 100%);
  overflow: hidden;
}

#demo-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,244,254,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.cta-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.cta-title .highlight {
  background: linear-gradient(135deg, var(--primary), #00e0e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}

.cta-pill:hover {
  border-color: var(--primary-dark);
  color: var(--primary);
}

.cta-pill .dot-sm {
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

.modal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.modal-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-label .req { color: var(--primary); margin-left: 2px; }

.form-control {
  background: rgba(0,244,254,0.03);
  border: 1px solid rgba(0,244,254,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-control::placeholder { color: var(--text-dim); }

.form-control:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(0,244,254,0.08);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

select.form-control option { background: #0a1219; color: var(--text); }

.form-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: -6px;
}

/* Consent */
.consent-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0,244,254,0.02);
  cursor: pointer;
}

.consent-box:hover { border-color: var(--primary-dark); }

.consent-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

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

.consent-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.consent-text a:hover { text-decoration: underline; }
.consent-text strong { color: var(--text); }

.form-required-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #00c5cc, var(--primary));
  color: #050a0e;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,244,254,0.35);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show { display: block; }

.success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(0,244,254,0.15), rgba(0,244,254,0.05));
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.success-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.success-desc { color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-surface);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 2rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  max-width: 360px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 3px solid #22c55e; }
.toast.error   { border-left: 3px solid #ef4444; }

/* ============================================================
   SCAN LINE — Extended to all main sections
   ============================================================ */
#es-para-mi,
#verdad-operativa,
#planes,
#contacto {
  overflow: hidden; /* #demo-cta already has it */
}

#es-para-mi::after,
#verdad-operativa::after,
#planes::after,
#demo-cta::after,
#contacto::after {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, transparent 10%, var(--primary) 50%, transparent 90%, transparent 100%);
  animation: scan 12s linear infinite;
  opacity: 0.18;
  pointer-events: none;
  z-index: 10;
}

#es-para-mi::after       { animation-delay: -4s; }
#verdad-operativa::after { animation-delay: -9s; }
#planes::after           { animation-delay: -2s; }
#demo-cta::after         { animation-delay: -7s; }
#contacto::after         { animation-delay: -1s; }

/* ============================================================
   SIDEBAR CARD — Heartbeat glow ring
   ============================================================ */
@keyframes cardGlowRing {
  0%, 100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(200,133,58,0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(200,133,58,0.08), 0 0 30px rgba(200,133,58,0.18);
  }
}

.sidebar-cta-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  border: 1px solid rgba(200,133,58,0.28);
  animation: cardGlowRing 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   LIQUID GLASS — Section containers
   ============================================================ */
#es-para-mi > .container,
#verdad-operativa > .container,
#planes > .container,
#demo-cta > .container,
#contacto > .container {
  position: relative;
  z-index: 2;
  background: rgba(6, 12, 20, 0.5);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.055);
  border-top: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  box-shadow:
    0 4px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ============================================================
   LIQUID GLASS BUTTONS — Solicitar Demo
   ============================================================ */
@keyframes glassSheen {
  0%, 60% { left: -100%; }
  100%     { left: 160%;  }
}

.btn-primary.btn-glass,
.nav-cta.btn-glass {
  background: linear-gradient(
    158deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(0, 244, 254, 0.09) 55%,
    rgba(255, 255, 255, 0.07) 100%
  );
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top-color: rgba(255, 255, 255, 0.44);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 0 24px rgba(0, 244, 254, 0.12);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* nav-cta needs own stacking context for sheen clip */
.nav-cta.btn-glass {
  position: relative;
  overflow: hidden;
}

.btn-primary.btn-glass::before,
.nav-cta.btn-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  animation: glassSheen 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.btn-primary.btn-glass:hover,
.nav-cta.btn-glass:hover {
  background: linear-gradient(
    158deg,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(0, 244, 254, 0.17) 55%,
    rgba(255, 255, 255, 0.13) 100%
  );
  border-top-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 0 40px rgba(0, 244, 254, 0.28);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

/* ============================================================
   NAVBAR — Contáctanos button (outline style)
   ============================================================ */
.nav-cta.nav-contact-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 244, 254, 0.45);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-cta.nav-contact-btn:hover {
  background: rgba(0, 244, 254, 0.09);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 244, 254, 0.18);
  opacity: 1;
}

/* ============================================================
   CONTACTO SECTION
   ============================================================ */
#contacto {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #060e14 0%, var(--bg-base) 100%);
}

#contacto::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(0,244,254,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.75rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  width: 160px;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 18, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s, border-color 0.25s;
}

.social-card:hover {
  transform: translateY(-6px) scale(1.04);
}

.social-icon {
  width: 44px;
  height: 44px;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.social-linkedin  .social-icon { color: #0A66C2; }
.social-facebook  .social-icon { color: #1877F2; }
.social-instagram .social-icon { color: #E1306C; }
.social-whatsapp  .social-icon { color: #25D366; }

.social-linkedin:hover  { border-color: rgba(10,102,194,0.5);  box-shadow: 0 8px 40px rgba(10,102,194,0.28); }
.social-facebook:hover  { border-color: rgba(24,119,242,0.5);  box-shadow: 0 8px 40px rgba(24,119,242,0.28); }
.social-instagram:hover { border-color: rgba(225,48,108,0.5);  box-shadow: 0 8px 40px rgba(225,48,108,0.28); }
.social-whatsapp:hover  { border-color: rgba(37,211,102,0.5);  box-shadow: 0 8px 40px rgba(37,211,102,0.28); }

.social-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}

.social-card--soon {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Hide sidebar on medium screens */
@media (max-width: 1100px) {
  .page-sidebar-col {
    display: none;
  }
}

@media (max-width: 900px) {
  .float-card { display: none; }

  .profile-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-specs { order: 2; }
  .profile-media { order: 1; }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .plan-card.plan-featured {
    transform: translateY(0);
    order: -1;
  }

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

@media (max-width: 700px) {
  #es-para-mi > .container,
  #verdad-operativa > .container,
  #planes > .container,
  #demo-cta > .container,
  #contacto > .container {
    padding: 2.5rem 1.25rem;
    border-radius: 14px;
  }

  .social-grid { gap: 1rem; }
  .social-card { width: 140px; padding: 1.75rem 1rem; }

  .profile-tabs { gap: 0.75rem; }
  .profile-tab {
    flex: 1;
    min-width: 0;
    padding: 16px 12px;
    font-size: 0.75rem;
    gap: 8px;
  }
  .profile-tab-icon { width: 24px; height: 24px; }

  .timeline-item { flex: 0 0 130px; min-width: 110px; }
  .timeline-dot { width: 20px; height: 20px; }
  .timeline-content {
    padding: 0.875rem;
    font-size: 0.8rem;
    min-height: 100px;
  }

  .form-grid { grid-template-columns: 1fr; }
  .modal { padding: 1.5rem; border-radius: 14px; }

  /* Collapse nav links + acceso on mobile; keep brand + button */
  .nav-links { display: none; }
  .nav-acceso-link { display: none; }
  .nav-brand-sub { display: none; }

  .hero-stats { gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
