/* =============================================
   TRIGADA AI — "Around-the-clock companion" section
   Two-column: feature copy (left) + animated radar (right).
   Home page only.
   ============================================= */

/* Hero: "AI" accented in brand orange + tagline subtitle */
.hero-ai { color: var(--brand-primary); }

.hero-subtitle {
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

/* Section layout */
.tc-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 900px) {
  .tc-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-16);
  }
}

.tc-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tc-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tc-lead {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.tc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-2);
}

.tc-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.tc-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 122, 61, 0.12);
  border: 1px solid rgba(255, 122, 61, 0.3);
}

.tc-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-primary);
}

.tc-feature-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.tc-feature-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.tc-feature-body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.tc-feature-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-soft);
  line-height: 1.5;
}

.tc-feature-note svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--brand-primary);
}

/* ---- Animated radar visual ---- */
.tc-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.tc-radar {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
}

.tc-radar-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tc-ring {
  fill: none;
  stroke: rgba(255, 122, 61, 0.22);
  stroke-width: 1;
}

.tc-cross {
  stroke: rgba(255, 122, 61, 0.10);
  stroke-width: 1;
}

.tc-cross-diag {
  stroke: rgba(255, 255, 255, 0.045);
}

.tc-tick {
  stroke: rgba(255, 122, 61, 0.35);
  stroke-width: 2;
}

/* Rotating sweep beam */
.tc-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 122, 61, 0) 0deg,
    rgba(255, 122, 61, 0) 280deg,
    rgba(255, 122, 61, 0.08) 320deg,
    rgba(255, 122, 61, 0.5) 360deg
  );
  -webkit-mask: radial-gradient(circle at center, #000 99.5%, transparent 100%);
          mask: radial-gradient(circle at center, #000 99.5%, transparent 100%);
  animation: tc-spin 4.5s linear infinite;
}

@keyframes tc-spin {
  to { transform: rotate(360deg); }
}

/* Glowing center core + pulse */
.tc-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 18px 4px rgba(255, 122, 61, 0.65);
}

.tc-core::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 122, 61, 0.6);
  animation: tc-ping 2.6s ease-out infinite;
}

@keyframes tc-ping {
  0%   { transform: scale(1); opacity: 0.7; }
  80%  { transform: scale(6); opacity: 0; }
  100% { transform: scale(6); opacity: 0; }
}

/* Detected-signal blips */
.tc-blip {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 10px 2px rgba(255, 168, 121, 0.7);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  animation: tc-blip 3.6s ease-in-out infinite;
}

@keyframes tc-blip {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  12%      { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  45%      { opacity: 0.45; transform: translate(-50%, -50%) scale(0.8); }
}

.tc-visual-caption {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.tc-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--profit);
  box-shadow: 0 0 8px var(--profit);
  animation: tc-dot 1.8s ease-in-out infinite;
}

@keyframes tc-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .tc-sweep { animation: none; opacity: 0.5; }
  .tc-core::after { animation: none; opacity: 0; }
  .tc-blip { animation: none; opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
  .tc-pulse-dot { animation: none; }
}
