/* ══════════════════════════════════════════════════════
   SecureCyber — Shared Stylesheet
   Brand colors extracted from logo:
   - Accent Red:     #D42B2B  (circuit board red)
   - Accent Gold:    #F5B800  (node yellow/gold)
   - Background:     #0A0A0A  (near-black, matches logo text)
   - Surface:        #111111  (slightly lighter black)
   - Card:           #1A1A1A  (card surface)
   - Text Primary:   #F5F5F5  (off-white)
   - Text Secondary: #9A9A9A  (muted grey)
   - Border:         #2A2A2A  (subtle dark border)
══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A0A0A;
  --surface:   #111111;
  --card:      #1A1A1A;
  --accent:    #D42B2B;
  --accent-2:  #F5B800;
  --text:      #F5F5F5;
  --muted:     #9A9A9A;
  --border:    #2A2A2A;
  --divider:   #161616;
  --danger:    #FF4444;
  --font:      'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --glow:      0 0 24px rgba(212,43,43,0.2);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--muted); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 600; }

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* ── SHARED NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--accent-2); background: rgba(245,184,0,0.08); }
.nav-cta { margin-left: 8px; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}
.mobile-menu {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active, .mobile-menu a:hover { color: var(--accent-2); }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(212,43,43,0.3);
}
.btn-primary:hover {
  background: #E83535;
  box-shadow: 0 0 30px rgba(212,43,43,0.45);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--accent-2);
  border: 1.5px solid var(--accent-2);
}
.btn-secondary:hover {
  background: rgba(245,184,0,0.08);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-sm { padding: 0.5rem 1.125rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(212,43,43,0.4);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.card-tight { padding: 24px; }

/* ── ICON BOX ── */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212,43,43,0.08);
  border: 1px solid rgba(212,43,43,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── SECTION LABEL (eyebrow) ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

/* ── ACCENT LINE ── */
.accent-bar {
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(212,43,43,0.5);
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 60px 0; }

/* ── TAG / BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(212,43,43,0.1);
  border: 1px solid rgba(212,43,43,0.3);
  color: var(--accent);
}
.badge-green {
  background: rgba(245,184,0,0.1);
  border-color: rgba(245,184,0,0.3);
  color: var(--accent-2);
}

/* ── CHECK LIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.925rem;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  background: rgba(245,184,0,0.1);
  border: 1px solid rgba(245,184,0,0.35);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B800' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── STAT CALLOUT ── */
.stat-block { text-align: center; }
.stat-block .number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.stat-block .label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

/* ── HERO SHARED ── */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(212,43,43,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 60%, rgba(245,184,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.875rem; margin-top: 14px; line-height: 1.75; }
.footer-col h4 {
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--muted); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--accent-2); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.825rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-2); }
.footer-badges { display: flex; gap: 8px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  font-family: var(--font);
}
.faq-btn:hover { color: var(--accent-2); }
.faq-icon { flex-shrink: 0; transition: transform 0.25s; color: var(--accent-2); }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s;
}
.faq-answer.open { max-height: 300px; padding-bottom: 22px; }
.faq-answer p { line-height: 1.75; }

/* ── TESTIMONIAL CARD ── */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.1;
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-text { color: var(--muted); line-height: 1.75; margin-bottom: 24px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212,43,43,0.12);
  border: 1px solid rgba(212,43,43,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.author-title { font-size: 0.8rem; color: var(--muted); }

/* ── CONTACT FORM ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-input, .form-textarea, .form-select {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(245,184,0,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-textarea { min-height: 130px; resize: vertical; }
.form-select option { background: var(--surface); }

/* ── SERVICE ICON BACKGROUNDS ── */
/* Primary: red accent */
.icon-cyan  { background: rgba(212,43,43,0.08);  border-color: rgba(212,43,43,0.2); }
/* Secondary: gold accent */
.icon-green { background: rgba(245,184,0,0.08);  border-color: rgba(245,184,0,0.2); }
/* Tertiary: slightly lighter red */
.icon-purple { background: rgba(212,43,43,0.05); border-color: rgba(212,43,43,0.15); }
/* Quaternary: gold tint */
.icon-orange { background: rgba(245,184,0,0.06); border-color: rgba(245,184,0,0.15); }

/* ── PROCESS STEP ── */
.process-step { display: flex; gap: 20px; }
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245,184,0,0.1);
  border: 1px solid rgba(245,184,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  flex-shrink: 0;
}
.process-step h4 { margin-bottom: 6px; }

/* ── RESPONSIVE HELPERS ── */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-green { color: var(--accent-2); }
.text-muted { color: var(--muted); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(212,43,43,0.07) 0%, rgba(245,184,0,0.05) 100%);
  border: 1px solid rgba(212,43,43,0.2);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,43,43,0.05) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 600px) { .cta-banner { padding: 36px 24px; } }

/* ── UTILITY ── */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
