/* ============================================================
   NOVASHIELD IT — service-page.css
   Additional styles for individual service detail pages.
   Link AFTER your chosen theme-*.css file.
   ============================================================ */

/* ── CONTAINER ── */
.sp-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ── SECTION HEADER SPACING ── */
.sp-section-header { margin-bottom: 56px; }

/* ── TWO-COLUMN LAYOUT ── */
.sp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sp-two-col--flip { direction: rtl; }
.sp-two-col--flip > * { direction: ltr; }

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.sp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.sp-breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sp-breadcrumb a:hover { color: var(--color-accent); }
.sp-breadcrumb span:last-child { color: var(--color-accent); font-weight: 600; }
.sp-bc-sep { color: var(--text-muted); font-size: .75rem; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.sp-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

/* animated grid overlay */
.sp-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 40%, black 20%, transparent 100%);
}

/* glow blobs */
.sp-hero-glow {
  position: absolute; border-radius: 50%; z-index: 0;
  filter: blur(80px); pointer-events: none;
}
.sp-hero-glow--blue {
  width: 600px; height: 600px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(46,110,247,.18) 0%, transparent 70%);
}
.sp-hero-glow--purple {
  width: 400px; height: 400px;
  bottom: 0; left: 5%;
  background: radial-gradient(circle, rgba(123,92,255,.12) 0%, transparent 70%);
}

.sp-hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.sp-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sp-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.sp-service-icon-lg {
  width: 52px; height: 52px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-brand);
  background: rgba(46,110,247,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sp-service-icon-lg img { width: 100%; height: 100%; object-fit: cover; }

.sp-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 22px;
}

.sp-hero-sub {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.78;
  max-width: 520px;
  margin-bottom: 36px;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

/* Hero stats row */
.sp-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.sp-hstat {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 4px 8px;
}
.sp-hstat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.sp-hstat-lbl { font-size: .73rem; color: var(--text-secondary); margin-top: 4px; }
.sp-hstat-divider {
  width: 1px; height: 36px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* ── Shield Orb Visual ── */
.sp-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-shield-wrap {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: sp-ring-pulse 3s ease-in-out infinite;
}
.sp-ring-1 {
  width: 380px; height: 380px;
  border-color: rgba(46,110,247,.15);
  animation-delay: 0s;
}
.sp-ring-2 {
  width: 280px; height: 280px;
  border-color: rgba(46,110,247,.25);
  animation-delay: .5s;
}
.sp-ring-3 {
  width: 180px; height: 180px;
  border-color: rgba(0,212,255,.35);
  animation-delay: 1s;
}
@keyframes sp-ring-pulse {
  0%,100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.03); }
}

.sp-shield-core {
  width: 120px; height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(46,110,247,.2), rgba(0,212,255,.1));
  border: 1px solid var(--border-brand);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  box-shadow: 0 0 40px rgba(46,110,247,.25);
}
.sp-shield-img { width: 80px; height: 80px; }

/* Floating tags */
.sp-float-tag {
  position: absolute;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 7px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  z-index: 3;
}
.sp-tag-1 { top: 40px; left: -20px; animation: sp-float-a 4s ease-in-out infinite; }
.sp-tag-2 { bottom: 50px; left: -30px; animation: sp-float-b 4.5s ease-in-out infinite; }
.sp-tag-3 { top: 30px; right: -20px; animation: sp-float-c 3.8s ease-in-out infinite; }

@keyframes sp-float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes sp-float-b { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes sp-float-c { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ══════════════════════════════════════
   OVERVIEW
══════════════════════════════════════ */
.sp-overview {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.sp-check-list { list-style: none; padding: 0; margin: 0; }
.sp-check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: .93rem;
  color: var(--text-secondary);
}
.sp-check-list li:last-child { border-bottom: none; }

/* ── Threat Panel ── */
.sp-threat-panel {
  border: 1px solid var(--border-brand);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}

.sp-threat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border-subtle);
}
.sp-threat-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.sp-dot-red    { background: #ff5f57; }
.sp-dot-yellow { background: #febc2e; }
.sp-dot-green  { background: #28c840; }
.sp-threat-label {
  font-size: .78rem;
  color: var(--text-secondary);
  margin-left: 6px;
  letter-spacing: .04em;
}

.sp-threat-body { padding: 8px 0; }

.sp-threat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition);
}
.sp-threat-row:last-of-type { border-bottom: none; }
.sp-threat-row:hover { background: rgba(255,255,255,.03); }

.sp-threat-row > i {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.sp-threat-blocked > i { color: #ff5078; }
.sp-threat-warn    > i { color: #faa307; }
.sp-threat-ok      > i { color: #00c878; }

.sp-tr-title { font-size: .85rem; font-weight: 600; color: var(--text-primary); }
.sp-tr-meta  { font-size: .75rem; color: var(--text-secondary); margin-top: 2px; }

.sp-threat-row > div:last-of-type { margin-left: auto; }

.sp-badge {
  font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  flex-shrink: 0;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sp-badge-red    { background: rgba(255,80,120,.15); color: #ff5078; border: 1px solid rgba(255,80,120,.3); }
.sp-badge-yellow { background: rgba(250,163,7,.15);  color: #faa307; border: 1px solid rgba(250,163,7,.3); }
.sp-badge-green  { background: rgba(0,200,120,.15);  color: #00c878; border: 1px solid rgba(0,200,120,.3); }

.sp-threat-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: .78rem;
  color: var(--text-secondary);
  background: rgba(0,200,120,.05);
  border-top: 1px solid var(--border-subtle);
}
.sp-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00c878;
  box-shadow: 0 0 8px #00c878;
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SERVICES DETAIL GRID
══════════════════════════════════════ */
.sp-services-detail {
  padding: 100px 0;
}

.sp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.sp-svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  overflow: hidden;
}
.sp-svc-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent);
  opacity: 0; transition: opacity var(--transition);
}
.sp-svc-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}
.sp-svc-card:hover::after { opacity: 1; }

.sp-svc-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,.05);
  line-height: 1;
  position: absolute;
  top: 18px; right: 24px;
  transition: color var(--transition);
}
.sp-svc-card:hover .sp-svc-num { color: rgba(46,110,247,.15); }

.sp-svc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.sp-svc-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.sp-svc-card p  { font-size: .88rem; color: var(--text-secondary); line-height: 1.72; margin-bottom: 18px; }

.sp-detail-list { list-style: none; padding: 0; margin: 0; }
.sp-detail-list li {
  font-size: .83rem; color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 8px;
}
.sp-detail-list li:last-child { border-bottom: none; }
.sp-detail-list li::before { content: '›'; color: var(--color-accent); font-weight: 700; }

/* ══════════════════════════════════════
   PROCESS — HORIZONTAL STEPS
══════════════════════════════════════ */
.sp-process {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.sp-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}

.sp-proc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.sp-proc-num {
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.sp-proc-line {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), rgba(46,110,247,.2));
  z-index: 0;
}
.sp-proc-line--hidden { display: none; }

.sp-proc-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--color-accent);
  position: relative; z-index: 1;
  margin-bottom: 18px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.sp-proc-step:hover .sp-proc-icon {
  background: rgba(46,110,247,.15);
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(46,110,247,.3);
}

.sp-proc-step h5 { font-size: .98rem; font-weight: 700; margin-bottom: 8px; }
.sp-proc-step p  { font-size: .82rem; color: var(--text-secondary); line-height: 1.65; }

/* ══════════════════════════════════════
   WHY SECTION
══════════════════════════════════════ */
.sp-why { padding: 100px 0; }

.sp-why .sp-container {
  max-width: 1280px;
  padding: 0 5%;
}

.sp-why-full {
  width: 100%;
  max-width: 860px;
  margin-right: auto;
}

.sp-why-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.sp-why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.sp-why-item:last-child { border-bottom: none; }
.sp-why-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--color-accent);
}
.sp-why-item h6 { font-size: .93rem; font-weight: 700; margin-bottom: 4px; }
.sp-why-item p  { font-size: .85rem; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* ── Cert Panel ── */
.sp-cert-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 28px;
}
.sp-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 0;
}
.sp-cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(46,110,247,.08);
  border: 1px solid var(--border-brand);
  border-radius: 12px;
  padding: 16px 10px;
  transition: background var(--transition), border-color var(--transition);
}
.sp-cert-badge:hover { background: rgba(46,110,247,.15); border-color: var(--color-accent); }
.sp-cert-badge i { font-size: 1.3rem; color: var(--color-accent); }
.sp-cert-badge span { font-size: .75rem; font-weight: 700; color: var(--text-primary); letter-spacing: .04em; }
.sp-cert-divider { border: none; border-top: 1px solid var(--border-subtle); margin: 24px 0; }

/* Threat stats bars */
.sp-threat-stats { }
.sp-tstat { margin-bottom: 14px; }
.sp-tstat-bar-wrap { display: flex; align-items: center; gap: 10px; }
.sp-tstat-label { font-size: .78rem; color: var(--text-secondary); min-width: 90px; }
.sp-tstat-bar {
  flex: 1; height: 6px;
  background: var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
}
.sp-tstat-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.2s ease;
}
.sp-tstat-fill.animated { /* triggered by JS */ }
.sp-tstat-pct { font-size: .78rem; font-weight: 700; color: var(--text-primary); min-width: 32px; text-align: right; }
.sp-tstat-note { font-size: .72rem; color: var(--text-muted); margin-top: 8px; }

/* ══════════════════════════════════════
   OTHER SERVICES STRIP
══════════════════════════════════════ */
.sp-other-services {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.sp-other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.sp-other-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 22px;
  display: block;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.sp-other-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  color: inherit;
}
.sp-other-card .s-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}
.sp-other-card .s-icon img { width: 100%; height: 100%; object-fit: cover; }
.sp-other-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.sp-other-card p  { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .sp-process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .sp-proc-line { display: none; }
}

@media (max-width: 900px) {
  .sp-hero { padding: 120px 0 60px; min-height: auto; }
  .sp-hero-content { grid-template-columns: 1fr; }
  .sp-hero-visual { display: none; }
  .sp-two-col { grid-template-columns: 1fr; gap: 40px; }
  .sp-two-col--flip { direction: ltr; }
  .sp-hero-stats { gap: 0; }
  .sp-hstat { min-width: 60px; }
  .sp-services-grid { grid-template-columns: 1fr; }
  .sp-process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .sp-hero-title { font-size: 2.2rem; }
  .sp-hero-stats { flex-wrap: wrap; }
  .sp-hstat-divider { display: none; }
  .sp-hstat { flex: 0 0 45%; }
  .sp-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-process-steps { grid-template-columns: 1fr; }
  .sp-other-grid { grid-template-columns: 1fr 1fr; }
  .sp-hero-actions { flex-direction: column; }
}

@media (max-width: 420px) {
  .sp-other-grid { grid-template-columns: 1fr; }
}
