/* ================================================================
   PACKETPOINT DESIGN SYSTEM v2.0 — TOKENS
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-blue: #0A6EBD;
  --brand-teal: #00C2A8;
  --brand-gradient: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-teal) 100%);

  --bg-page: #FFFFFF;
  --bg-subtle: #F4F6F9;
  --bg-dark: #0B1520;
  --bg-dark-surface: #0f1f2e;
  --bg-dark-elevated: #132a3c;

  --text-primary: #1A2332;
  --text-secondary: #2A3A4E;
  --text-body: #5A6B7F;
  --text-muted: #8494A7;
  --text-on-dark: #E8ECF1;
  --text-on-dark-muted: #8494A7;

  --border-default: rgba(200, 209, 220, 0.5);
  --border-hover: rgba(10, 110, 189, 0.25);
  --border-focus: #0A6EBD;
  --border-dark: rgba(255, 255, 255, 0.06);
  --border-dark-hover: rgba(0, 194, 168, 0.25);
  --divider-light: #E8ECF1;
  --divider-dark: rgba(255, 255, 255, 0.06);

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;
  --space-4: 16px;  --space-5: 20px;  --space-6: 24px;
  --space-8: 32px;  --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-section: 100px;

  --radius-sm: 4px;   --radius-md: 8px;
  --radius-lg: 12px;  --radius-xl: 16px;
  --radius-icon: 10px; --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(11,21,32,0.04);
  --shadow-sm: 0 1px 3px rgba(11,21,32,0.06), 0 1px 2px rgba(11,21,32,0.04);
  --shadow-md: 0 4px 16px rgba(11,21,32,0.08), 0 1px 3px rgba(11,21,32,0.04);
  --shadow-lg: 0 8px 32px rgba(11,21,32,0.10), 0 2px 6px rgba(11,21,32,0.04);
  --shadow-cta: 0 4px 16px rgba(10,110,189,0.3);
  --shadow-cta-hover: 0 8px 28px rgba(10,110,189,0.35);

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-entrance: 600ms;

  --max-width: 1200px;
  --nav-height: 80px;
}

/* ================================================================
   GLOBAL RESETS & BASE
   ================================================================ */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--text-primary); background: var(--bg-dark);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main { background: var(--bg-page); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
*:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
*:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  padding: 12px 24px; background: var(--brand-blue); color: #fff;
  font-size: 0.88rem; font-weight: 600; border-radius: var(--radius-md);
}
.skip-link:focus { top: 16px; }

.section--dark *:focus-visible,
.hero *:focus-visible,
.page-hero *:focus-visible,
.cta-banner *:focus-visible,
.footer *:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up, .stagger > * { opacity: 1; transform: none; }
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(24px, 5vw, 80px); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display); font-weight: 700;
  line-height: 1.2; color: var(--text-primary);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.18; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
p { color: var(--text-body); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brand-teal); margin-bottom: var(--space-3);
}
.section-label--light { color: var(--brand-teal); }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.divider-gradient {
  height: 3px; width: 80px; background: var(--brand-gradient);
  border-radius: 2px; margin: var(--space-5) 0;
}
.section__header .divider-gradient { margin-left: auto; margin-right: auto; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 600;
  border-radius: var(--radius-md); border: none; cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform var(--duration-normal) var(--ease-in-out),
              box-shadow var(--duration-normal) var(--ease-in-out),
              background var(--duration-fast) var(--ease-in-out),
              border-color var(--duration-fast) var(--ease-in-out),
              color var(--duration-fast) var(--ease-in-out);
}
.btn--lg { padding: 16px 36px; font-size: 0.95rem; min-height: 52px; }
.btn--md { padding: 12px 28px; font-size: 0.88rem; min-height: 44px; }
.btn--sm { padding: 8px 20px; font-size: 0.82rem; min-height: 36px; }

.btn-primary {
  background: var(--brand-gradient); color: #fff;
  box-shadow: var(--shadow-cta); padding: 14px 32px; font-size: 0.9rem;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-cta); filter: brightness(0.95); }

.btn-secondary {
  background: rgba(10,110,189,0.08); color: var(--brand-blue);
  border: 1.5px solid rgba(10,110,189,0.2); padding: 14px 32px; font-size: 0.9rem;
}
.btn-secondary:hover { background: rgba(10,110,189,0.14); border-color: rgba(10,110,189,0.35); }
.btn-secondary:active { background: rgba(10,110,189,0.18); }

.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25); padding: 14px 32px; font-size: 0.9rem;
}
.btn-outline:hover { border-color: var(--brand-teal); background: rgba(0,194,168,0.08); }
.btn-outline:active { background: rgba(0,194,168,0.12); }

.btn-ghost {
  background: transparent; color: var(--brand-blue);
  padding: 0; font-size: 0.88rem; font-weight: 600; border: none;
  font-family: var(--font-display); cursor: pointer;
  transition: color var(--duration-fast) var(--ease-in-out);
}
.btn-ghost:hover { color: var(--brand-teal); }
.btn-ghost svg { transition: transform var(--duration-fast) var(--ease-in-out); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  z-index: 1000; transition: background var(--duration-normal) var(--ease-in-out),
  box-shadow var(--duration-normal) var(--ease-in-out);
}
.nav--transparent { background: transparent; }
.nav--solid {
  background: rgba(11,21,32,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(24px, 5vw, 80px);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 52px; width: auto; display: block; max-width: 260px; }
.nav__links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav__link {
  font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.7);
  transition: color var(--duration-fast) var(--ease-in-out);
  position: relative; padding: 4px 0;
}
.nav__link:hover, .nav__link--active { color: #fff; }
.nav__link--active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--brand-gradient); border-radius: 1px;
}
.nav__cta { padding: 10px 24px; font-size: 0.85rem; }
.nav__toggle {
  display: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-in-out), opacity var(--duration-fast);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================================================================
   HERO (homepage only)
   ================================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--bg-dark); overflow: hidden;
  padding: calc(var(--nav-height) + 64px) 0 80px;
}
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero::before {
  content: ''; position: absolute; top: -15%; right: -5%;
  width: 55%; height: 75%; z-index: 1;
  background: radial-gradient(ellipse, rgba(10,110,189,0.14) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -8%;
  width: 40%; height: 50%; z-index: 1;
  background: radial-gradient(ellipse, rgba(0,194,168,0.06) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__content h1 { color: var(--text-on-dark); margin-bottom: var(--space-6); }
.hero__content p {
  color: var(--text-on-dark-muted); font-size: 1.125rem;
  line-height: 1.8; margin-bottom: var(--space-10); max-width: 580px;
}
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: var(--space-16); border-top: 1px solid var(--divider-dark);
}
.hero__stat {
  padding: var(--space-8) var(--space-6) 0;
  border-right: 1px solid var(--divider-dark); position: relative;
}
.hero__stat:last-child { border-right: none; }
.hero__stat::before {
  content: ''; position: absolute; top: 0; left: var(--space-6);
  width: 40px; height: 3px; border-radius: 2px; background: var(--brand-gradient);
}
.hero__stat-value {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1;
}
.hero__stat-label { font-size: 0.8rem; color: var(--text-on-dark-muted); margin-top: var(--space-1); }
.hero__stat-value--text { font-size: 1.35rem; line-height: 1.2; }

/* ================================================================
   PAGE HERO (inner pages — services, about, etc.)
   ================================================================ */
.page-hero {
  position: relative; background: var(--bg-dark); overflow: hidden;
  padding: calc(var(--nav-height) + 64px) 0 72px;
}
.page-hero::before {
  content: ''; position: absolute; top: -20%; right: -5%;
  width: 50%; height: 80%; z-index: 0;
  background: radial-gradient(ellipse, rgba(10,110,189,0.12) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.page-hero__content { position: relative; z-index: 1; max-width: 680px; }
.page-hero__content h1 { color: var(--text-on-dark); margin-bottom: var(--space-5); }
.page-hero__content p {
  color: var(--text-on-dark-muted); font-size: 1.1rem;
  line-height: 1.8; max-width: 560px; margin-bottom: 0;
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: var(--space-section) 0; }
.section--gray { background: var(--bg-subtle); }
.section--dark { background: var(--bg-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-muted); }
.section__header { max-width: 640px; margin-bottom: var(--space-16); text-align: center; margin-left: auto; margin-right: auto; }
.section__header--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__header p { font-size: 1.05rem; }

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-section {
  padding: var(--space-10) 0; border-bottom: 1px solid var(--divider-light);
  background: var(--bg-page);
}
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-10); flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; transition: color var(--duration-fast) var(--ease-in-out);
}
.trust-badge:hover { color: var(--brand-blue); }
.trust-badge svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.trust-badge:hover svg { color: var(--brand-blue); }
.trust-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-muted); opacity: 0.4; flex-shrink: 0;
}

/* ================================================================
   GRIDS
   ================================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* ================================================================
   CARD — Service
   ================================================================ */
.card-service {
  background: var(--bg-page); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: var(--space-10); box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-in-out),
              box-shadow var(--duration-normal) var(--ease-in-out),
              border-color var(--duration-normal) var(--ease-in-out);
}
.card-service:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-hover); }
.card-service:hover .card-service__icon { background: rgba(10,110,189,0.1); }
.card-service:hover .card-service__icon svg { color: var(--brand-teal); }
.card-service__icon {
  width: 56px; height: 56px; border-radius: var(--radius-icon);
  background: var(--bg-subtle); display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-6); transition: background var(--duration-fast) var(--ease-in-out);
}
.card-service__icon svg { width: 28px; height: 28px; color: var(--brand-blue); transition: color var(--duration-fast) var(--ease-in-out); }
.card-service h3 { margin-bottom: var(--space-3); }
.card-service p { font-size: 0.875rem; color: var(--text-body); line-height: 1.7; }
.card-service__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--space-4); font-size: 0.88rem; font-weight: 600; color: var(--brand-blue);
  transition: color var(--duration-fast) var(--ease-in-out);
}
.card-service__link:hover { color: var(--brand-teal); }
.card-service__link svg { transition: transform var(--duration-fast) var(--ease-in-out); }
.card-service__link:hover svg { transform: translateX(3px); }

/* ================================================================
   CARD — Proof
   ================================================================ */
.card-proof {
  background: var(--bg-dark-surface); border: none; border-radius: var(--radius-md);
  padding: var(--space-6) 28px; border-left: 3px solid transparent; position: relative;
  transition: background var(--duration-fast) var(--ease-in-out);
}
.card-proof--accent { border-image: var(--brand-gradient) 1; }
.card-proof:hover { background: var(--bg-dark-elevated); }
.card-proof h4 { color: var(--text-on-dark); margin-bottom: var(--space-2); font-size: 0.95rem; }
.card-proof p { font-size: 0.88rem; color: var(--text-on-dark-muted); line-height: 1.6; }

/* ================================================================
   CARD — Testimonial
   ================================================================ */
.card-testimonial {
  position: relative; background: var(--bg-page);
  border: 1px solid var(--border-default); border-radius: var(--radius-xl);
  padding: var(--space-10);
}
.card-testimonial::before {
  content: ''; position: absolute; top: 0;
  left: var(--space-8); right: var(--space-8);
  height: 3px; border-radius: 0 0 2px 2px; background: var(--brand-gradient);
}
.card-testimonial::after {
  content: '\201C'; position: absolute; top: 20px; left: 28px;
  font-family: var(--font-serif); font-size: 4rem;
  line-height: 1; color: var(--brand-teal); opacity: 0.12; pointer-events: none;
}
.card-testimonial__quote {
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.8;
  color: var(--text-primary); margin-bottom: var(--space-6); padding-top: var(--space-2);
}
.card-testimonial__author { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); font-family: var(--font-display); font-style: normal; }
.card-testimonial__role { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; font-family: var(--font-display); font-style: normal; }

/* ================================================================
   CARD — Outcome
   ================================================================ */
.card-outcome {
  position: relative; background: var(--bg-page); border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); padding: var(--space-8); text-align: center;
  transition: transform var(--duration-normal) var(--ease-in-out), box-shadow var(--duration-normal) var(--ease-in-out);
}
.card-outcome:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-outcome__icon {
  width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4);
}
.card-outcome__icon svg { width: 24px; height: 24px; color: var(--brand-blue); }
.card-outcome h4 { margin-bottom: var(--space-2); font-size: 1rem; }
.card-outcome p { font-size: 0.85rem; color: var(--text-body); }

/* Card — Outcome on dark backgrounds */
.section--dark .card-outcome {
  background: var(--bg-dark-surface); border-color: var(--border-dark);
}
.section--dark .card-outcome:hover { background: var(--bg-dark-elevated); box-shadow: none; border-color: var(--border-dark-hover); }
.section--dark .card-outcome__icon { background: rgba(10,110,189,0.12); }
.section--dark .card-outcome__icon svg { color: var(--brand-teal); }
.section--dark .card-outcome h4 { color: var(--text-on-dark); }
.section--dark .card-outcome p { color: var(--text-on-dark-muted); }

/* Card — Experience on light/gray backgrounds */
.section--gray .card-experience,
.section:not(.section--dark):not(.section--gray) .card-experience {
  background: var(--bg-page); border: 1px solid var(--border-default);
  border-left: 3px solid transparent; border-image: var(--brand-gradient) 1;
}
.section--gray .card-experience:hover,
.section:not(.section--dark):not(.section--gray) .card-experience:hover {
  background: var(--bg-subtle);
}
.section--gray .card-experience h4,
.section:not(.section--dark):not(.section--gray) .card-experience h4 { color: var(--text-primary); }
.section--gray .card-experience p,
.section:not(.section--dark):not(.section--gray) .card-experience p { color: var(--text-body); }
.section--gray .card-experience .card-experience__tag,
.section:not(.section--dark):not(.section--gray) .card-experience .card-experience__tag { color: var(--brand-teal); }

/* ================================================================
   CARD — Experience
   ================================================================ */
.card-experience {
  background: var(--bg-dark-surface); border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  border-left: 3px solid transparent; border-image: var(--brand-gradient) 1;
  transition: background var(--duration-fast) var(--ease-in-out);
}
.card-experience:hover { background: var(--bg-dark-elevated); }
.card-experience h4 { color: var(--text-on-dark); font-size: 0.95rem; margin-bottom: var(--space-2); }
.card-experience p { font-size: 0.85rem; color: var(--text-on-dark-muted); line-height: 1.6; margin: 0; }
.card-experience__tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-teal); margin-bottom: var(--space-2);
}


/* ============================================================
   CARD EXPERIENCE — LIGHT VARIANT INSIDE GRAY SECTIONS
   (Keeps the "managed" section light without killing hover)
   ============================================================ */

.section--gray .card-experience {
  background: var(--bg-page);
  border: 1px solid var(--border-default);
}

.section--gray .card-experience h4 { color: var(--text-primary); }
.section--gray .card-experience p  { color: var(--text-body); }

/* Restore hover feel on gray sections */
.section--gray .card-experience:hover,
.section--gray .card-experience:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 194, 168, 0.22);
}

/* Icon tint on gray sections (optional but makes it feel "alive") */
.section--gray .card-experience .card-outcome__icon {
  background: rgba(10, 110, 189, 0.08);
  transition: background 0.25s ease;
}

.section--gray .card-experience .card-outcome__icon svg {
  color: #0A6EBD;
  transition: color 0.25s ease;
}

.section--gray .card-experience:hover .card-outcome__icon,
.section--gray .card-experience:focus-visible .card-outcome__icon {
  background: rgba(0, 194, 168, 0.10);
}

.section--gray .card-experience:hover .card-outcome__icon svg,
.section--gray .card-experience:focus-visible .card-outcome__icon svg {
  color: var(--brand-teal);
}


/* ================================================================
   CARD — AI (used on services page)
   ================================================================ */
.card-ai {
  background: var(--bg-page); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform var(--duration-normal) var(--ease-in-out),
              box-shadow var(--duration-normal) var(--ease-in-out),
              border-color var(--duration-normal) var(--ease-in-out);
}
.card-ai:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-hover); }
.card-ai h4 { font-size: 0.95rem; margin-bottom: var(--space-1); }
.card-ai p { font-size: 0.85rem; line-height: 1.6; }

/* ================================================================
   STORY GRID (about page)
   ================================================================ */
.story-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  align-items: start; gap: var(--space-16);
}
.story-text p { font-size: 1.02rem; line-height: 1.8; margin-bottom: var(--space-6); }
.story-highlights { display: flex; flex-direction: column; gap: var(--space-4); }

.story-highlight {
  display: flex; gap: var(--space-5); align-items: flex-start;
  padding: var(--space-5); border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  transition: transform var(--duration-normal) var(--ease-in-out),
              box-shadow var(--duration-normal) var(--ease-in-out);
}
.story-highlight:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.story-highlight__icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-icon);
  background: var(--bg-subtle); display: flex; align-items: center; justify-content: center;
}
.story-highlight__icon svg { width: 22px; height: 22px; color: var(--brand-blue); }
.story-highlight h4 { font-size: 0.95rem; margin-bottom: var(--space-1); }
.story-highlight p { font-size: 0.85rem; line-height: 1.6; margin: 0; }

/* ================================================================
   CARD — Comparison (about page)
   ================================================================ */
.card-comparison {
  background: var(--bg-page); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-in-out),
              box-shadow var(--duration-normal) var(--ease-in-out);
}
.card-comparison:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-comparison__header {
  padding: var(--space-5) var(--space-6); font-size: 0.88rem;
}
.card-comparison__header h4 { font-size: 1rem; margin: 0; }
.card-comparison__header--them {
  background: var(--bg-subtle); border-bottom: 1px solid var(--border-default);
}
.card-comparison__header--them h4 { color: var(--text-muted); }
.card-comparison__header--us {
  background: var(--bg-dark); border-bottom: 3px solid transparent;
  border-image: var(--brand-gradient) 1;
}
.card-comparison__header--us h4 { color: #fff; }
.card-comparison__list {
  list-style: none; padding: var(--space-5) var(--space-6);
}
.card-comparison__list li {
  position: relative; padding: var(--space-3) 0 var(--space-3) var(--space-8);
  font-size: 0.88rem; color: var(--text-body); line-height: 1.6;
  border-bottom: 1px solid rgba(200, 209, 220, 0.3);
}
.card-comparison__list li:last-child { border-bottom: none; }
.card-comparison__list li::before {
  content: '×'; position: absolute; left: 0; top: var(--space-3);
  font-size: 1rem; font-weight: 700; color: var(--text-muted); opacity: 0.4;
}
.card-comparison__list--us li::before {
  content: '✓'; color: var(--brand-teal); opacity: 1;
}
.card-comparison__list--us li { color: var(--text-primary); }

/* ================================================================
   CARD — Credential (about page)
   ================================================================ */
.card-credential {
  background: var(--bg-dark-surface); border-radius: var(--radius-md);
  padding: var(--space-6); text-align: center;
  border: 1px solid var(--border-dark);
  transition: background var(--duration-fast) var(--ease-in-out),
              transform var(--duration-normal) var(--ease-in-out);
}
.card-credential:hover { background: var(--bg-dark-elevated); transform: translateY(-2px); }
.card-credential__icon {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: rgba(10,110,189,0.12); display: flex; align-items: center;
  justify-content: center; margin: 0 auto var(--space-4);
}
.card-credential__icon svg { width: 24px; height: 24px; color: var(--brand-teal); }
.card-credential h4 { color: var(--text-on-dark); font-size: 0.95rem; margin-bottom: var(--space-1); }
.card-credential p { font-size: 0.82rem; color: var(--text-on-dark-muted); margin: 0; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 400px;
  gap: var(--space-16); align-items: start;
}

/* Form styles */
.contact-form { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-group { margin-bottom: var(--space-5); }
.form-group label {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: var(--space-2);
  font-family: var(--font-display);
}
.form-required { color: var(--brand-teal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text-primary);
  background: var(--bg-page); border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-in-out),
              box-shadow var(--duration-fast) var(--ease-in-out);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.1);
}
.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238494A7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 44px; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-submit { width: 100%; justify-content: center; }
.form-privacy {
  font-size: 0.78rem; color: var(--text-muted); margin-top: var(--space-4); text-align: center;
}
.form-privacy a { color: var(--brand-blue); text-decoration: underline; }
.form-privacy a:hover { color: var(--brand-teal); }

/* Contact info sidebar */
.contact-sidebar {
  background: var(--bg-dark); border-radius: var(--radius-lg);
  padding: var(--space-10); position: sticky; top: calc(var(--nav-height) + 32px);
}
.contact-info-item {
  display: flex; gap: var(--space-4); margin-bottom: var(--space-6);
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-icon);
  background: rgba(10, 110, 189, 0.12);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--brand-blue); }
.contact-info-item h4 { color: var(--text-on-dark); font-size: 0.95rem; margin-bottom: var(--space-1); }
.contact-info-item p { color: var(--text-on-dark-muted); font-size: 0.88rem; margin: 0; }
.contact-info-item a { color: var(--brand-teal); transition: color var(--duration-fast) var(--ease-in-out); }
.contact-info-item a:hover { color: #fff; }
.contact-info-sub { font-size: 0.82rem; color: var(--text-on-dark-muted); margin-top: 2px; }

/* Next steps */
.contact-next-steps {
  margin-top: var(--space-8); padding-top: var(--space-6);
  border-top: 1px solid var(--divider-dark);
}
.contact-next-steps h4 { color: var(--text-on-dark); font-size: 0.95rem; margin-bottom: var(--space-4); }
.contact-steps-list { padding-left: 20px; }
.contact-steps-list li {
  color: var(--text-on-dark-muted); font-size: 0.85rem;
  margin-bottom: var(--space-2); line-height: 1.6;
}
.contact-steps-note {
  font-size: 0.82rem; color: var(--text-on-dark-muted); margin-top: var(--space-4);
}

/* FAQ grid */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.faq-item {
  background: var(--bg-page); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-8);
  transition: transform var(--duration-normal) var(--ease-in-out),
              box-shadow var(--duration-normal) var(--ease-in-out);
}
.faq-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-item h4 { font-size: 0.95rem; margin-bottom: var(--space-2); color: var(--text-primary); }
.faq-item p { font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* ================================================================
   BLOG CARDS
   ================================================================ */
.blog-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-page); border: 1px solid var(--border-default);
  transition: transform var(--duration-normal) var(--ease-in-out),
              box-shadow var(--duration-normal) var(--ease-in-out);
  text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__img {
  height: 200px; position: relative; overflow: hidden;
}
.blog-card__img-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.1) 1px, transparent 0);
  background-size: 32px 32px;
}
.blog-card__body {
  padding: var(--space-6) var(--space-6) var(--space-8);
  flex: 1; display: flex; flex-direction: column;
}
.blog-card__category {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--brand-teal); margin-bottom: var(--space-1);
}
.blog-card__date {
  font-size: 0.78rem; color: var(--text-muted);
  margin-bottom: var(--space-3); font-weight: 500;
}
.blog-card__body h3 {
  font-size: 1.15rem; margin-bottom: var(--space-3); line-height: 1.4;
}
.blog-card__body p { font-size: 0.9rem; flex: 1; line-height: 1.6; }
.blog-card__read {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--brand-blue);
  margin-top: var(--space-4);
  transition: color var(--duration-fast) var(--ease-in-out);
}
.blog-card:hover .blog-card__read { color: var(--brand-teal); }

/* Featured card — horizontal layout */
.blog-card--featured {
  flex-direction: row;
}
.blog-card--featured .blog-card__img {
  width: 420px; min-width: 420px; height: auto; min-height: 300px;
}
.blog-card--featured .blog-card__body {
  padding: var(--space-8) var(--space-10);
  justify-content: center;
}
.blog-card--featured .blog-card__body h3 { font-size: 1.4rem; }
.blog-card--featured .blog-card__body p { font-size: 1rem; }

/* Gradient backgrounds for card images */
.blog-card__img--network  { background: linear-gradient(135deg, #0A6EBD 0%, #1a3a5c 100%); }
.blog-card__img--cloud    { background: linear-gradient(135deg, #00C2A8 0%, #0A6EBD 100%); }
.blog-card__img--security { background: linear-gradient(135deg, #1A2332 0%, #0A6EBD 100%); }
.blog-card__img--ops      { background: linear-gradient(135deg, #0f1f2e 0%, #00C2A8 100%); }
.blog-card__img--strategy { background: linear-gradient(135deg, #2A3A4E 0%, #0A6EBD 100%); }
.blog-card__img--trends   { background: linear-gradient(135deg, #0A6EBD 0%, #00C2A8 100%); }

/* ================================================================
   ARTICLE (blog post body)
   ================================================================ */
.article { max-width: 740px; margin: 0 auto; }
.article h2 { margin: var(--space-12) 0 var(--space-4); font-size: 1.5rem; }
.article h3 { margin: var(--space-10) 0 var(--space-3); font-size: 1.2rem; }
.article p { font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.4em; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 1.4em; }
.article li { margin-bottom: var(--space-2); line-height: 1.7; font-size: 1.02rem; }
.article a { color: var(--brand-blue); text-decoration: underline; }
.article a:hover { color: var(--brand-teal); }
.article__meta {
  display: flex; gap: var(--space-6); align-items: center;
  margin-bottom: var(--space-10); padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-default); flex-wrap: wrap;
}
.article__meta span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.article__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--brand-blue);
  margin-bottom: var(--space-8); text-decoration: none;
  transition: color var(--duration-fast) var(--ease-in-out);
}
.article__back:hover { color: var(--brand-teal); }
.article__footer-text {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.6;
}
.article__footer { margin-top: var(--space-8); }

/* ================================================================
   WHY SECTION
   ================================================================ */
.why-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  align-items: start; gap: var(--space-20);
}
.why-text h2 { color: var(--text-on-dark); margin-bottom: var(--space-3); }
.why-text p { color: var(--text-on-dark-muted); font-size: 1.02rem; margin-bottom: var(--space-6); line-height: 1.8; }
.why-cards { display: flex; flex-direction: column; gap: var(--space-6); }

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.process-step { text-align: center; padding: var(--space-6); }
.process-step__number {
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--brand-gradient); display: flex; align-items: center;
  justify-content: center; margin: 0 auto var(--space-5);
  color: #fff; font-weight: 700; font-size: 1.2rem;
}
.process-step h4 { margin-bottom: var(--space-2); }
.process-step p { font-size: 0.88rem; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  position: relative; background: var(--bg-dark-surface);
  padding: var(--space-20) 0; overflow: hidden;
  border-top: 3px solid transparent; border-image: var(--brand-gradient) 1;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -30%; right: -5%;
  width: 40%; height: 70%;
  background: radial-gradient(ellipse, rgba(10,110,189,0.1) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.cta-banner__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  align-items: center; gap: var(--space-16);
}
.cta-banner__content h2 { color: var(--text-on-dark); margin-bottom: var(--space-4); }
.cta-banner__content p { color: var(--text-on-dark-muted); font-size: 1.05rem; margin-bottom: var(--space-8); max-width: 480px; }
.cta-banner__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.cta-banner__decoration { display: flex; justify-content: center; align-items: center; }
.cta-banner__supporting { font-size: 0.82rem; color: var(--text-on-dark-muted); margin-top: var(--space-4); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-dark); border-top: 1px solid var(--divider-dark);
  padding: var(--space-16) 0 var(--space-8);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12); margin-bottom: var(--space-12);
}
.footer__logo { height: 52px; width: auto; max-width: 240px; opacity: 0.85; transition: opacity var(--duration-fast) var(--ease-in-out); }
.footer__logo:hover { opacity: 1; }
.footer__brand p { color: var(--text-on-dark-muted); font-size: 0.88rem; margin-top: var(--space-4); max-width: 280px; }
.footer__heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-bottom: var(--space-5); }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0; }
.footer__links a { display: block; padding: 6px 0; font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--duration-fast) var(--ease-in-out); }
.footer__links a:hover { color: var(--brand-teal); }
.footer__meta { font-size: 0.82rem; color: var(--text-on-dark-muted); padding: 6px 0; display: block; }
.footer__bottom {
  padding-top: var(--space-8); border-top: 1px solid var(--divider-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.footer__bottom p { font-size: 0.8rem; color: var(--text-on-dark-muted); }
.footer__bottom a { color: var(--text-on-dark-muted); transition: color var(--duration-fast) var(--ease-in-out); }
.footer__bottom a:hover { color: var(--brand-teal); }

/* ================================================================
   ANIMATIONS
   ================================================================ */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--duration-entrance) var(--ease-out), transform var(--duration-entrance) var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 560ms; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--bg-dark-surface); border: 1px solid var(--border-dark);
  color: var(--text-on-dark-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-in-out), background var(--duration-fast) var(--ease-in-out);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--bg-dark-elevated); color: #fff; }

/* ================================================================
   RESPONSIVE — Tablet (≤1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: var(--space-12); }
  .story-grid { gap: var(--space-12); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .blog-card--featured { flex-direction: column; }
  .blog-card--featured .blog-card__img { width: 100%; min-width: 0; min-height: 220px; }
  .blog-card--featured .blog-card__body { padding: var(--space-6); }
  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__decoration { display: none; }
}

/* ================================================================
   RESPONSIVE — Mobile (≤768px)
   ================================================================ */
@media (max-width: 768px) {
  :root { --space-section: 64px; }

  .nav__links {
    display: none; position: fixed; inset: 0;
    background: rgba(11,21,32,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 0; padding: var(--space-6); z-index: 999;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav__links.open { display: flex; }
  body.nav-open { overflow: hidden; position: fixed; width: 100%; }
  .nav__links li { width: 100%; max-width: 320px; text-align: center; }
  .nav__link { display: block; padding: 16px var(--space-6); font-size: 1.1rem; border-bottom: 1px solid var(--divider-dark); }
  .nav__link--active::after { bottom: 12px; left: 50%; right: auto; transform: translateX(-50%); width: 32px; }
  .nav__cta { margin-top: var(--space-4); width: 100%; max-width: 320px; padding: 16px 32px; font-size: 0.95rem; justify-content: center; }
  .nav__toggle { display: flex; }

  .hero { min-height: auto; padding: calc(var(--nav-height) + 40px) 0 56px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: var(--space-10); }
  .hero__stat { padding: var(--space-6) var(--space-5) 0; }
  .hero__stat:nth-child(2) { border-right: none; }
  .hero__stat::before { left: var(--space-5); }
  .hero__content p { font-size: 1rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .story-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .faq-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .card-service { padding: 28px; }
  .card-testimonial { padding: 28px; }
  .card-testimonial::before { left: 20px; right: 20px; }
  .card-testimonial::after { left: 20px; top: 14px; font-size: 3rem; }

  .trust-bar { gap: var(--space-6); }
  .trust-dot { display: none; }

  .cta-banner { padding: 56px 0; }
  .cta-banner__inner { text-align: center; }
  .cta-banner__content { margin: 0 auto; }
  .cta-banner__content p { max-width: none; }
  .cta-banner__actions { justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
  .footer__links a { padding: 10px 0; }

  .section__header { margin-bottom: var(--space-10); }
}

/* ================================================================
   RESPONSIVE — Small Mobile (≤480px)
   ================================================================ */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { width: 100%; max-width: 340px; justify-content: center; }
}
