/* ==========================================================================
   GADOTS — Sistema de Agentes Autónomos con IA 24/7
   Paleta Oficial:
   - Deep Midnight: #080C1F / #0B1026
   - Electric Cobalt: #1D40FF
   - Active Agent Orange: #FF7A1A
   - Terminal Slate: #94A3B8
   ========================================================================== */

:root {
  --bg-deep: #070b1a;
  --bg-midnight: #0b1026;
  --bg-card: #111836;
  --bg-card-elevated: #162047;
  --blue-electric: #1d40ff;
  --blue-electric-glow: rgba(29, 64, 255, 0.45);
  --blue-soft: #6382ff;
  --orange-agent: #ff7a1a;
  --orange-agent-glow: rgba(255, 122, 26, 0.5);
  --green-online: #10b981;
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-blue: rgba(29, 64, 255, 0.4);
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(29, 64, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(255, 122, 26, 0.09) 0%, transparent 35%),
    var(--bg-deep);
}

/* ==========================================================================
   Scroll Progress Indicator (modern-web-guidance: scroll-progress-indicator)
   ========================================================================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-electric) 0%, var(--orange-agent) 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 9999;
  box-shadow: 0 0 12px var(--orange-agent-glow);
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }

    #scroll-progress {
      animation: grow-progress auto linear;
      animation-timeline: scroll();
    }
  }
}

/* ==========================================================================
   Utility & Layout
   ========================================================================== */
.container {
  width: min(1240px, 92vw);
  margin-inline: auto;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.dot-orange {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange-agent);
  box-shadow: 0 0 10px var(--orange-agent);
  display: inline-block;
  animation: pulse-orange 2s infinite ease-in-out;
}

.dot-blue {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-electric);
  box-shadow: 0 0 10px var(--blue-electric);
  display: inline-block;
}

@keyframes pulse-orange {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.75; }
}

/* ==========================================================================
   Top Telemetry Bar & Navbar
   ========================================================================== */
.telemetry-bar {
  background: rgba(11, 16, 38, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.telemetry-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.telemetry-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.telemetry-metrics span strong {
  color: var(--text-white);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 11, 26, 0.78);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.25s ease, background 0.25s ease;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.brand-logo svg {
  width: 38px;
  height: 38px;
  overflow: visible;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
}

.brand-o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-o::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-agent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--blue-electric);
  color: var(--text-white);
  box-shadow: 0 8px 28px -6px var(--blue-electric-glow);
}

.btn-primary:hover {
  background: #2b4eff;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -4px var(--blue-electric-glow);
}

.btn-orange {
  background: var(--orange-agent);
  color: #070b1a;
  box-shadow: 0 8px 26px -6px var(--orange-agent-glow);
}

.btn-orange:hover {
  background: #ff8b38;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--text-white);
  color: #070b1a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: rgba(29, 64, 255, 0.13);
  border: 1px solid rgba(29, 64, 255, 0.4);
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.65rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.hero-title .accent-orange {
  color: var(--orange-agent);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--text-white);
  font-weight: 600;
}

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

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-tag {
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pill-tag:hover {
  border-color: var(--orange-agent);
  background: rgba(255, 122, 26, 0.08);
  transform: translateY(-2px);
}

/* Interactive G Constellation Card */
.constellation-stage {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(29, 64, 255, 0.22), rgba(11, 16, 38, 0.92) 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.constellation-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

#g-constellation-canvas {
  width: 100%;
  max-width: 390px;
  height: 360px;
  cursor: crosshair;
  display: block;
}

.agent-inspector {
  width: 100%;
  background: rgba(7, 11, 26, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-top: 0.5rem;
  transition: border-color 0.25s ease;
}

.agent-inspector-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.agent-inspector-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agent-inspector-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange-agent);
  background: rgba(255, 122, 26, 0.12);
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
}

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

/* ==========================================================================
   IDENTITY BANNER ("Somos Gadots" Electric Cobalt Section)
   ========================================================================== */
.cobalt-banner {
  background: var(--blue-electric);
  color: var(--text-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cobalt-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 122, 26, 0.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(7, 11, 26, 0.35), transparent 50%);
  pointer-events: none;
}

.cobalt-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cobalt-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 1.25rem;
}

.cobalt-lead {
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8rem;
}

.cobalt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cobalt-pill {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.cobalt-stats-card {
  background: rgba(7, 11, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(7, 11, 26, 0.45);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.stat-value span {
  color: var(--orange-agent);
}

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

/* ==========================================================================
   11:48 PM LIVE SIMULATOR SECTION ("El agente en acción")
   ========================================================================== */
.simulator-section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.scenario-btn {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
}

.scenario-btn:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.scenario-btn.active {
  background: var(--blue-electric);
  color: var(--text-white);
  border-color: var(--blue-electric);
  box-shadow: 0 8px 25px -5px var(--blue-electric-glow);
}

.simulator-workbench {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: stretch;
}

/* Left Panel: WhatsApp Conversation Replica */
.wa-card {
  background: #101735;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.wa-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.wa-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  min-height: 300px;
}

.wa-bubble {
  max-width: 82%;
  padding: 0.95rem 1.25rem;
  border-radius: 16px;
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  animation: bubble-in 0.35s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bubble-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-bubble.client {
  align-self: flex-start;
  background: #232c4b;
  color: var(--text-white);
  border-bottom-left-radius: 4px;
}

.wa-bubble.agent {
  align-self: flex-end;
  background: var(--blue-electric);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 10px 24px -6px var(--blue-electric-glow);
}

/* Exact Action Log Footer from Image 3 */
.wa-logs {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.wa-log-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-8px);
  animation: log-in 0.35s forwards ease;
}

.wa-log-line.highlight-orange {
  color: var(--orange-agent);
  font-weight: 600;
}

@keyframes log-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Right Panel: Live CRM + Google Calendar State */
.crm-panel {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.crm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.crm-card-block {
  background: rgba(7, 11, 26, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.crm-card-block.updated {
  border-color: var(--orange-agent);
  box-shadow: 0 0 25px -8px var(--orange-agent-glow);
}

.crm-block-title {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.crm-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.crm-field-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.crm-field-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(29, 64, 255, 0.2);
  color: #8da2ff;
  border: 1px solid rgba(29, 64, 255, 0.4);
}

.sim-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ==========================================================================
   WHAT IT DOES 24/7 (Image 4 High-Contrast Light/Dark Hybrid Architecture)
   ========================================================================== */
.capabilities-section {
  padding: 6rem 0;
}

.capabilities-wrapper {
  background: #f4f6fb;
  color: #0b1026;
  border-radius: 32px;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.capabilities-wrapper .mono-tag {
  color: #475569;
}

.capabilities-title {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #0b1026;
  margin: 0.6rem 0 2.5rem;
}

.capabilities-title span {
  color: var(--blue-electric);
}

.capabilities-list {
  display: flex;
  flex-direction: column;
}

.capability-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.45rem 0.75rem;
  border-bottom: 1px solid rgba(11, 16, 38, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, padding-left 0.2s ease;
  border-radius: 12px;
}

.capability-row:hover {
  background: rgba(29, 64, 255, 0.05);
  padding-left: 1.25rem;
}

.cap-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-electric);
  flex-shrink: 0;
}

.capability-row.orange-row .cap-dot {
  background: var(--orange-agent);
  box-shadow: 0 0 12px var(--orange-agent);
}

.cap-name {
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 700;
  color: #0b1026;
  letter-spacing: -0.02em;
}

.cap-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #475569;
  background: rgba(11, 16, 38, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
}

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

.capabilities-footnote {
  font-size: 1.12rem;
  color: #475569;
  max-width: 640px;
}

/* ==========================================================================
   PRESENTATION DECK & VIDEO SHOWCASE SECTION
   ========================================================================== */
.deck-section {
  padding: 6rem 0;
}

.deck-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.deck-controls {
  display: flex;
  gap: 0.65rem;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--blue-electric);
  border-color: var(--blue-electric);
}

.deck-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 340px);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-electric) var(--bg-midnight);
}

.deck-card {
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.deck-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-electric);
}

.deck-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.deck-card-caption {
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FINAL CTA SECTION (Image 6 — "Pruébalo tú mismo")
   ========================================================================== */
.cta-section {
  padding: 4rem 0 6.5rem;
}

.cta-box {
  background: var(--blue-electric);
  border-radius: 32px;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 90px -15px var(--blue-electric-glow);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0.9rem 0 1.2rem;
}

.cta-subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
  margin: 0 auto 2.4rem;
}

.cta-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  color: #0b1026;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 800;
  padding: 1.1rem 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(7, 11, 26, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.cta-whatsapp-pill:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 28px 60px rgba(7, 11, 26, 0.45);
}

.cta-meta {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   MODAL DIALOG (modern-web-guidance: light-dismiss-a-dialog)
   ========================================================================== */
dialog.gadots-dialog {
  margin: auto;
  width: min(560px, 92vw);
  background: var(--bg-midnight);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

dialog.gadots-dialog::backdrop {
  background-color: rgba(4, 7, 18, 0.72);
  backdrop-filter: blur(6px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.dialog-close {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.diag-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.form-group select option {
  background: var(--bg-midnight);
  color: var(--text-white);
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-midnight);
  color: var(--text-white);
  border: 1px solid rgba(255, 122, 26, 0.5);
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.floating-wa:hover {
  transform: translateY(-3px);
  border-color: var(--orange-agent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .cobalt-grid,
  .simulator-workbench {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .telemetry-metrics {
    display: none;
  }
}
