/* ─────────────────────────────────────────
   SECTIONS — Stats, shared utilities,
   Services, CTA band, Industries, Process
───────────────────────────────────────── */

/* ── Stats strip ── */
.stats-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 96px;
  background: linear-gradient(180deg, rgba(29,135,200,0.04) 0%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 16px;
  text-align: center;
}

@media (min-width: 600px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  /* Gradient text */
  background: linear-gradient(135deg, #fff 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-l { font-size: 13px; color: var(--text-2); }

/* ── Shared section utilities ── */
section { margin-bottom: 104px; }

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.sec-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 1px;
}

.sec-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 12px;
}

.sec-p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 40rem;
  line-height: 1.75;
}

.sec-row { margin-bottom: 44px; }

@media (min-width: 780px) {
  .sec-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .sec-row .sec-p { text-align: right; max-width: 28rem; }
}

.sec-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
}

.sec-center .sec-p { text-align: center; }

/* ── Gradient-border card helper ──
   Wrap a .card inside a .card-border div:
   <div class="card-border"><article class="card">…</article></div>
   The wrapper provides the 1px gradient frame.
── */
.card-border {
  border-radius: calc(var(--r-lg) + 1px);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(29, 135, 200, 0.35) 0%,
    rgba(29, 135, 200, 0.05) 50%,
    transparent 100%
  );
  transition: background 0.25s;
}

.card-border:hover {
  background: linear-gradient(
    135deg,
    rgba(29, 135, 200, 0.55) 0%,
    rgba(29, 135, 200, 0.12) 50%,
    transparent 100%
  );
}

/* ── Service cards ── */
.srv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px)  { .srv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .srv-grid { grid-template-columns: repeat(3, 1fr); } }

.srv-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s;
  height: 100%;
}

.srv-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--cc-glow, var(--brand-dim)) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.card-border:hover .srv-card { transform: translateY(-3px); }
.card-border:hover .srv-card::after { opacity: 1; }

.srv-ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.srv-ico svg { width: 24px; height: 24px; }

.srv-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.srv-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.srv-p { font-size: 0.875rem; color: var(--text-2); line-height: 1.68; margin-bottom: 18px; }

.srv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.srv-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
}

.srv-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--cc, var(--brand));
}

.srv-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.srv-badge {
  font-size: 10.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-3);
}

/*
 * Color variants — all within the OXSEC brand palette:
 *   c-cyan → primary brand blue  (#1d87c8)
 *   c-vio  → lighter brand blue  (#3daee0)
 *   c-grn  → logo mid-gray       (#687888) used as neutral accent
 */
.c-cyan { --cc: #1d87c8; --cc-glow: rgba(29, 135, 200, 0.08); }
.c-vio  { --cc: #3daee0; --cc-glow: rgba(61, 174, 224, 0.08); }
.c-grn  { --cc: #8aa0b0; --cc-glow: rgba(104, 120, 136, 0.10); }

.c-cyan .srv-ico  { background: rgba(29, 135, 200, 0.10); color: #1d87c8; }
.c-vio  .srv-ico  { background: rgba(61, 174, 224, 0.10); color: #3daee0; }
.c-grn  .srv-ico  { background: rgba(104, 120, 136, 0.12); color: #96a8b4; }

.c-cyan .srv-pill { background: rgba(29, 135, 200, 0.10); color: #3daee0; border: 1px solid rgba(29, 135, 200, 0.25); }
.c-vio  .srv-pill { background: rgba(61, 174, 224, 0.10); color: #3daee0; border: 1px solid rgba(61, 174, 224, 0.22); }
.c-grn  .srv-pill { background: rgba(104, 120, 136, 0.10); color: #96a8b4; border: 1px solid rgba(150, 168, 180, 0.22); }

/* ── CTA band ── */
.cta-band {
  margin-bottom: 104px;
  border-radius: var(--r-xl);
  padding: 64px 48px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, var(--brand-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Dot grid overlay inside CTA */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Shine orb */
.cta-band::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cta-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 36rem;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  border-color: transparent;
}

.btn-white:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 500;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.18);
}

/* ── Industry cards ── */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 900px) {
  .ind-grid { grid-template-columns: repeat(4, 1fr); }
}

.ind-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.22s, box-shadow 0.22s;
}

.ind-card:hover {
  border-color: rgba(29, 135, 200, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(29,135,200,0.1);
}

.ind-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ind-ico svg { width: 20px; height: 20px; color: var(--brand); }

.ind-tag {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 6px;
}

.ind-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: -0.02em;
}

.ind-p  { font-size: 0.82rem; color: var(--text-2); line-height: 1.62; margin-bottom: 14px; }

.ind-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.ind-list li {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.ind-list li::before {
  content: '›';
  font-size: 14px;
  color: var(--brand);
  flex-shrink: 0;
  line-height: 1.3;
}

/* ── Process steps ── */
.proc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
}

@media (min-width: 768px) {
  .proc-grid { grid-template-columns: repeat(4, 1fr); }

  /* Gradient line connecting steps */
  .proc-grid::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 1px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 50%, var(--brand) 100%);
    opacity: 0.3;
    z-index: 0;
  }
}

.proc-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.proc-step:hover {
  border-color: rgba(29, 135, 200, 0.25);
  box-shadow: 0 0 30px var(--brand-dim);
}

.proc-num {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-dim) 0%, var(--brand-dim) 100%);
  border: 1px solid rgba(29, 135, 200, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-light);
  margin-bottom: 18px;
}

.proc-h { font-family: 'Space Grotesk', sans-serif; font-size: 0.96rem; font-weight: 700; margin-bottom: 7px; }
.proc-p { font-size: 0.82rem; color: var(--text-2); line-height: 1.62; margin-bottom: 12px; }

.proc-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.proc-note svg { width: 12px; height: 12px; color: var(--brand); flex-shrink: 0; }
