/* =========================================
   Prairie Sentinel — Global Stylesheet
   ========================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #070b16;
  --bg-secondary:  #0d1526;
  --bg-card:       #111d35;
  --bg-card-hover: #162340;
  --accent:        #00c8ff;
  --accent-dark:   #0099cc;
  --accent-glow:   rgba(0,200,255,.18);
  --purple:        #7c3aed;
  --purple-light:  #a78bfa;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --text-primary:  #e2e8f0;
  --text-muted:    #8a9bbf;
  --text-dark:     #4b5c7a;
  --border:        rgba(0,200,255,.12);
  --border-hover:  rgba(0,200,255,.35);
  --font-sans:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --radius:        10px;
  --radius-lg:     18px;
  --shadow:        0 4px 24px rgba(0,0,0,.45);
  --shadow-glow:   0 0 40px rgba(0,200,255,.12);
  --nav-height:    68px;
  --transition:    .25s ease;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,200,255,.08);
  border: 1px solid rgba(0,200,255,.2);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
}
.section-title span { color: var(--accent); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(0,200,255,.25);
}
.btn-primary:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 32px rgba(0,200,255,.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(0,200,255,.3);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(0,200,255,.1);
  border-color: var(--border-hover);
  color: #fff;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(7,11,22,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 18px rgba(0,200,255,.35);
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(0,200,255,.08);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: .7rem;
  opacity: .6;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 230px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 200;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--text-muted);
  font-size: .88rem;
  border-radius: 0;
  transition: all var(--transition);
}
.dropdown-menu a:hover {
  background: rgba(0,200,255,.07);
  color: var(--accent);
}
.nav-dropdown:hover .dropdown-menu { display: block; }

.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(0,200,255,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(124,58,237,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  background: rgba(0,200,255,.07);
  border: 1px solid rgba(0,200,255,.2);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform: scale(1); }
  50%       { opacity:.4; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.hero-title .accent { color: var(--accent); }
.hero-title .gradient {
  background: linear-gradient(90deg, var(--accent), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat-item { }
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
}
.stat-value span { color: var(--accent); }
.stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.threat-monitor {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
}
.monitor-header {
  background: var(--bg-secondary);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.monitor-title {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  letter-spacing: .06em;
}
.monitor-dots { display: flex; gap: 6px; }
.monitor-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.monitor-body { padding: 20px; }

.threat-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  animation: slideIn .5s ease forwards;
  opacity: 0;
}
@keyframes slideIn {
  from { opacity:0; transform: translateX(-12px); }
  to   { opacity:1; transform: translateX(0); }
}
.threat-event:nth-child(1) { animation-delay: .2s; }
.threat-event:nth-child(2) { animation-delay: .5s; }
.threat-event:nth-child(3) { animation-delay: .8s; }
.threat-event:nth-child(4) { animation-delay: 1.1s; }
.threat-event:nth-child(5) { animation-delay: 1.4s; }

.threat-event.critical { background: rgba(239,68,68,.1); border-left: 3px solid #ef4444; }
.threat-event.high     { background: rgba(245,158,11,.1); border-left: 3px solid #f59e0b; }
.threat-event.medium   { background: rgba(0,200,255,.08); border-left: 3px solid var(--accent); }
.threat-event.blocked  { background: rgba(16,185,129,.1); border-left: 3px solid #10b981; }

.threat-icon { font-size: 1.1rem; flex-shrink: 0; }
.threat-info { flex: 1; }
.threat-name { font-size: .82rem; font-weight: 600; color: var(--text-primary); }
.threat-meta { font-size: .72rem; color: var(--text-muted); font-family: var(--font-mono); }
.threat-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.badge-critical { background: rgba(239,68,68,.2); color: #f87171; }
.badge-high     { background: rgba(245,158,11,.2); color: #fbbf24; }
.badge-medium   { background: rgba(0,200,255,.15); color: var(--accent); }
.badge-blocked  { background: rgba(16,185,129,.2); color: #34d399; }

.monitor-footer {
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.monitor-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--success);
}
.pulse-ring {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.monitor-count { font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); }

/* ---- Trust Bar ---- */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: .78rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item .icon { font-size: 1.1rem; color: var(--accent); }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(0,200,255,.1);
  border: 1px solid rgba(0,200,255,.2);
}
.card-icon.purple {
  background: rgba(124,58,237,.12);
  border-color: rgba(124,58,237,.25);
}
.card-icon.green {
  background: rgba(16,185,129,.1);
  border-color: rgba(16,185,129,.2);
}

.card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}
.card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---- Services Overview ---- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.service-card .service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(0,200,255,.12), rgba(124,58,237,.12));
  border: 1px solid var(--border);
}
.service-card h3 { font-size: 1.2rem; color: #fff; }
.service-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.75; flex: 1; }
.service-card .learn-more {
  color: var(--accent);
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
  text-decoration: none;
}
.service-card:hover .learn-more { gap: 10px; }

/* ---- Process Steps ---- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 36px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: .3;
}
.step:last-child::before { display: none; }

.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0,200,255,.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.step-content h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.step-content p  { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #0d1a35 0%, #0a0f1e 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% -20%, rgba(0,200,255,.1), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---- Checklist ---- */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  color: var(--text-muted);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,.1);
  color: #10b981;
  border: 1px solid rgba(16,185,129,.3);
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---- Feature Split Layout ---- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-split.reverse .split-visual { order: -1; }

.split-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow), var(--shadow-glow);
}

/* ---- Page Hero ---- */
.page-hero {
  padding: calc(var(--nav-height) + 72px) 0 72px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,200,255,.06), transparent 70%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.page-hero h1 span { color: var(--accent); }
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  justify-content: center;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-dark); }

/* ---- Contact Form ---- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: .95rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dark); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,200,255,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg-card); }

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-email a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--accent);
  font-weight: 500;
}
.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: .82rem;
  color: var(--text-dark);
}
.footer-copy a { color: var(--text-muted); }
.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-badge {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}

/* ---- Testimonials ---- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-text {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-text::before { content: '"'; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: .92rem; font-weight: 700; color: #fff; }
.author-title { font-size: .8rem; color: var(--text-muted); }

/* ---- Alert/Highlight boxes ---- */
.alert-box {
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid;
  margin: 24px 0;
}
.alert-box.info  { background: rgba(0,200,255,.07); border-color: rgba(0,200,255,.2); }
.alert-box.warn  { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.2); }
.alert-box .icon { font-size: 1.3rem; flex-shrink: 0; }
.alert-box p     { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ---- Utility ---- */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }
.mb-48  { margin-bottom: 48px; }
.mb-64  { margin-bottom: 64px; }
.gap-12 { gap: 12px; }
.flex   { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

/* Success message */
.success-msg {
  display: none;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #34d399;
  font-size: .9rem;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { gap: 40px; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin: 0 auto; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse .split-visual { order: 0; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(7,11,22,.97);
    padding: 32px 24px;
    gap: 8px;
    align-items: stretch;
    z-index: 999;
    backdrop-filter: blur(20px);
  }
  .nav-open .nav-links a {
    padding: 14px 18px;
    font-size: 1.05rem;
  }
  .nav-open .nav-cta {
    display: block;
    position: fixed;
    bottom: 32px;
    left: 24px; right: 24px;
    z-index: 1000;
  }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.04); border-radius: 8px; margin-top: 4px; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 28px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .trust-bar .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
}
