/* ================================================
   CTA System 2 — Shared premium CTA block
   Used on: Engineering Platform, Market Intelligence
   ================================================ */

.ctas2 {
  position: relative; overflow: hidden;
  background: #02050A; padding: 60px 0 68px;
}

/* Per-page design token overrides */
.ctas2 {
  --ctas2-blue:   #168BFF;
  --ctas2-cyan:   #168BFF;
  --ctas2-muted:  #A9B8C8;
  --ctas2-border: rgba(22,139,255,0.18);
}

/* Atmospheric background glow */
.ctas2-atmo {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 640px 480px at 65% 50%,
    rgba(22,139,255,0.09) 0%, transparent 70%);
}

/* Particle canvas */
.ctas2-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.6;
}

/* 52% text | 48% visual */
.ctas2-layout {
  display: grid; grid-template-columns: 52fr 48fr;
  gap: 0; align-items: center; position: relative; z-index: 2;
}

/* ── Text side ── */
.ctas2-content { padding: 40px 48px 40px 0; }
.ctas2-eyebrow {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ctas2-cyan); margin-bottom: 16px;
}
.ctas2-content h2 {
  font-size: clamp(28px,2.6vw,44px); font-weight: 900;
  color: #fff; line-height: 1.1; margin: 0 0 20px;
}
.ctas2-content p {
  font-size: 15px; color: var(--ctas2-muted); line-height: 1.7;
  margin-bottom: 32px; max-width: 420px;
}
.ctas2-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.ctas2-trust  { display: flex; flex-wrap: wrap; gap: 16px; }
.ctas2-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--ctas2-muted);
}
.ctas2-trust-item svg { stroke: var(--ctas2-cyan); fill: none; stroke-width: 2; flex-shrink: 0; }

/* Buttons */
.ctas2-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg,#168BFF 0%,#0B5CFF 100%);
  border: 1px solid rgba(22,139,255,0.38); border-radius: 28px;
  color: #fff; font-size: 14px; font-weight: 700; text-decoration: none;
  transition: all 0.3s;
}
.ctas2-btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: #fff; }
.ctas2-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 28px; color: var(--ctas2-muted); font-size: 13px;
  font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.ctas2-btn-ghost:hover { border-color: var(--ctas2-blue); color: #fff; }

/* ── Visual side ── */
.ctas2-visual { position: relative; }
.ctas2-holo-wrap {
  position: relative; margin-right: -64px;
}

/* Holographic glow layers */
.ctas2-holo-glow-1 {
  position: absolute; inset: -14%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 70% at 50% 50%,
    rgba(22,139,255,0.22) 0%, transparent 65%);
  filter: blur(24px);
}
.ctas2-holo-glow-2 {
  position: absolute; inset: -5%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,
    rgba(22,139,255,0.14) 0%, transparent 60%);
  filter: blur(12px);
}

/* Orbital pulse rings */
.ctas2-ring {
  position: absolute; top: 50%; left: 40%;
  border-radius: 50%; border: 1px solid rgba(22,139,255,0.22);
  transform: translate(-50%,-50%); pointer-events: none; z-index: 1;
  animation: ctas2RingPulse 3.6s ease-out infinite;
}
.ctas2-ring-1 { width: 55%; height: 55%; animation-delay: 0s; }
.ctas2-ring-2 { width: 72%; height: 72%; animation-delay: 0.9s; border-color: rgba(22,139,255,0.14); }
.ctas2-ring-3 { width: 90%; height: 90%; animation-delay: 1.8s; border-color: rgba(22,139,255,0.07); }
@keyframes ctas2RingPulse {
  0%   { transform: translate(-50%,-50%) scale(0.86); opacity: 0.7; }
  100% { transform: translate(-50%,-50%) scale(1.22); opacity: 0; }
}

/* Main CTA image */
.ctas2-img {
  position: relative; z-index: 2; display: block;
  width: 100%; height: auto; border-radius: 16px;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 8%, black 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 8%, black 94%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-composite: intersect;
  filter: drop-shadow(0 0 32px rgba(22,139,255,0.22)) drop-shadow(0 0 80px rgba(22,139,255,0.10));
  transition: transform 0.08s linear;
  will-change: transform;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ctas2-holo-wrap { margin-right: -24px; }
}
@media (max-width: 768px) {
  .ctas2-layout { grid-template-columns: 1fr; gap: 40px; }
  .ctas2-content { padding: 0; }
  .ctas2-holo-wrap { margin-right: 0; }
  .ctas2-img { -webkit-mask-image: none; mask-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ctas2-ring { animation: none; opacity: 0; }
  .ctas2-img  { transition: none; }
}
