/* ============================================================
   POMME CONSULTING — styles.css
   Dark enterprise / DC-metro government-contracting aesthetic.
   Mobile-first, fluid, no external CSS dependencies.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand surface system — tactical cyber-government feel */
  --bg:           #060A18;          /* deepest canvas (darker for HUD contrast) */
  --bg-2:         #0A1024;          /* alt section */
  --surface:      #0F1830;          /* cards */
  --surface-2:    #15203F;          /* card hover */
  --border:       rgba(34, 211, 238, 0.10);
  --border-strong:rgba(34, 211, 238, 0.24);

  /* Brand accents — electric cyber palette */
  --cyan:         #22D3EE;          /* primary HUD cyan */
  --cyan-2:       #67E8F9;          /* lighter cyan */
  --cyan-3:       #0E7490;          /* deep cyan */
  --accent:       #3B82F6;          /* electric blue */
  --accent-2:     #60A5FA;          /* lighter blue */
  --accent-3:     #1E3A8A;          /* deep blue */
  --emerald:      #10B981;          /* signal/operational */
  --emerald-2:    #34D399;
  --alert:        #F59E0B;          /* tactical amber */

  /* Text */
  --text:         #E5E7EB;
  --text-strong:  #FFFFFF;
  --text-muted:   #94A3B8;
  --text-dim:     #64748B;

  /* Effects */
  --shadow-sm:    0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md:    0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg:    0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow:  0 0 48px rgba(34, 211, 238, 0.35);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #22D3EE 0%, #2563EB 100%);
  --grad-text:    linear-gradient(135deg, #67E8F9 0%, #3B82F6 100%);
  --grad-card:    linear-gradient(160deg, rgba(34,211,238,0.10) 0%, rgba(37,99,235,0.04) 100%);

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Fluid type scale */
  --fs-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --fs-sm:   clamp(0.875rem, 0.85rem + 0.2vw, 1rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --fs-xl:   clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-2xl:  clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --fs-3xl:  clamp(2.5rem, 1.9rem + 3vw, 4.25rem);

  /* Layout — tighter, more angular */
  --container:   1200px;
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;

  /* Motion */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:      180ms;
  --t-med:       320ms;
  --t-slow:      520ms;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-strong); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: rgba(34, 211, 238, 0.35); color: var(--text-strong); }

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  z-index: 1000; font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              color var(--t-med) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 16px 28px; font-size: var(--fs-base); }
.btn svg { transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.32), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(34, 211, 238, 0.5), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(34, 211, 238, 0.10);
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--cyan-2);
}
.btn-secondary:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(103, 232, 249, 0.7);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- 5. Eyebrow / section heads ---------- */
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cyan-2);
  font-weight: 500;
  padding: 7px 14px 7px 12px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 4px;
}
.eyebrow::before {
  content: "//";
  color: var(--cyan);
  font-weight: 700;
  margin-right: 2px;
  letter-spacing: 0;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-top: 20px;
}
.section-lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-top: 18px;
  line-height: 1.6;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 15, 30, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              padding var(--t-med) var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 15, 30, 0.85);
  border-bottom-color: var(--border);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  transition: opacity var(--t-fast) var(--ease);
}
.brand:hover { opacity: 0.85; }
.brand-mark { width: 36px; height: 40px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name { font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-sub  {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 4px;
}

.primary-nav { display: none; }
@media (min-width: 960px) {
  .primary-nav { display: block; }
  .primary-nav ul {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px;
  }
  .primary-nav a {
    display: inline-block;
    padding: 8px 16px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 999px;
    transition: color var(--t-fast) var(--ease),
                background var(--t-fast) var(--ease);
  }
  .primary-nav a:hover {
    color: var(--text-strong);
    background: rgba(255,255,255,0.05);
  }
}

.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease),
              opacity var(--t-med) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 960px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: absolute;
  left: 16px; right: 16px;
  top: calc(100% + 8px);
  padding: 16px;
  background: rgba(18, 26, 51, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform-origin: top right;
  animation: dropIn var(--t-med) var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.05); color: var(--text-strong); }
.mobile-nav .btn { margin-top: 8px; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 160px 0 100px; } }

.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.mesh-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #22D3EE 0%, transparent 70%);
  top: -120px; left: -120px;
  animation: float-mesh 14s ease-in-out infinite;
}
.mesh-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation: float-mesh 18s ease-in-out infinite reverse;
  opacity: 0.45;
}
.mesh-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #0E7490 0%, transparent 70%);
  top: 30%; left: 40%;
  animation: float-mesh 22s ease-in-out infinite;
  opacity: 0.5;
}
@keyframes float-mesh {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Hex-grid backdrop layer — applied to specific sections via .hex-bg */
.hex-bg {
  position: relative;
  isolation: isolate;
}
.hex-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52' fill='none' stroke='%2322D3EE' stroke-opacity='0.08' stroke-width='1'><path d='M15 0 L45 0 L60 26 L45 52 L15 52 L0 26 Z'/></svg>");
  background-size: 60px 52px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.hex-bg > * { position: relative; z-index: 1; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

.hero-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-top: 24px;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: 22px;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.6;
}
.hero-sub strong { color: var(--text-strong); font-weight: 600; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual { position: relative; }
.orbit-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--grad-card), rgba(15, 24, 48, 0.65);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 64px rgba(34, 211, 238, 0.12), inset 0 1px 0 rgba(34, 211, 238, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* HUD corner accents on the orbit card */
.orbit-card::before,
.orbit-card::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.orbit-card::before {
  top: 10px; left: 10px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}
.orbit-card::after {
  bottom: 10px; right: 10px;
  border-bottom: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}
.orbit-card img {
  width: 100%;
  height: auto;
  display: block;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(18, 26, 51, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--text-strong);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}
.chip-1 { top: 8%;    left: -10px; animation: float-chip 6s ease-in-out infinite; }
.chip-2 { top: 38%;   right: -12px; animation: float-chip 7s ease-in-out infinite reverse; }
.chip-3 { bottom: 8%; left: 14%; animation: float-chip 8s ease-in-out infinite; }
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-ring 2s ease-out infinite;
}
.pulse-dot.small { width: 6px; height: 6px; }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  display: none;
}
@media (min-width: 768px) { .scroll-cue { display: block; } }
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 2px;
  animation: scroll-bob 1.8s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { opacity: 1; transform: translate(-50%, 0); }
  50%      { opacity: 0.2; transform: translate(-50%, 10px); }
}

/* ---------- 8. STATS / TRUST BAR ---------- */
.stats {
  padding: 60px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ---------- 9. SERVICES ---------- */
.services {
  padding: 120px 0;
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
/* Hover wash gradient */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  z-index: -1;
}
/* HUD corner brackets (TR + BL) — tactical/cyber motif */
.service-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background-image:
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan));
  background-size: 16px 1.5px, 1.5px 16px, 16px 1.5px, 1.5px 16px;
  background-position: top right, top right, bottom left, bottom left;
  background-repeat: no-repeat;
  opacity: 0.35;
  transition: opacity var(--t-med) var(--ease);
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(34, 211, 238, 0.25),
              0 0 32px rgba(34, 211, 238, 0.12);
}
.service-card:hover::before,
.service-card:focus-within::before { opacity: 1; }
.service-card:hover::after,
.service-card:focus-within::after { opacity: 1; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,0.20), rgba(37,99,235,0.08));
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan-2);
  margin-bottom: 22px;
  transition: transform var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.service-card:hover .service-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(34,211,238,0.35), rgba(37,99,235,0.18));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
}
.service-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 20px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  color: var(--text);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(-45deg);
}

/* ---------- 10. WHY ---------- */
.why {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 960px) {
  .why-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; }
}
.why-copy .section-title { margin-top: 20px; }
.why-copy .section-lead  { margin: 20px 0 32px; }

.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .why-list { grid-template-columns: repeat(2, 1fr); }
}

.why-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.why-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 28px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  opacity: 0.6;
  transition: opacity var(--t-med) var(--ease);
}
.why-item:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
}
.why-item:hover::before { opacity: 1; }
.why-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.32);
  color: var(--cyan-2);
}
.why-item h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.why-item p  { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- 11. PROCESS ---------- */
.process { padding: 120px 0; position: relative; }
.process-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  counter-reset: step;
}
@media (min-width: 640px)  { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-track { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(160deg, rgba(34,211,238,0.07), rgba(37,99,235,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.1);
}
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--cyan-2);
  margin-bottom: 16px;
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: 10px; }
.step p  { color: var(--text-muted); font-size: var(--fs-sm); }

/* Connector line on desktop */
@media (min-width: 1024px) {
  .process-track::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
    pointer-events: none;
  }
}

/* ---------- 12. ABOUT ---------- */
.about {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}
.about-copy .section-title { margin-top: 20px; }
.about-copy p {
  color: var(--text-muted);
  margin-top: 20px;
  font-size: var(--fs-base);
  line-height: 1.7;
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--cyan-2);
  font-weight: 500;
}

/* About visual: stacked terminal-style card */
.about-card-stack {
  position: relative;
  padding: 20px;
}
.about-card {
  background: rgba(10, 14, 28, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.card-a {
  position: relative;
  padding: 16px 20px 20px;
  transform: rotate(-1.2deg);
}
.card-a:hover { transform: rotate(0deg) translateY(-4px); transition: transform var(--t-slow) var(--ease); }
.ac-row { display: flex; gap: 6px; margin-bottom: 12px; }
.ac-row .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #EF4444; } .dot-y { background: #F59E0B; } .dot-g { background: #10B981; }
.about-card pre {
  margin: 0;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #94A3B8;
  overflow-x: auto;
}
.tk { color: #67E8F9; }
.ts { color: #34D399; }
.tn { color: #FBBF24; }

.card-b {
  position: relative;
  margin-top: -28px;
  margin-left: 32px;
  padding: 20px 24px;
  transform: rotate(1.5deg);
  transition: transform var(--t-slow) var(--ease);
}
.card-b:hover { transform: rotate(0deg) translateY(-4px); }
.ac-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ac-label { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.ac-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-strong);
}
.ac-bar {
  height: 8px;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.ac-bar span {
  display: block;
  height: 100%;
  background: var(--grad-primary);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
  animation: progress-grow 1.6s var(--ease) 0.6s both;
  transform-origin: left;
}
@keyframes progress-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.ac-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.ac-meta span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 13. CTA BANNER ---------- */
.cta-banner {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  text-align: center;
  padding: 64px 28px;
  background: linear-gradient(160deg, rgba(34,211,238,0.14), rgba(37,99,235,0.06));
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}
/* CTA corner brackets — tactical accent */
.cta-inner::after {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  background-image:
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan));
  background-size: 22px 1.5px, 1.5px 22px, 22px 1.5px, 1.5px 22px;
  background-position: top left, top left, bottom right, bottom right;
  background-repeat: no-repeat;
  opacity: 0.55;
}
.cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34,211,238,0.45) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.cta-inner h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner p {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin: 18px auto 0;
  max-width: 560px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t-fast) var(--ease);
}
.cta-mail:hover { color: var(--accent-2); }

/* ---------- 14. FOOTER ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: #060912;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { color: var(--text-muted); font-size: var(--fs-sm); max-width: 280px; }

.footer-col h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: var(--fs-sm);
  color: var(--text);
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent-2); }
.footer-col li { font-size: var(--fs-sm); color: var(--text); }

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

/* ---------- 15. Scroll-triggered reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
