/* ============================================
   TITAN SURVEILLANCE - VISUAL ENHANCEMENTS
   Premium refinement layer over existing styles
   ============================================ */

/* --- INTER FONT (system fallback if blocked) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- REFINED COLOUR PALETTE --- */
:root {
  --accent-bright: #e94560;
  --accent-gold: #f39c12;
  --accent-teal: #0ea5a0;
  --accent-cyan: #06b6d4;
  --surface-elevated: #ffffff;
  --surface-subtle: #f1f5f9;
  --surface-muted: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-subtle: rgba(15,23,42,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* --- TYPOGRAPHY REFINEMENT --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.01em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0;
  line-height: 1.75;
  max-width: 720px;
}

/* --- SECTION DIVIDERS --- */
.services-section,
.features-section,
.process-section,
.testimonials-section {
  position: relative;
}

.services-section::before,
.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 1000px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
}

/* --- ENHANCED CARD STYLING --- */
.service-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  border-color: rgba(233, 69, 96, 0.15);
  box-shadow: 0 8px 40px rgba(15,23,42,0.08), 0 2px 8px rgba(233,69,96,0.06);
  transform: translateY(-6px);
}

.service-card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-teal));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-teal));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: rgba(14, 165, 160, 0.2);
  box-shadow: 0 12px 40px rgba(14, 165, 160, 0.08), 0 4px 12px rgba(0,0,0,0.04);
}

/* --- IMPROVED FEATURE ICONS --- */
.feature-icon,
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(233,69,96,0.08), rgba(14,165,160,0.06));
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

/* --- BUTTON ENHANCEMENTS --- */
.btn-primary {
  background: linear-gradient(135deg, #e94560 0%, #c0392b 100%);
  box-shadow: 0 4px 14px rgba(233,69,96,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(233,69,96,0.35), 0 2px 8px rgba(233,69,96,0.2);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  border: 2px solid rgba(233,69,96,0.6);
  backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-secondary:hover {
  background: rgba(233,69,96,0.1);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(233,69,96,0.15);
}

/* --- HERO SECTION IMPROVEMENTS --- */
.hero {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.hero::before {
  background-image: 
    radial-gradient(ellipse at 15% 50%, rgba(14,165,160,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(233,69,96,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(243,156,18,0.04) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke-width='1'%3E%3Ccircle cx='150' cy='150' r='40' stroke='rgba(14,165,160,0.06)'/%3E%3Ccircle cx='150' cy='150' r='16' stroke='rgba(14,165,160,0.04)'/%3E%3Crect x='115' y='130' width='70' height='40' rx='8' stroke='rgba(14,165,160,0.05)'/%3E%3Cpath d='M185 150 L240 150' stroke='rgba(14,165,160,0.03)'/%3E%3Cpath d='M240 150 L260 130 M240 150 L260 170' stroke='rgba(14,165,160,0.03)'/%3E%3Ccircle cx='650' cy='650' r='35' stroke='rgba(233,69,96,0.05)'/%3E%3Ccircle cx='650' cy='650' r='14' stroke='rgba(233,69,96,0.04)'/%3E%3Crect x='618' y='632' width='64' height='36' rx='7' stroke='rgba(233,69,96,0.04)'/%3E%3Ccircle cx='400' cy='400' r='100' stroke='rgba(255,255,255,0.015)'/%3E%3Ccircle cx='400' cy='400' r='160' stroke='rgba(255,255,255,0.01)'/%3E%3Ccircle cx='400' cy='400' r='220' stroke='rgba(255,255,255,0.008)'/%3E%3Cpath d='M0 400 L800 400' stroke='rgba(255,255,255,0.012)'/%3E%3Cpath d='M400 0 L400 800' stroke='rgba(255,255,255,0.012)'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

/* --- STATS SECTION POLISH --- */
.stats-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 4.5rem 0;
}

.stat-item {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}

.stat-item h3 {
  background: linear-gradient(135deg, #ffffff, var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- PROCESS SECTION --- */
.process-number {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-teal) 100%);
  box-shadow: 0 6px 20px rgba(14,165,160,0.25);
}

.process-grid::before {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-teal), var(--accent-bright));
  opacity: 0.6;
}

/* --- TESTIMONIALS POLISH --- */
.testimonial-card-new {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.testimonial-card-new:hover {
  box-shadow: 0 12px 40px rgba(14,165,160,0.06), 0 4px 12px rgba(0,0,0,0.04);
  border-color: rgba(14,165,160,0.15);
}

.testimonial-avatar {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-teal));
}

/* --- TRUST BADGES REFINEMENT --- */
.trust-badge-icon {
  background: linear-gradient(135deg, rgba(14,165,160,0.06), rgba(233,69,96,0.04));
  border: 1px solid rgba(14,165,160,0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge-icon {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(14,165,160,0.12);
  border-color: rgba(14,165,160,0.25);
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
}

.cta-section::before {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(14,165,160,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(233,69,96,0.06) 0%, transparent 50%);
}

/* --- FOOTER ENHANCEMENT --- */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.footer-col a:hover {
  color: var(--accent-teal);
}

/* --- SECTION HEADING UNDERLINES --- */
.services-section h2::after,
.features-section h2::after,
.process-section h2::after,
.testimonials-section h2::after {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-teal));
  height: 3px;
  width: 60px;
}

/* --- CONTENT SECTION LINK COLOUR --- */
.content-section a:not(.btn-primary):not(.btn-secondary) {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.content-section a:not(.btn-primary):not(.btn-secondary):hover {
  color: var(--accent-teal);
}

/* --- PAGE HEADER ENHANCEMENT --- */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f3460 100%);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.page-header::before {
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(14,165,160,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(233,69,96,0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'%3E%3Cg fill='none' stroke='rgba(14,165,160,0.04)' stroke-width='1'%3E%3Ccircle cx='50' cy='100' r='20'/%3E%3Ccircle cx='50' cy='100' r='8'/%3E%3Crect x='34' y='88' width='32' height='24' rx='5'/%3E%3Cpath d='M82 100 L120 100' stroke-dasharray='4 4'/%3E%3Ccircle cx='350' cy='80' r='18'/%3E%3Ccircle cx='350' cy='80' r='7'/%3E%3Crect x='335' y='69' width='30' height='22' rx='5'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- SUBTLE HOVER ANIMATIONS --- */
.service-card .link {
  position: relative;
  display: inline-block;
}

.service-card .link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card .link:hover::after {
  width: 100%;
}

.service-card .link:hover {
  color: var(--accent-teal);
}

/* --- CONNECTIVITY THEMED BACKGROUND FOR SECTIONS --- */
.features-section {
  background: 
    linear-gradient(180deg, white 0%, var(--surface-subtle) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='rgba(14,165,160,0.03)' stroke-width='0.5'%3E%3Ccircle cx='100' cy='100' r='3'/%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3Ccircle cx='160' cy='40' r='2'/%3E%3Ccircle cx='40' cy='160' r='2'/%3E%3Ccircle cx='160' cy='160' r='2'/%3E%3Cline x1='100' y1='100' x2='40' y2='40'/%3E%3Cline x1='100' y1='100' x2='160' y2='40'/%3E%3Cline x1='100' y1='100' x2='40' y2='160'/%3E%3Cline x1='100' y1='100' x2='160' y2='160'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- GLASS MORPHISM FOR HERO BADGE --- */
.hero-badge {
  background: rgba(14, 165, 160, 0.1);
  border: 1px solid rgba(14, 165, 160, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- SMOOTH SCROLL PROGRESS INDICATOR VIA CSS --- */
.header {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 1px 4px rgba(0,0,0,0.1);
}

/* --- SERVICE IMAGE OVERLAY GRADIENT --- */
.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.4) 100%);
  opacity: 0.5;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover .service-image::after {
  opacity: 0.8;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .feature-icon,
  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    border-radius: 12px;
  }
  
  .trust-badges {
    gap: 1.5rem;
  }
  
  .trust-badge-icon {
    width: 50px;
    height: 50px;
  }
}

/* --- PRINT CLEANUP --- */
@media print {
  .hero::before,
  .hero::after,
  .page-header::before,
  .stats-section::before {
    display: none;
  }
}


/* === VIEWFINDER CORNERS ON SERVICE IMAGES === */
.service-image {
  position: relative;
}

.service-image::before,
.service-image::after,
.service-card:hover .service-content::before,
.service-card:hover .service-content::after {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-card:hover .service-image {
  position: relative;
}

.service-card .service-image .viewfinder {
  display: none;
}

/* Viewfinder corners via box-shadow trick on hover */
.service-image {
  overflow: hidden;
}

.service-image img {
  position: relative;
}

/* Top-left and bottom-right corner brackets */
.service-card::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border-top: 2px solid rgba(14, 165, 160, 0.8);
  border-left: 2px solid rgba(14, 165, 160, 0.8);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  border-radius: 2px 0 0 0;
}

.service-card:hover::after {
  opacity: 1;
}

/* Additional corners using the service-content pseudo */
.service-content {
  position: relative;
}

.service-content::before {
  content: '';
  position: absolute;
  top: -232px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-top: 2px solid rgba(14, 165, 160, 0.8);
  border-right: 2px solid rgba(14, 165, 160, 0.8);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  border-radius: 0 2px 0 0;
}

.service-card:hover .service-content::before {
  opacity: 1;
}

/* === SIGNAL PULSE ON STATS === */
.stat-item {
  position: relative;
  overflow: hidden;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(14, 165, 160, 0.06);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.stat-item:hover::after {
  width: 200px;
  height: 200px;
}

/* === CROSSHAIR CURSOR ON HERO (desktop only) === */
@media (hover: hover) and (min-width: 769px) {
  .hero {
    cursor: crosshair;
  }
}

/* === REC INDICATOR BLINK === */
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e94560;
  margin-right: 8px;
  animation: recBlink 1.5s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(233, 69, 96, 0.6);
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* === NETWORK NODE GLOW ON FEATURE CARDS === */
.feature-card {
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -1px;
  right: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: 0 0 8px rgba(14, 165, 160, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
  animation: nodeGlow 2s ease-in-out infinite;
}

@keyframes nodeGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(14, 165, 160, 0.5); }
  50% { box-shadow: 0 0 16px rgba(14, 165, 160, 0.8), 0 0 32px rgba(14, 165, 160, 0.3); }
}

/* === SMOOTH GRADIENT BORDER ON TESTIMONIAL HOVER === */
.testimonial-card-new:hover {
  border-image: linear-gradient(135deg, rgba(233,69,96,0.3), rgba(14,165,160,0.3)) 1;
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
}

/* Override border-image breaking border-radius */
.testimonial-card-new:hover {
  border-image: none;
  border-color: rgba(14, 165, 160, 0.25);
  box-shadow: 
    0 12px 40px rgba(14, 165, 160, 0.08),
    0 0 0 1px rgba(14, 165, 160, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

/* === TYPING CURSOR ON HERO BADGE === */
.hero-badge {
  position: relative;
}

/* === SUBTLE PARALLAX ON SCROLL (CSS only) === */
@media (hover: hover) and (min-width: 769px) {
  .stats-section {
    background-attachment: fixed;
  }
  
  .cta-section {
    background-attachment: fixed;
  }
}

/* === PROCESS NUMBER PULSE ON HOVER === */
.process-step:hover .process-number {
  animation: processPulse 0.6s ease;
}

@keyframes processPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1.1); }
}

/* === FOOTER LINK ARROWS === */
.footer-col a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--accent-teal);
  margin-right: 0;
  opacity: 0;
  transition: opacity 0.3s ease, margin-right 0.3s ease;
}

.footer-col a:hover::before {
  opacity: 1;
  margin-right: 8px;
}


/* === RADAR SWEEP ON CTA SECTION === */
.cta-section {
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(14, 165, 160, 0.04) 30deg,
    transparent 60deg
  );
  animation: radarSweep 6s linear infinite;
  pointer-events: none;
}

@keyframes radarSweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Radar rings */
.cta-section .container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 160, 0.08);
  pointer-events: none;
  box-shadow: 
    0 0 0 80px transparent,
    0 0 0 81px rgba(14, 165, 160, 0.05),
    0 0 0 160px transparent,
    0 0 0 161px rgba(14, 165, 160, 0.03);
}

/* === GLITCH FLICKER ON HERO HIGHLIGHT === */
@media (hover: hover) {
  .hero h1 .highlight {
    position: relative;
    display: inline-block;
  }

  .hero h1 .highlight::before,
  .hero h1 .highlight::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }

  .hero h1 .highlight:hover::before {
    animation: glitchTop 0.3s ease 1;
    color: var(--accent-teal);
    clip-path: inset(0 0 50% 0);
    opacity: 0.8;
  }

  .hero h1 .highlight:hover::after {
    animation: glitchBottom 0.3s ease 1;
    color: var(--accent-bright);
    clip-path: inset(50% 0 0 0);
    opacity: 0.8;
  }
}

@keyframes glitchTop {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, -1px); }
  50% { transform: translate(2px, 1px); }
  75% { transform: translate(-1px, 2px); }
  100% { transform: translate(0); }
}

@keyframes glitchBottom {
  0% { transform: translate(0); }
  25% { transform: translate(2px, 1px); }
  50% { transform: translate(-2px, -1px); }
  75% { transform: translate(1px, -2px); }
  100% { transform: translate(0); }
}

/* === DATA STREAM LINES ON STATS === */
.stats-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(14, 165, 160, 0.03) 120px,
      rgba(14, 165, 160, 0.03) 121px
    );
  animation: dataFlow 20s linear infinite;
  pointer-events: none;
}

@keyframes dataFlow {
  from { transform: translateX(0); }
  to { transform: translateX(121px); }
}

/* Horizontal scan line across stats */
.stats-section .stats-grid::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 160, 0.3), transparent);
  animation: scanHorizontal 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanHorizontal {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.stats-grid {
  position: relative;
}

/* === SHIELD PULSE ON TRUST BADGES === */
.trust-badge-icon {
  position: relative;
}

.trust-badge:hover .trust-badge-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 2px solid rgba(14, 165, 160, 0.4);
  animation: shieldPulse 1s ease-out infinite;
}

@keyframes shieldPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* === FOCUS RING (follows scroll position in hero) === */
.hero-content {
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 160, 0.1);
  pointer-events: none;
  animation: focusRing 8s ease-in-out infinite;
}

.hero-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(233, 69, 96, 0.08);
  pointer-events: none;
  animation: focusRingInner 6s ease-in-out infinite reverse;
}

@keyframes focusRing {
  0%, 100% { width: 280px; height: 280px; opacity: 0.4; }
  50% { width: 320px; height: 320px; opacity: 0.15; }
}

@keyframes focusRingInner {
  0%, 100% { width: 200px; height: 200px; opacity: 0.3; }
  50% { width: 240px; height: 240px; opacity: 0.1; }
}

/* === CORNER SURVEILLANCE MARKERS ON HERO === */
.hero::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-top: 2px solid rgba(14, 165, 160, 0.3);
  border-left: 2px solid rgba(14, 165, 160, 0.3);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Additional hero corners via box-shadow on the existing after */
.hero {
  position: relative;
}

.hero .container::before {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid rgba(14, 165, 160, 0.3);
  border-right: 2px solid rgba(14, 165, 160, 0.3);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.hero .container::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-top: 2px solid rgba(233, 69, 96, 0.2);
  border-right: 2px solid rgba(233, 69, 96, 0.2);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* === TIMESTAMP OVERLAY IN HERO (looks like camera HUD) === */
.hero-badge::after {
  content: 'LIVE';
  margin-left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(14, 165, 160, 0.9);
  padding: 2px 6px;
  border: 1px solid rgba(14, 165, 160, 0.4);
  border-radius: 3px;
  animation: liveFlash 2s ease-in-out infinite;
}

@keyframes liveFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === ANIMATED BORDER ON PROCESS TIMELINE === */
.process-grid::before {
  background-size: 200% 100%;
  animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
  from { background-position: 0% 0%; }
  to { background-position: 200% 0%; }
}

/* === SERVICE CARD IMAGE ZOOM + VIGNETTE === */
.service-card:hover .service-image img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.service-image::after {
  background: 
    radial-gradient(ellipse at center, transparent 50%, rgba(15,23,42,0.4) 100%),
    linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.5) 100%);
}

/* === BUTTON RIPPLE EFFECT === */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:active::before {
  width: 300px;
  height: 300px;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .cta-section::after,
  .stats-section::after,
  .stats-section .stats-grid::after,
  .hero-content::before,
  .hero-content::after,
  .hero-badge::before,
  .hero-badge::after,
  .process-grid::before {
    animation: none;
  }
  
  .hero h1 .highlight::before,
  .hero h1 .highlight::after {
    display: none;
  }
}
