/* ==========================================================================
   Carova Digital — Enterprise Design System
   Dark navy canvas, brand gradient (electric blue → violet → magenta),
   warm sunset accents (Outer Banks horses).
   ========================================================================== */

/* -------------------- Tokens -------------------- */
:root {
  /* Canvas */
  --bg-base:        #07111E;
  --bg-elevated:    #0C1A2E;
  --bg-surface:     #11243F;
  --bg-card:        #16294A;
  --bg-card-hover:  #1B3158;
  --bg-inset:       #050C16;
  --bg-overlay:     rgba(5, 12, 22, 0.75);

  /* Text */
  --text-primary:   #F4F7FC;
  --text-secondary: #B6C1D6;
  --text-tertiary:  #8896AB;
  --text-muted:     #5E6B82;
  --text-dim:       #404D63;

  /* Borders */
  --border-subtle:  rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-strong:  rgba(255,255,255,0.16);

  /* Brand palette */
  --brand-blue:     #5AA0FF;
  --brand-violet:   #7C5CFC;
  --brand-magenta:  #C147F5;
  --brand-cyan:     #38BDF8;
  --warm-gold:      #FFB45A;
  --warm-coral:     #FF7A3D;
  --success:        #10D88A;
  --danger:         #FF5470;

  /* Gradients */
  --grad-brand:     linear-gradient(135deg, #5AA0FF 0%, #7C5CFC 50%, #C147F5 100%);
  --grad-brand-soft:linear-gradient(135deg, rgba(90,160,255,0.18), rgba(193,71,245,0.18));
  --grad-cool:      linear-gradient(135deg, #38BDF8, #5AA0FF);
  --grad-warm:      linear-gradient(135deg, #FFB45A 0%, #FF7A3D 100%);
  --grad-success:   linear-gradient(135deg, #10D88A 0%, #38BDF8 100%);
  --grad-canvas-glow:radial-gradient(1200px 600px at 80% -10%, rgba(124,92,252,0.18), transparent 60%),
                    radial-gradient(900px 500px at 10% -20%, rgba(90,160,255,0.14), transparent 60%);

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

  /* Spacing (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.5rem;
  --s-8: 3rem;
  --s-10: 4rem;
  --s-12: 5rem;
  --s-16: 7rem;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadow (use sparingly — dark mode prefers borders) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 50px rgba(124,92,252,0.25);

  /* Motion */
  --d-fast:    0.15s;
  --d-normal:  0.25s;
  --d-slow:    0.4s;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);

  /* Layout */
  --container:  1240px;
  --header-h:   72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  background-image: var(--grad-canvas-glow);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

p { color: var(--text-secondary); }

/* -------------------- Layout primitives -------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.section { padding: var(--s-16) 0; position: relative; }
.section-sm { padding: var(--s-8) 0; }
.section-lg { padding: 8rem 0; }
.section-alt { background: var(--bg-elevated); }
.section-inset { background: var(--bg-inset); }

.section-header { max-width: 760px; margin: 0 auto var(--s-10); text-align: center; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--s-4); }
.section-header p { font-size: 1.125rem; color: var(--text-secondary); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--s-4);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.warm-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-center { text-align: center; }
.text-muted  { color: var(--text-tertiary); }
.text-sm     { font-size: 0.875rem; }
.text-lg     { font-size: 1.125rem; }
.text-xl     { font-size: 1.25rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }

@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 17, 30, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,92,252,0.4), transparent);
  opacity: 0;
  transition: opacity var(--d-normal) var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 44px;
  text-decoration: none;
  color: inherit;
}
.brand-logo .brand-mark {
  height: 52px;
  width: 52px;
  margin: -6px 0;
  filter: drop-shadow(0 4px 18px rgba(124, 92, 252, 0.35))
          drop-shadow(0 0 24px rgba(193, 71, 245, 0.18));
  transition: transform var(--d-normal) var(--ease), filter var(--d-normal) var(--ease);
}
.brand-logo:hover .brand-mark {
  transform: scale(1.04) rotate(-1.5deg);
  filter: drop-shadow(0 6px 22px rgba(124, 92, 252, 0.5))
          drop-shadow(0 0 30px rgba(193, 71, 245, 0.28));
}
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.brand-wordmark .brand-name {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #F4F7FC 0%, #B6C1D6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-wordmark .brand-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: #7C8DA8;
}
@media (max-width: 600px) {
  .brand-logo .brand-mark { height: 44px; width: 44px; margin: -4px 0; }
  .brand-wordmark .brand-name { font-size: 1.1rem; }
  .brand-wordmark .brand-tag { font-size: 0.55rem; letter-spacing: 0.38em; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
}
.nav-link {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-xs);
  transition: color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--text-primary); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--grad-brand);
}

/* Dropdown nav */
.nav-dd { position: relative; }
.nav-dd-toggle::after {
  content: "▾";
  margin-left: 0.35rem;
  font-size: 0.7em;
  opacity: 0.6;
}
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  padding: var(--s-3);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--d-normal) var(--ease);
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd-item {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-xs);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.nav-dd-item:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.nav-dd-item .nav-dd-title {
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}
.nav-dd-item .nav-dd-desc { font-size: 0.78rem; color: var(--text-tertiary); }

.nav-cta { display: flex; align-items: center; gap: var(--s-3); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-default);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  z-index: 60;
  padding: var(--s-5);
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform var(--d-slow) var(--ease);
  visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }

.mobile-nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(4, 10, 20, 0.55);
  backdrop-filter: blur(2px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-normal) var(--ease);
}
.mobile-nav-scrim.open { opacity: 1; pointer-events: auto; }
@media (min-width: 961px) { .mobile-nav, .mobile-nav-scrim { display: none; } }
.mobile-nav a {
  display: block;
  padding: var(--s-4);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 500;
}
.mobile-nav a:hover { background: var(--bg-card); }
.mobile-nav .sub-group { padding-top: var(--s-3); }
.mobile-nav .sub-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  text-transform: uppercase;
  padding: 0 var(--s-4);
  margin-top: var(--s-4);
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.7rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease),
              background var(--d-fast) var(--ease),
              border-color var(--d-fast) var(--ease),
              box-shadow var(--d-fast) var(--ease),
              color var(--d-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.btn-primary {
  color: #FFFFFF;
  background: var(--grad-brand);
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(124, 92, 252, 0.45);
}

.btn-warm {
  color: #2A1707;
  background: var(--grad-warm);
  box-shadow: 0 8px 24px rgba(255, 122, 61, 0.3);
}
.btn-warm:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 122, 61, 0.5); }

.btn-secondary {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border-color: var(--border-default);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-strong);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.82rem; }

.btn-block { width: 100%; }

/* -------------------- Badges / pills -------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.25);
  color: #C4B0FF;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-violet);
  box-shadow: 0 0 8px var(--brand-violet);
}
.badge-warm {
  background: rgba(255,180,90,0.12);
  border-color: rgba(255,180,90,0.3);
  color: #FFD8A8;
}
.badge-warm::before { background: var(--warm-gold); box-shadow: 0 0 8px var(--warm-gold); }
.badge-success {
  background: rgba(16,216,138,0.12);
  border-color: rgba(16,216,138,0.3);
  color: #75F0BB;
}
.badge-success::before { background: var(--success); box-shadow: 0 0 8px var(--success); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  inset: -10% -10% auto -10%;
  height: 90%;
  background: var(--grad-canvas-glow);
}
.hero::after {
  width: 480px; height: 480px;
  right: -100px; top: -80px;
  background: var(--grad-brand);
  filter: blur(140px);
  opacity: 0.22;
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: var(--s-5);
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: var(--s-7);
  line-height: 1.65;
}

.hero-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-7); }

.hero-proof {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-subtle);
}
.hero-proof .item .v {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.hero-proof .item .l {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.hero-art {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 620px;
  margin-left: auto;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #0A1426 0%, #14132C 100%);
  border: 1px solid var(--border-default);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(124,92,252,0.08);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Floating cards over hero artwork */
.floating-card {
  position: absolute;
  background: rgba(22, 41, 74, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  animation: floaty 6s ease-in-out infinite;
}
.floating-card .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}
.floating-card.fc-top    { top: 10%; left: -24px; animation-delay: -2s; }
.floating-card.fc-right  { top: 38%; right: -32px; animation-delay: -1s; }
.floating-card.fc-bottom { bottom: 12%; left: 16%; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* -------------------- Cards -------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: border-color var(--d-normal) var(--ease),
              transform var(--d-normal) var(--ease),
              background var(--d-normal) var(--ease);
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.card-elevated { background: var(--bg-card); border-color: var(--border-strong); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--s-4);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--s-2);
  font-weight: 700;
}
.card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Service card variants */
.service-card {
  position: relative;
  overflow: hidden;
  display: block;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(124,92,252,0.06));
  opacity: 0;
  transition: opacity var(--d-normal) var(--ease);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: var(--s-4);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: gap var(--d-normal) var(--ease);
}
.service-card:hover .card-link { gap: 0.6rem; color: #79B5FF; }

/* -------------------- Big feature panels -------------------- */
.feature-panel {
  background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(193,71,245,0.05));
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.feature-panel.warm { background: linear-gradient(135deg, rgba(255,180,90,0.10), rgba(255,122,61,0.06)); }
.feature-panel.cool { background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(90,160,255,0.06)); }
.feature-panel::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -120px;
  background: var(--grad-brand);
  filter: blur(120px);
  opacity: 0.18;
  border-radius: 50%;
  pointer-events: none;
}
.feature-panel.warm::after { background: var(--grad-warm); opacity: 0.2; }

/* -------------------- Check list -------------------- */
.check-list { display: grid; gap: var(--s-3); }
.check-item { display: flex; align-items: flex-start; gap: var(--s-3); }
.check-item .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,216,138,0.18);
  border: 1px solid rgba(16,216,138,0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.check-item .check::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg) translateY(-2px);
}
.check-item .x-mark {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,84,112,0.18);
  border: 1px solid rgba(255,84,112,0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  font-weight: 700;
  font-size: 0.8rem;
}
.check-item span:not(.check):not(.x-mark) { color: var(--text-secondary); }

/* -------------------- Stat bar -------------------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-cell {
  padding: var(--s-6);
  border-right: 1px solid var(--border-subtle);
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-cell .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-cell .lbl {
  color: var(--text-tertiary);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

/* -------------------- Process steps -------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.process-step {
  position: relative;
  padding: var(--s-5);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--s-3);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: var(--s-2); }
.process-step p { font-size: 0.9rem; }
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* -------------------- Portfolio grid -------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--d-normal) var(--ease), border-color var(--d-normal) var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.portfolio-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-thumb .preview {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: saturate(1.05);
  transition: transform var(--d-slow) var(--ease);
}
.portfolio-card:hover .preview { transform: scale(1.04); }
.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,17,30,0.7));
  pointer-events: none;
}
.portfolio-tag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  background: rgba(7,17,30,0.7);
  border: 1px solid var(--border-default);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}
.portfolio-info { padding: var(--s-5); }
.portfolio-info .meta {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.portfolio-info h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.portfolio-info p { font-size: 0.92rem; color: var(--text-secondary); }
.portfolio-info .visit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--s-3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
}
@media (max-width: 720px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: var(--s-3); }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand-blue);
  transition: transform var(--d-normal) var(--ease);
  font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* -------------------- Pricing -------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  align-items: stretch;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: rgba(124,92,252,0.5);
  box-shadow: 0 0 0 1px rgba(124,92,252,0.3), 0 20px 60px rgba(124,92,252,0.15);
}
.price-card .ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #FFF;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
}
.price-card h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}
.price-card .price small {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-tertiary);
}
.price-card .price-desc { color: var(--text-secondary); margin-bottom: var(--s-5); font-size: 0.92rem; }
.price-card ul {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  flex: 1;
  margin-bottom: var(--s-5);
}
.price-card li { display: flex; align-items: flex-start; gap: var(--s-2); font-size: 0.92rem; color: var(--text-secondary); }
.price-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  margin-top: 2px;
}
.price-card li.muted::before { content: "—"; color: var(--text-muted); }
.price-card li.muted { color: var(--text-muted); }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }

/* -------------------- Compare table -------------------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare th, .compare td {
  padding: var(--s-4) var(--s-5);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}
.compare th {
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--success); font-weight: 700; }
.compare .no { color: var(--danger); font-weight: 700; }
.compare .col-us { background: rgba(124,92,252,0.06); }

/* -------------------- Form -------------------- */
.form { display: grid; gap: var(--s-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form input, .form select, .form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-inset);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xs);
  padding: 0.8rem 0.95rem;
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(90,160,255,0.2);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-tertiary); }

/* -------------------- CTA section -------------------- */
.cta {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(800px 400px at 50% 50%, rgba(124,92,252,0.18), transparent 70%);
}
.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--s-4);
}
.cta p { font-size: 1.1rem; max-width: 620px; margin: 0 auto var(--s-7); color: var(--text-secondary); }
.cta-actions { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }
.cta .note { margin-top: var(--s-5); font-size: 0.85rem; color: var(--text-tertiary); }

/* -------------------- Marquee logo strip -------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: var(--s-5) 0;
  border-block: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}
.marquee-track {
  display: flex;
  gap: var(--s-8);
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--bg-inset);
  border-top: 1px solid var(--border-subtle);
  padding: var(--s-10) 0 var(--s-6);
  color: var(--text-secondary);
  margin-top: var(--s-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { max-width: 320px; }
.footer-brand .brand-logo-footer { margin-bottom: var(--s-4); height: auto; }
.footer-brand .brand-logo-footer .brand-mark { height: 64px; width: 64px; margin: 0; }
.footer-brand .brand-logo-footer .brand-name { font-size: 1.5rem; }
.footer-brand .brand-logo-footer .brand-tag { font-size: 0.65rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-tertiary); }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--s-4);
  font-family: var(--font-sans);
  font-weight: 700;
}
.footer-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--text-tertiary);
  transition: color var(--d-fast) var(--ease);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* -------------------- Page hero (interior) -------------------- */
.page-hero {
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(900px 400px at 80% 0%, rgba(124,92,252,0.18), transparent 60%),
              radial-gradient(700px 380px at 5% 0%, rgba(90,160,255,0.14), transparent 60%);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  margin-bottom: var(--s-4);
}
.page-hero .lead {
  font-size: 1.2rem;
  max-width: 720px;
  color: var(--text-secondary);
  margin-bottom: var(--s-5);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero-art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #0A1426 0%, #14132C 100%);
  border: 1px solid var(--border-default);
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,92,252,0.08);
}
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Breadcrumbs */
.crumbs { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--text-tertiary); margin-bottom: var(--s-5); }
.crumbs a { color: var(--text-tertiary); }
.crumbs a:hover { color: var(--text-primary); }
.crumbs span { color: var(--text-muted); }

/* -------------------- Differentiator grid (for service pages) -------------------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 960px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.diff-item .diff-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-blue);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-2);
}
.diff-item h4 { font-size: 1.05rem; margin-bottom: var(--s-2); }
.diff-item p { font-size: 0.9rem; color: var(--text-secondary); }

/* -------------------- Animations -------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-animate].in {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="1"] { transition-delay: 0.05s; }
[data-animate-delay="2"] { transition-delay: 0.12s; }
[data-animate-delay="3"] { transition-delay: 0.19s; }
[data-animate-delay="4"] { transition-delay: 0.26s; }
[data-animate-delay="5"] { transition-delay: 0.33s; }
[data-animate-delay="6"] { transition-delay: 0.4s; }

/* -------------------- Utilities -------------------- */
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.wrap { flex-wrap: wrap; }
.text-balance { text-wrap: balance; }
.max-w-prose { max-width: 65ch; }
.hide-mobile { display: initial; }
@media (max-width: 720px) { .hide-mobile { display: none; } }

/* Selection */
::selection { background: rgba(124,92,252,0.4); color: #FFF; }

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-inset); }
::-webkit-scrollbar-thumb { background: var(--bg-card-hover); border-radius: 10px; border: 2px solid var(--bg-inset); }
::-webkit-scrollbar-thumb:hover { background: var(--bg-surface); }

/* 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;
  }
}
