/* ─────────────────────────────────────────
   EXTRAS — Problem/Solution, Why OXSEC,
   Testimonials, Sticky CTA bar
───────────────────────────────────────── */

.hero { position: relative; }

/* ── Problem → Solution section ── */
.prob-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 860px) {
  .prob-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
  }
}

.prob-col {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: 32px 28px;
}

.prob-col--before { border: 1px solid rgba(248, 113, 113, 0.2); }
.prob-col--after  { border: 1px solid rgba(29, 135, 200, 0.22); }

.prob-col-label { margin-bottom: 24px; }

.col-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}

.col-badge--danger {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.22);
  color: #f87171;
}

.col-badge--success {
  background: var(--brand-dim);
  border: 1px solid rgba(29, 135, 200, 0.25);
  color: var(--brand-light);
}

.prob-items { display: flex; flex-direction: column; gap: 20px; }

.prob-item { display: flex; gap: 14px; align-items: flex-start; }

.prob-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prob-ico svg { width: 18px; height: 18px; }

.prob-ico--danger { background: rgba(248, 113, 113, 0.08); color: #f87171; }
.prob-ico--success { background: var(--brand-dim); color: var(--brand-light); }

.prob-item-h {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}

.prob-item-p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

.prob-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid rgba(29, 135, 200, 0.25);
  color: var(--brand-light);
  flex-shrink: 0;
}

.prob-arrow svg { width: 20px; height: 20px; }

@media (min-width: 860px) { .prob-arrow { display: flex; } }

/* ── Why OXSEC grid ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

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

.why-card:hover {
  border-color: rgba(29, 135, 200, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(29, 135, 200, 0.08);
}

.why-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-dim);
  border: 1px solid rgba(29, 135, 200, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
}

.why-ico svg { width: 20px; height: 20px; }

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

.why-p { font-size: 0.875rem; color: var(--text-2); line-height: 1.68; }

/* ── Testimonials ── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}

.testi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
}

.testi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

.testi-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 0.9;
  margin-bottom: 14px;
  opacity: 0.45;
}

.testi-p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 24px;
}

.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-dim);
  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: 12px;
  color: var(--brand-light);
  flex-shrink: 0;
}

.testi-name { font-weight: 600; font-size: 13.5px; color: var(--text); margin-bottom: 2px; }
.testi-role { font-size: 12px; color: var(--text-3); }

/* ── Sticky CTA bar ── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(14, 19, 24, 0.97);
  border-top: 1px solid var(--border-2);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-bar.vis { transform: translateY(0); }

.sticky-bar-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

/* Hide on mobile (FAB handles it) and short viewports */
@media (max-width: 640px), (max-height: 500px) {
  .sticky-bar { display: none; }
}
