/* v2 */
:root {
  --navy: #16344C;
  --navy-dark: #0d2135;
  --navy-mid: #1e4266;
  --green: #76FB92;
  --green-dim: rgba(118,251,146,0.12);
  --green-glow: rgba(118,251,146,0.3);
  --white: #ffffff;
  --off-white: #f4f7f9;
  --text-muted: rgba(255,255,255,0.55);
  --text-body: rgba(255,255,255,0.82);
  --border: rgba(118,251,146,0.15);
  --card-bg: rgba(255,255,255,0.04);
  --card-hover: rgba(118,251,146,0.07);
  /* Theme-switchable tokens */
  --nav-bg: rgba(13,33,53,0.85);
  --hero-end: #0f2d45;
  --stats-bg: rgba(13,33,53,0.7);
  --li-border: rgba(255,255,255,0.06);
}

/* ───── LIGHT THEME ───── */
[data-theme="light"] {
  --navy-dark: #f8fafc;          /* page background */
  --navy-mid: #f1f5f9;           /* section backgrounds */
  --green: #475569;              /* accent → warm slate */
  --green-dim: rgba(71,85,105,0.08);
  --green-glow: rgba(71,85,105,0.22);
  --white: #0f172a;              /* headings / strong text */
  --text-muted: rgba(15,23,42,0.50);
  --text-body: rgba(15,23,42,0.75);
  --border: rgba(71,85,105,0.15);
  --card-bg: rgba(255,255,255,0.97);
  --card-hover: rgba(71,85,105,0.05);
  --nav-bg: rgba(255,255,255,0.97);
  --hero-end: #e2e8f0;
  --stats-bg: rgba(241,245,249,0.95);
  --li-border: rgba(71,85,105,0.08);
}
[data-theme="light"] body::before { opacity: 0.04; }
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(71,85,105,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 70% at 15% 85%, rgba(71,85,105,0.09) 0%, transparent 60%),
    linear-gradient(135deg, #f8fafc 0%, var(--hero-end) 100%);
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(71,85,105,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,85,105,0.05) 1px, transparent 1px);
}
[data-theme="light"] .page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, var(--hero-end) 100%);
}
[data-theme="light"] .plan-card:hover {
  box-shadow: 0 20px 60px rgba(71,85,105,0.12);
}
/* nav-cta in light mode */
[data-theme="light"] .nav-links a.nav-cta {
  background: #475569;
  color: #ffffff !important;
}
[data-theme="light"] .nav-links a.nav-cta:hover { background: #334155; }
/* cta-banner in light mode */
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
}
[data-theme="light"] .cta-banner h2 { color: #ffffff; }
[data-theme="light"] .cta-banner .btn-dark { background: #0f172a; color: #cbd5e1; }
[data-theme="light"] .cta-banner .btn-dark:hover { background: #1e293b; }
/* featured plan card border in light mode */
[data-theme="light"] .plan-card.featured { border-color: #475569; }
/* hero tag pill accent in light mode */
[data-theme="light"] .hero-tag {
  background: rgba(71,85,105,0.08);
  border-color: rgba(71,85,105,0.25);
  color: #475569;
}
[data-theme="light"] .hero-tag::before { background: #475569; }
/* Service / feature card accent line */
[data-theme="light"] .service-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .value-card {
  border-top: 2px solid rgba(71,85,105,0.18);
}
/* Stats bar background */
[data-theme="light"] .stats-bar {
  background: var(--stats-bg);
  border-color: rgba(71,85,105,0.12);
}
/* page-hero tag in light mode */
[data-theme="light"] .page-hero-tag {
  background: rgba(71,85,105,0.08);
  border-color: rgba(71,85,105,0.25);
  color: #475569;
}
/* threat bar in light mode */
[data-theme="light"] .cyber-threat-bar {
  background: rgba(239,68,68,0.06);
  border-color: rgba(239,68,68,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  cursor: default;
}

/* ───── NOISE OVERLAY ───── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ───── TYPOGRAPHY ───── */
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; }

/* ───── TOP UTILITY BAR ───── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--navy-dark);
  border-bottom: 1px solid var(--border);
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 0.72rem;
}

.topbar-label {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar a:hover { color: var(--green); }

/* ───── MAIN CONTENT ───── */
.main-content { padding-top: 116px; }

/* ───── NAVBAR ───── */
nav {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 80px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: height 0.35s ease, background 0.3s;
}

/* Scrolled state — nav shrinks back to original size */
nav.nav-scrolled {
  height: 72px;
}

nav.nav-scrolled .nav-logo-mark {
  height: 36px;
  width: auto;
}

nav.nav-scrolled .nav-logo-text {
  font-size: 0.95rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  margin-right: auto; /* push nav links + toggle to the right */
  flex-shrink: 0;
}

.nav-logo-mark {
  height: 50px;
  width: auto;
  transition: height 0.35s ease;
}

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  transition: font-size 0.35s ease;
}

.nav-logo-text span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.nav-links a:hover { color: var(--white); background: var(--green-dim); }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  border-radius: 6px;
  font-size: 0.85rem;
  padding: 9px 12px;
}

.nav-cta {
  background: var(--green);
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  transition: all 0.2s;
}

/* Ensure dark navy text on bright green — higher specificity than .nav-links a */
.nav-links a.nav-cta {
  color: #0d2135;
}

.nav-cta:hover { background: #8fffa3; transform: translateY(-1px); }

/* ───── HERO ───── */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 5% 140px; /* bottom padding clears the absolute-positioned stats bar */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(118,251,146,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(22,52,76,0.8) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--hero-end) 100%);
}

/* Animated grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(118,251,146,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118,251,146,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 20s linear infinite;
}

@keyframes gridPan {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero-content {
  position: relative;
  max-width: 680px;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

/* Let the headline flow naturally on desktop — breaks only needed on mobile */
.hero h1 br { display: none; }

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.25s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.35s ease both;
}

.btn-primary {
  background: var(--green);
  color: var(--navy-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: #8fffa3; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(118,251,146,0.25); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--stats-bg);
  backdrop-filter: blur(10px);
}

.hero-stat {
  flex: 1;
  padding: 28px 5%;
  border-right: 1px solid var(--border);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ───── PARTNER LOGOS ───── */
.partners {
  padding: 48px 5%;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.partners-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(2);
  transition: filter 0.2s;
}

.partner-logo:hover img {
  filter: grayscale(0) brightness(1);
}

/* Light mode: logos are already dark, just reduce brightness filter */
[data-theme="light"] .partner-logo img {
  filter: grayscale(1) brightness(0.2);
}
[data-theme="light"] .partner-logo:hover img {
  filter: grayscale(0) brightness(1);
}

/* Light mode: partner badges need stronger contrast against the light background */
[data-theme="light"] .partner-badge {
  background: #ffffff;
  border-color: rgba(8,145,178,0.35);
  color: rgba(15,23,42,0.75);
}
[data-theme="light"] .partner-badge:hover { color: #0891b2; border-color: #0891b2; }

/* Fallback text badge (shown if logo fails to load) */
.partner-badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.partner-badge:hover { color: var(--green); border-color: var(--green); }

/* ───── SECTIONS ───── */
section { padding: 96px 5%; }

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 56px;
}

/* Service body — always visible on desktop, collapsed by JS on mobile */
.service-body { display: block; }
.service-expand-hint { display: none; } /* hidden on desktop, shown by JS on mobile */

/* ───── SERVICE CARDS ───── */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.services-grid .service-card {
  flex: 1 1 260px; /* grow/shrink from 260px base — last row spreads evenly */
}

.service-card {
  display: block;
  background: var(--navy-dark);
  padding: 36px 32px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { background: var(--card-hover); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--green-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 500;
  transition: gap 0.2s;
}

.service-card:hover .service-card-arrow { gap: 10px; }

/* ───── PLAN CARDS ───── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s;
}

.plan-card.featured {
  background: var(--green-dim);
  border-color: var(--green);
}

.plan-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.plan-badge {
  display: inline-block;
  background: var(--green);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.plan-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 28px;
  line-height: 1.55;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 7px 0;
  border-bottom: 1px solid var(--li-border);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ───── TESTIMONIAL ───── */
.testimonial-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-block::before {
  content: '"';
  position: absolute;
  top: -20px; left: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 160px;
  color: var(--green);
  opacity: 0.08;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-body);
  font-style: italic;
  position: relative;
  margin-bottom: 28px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.875rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ───── CTA BANNER ───── */
.cta-banner {
  margin: 80px 5% 80px;
  background: linear-gradient(135deg, var(--green) 0%, #50d977 100%);
  border-radius: 20px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 480px;
}

.btn-dark {
  background: var(--navy-dark);
  color: var(--green);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-dark:hover { background: #0a1a28; transform: translateY(-2px); }

/* ───── FOOTER ───── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 64px 5% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-body);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Vibe-Coded line: full width so it wraps below copyright + Cyber Essentials */
.footer-bottom p:last-child {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

/* ───── INNER PAGE HERO ───── */
.page-hero {
  padding: 80px 5% 64px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--hero-end) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(118,251,146,0.07) 0%, transparent 70%);
}

.page-hero-tag {
  display: inline-block;
  background: var(--green-dim);
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 600px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 540px;
}

/* ───── FEATURE GRID ───── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  transition: all 0.25s;
}

.feature-card:hover { border-color: rgba(118,251,146,0.35); transform: translateY(-3px); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 14px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

.feat-icon {
  font-size: 1.6rem;
}

/* ───── CONTACT FORM ───── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--navy-dark); }

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.service-pill:hover {
  border-color: rgba(118,251,146,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.service-pill input[type="checkbox"],
.service-pill input[type="radio"] { display: none; }

/* DSAR confirm checkbox */
.dsar-confirm label { margin-bottom: 0; text-transform: none; letter-spacing: 0; }
.confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}
.confirm-label input[type="checkbox"] {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
}

.service-pill:has(input:checked) {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ───── ABOUT PAGE ───── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) { .about-intro { grid-template-columns: 1fr; } }

.about-visual {
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(118,251,146,0.1));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 10px;
}

.value-card p {
  font-size: 0.83rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ───── HAMBURGER ───── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--green-dim); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───── MOBILE NAV DRAWER ───── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  border-bottom: 1px solid var(--border);
  padding: 16px 5% 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  padding: 13px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-nav a:hover { background: var(--green-dim); color: var(--white); }
.mobile-nav .mobile-nav-cta {
  background: var(--green);
  color: var(--navy-dark);
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
}
.mobile-nav-section {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 12px 16px 4px;
}

/* ───── RESPONSIVE ───── */

/* Nav collapses to hamburger at 1100px (before items start wrapping) */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* Mobile-nav drawer: topbar still visible above 768px, so offset by topbar+nav */
@media (min-width: 769px) and (max-width: 1100px) {
  .mobile-nav { top: 116px; }
}

@media (max-width: 768px) {
  /* Topbar hidden, nav + content reset to original offsets */
  .topbar { display: none; }
  nav { top: 0; height: 72px; }
  nav.nav-scrolled { height: 72px; }
  .nav-logo-mark { height: 36px; width: auto; }
  nav.nav-scrolled .nav-logo-mark { height: 36px; width: auto; }
  .main-content { padding-top: 72px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { min-height: auto; padding: 60px 5% 280px; }
  .hero h1 { font-size: 2.2rem; }
  .hero h1 br { display: inline; } /* restore manual breaks on mobile */
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { width: 50%; min-width: 50%; border-bottom: 1px solid var(--border); }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--border); }

  /* Sections */
  section { padding: 56px 5%; }
  .section-title { font-size: 1.8rem; }
  .section-sub { margin-bottom: 36px; }

  /* Services grid — 2 columns on mobile */
  .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card { flex: none; }

  /* Mobile service card accordion */
  .service-card .service-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
  }
  .service-card.sc-open .service-body {
    max-height: 220px;
    opacity: 1;
  }
  /* Show expand hint */
  .service-card .service-expand-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--green);
    margin-top: 12px;
    font-weight: 500;
  }
  .service-card .service-expand-hint .expand-arrow {
    transition: transform 0.3s;
    display: inline-block;
  }
  .service-card.sc-open .service-expand-hint .expand-arrow {
    transform: rotate(90deg);
  }
  /* Compact card padding on mobile 2-col */
  .service-card { padding: 22px 18px; }

  /* Plans */
  .plans-grid { grid-template-columns: 1fr; }

  /* Feature grid */
  .feature-grid { grid-template-columns: 1fr; }

  /* CTA banner */
  .cta-banner { margin: 0 4% 64px; padding: 36px 28px; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
  .cta-banner h2 { font-size: 1.5rem; text-align: center; max-width: 100%; }
  .btn-dark { text-align: center; justify-content: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }

  /* About */
  .about-intro { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 3/2; font-size: 3.5rem; }
  .values-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding: 56px 5% 48px; }
  .page-hero h1 { font-size: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Partners */
  .partners-grid { gap: 12px; }
  .partner-badge { font-size: 0.75rem; padding: 8px 14px; }
}

@media (max-width: 480px) {
  nav { padding: 0 4%; }
  .hero { padding: 48px 4% 280px; }
  .hero-stat { width: 50%; }
  .hero-stat-number { font-size: 1.8rem; }
  section { padding: 48px 4%; }
  .cta-banner { margin: 0 4% 48px; padding: 28px 20px; align-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { border-radius: 12px; grid-template-columns: repeat(2, 1fr); }
  .plans-grid { gap: 16px; }
  .plan-card { padding: 28px 22px; }
}

/* ───── ANIMATIONS ───── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───── CYBER PAGE SPECIFIC ───── */
.cyber-threat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 60, 60, 0.08);
  border: 1px solid rgba(255,80,80,0.2);
  border-radius: 10px;
  padding: 16px 24px;
  margin-bottom: 48px;
  gap: 16px;
  flex-wrap: wrap;
}

.threat-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #ff9090;
}

.threat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff5050;
  animation: pulse 1.5s infinite;
}

/* Plan comparison note */
.plan-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
  font-style: italic;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0 5%;
}

/* ───── PLAN PRICING HEADER ───── */
.plan-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.plan-price strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.plan-price span { font-size: 0.8rem; }
.plan-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 16px;
}

/* ───── PLAN COMPARISON MATRIX ───── */
.plan-matrix-wrap {
  overflow-x: auto;
  margin-top: 52px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.plan-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.plan-matrix thead th {
  background: var(--card-bg);
  padding: 18px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid var(--border);
}
.plan-matrix thead th:first-child {
  text-align: left;
  width: 38%;
}
.plan-matrix thead th span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--green);
  margin-top: 3px;
}
.plan-matrix thead th.featured-col {
  background: var(--green-dim);
  border-color: var(--green);
}
.plan-matrix tr.matrix-category td {
  background: rgba(118,251,146,0.03);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plan-matrix td {
  padding: 11px 20px;
  border-bottom: 1px solid var(--li-border);
  color: var(--text-body);
  vertical-align: middle;
}
.plan-matrix td:not(:first-child) { text-align: center; }
.plan-matrix td.yes { color: var(--green); font-size: 1rem; font-weight: 700; }
.plan-matrix td.no { color: var(--text-muted); opacity: 0.45; }
.plan-matrix td.featured-col { background: rgba(118,251,146,0.03); }
.plan-matrix thead th.featured-col ~ th { /* nothing */ }
.plan-matrix tr:last-child td { border-bottom: none; }
@media (max-width: 768px) {
  .plan-matrix thead th:first-child { width: auto; min-width: 140px; }
  .plan-matrix td, .plan-matrix thead th { padding: 10px 12px; font-size: 0.78rem; }
}

/* ───── THEME TOGGLE SWITCH ───── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.toggle-track {
  position: relative;
  width: 56px;
  height: 28px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  transition: background 0.3s, border-color 0.3s;
  overflow: visible;
}
[data-theme="light"] .toggle-track {
  background: rgba(13,33,53,0.08);
}
.toggle-icon {
  display: block;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.25s;
}
/* SVG icons — cross-platform, no emoji rendering issues */
.toggle-icon-sun {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.5' fill='%23798fa8'/%3E%3Cg stroke='%23798fa8' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='2' x2='12' y2='4'/%3E%3Cline x1='12' y1='20' x2='12' y2='22'/%3E%3Cline x1='4.93' y1='4.93' x2='6.34' y2='6.34'/%3E%3Cline x1='17.66' y1='17.66' x2='19.07' y2='19.07'/%3E%3Cline x1='2' y1='12' x2='4' y2='12'/%3E%3Cline x1='20' y1='12' x2='22' y2='12'/%3E%3Cline x1='6.34' y1='17.66' x2='4.93' y2='19.07'/%3E%3Cline x1='17.66' y1='6.34' x2='19.07' y2='4.93'/%3E%3C/g%3E%3C/svg%3E");
}
.toggle-icon-moon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z' fill='%23798fa8'/%3E%3C/svg%3E");
}
.toggle-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(28px); /* dark mode: thumb right (near moon) */
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
[data-theme="light"] .toggle-thumb {
  transform: translateX(0); /* light mode: thumb left (near sun) */
}
/* On mobile — toggle stays in nav, scales slightly smaller */
@media (max-width: 768px) {
  .toggle-track { width: 48px; height: 24px; }
  .toggle-thumb { width: 18px; height: 18px; top: 2px; left: 2px; transform: translateX(24px); }
  [data-theme="light"] .toggle-thumb { transform: translateX(0); }
}

/* ───── TEAM SECTION ───── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  border-color: rgba(118,251,146,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid) 0%, #0f2d45 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto 4px;
  flex-shrink: 0;
}

.team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 80%, rgba(118,251,146,0.08) 0%, transparent 70%);
}

.team-avatar-initials {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.9;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-body {
  padding: 20px 20px 22px;
}

.team-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.team-role {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 500;
  line-height: 1.4;
}

.team-card-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.team-card:hover .team-card-accent {
  transform: scaleX(1);
}


/* Active nav link */
.nav-links a.nav-active {
  color: var(--green);
  background: var(--green-dim);
}

/* ───── FOCUS STATES (accessibility) ───── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-logo:focus-visible { outline-offset: 6px; }

/* ───── NAV PORTAL BUTTON ───── */
.nav-portal {
  background: transparent;
  color: var(--green);
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  font-size: 0.875rem;
}
.nav-links a.nav-portal {
  color: var(--green);
}
.nav-portal:hover { background: var(--green-dim); border-color: var(--green); transform: translateY(-1px); }
[data-theme="light"] .nav-links a.nav-portal { color: #0891b2; border-color: rgba(8,145,178,0.3); }
[data-theme="light"] .nav-portal:hover { background: rgba(8,145,178,0.08); border-color: #0891b2; }

/* ───── PORTAL / BOOKMARKS PAGE ───── */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.portal-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.portal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.portal-card:hover { background: var(--card-hover); border-color: rgba(118,251,146,0.35); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.portal-card:hover::before { transform: scaleX(1); }
.portal-card-icon {
  font-size: 2rem;
  width: 52px; height: 52px;
  background: var(--green-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.portal-card-desc {
  font-size: 0.83rem;
  color: var(--text-body);
  line-height: 1.55;
}
.portal-card-url {
  font-size: 0.75rem;
  color: var(--green);
  margin-top: auto;
  font-weight: 500;
}
.portal-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 48px 0 16px;
}
.portal-section-label:first-of-type { margin-top: 0; }

/* ───── BLOG PAGE ───── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.25); border-color: rgba(118,251,146,0.3); }
.blog-card-header {
  padding: 32px 28px 24px;
  background: var(--green-dim);
  border-bottom: 1px solid var(--border);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.blog-card-category {
  display: inline-block;
  background: var(--green);
  color: var(--navy-dark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  align-self: flex-start;
}
[data-theme="light"] .blog-card-category { color: #ffffff; }
.blog-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
}
.blog-card-body {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.blog-card-readmore {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
}

/* Blog post page */
.blog-post-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 5% 100px;
}
.blog-post-wrap h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.blog-post-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.blog-post-wrap h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 40px 0 14px;
}
.blog-post-wrap p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 18px;
}
.blog-post-wrap ul, .blog-post-wrap ol {
  margin: 0 0 18px 24px;
  padding: 0;
}
.blog-post-wrap li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 6px;
}
.blog-post-wrap strong { color: var(--white); font-weight: 600; }
.blog-callout {
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .portals-grid { grid-template-columns: 1fr; }
}

/* ───── INDUSTRY VERTICALS ───── */
.vertical-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 768px) { .vertical-intro { grid-template-columns: 1fr; } }
.software-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-body);
  margin: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.software-badge:hover { border-color: var(--green); color: var(--green); }
.software-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 20px; }

/* ───── WEB DESIGN PAGE ───── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--border);
}
.process-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
}
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green);
  flex-shrink: 0;
  z-index: 1;
}
.process-step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  padding-top: 14px;
}
.process-step-content p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .process-steps::before { left: 22px; }
  .process-step-num { width: 44px; height: 44px; font-size: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   LANDING PAGE  (landing.html + per-campaign variants)
   ════════════════════════════════════════════════════════════ */

/* ── Header ────────────────────────────────────────────────── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
}

.lp-header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-phone-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
}
.lp-phone-cta:hover { opacity: 0.75; }
.lp-phone-cta svg { flex-shrink: 0; }

/* ── Hero ───────────────────────────────────────────────────── */
.lp-hero {
  padding: 72px 5% 80px;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 105% 50%, var(--green-dim) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at -10% 80%, rgba(118,251,146,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.lp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
  position: relative;
}

.lp-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.lp-headline {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--white);
}

.lp-hl { color: var(--green); }

.lp-hero-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.lp-hero-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
}

.lp-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-pill {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  letter-spacing: 0.03em;
}

/* ── Form card ──────────────────────────────────────────────── */
.lp-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  backdrop-filter: blur(12px);
}

.lp-form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.lp-form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}


.lp-submit {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* ── Services strip ─────────────────────────────────────────── */
.lp-services {
  padding: 64px 5%;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 44px;
}

.lp-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-service {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.lp-service:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.lp-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 0 auto 18px;
  color: var(--green);
}

.lp-service h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.lp-service p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Trust section ──────────────────────────────────────────── */
.lp-trust {
  padding: 72px 5%;
}

.lp-trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lp-trust-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lp-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.lp-stat:last-child { border-bottom: none; padding-bottom: 0; }

.lp-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.lp-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lp-trust-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 22px;
  width: fit-content;
  color: var(--green);
}
.lp-cyber-badge strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}
.lp-cyber-badge span {
  display: block;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-trust-copy {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}

.lp-cta-link {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.lp-cta-link:hover { opacity: 0.75; }

/* ── Footer ─────────────────────────────────────────────────── */
.lp-footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 28px 5% 20px;
}

.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.lp-footer-logo .nav-logo-mark { height: 32px; }

.lp-footer-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-left: auto;
}
.lp-footer-contact a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.lp-footer-contact a:hover { color: var(--green); }
.lp-footer-contact span { font-size: 0.8rem; color: var(--text-muted); }

.lp-footer-legal {
  max-width: 1200px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.lp-footer-legal a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.lp-footer-legal a:hover { color: var(--green); }

/* ── Light-mode overrides ───────────────────────────────────── */
[data-theme="light"] .lp-service:hover { box-shadow: 0 16px 40px rgba(8,145,178,0.1); }
[data-theme="light"] .lp-pill { color: #0891b2; background: rgba(8,145,178,0.08); border-color: rgba(8,145,178,0.2); }
[data-theme="light"] .lp-cyber-badge { color: #0891b2; }
[data-theme="light"] .lp-cyber-badge span { color: #0891b2; }
[data-theme="light"] .lp-cta-link { color: #0891b2; }
[data-theme="light"] .lp-phone-cta { color: #0891b2; }
[data-theme="light"] .lp-hl { color: #0891b2; }
[data-theme="light"] .lp-service-icon { color: #0891b2; }
[data-theme="light"] .lp-stat-num { color: #0891b2; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-text { max-width: 680px; }
  .lp-services-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-trust-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .lp-header { padding: 0 4%; }
  .lp-hero { padding: 48px 4% 56px; }
  .lp-hero-inner { gap: 32px; }
  .lp-form-card { padding: 24px 20px; }

  .lp-services { padding: 48px 4%; }
  .lp-services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lp-trust { padding: 52px 4%; }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lp-footer-contact { margin-left: 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .lp-stat-num { font-size: 2.4rem; }
}

@media (max-width: 480px) {
  .lp-services-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   PERSONAL CARD PAGE  (ryan.html, team member variants)
   ════════════════════════════════════════════════════════════ */

.card-body {
  min-height: 100vh;
  background: var(--navy-dark);
}

.card-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 64px;
  min-height: 100vh;
  position: relative;
}

/* Subtle radial glow behind the profile */
.card-page::before {
  content: '';
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse 70% 60% at 50% 20%, var(--green-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.card-container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* ── Profile ────────────────────────────────────────────── */
.card-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding-bottom: 8px;
}

.card-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 3px solid var(--green);
  box-shadow: 0 0 0 6px var(--green-dim), 0 16px 40px rgba(0,0,0,0.4);
  overflow: hidden;
  margin-bottom: 4px;
  position: relative;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Initials fallback — shown when img fails via onerror class toggle */
.card-avatar-fallback {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  pointer-events: none;
}
.card-avatar img + .card-avatar-fallback { display: none; }
.card-avatar--initials .card-avatar-fallback { display: flex; }

.card-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

.card-company-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.card-company-logo {
  height: 28px !important;
  width: auto !important;
}

.card-company-tag span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.7;
}

/* ── Save contact CTA ───────────────────────────────────── */
.card-save-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 20px;
  background: var(--green);
  color: var(--navy-dark);
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin: 6px 0 4px;
}
.card-save-btn:hover {
  background: #8fffa3;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(118,251,146,0.3);
}

/* ── Link cards ─────────────────────────────────────────── */
.card-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.card-link:hover {
  border-color: var(--green);
  background: var(--green-dim);
  transform: translateX(4px);
}

.card-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.card-link-icon--sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.card-link-icon--whatsapp { color: #25D366; }
.card-link-icon--linkedin  { color: #0A66C2; }
[data-theme="light"] .card-link-icon--whatsapp { color: #128C7E; }

.card-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.card-link-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.2;
}

.card-link-sub {
  font-size: 0.77rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-link-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s;
}
.card-link:hover .card-link-arrow { color: var(--green); }

/* Smaller service link variant */
.card-link--sm {
  padding: 11px 14px;
  gap: 12px;
}
.card-link--sm .card-link-label { font-size: 0.85rem; }

/* Accented booking link */
.card-link--accent {
  border-color: rgba(118,251,146,0.25);
}
.card-link--accent .card-link-label { color: var(--green); }

/* Section divider */
.card-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 10px 0 2px;
}

/* ── Footer ─────────────────────────────────────────────── */
.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.card-footer-logo-img {
  height: 30px !important;
  width: auto !important;
}

.card-footer-cert {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ── Light-mode overrides ───────────────────────────────── */
[data-theme="light"] .card-save-btn:hover { box-shadow: 0 10px 28px rgba(8,145,178,0.25); }
[data-theme="light"] .card-link--accent { border-color: rgba(8,145,178,0.3); }
[data-theme="light"] .card-link--accent .card-link-label { color: #0891b2; }
