/* SynapFuse Landing — Velvet Rope CTA: Initiate Calibration (ACE-150) */

/* -----------------------------------------------------------------------
   Section layout
   ----------------------------------------------------------------------- */

.cta-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px var(--sf-space-lg);
  background: var(--sf-bg);
  z-index: 7;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sf-space-2xl);
  max-width: 1040px;
  width: 100%;
  align-items: center;
}

/* -----------------------------------------------------------------------
   Content (left side)
   ----------------------------------------------------------------------- */

.cta-headline {
  font-family: var(--sf-font-mono);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.02em;
  color: var(--sf-text);
  margin: 0 0 var(--sf-space-lg);
}

.cta-subtext {
  margin: 0 0 var(--sf-space-lg);
}

.cta-subtext p {
  font-family: var(--sf-font-primary);
  font-size: var(--sf-text-sm);
  line-height: 1.7;
  color: var(--sf-text-muted);
  margin: 0 0 var(--sf-space-sm);
}

.cta-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sf-space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-bullets li {
  position: relative;
  padding-left: 18px;
  font-family: var(--sf-font-primary);
  font-size: var(--sf-text-sm);
  line-height: 1.5;
  color: var(--sf-text-muted);
}

.cta-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sf-alignment);
  opacity: 0.5;
}

.cta-caption {
  font-family: var(--sf-font-mono);
  font-size: var(--sf-text-xs);
  letter-spacing: 0.06em;
  color: var(--sf-alignment);
  opacity: 0.7;
  margin: 0 0 var(--sf-space-xl);
}

/* -----------------------------------------------------------------------
   CTA button
   ----------------------------------------------------------------------- */

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--sf-font-mono);
  font-size: var(--sf-text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--sf-bg);
  background: var(--sf-alignment);
  border: none;
  border-radius: var(--sf-radius-lg);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--sf-ease-out),
              box-shadow 0.25s var(--sf-ease-out);
  box-shadow: 0 0 24px rgba(79, 227, 193, 0.15),
              0 0 48px rgba(79, 227, 193, 0.05);
  animation: cta-glow-pulse 3s ease-in-out infinite;
}

.cta-button:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 0 32px rgba(79, 227, 193, 0.3),
              0 0 64px rgba(79, 227, 193, 0.1);
}

.cta-button:active {
  transform: scale(0.98);
}

@keyframes cta-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(79, 227, 193, 0.15),
                0 0 48px rgba(79, 227, 193, 0.05);
  }
  50% {
    box-shadow: 0 0 36px rgba(79, 227, 193, 0.25),
                0 0 72px rgba(79, 227, 193, 0.1);
  }
}

/* -----------------------------------------------------------------------
   Visualization panel (right side)
   ----------------------------------------------------------------------- */

.cta-viz-panel {
  padding: var(--sf-space-lg);
  border-radius: var(--sf-radius-lg);
  background: var(--sf-glass-bg);
  border: 1px solid rgba(79, 227, 193, 0.08);
  backdrop-filter: var(--sf-glass-blur);
  -webkit-backdrop-filter: var(--sf-glass-blur);
  box-shadow: 0 0 24px rgba(79, 227, 193, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-viz-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* -----------------------------------------------------------------------
   Domain nodes
   ----------------------------------------------------------------------- */

.cta-domain-node {
  animation: cta-node-fade-in 0.6s ease-out both;
}

.cta-ring-progress {
  transition: stroke-dashoffset 0.5s ease-out;
}

.cta-node-dot {
  animation: cta-dot-pulse 3s ease-in-out infinite;
}

.cta-node-label {
  font-family: var(--sf-font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-orbit-ring {
  animation: cta-orbit-rotate 60s linear infinite;
  transform-origin: 200px 200px;
}

.cta-center-marker {
  animation: cta-dot-pulse 3s ease-in-out infinite;
}

.cta-center-label {
  font-family: var(--sf-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

@keyframes cta-node-fade-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cta-dot-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

@keyframes cta-orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* -----------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: var(--sf-space-xl);
  }
  .cta-headline {
    font-size: 24px;
  }
  .cta-section {
    padding: 80px var(--sf-space-lg);
  }
  .cta-viz-svg {
    max-width: 320px;
  }
}
