/* ================================================================
   HOME PAGE — Full Styles
   ================================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: var(--navy);
}

/* Full-screen background video */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.22) saturate(0.6);
}
.hero-video-wrap img { /* Fallback for video */
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.22) saturate(0.6);
  position: absolute; inset: 0;
}

/* Overlay gradient layers */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(2,11,20,0.7) 0%, rgba(2,11,20,0.2) 40%, rgba(2,11,20,0.8) 100%),
    radial-gradient(ellipse 80% 70% at 60% 30%, rgba(14,165,233,0.12) 0%, transparent 60%);
}

/* Animated scan line on hero */
.hero .scan-line { z-index: 2; }
.hero .grid-overlay { z-index: 2; }
.hero .noise-overlay { z-index: 2; }

/* Radar animation */
.radar-wrap {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.radar-ring { position: absolute; }
.radar-ring:nth-child(1) { width: 100px; height: 100px; animation-delay: 0s; }
.radar-ring:nth-child(2) { width: 100px; height: 100px; animation-delay: 1s; }
.radar-ring:nth-child(3) { width: 100px; height: 100px; animation-delay: 2s; }
.radar-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: var(--glow-cyan); position: relative; z-index: 3; }
.radar-sweep {
  position: absolute; width: 200px; height: 200px;
  border-radius: 50%; overflow: hidden;
  animation: radar-rotate 4s linear infinite;
}
.radar-sweep::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(0,255,224,0.25) 100%);
  transform-origin: 0 0;
}
@keyframes radar-rotate { to { transform: rotate(360deg); } }
.radar-static {
  position: absolute; width: 200px; height: 200px;
  border: 1px solid rgba(0,255,224,0.2); border-radius: 50%;
}
.radar-static:nth-child(2) { width: 140px; height: 140px; }
.radar-static:nth-child(3) { width: 80px; height: 80px; }
.radar-crosshair { position: absolute; width: 200px; height: 200px; }
.radar-crosshair::before, .radar-crosshair::after {
  content: ''; position: absolute; background: rgba(0,255,224,0.15);
}
.radar-crosshair::before { width: 1px; height: 100%; left: 50%; }
.radar-crosshair::after  { height: 1px; width: 100%; top: 50%; }

/* Blinking targets on radar */
.radar-target {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: radar-blink 2s infinite;
}
.radar-target:nth-child(1) { top: 30%; left: 65%; animation-delay: 0.3s; }
.radar-target:nth-child(2) { top: 60%; left: 35%; animation-delay: 1s; }
.radar-target:nth-child(3) { top: 40%; left: 25%; animation-delay: 1.7s; }
@keyframes radar-blink { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:0.2; transform:scale(0.6)} }

.hero-inner {
  position: relative; z-index: 3; max-width: var(--max);
  margin: 0 auto; padding: calc(var(--hh) + 64px) var(--pad) 80px;
  width: 100%;
}
.hero-content { max-width: 680px; }

.hero h1 {
  line-height: 0.95; letter-spacing: 1px;
  margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(14,165,233,0.2);
}
.hero h1 .line2 {
  color: var(--blue);
  display: block;
  text-shadow: var(--glow-sm);
}
.hero h1 .line3 { display: block; }

.hero-sub {
  font-size: 1.12rem; color: var(--muted2); max-width: 520px;
  margin-bottom: 36px; font-weight: 300; line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

/* Counter banner inside hero */
.hero-stats {
  display: flex; gap: 0; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  background: rgba(7,26,48,0.7); backdrop-filter: blur(12px);
  max-width: 560px;
}
.hero-stat {
  flex: 1; padding: 18px 20px; text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: var(--ff-head); font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1; }
.hero-stat-label { font-family: var(--ff-mono); font-size: 0.62rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: scroll-bob 2s ease-in-out infinite;
}
@keyframes scroll-bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
.scroll-indicator span { font-family: var(--ff-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }
.scroll-arrow { width: 20px; height: 30px; border: 1.5px solid var(--border2); border-radius: 10px; position: relative; }
.scroll-arrow::after { content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--blue); animation: scroll-dot 2s ease-in-out infinite; }
@keyframes scroll-dot { 0%{top:5px;opacity:1} 100%{top:18px;opacity:0} }

/* ── WHY OUTSOURCE / COST ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(13,37,64,0.5); transition: border-color 0.3s, box-shadow 0.3s; }
.why-item:hover { border-color: var(--border2); box-shadow: var(--glow-xs); }
.why-icon { width: 50px; height: 50px; border-radius: 10px; flex-shrink: 0; background: rgba(14,165,233,0.1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.why-item strong { display: block; font-size: 0.98rem; font-weight: 600; color: var(--white); margin-bottom: 5px; }
.why-item p { color: var(--muted2); font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* Cost comparison card */
.cost-card {
  background: var(--grad-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  position: sticky; top: calc(var(--hh) + 20px);
}
.cost-card-title { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.cost-row { margin-bottom: 22px; }
.cost-label-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.88rem; }
.price-bad  { color: var(--red); font-weight: 700; }
.price-good { color: var(--green); font-weight: 700; }
.cost-track { height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.cost-bar { height: 100%; border-radius: 4px; transition: width 1.5s ease; }
.bar-guard  { width: 0; background: linear-gradient(90deg, var(--red), #ff7070); }
.bar-agency { width: 0; background: linear-gradient(90deg, #f97316, #fb923c); }
.bar-us     { width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.cost-card.animated .bar-guard  { width: 92%; }
.cost-card.animated .bar-agency { width: 74%; }
.cost-card.animated .bar-us     { width: 18%; }

.savings-highlight {
  margin-top: 28px; padding: 22px;
  background: rgba(14,165,233,0.06); border: 1px solid var(--border2);
  border-radius: var(--radius); text-align: center;
}
.savings-num { font-family: var(--ff-head); font-size: 3rem; font-weight: 700; color: var(--blue); line-height: 1; }
.savings-sub { font-family: var(--ff-mono); font-size: 0.68rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }

/* ── HOW IT WORKS ── */
.steps-wrap { position: relative; }
.steps-line { position: absolute; top: 36px; left: calc(36px); right: 0; height: 1px; background: linear-gradient(90deg, var(--border2), transparent); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 1; }
.step-card { padding: 28px 24px; }
.step-num { font-family: var(--ff-head); font-size: 3.5rem; font-weight: 700; color: var(--border2); line-height: 1; margin-bottom: 16px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--white); }
.step-card p { color: var(--muted2); font-size: 0.87rem; line-height: 1.7; }
.step-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(14,165,233,0.1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }

/* ── SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { overflow: hidden; }
.svc-img-wrap { height: 210px; overflow: hidden; position: relative; }
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: brightness(0.85) saturate(0.9); }
.svc-card:hover .svc-img-wrap img { transform: scale(1.06); filter: brightness(0.95) saturate(1); }
.svc-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,26,48,0.9) 100%); }
.svc-body { padding: 28px; }
.svc-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.svc-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.svc-body p { color: var(--muted2); font-size: 0.88rem; line-height: 1.72; margin-bottom: 18px; }
.svc-link { color: var(--blue); font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.svc-link:hover { gap: 10px; }

/* ── INDUSTRIES ── */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); display: block; text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  background: var(--steel); position: relative;
}
.ind-card:hover { border-color: var(--border2); box-shadow: var(--glow-sm); transform: translateY(-5px); }
.ind-img { height: 150px; overflow: hidden; }
.ind-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65) saturate(0.7); transition: filter 0.3s, transform 0.4s; display: block; }
.ind-card:hover .ind-img img { filter: brightness(0.85) saturate(0.9); transform: scale(1.05); }
.ind-body { padding: 16px; }
.ind-icon { font-size: 1.4rem; margin-bottom: 6px; display: block; }
.ind-body strong { display: block; font-family: var(--ff-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 4px; color: var(--white); }
.ind-body span { font-size: 0.78rem; color: var(--muted2); }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { padding: 32px; }
.testi-stars { color: #f59e0b; font-size: 0.95rem; letter-spacing: 3px; margin-bottom: 18px; }
.testi-quote { color: var(--muted2); font-size: 0.92rem; line-height: 1.85; font-style: italic; margin-bottom: 24px; position: relative; padding-left: 18px; }
.testi-quote::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--blue); border-radius: 2px; }
.testi-author { display: flex; gap: 14px; align-items: center; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #004d80); display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-weight: 600; font-size: 0.95rem; color: var(--navy); flex-shrink: 0; }
.testi-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.testi-role { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ── FAQ ── */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 20px 0; cursor: none; font-weight: 600; font-size: 0.97rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; color: var(--white); transition: color 0.2s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-arrow { color: var(--blue); font-size: 1.4rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] summary { color: var(--blue); }
.faq-item[open] summary .faq-arrow { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--muted2); font-size: 0.92rem; line-height: 1.8; }
.faq-item p a { color: var(--blue); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .radar-wrap { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .cost-card { position: static; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { min-width: 50%; }
  .services-grid, .testi-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .hero-stat-num { font-size: 1.6rem; }
}




  .trust-bar {
    background: #0d1b2a;
    padding: 12px 0;
    overflow: hidden;
    width: 100%;
  }
  .trust-bar-inner {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 20s linear infinite;
  }
  .trust-bar:hover .trust-bar-inner {
    animation-play-state: paused;
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e8f0;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 32px;
  }
  .ti-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    flex-shrink: 0;
  }
  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }