/* =========================================================
   NEXVORIA — Global Design System
   Aesthetic: Editorial dark-luxe meets enterprise sophistication
   ========================================================= */

:root {
  /* Brand colors from logo */
  --brand-blue: #1a4dff;
  --brand-blue-light: #4a7aff;
  --brand-blue-deep: #0a2cb8;
  --brand-red: #ff2440;
  --brand-red-light: #ff5e72;
  --brand-red-deep: #c4001f;

  /* Surface — dark editorial palette */
  --bg-base: #060914;
  --bg-elev-1: #0a1230;
  --bg-elev-2: #111a3d;
  --bg-elev-3: #1a2452;
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-line: rgba(255, 255, 255, 0.08);
  --surface-line-strong: rgba(255, 255, 255, 0.15);

  /* Text */
  --text-primary: #f5f7ff;
  --text-secondary: #c8cfe8;
  --text-muted: #6b7497;
  --text-faint: #4a5278;

  /* Accents */
  --accent-gold: #d4a45c;
  --gradient-brand: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  --gradient-glow: radial-gradient(circle at 30% 50%, rgba(26, 77, 255, 0.15), transparent 50%),
                   radial-gradient(circle at 70% 50%, rgba(255, 36, 64, 0.12), transparent 50%);

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container-max: 1320px;
  --section-py: clamp(44px, 5vw, 72px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.25s;
  --t-med: 0.5s;
  --t-slow: 0.9s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--brand-red); color: #fff; }

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

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Always show native cursor; custom cursor (cursor-dot, cursor-ring) is a visual enhancement on top, not a replacement. */
  cursor: auto;
  background-image:
    radial-gradient(ellipse at top, rgba(26, 77, 255, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(255, 36, 64, 0.05), transparent 60%);
  background-attachment: fixed;
}

@media (max-width: 1024px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-out); cursor: pointer; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
}

/* =========================================================
   TYPOGRAPHY SYSTEM
   ========================================================= */

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

h1, h2, h3 em, h2 em, h1 em {
  display: inline-block;
  padding-bottom: 0.12em;
  line-height: 1.18;
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5.8rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
h4 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--brand-red-light);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brand-red-light);
}

p { color: var(--text-secondary); }
.lead { font-size: 1.25rem; color: var(--text-secondary); max-width: 62ch; }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */

.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--brand-red);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.15s var(--ease-out), width 0.25s, height 0.25s, border-color 0.3s, opacity 0.2s;
}
/* When hovering interactive elements, hide both the ring and dot — let native cursor (pointer) take over */
.cursor-ring.hover {
  opacity: 0;
  width: 0;
  height: 0;
}
.cursor-dot.hover {
  opacity: 0;
}

/* =========================================================
   PAGE LOADER
   ========================================================= */

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content { text-align: center; }
.loader-logo {
  width: 110px;
  height: auto;
  border-radius: 12px;
  animation: loaderPulse 1.6s ease-in-out infinite;
  display: block;
  margin: 0 auto;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.7; }
}
.loader-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.4em;
  margin: 24px 0 20px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--surface-line);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}
.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-brand);
  animation: loaderFill 1.2s var(--ease-out) forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* =========================================================
   ANNOUNCEMENT BAR (marquee)
   ========================================================= */

.announcement-bar {
  background: linear-gradient(90deg, var(--brand-blue-deep), var(--brand-red-deep));
  color: #fff;
  overflow: hidden;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
}
.announcement-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  gap: 60px;
  padding-left: 60px;
}
/* Pause the scroll when the user hovers — gives them time to read */
.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 9, 20, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--surface-line);
  transition: padding var(--t-fast) var(--ease-out), background var(--t-fast);
}
.site-header.scrolled {
  background: rgba(6, 9, 20, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-header.scrolled .nav-container {
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(26, 77, 255, 0.4));
  transition: transform var(--t-fast) var(--ease-out);
}
.nav-logo:hover .logo-img { transform: rotate(-5deg) scale(1.05); }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  transition: color var(--t-fast);
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gradient-brand);
  transition: width var(--t-fast) var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::before, .nav-link.active::before { width: 20px; }

.nav-dropdown { position: relative; }
.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--t-fast);
}
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 380px;
  background: rgba(10, 18, 48, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast) var(--ease-out);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background var(--t-fast);
}
.dropdown-item:hover {
  background: var(--surface-glass);
}
.dropdown-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-red-light);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-line);
  border-radius: 50%;
  flex-shrink: 0;
}
.dropdown-text { display: flex; flex-direction: column; }
.dropdown-text strong {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.dropdown-text small {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
  box-shadow: 0 8px 24px rgba(26, 77, 255, 0.3);
  z-index: 1;
  isolation: isolate;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-blue) 100%);
  opacity: 0;
  transition: opacity var(--t-fast);
  z-index: -1;
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 36, 64, 0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary,
.btn-primary > * { color: #fff !important; position: relative; z-index: 2; }
.btn-primary svg,
.btn-primary span { color: #fff !important; fill: currentColor; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--surface-line-strong);
  color: var(--text-primary);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.btn-ghost:hover {
  border-color: var(--brand-blue-light);
  background: var(--surface-glass);
}

.btn-lg { padding: 16px 30px; font-size: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1100px) {
  /* backdrop-filter on .site-header traps position:fixed children inside the header.
     Remove it here so the slide-in menu attaches to the viewport (full height). */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(6, 9, 20, 0.97);
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 90vw);
    background: var(--bg-elev-1);
    border-left: 1px solid var(--surface-line);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { padding: 14px 18px; font-size: 1rem; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 20px;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-mega {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
  .dropdown-group { margin-bottom: 6px; }
  .dropdown-group-label { padding-left: 0; color: var(--brand-red-light); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(40px, 5vw, 80px) 0 var(--section-py);
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 77, 255, 0.18), transparent 70%);
  top: -200px;
  left: -100px;
  border-radius: 50%;
  animation: float 18s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 36, 64, 0.14), transparent 70%);
  bottom: -150px;
  right: -100px;
  border-radius: 50%;
  animation: float 22s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 40px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
  padding-top: 12px;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
}

.hero-content { position: relative; }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title .reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.hero-title .reveal-line > span {
  display: block;
  transform: translateY(100%);
  animation: lineUp 1s var(--ease-out) forwards;
  padding-bottom: 0.1em;
}
.hero-title .reveal-line:nth-child(2) > span { animation-delay: 0.15s; }
.hero-title .reveal-line:nth-child(3) > span { animation-delay: 0.3s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInUp 0.9s var(--ease-out) 0.6s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s var(--ease-out) 0.75s forwards;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s var(--ease-out) 0.9s forwards;
}
.hero-meta-item { min-width: 0; }
.hero-meta-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: nowrap;
}
.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .hero-meta { gap: 24px; }
  .hero-meta-item strong { font-size: 1.4rem; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-ring {
  position: absolute;
  border: 1px solid var(--surface-line);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}
.orb-ring.r1 { width: 100%; height: 100%; }
.orb-ring.r2 { width: 80%; height: 80%; animation-duration: 22s; animation-direction: reverse; border-color: rgba(26, 77, 255, 0.2); }
.orb-ring.r3 { width: 60%; height: 60%; animation-duration: 16s; border-color: rgba(255, 36, 64, 0.18); }
@keyframes rotate { to { transform: rotate(360deg); } }

.orb-ring::before {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: var(--brand-blue);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--brand-blue);
}
.orb-ring.r2::before { background: var(--brand-red); box-shadow: 0 0 20px var(--brand-red); }
.orb-ring.r3::before { background: var(--accent-gold); box-shadow: 0 0 20px var(--accent-gold); }

.orb-center {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 77, 255, 0.4), rgba(255, 36, 64, 0.2), transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.orb-center img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(26, 77, 255, 0.5));
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  padding: 10px 18px;
  background: rgba(10, 18, 48, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--surface-line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  animation: floatBadge 6s ease-in-out infinite;
}
.hero-badge.b1 { top: 8%; left: -5%; }
.hero-badge.b2 { top: 30%; right: -8%; animation-delay: 1s; }
.hero-badge.b3 { bottom: 25%; left: -10%; animation-delay: 2s; }
.hero-badge.b4 { bottom: 8%; right: 0%; animation-delay: 3s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =========================================================
   SECTION BASICS
   ========================================================= */

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-header {
  margin-bottom: 44px;
  max-width: 720px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header h2 { margin-bottom: 20px; }

/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip {
  padding: 50px 0;
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}
.trust-items {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  font-family: var(--font-display);
  color: var(--text-secondary);
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--t-fast);
}
.trust-item:hover { opacity: 1; color: var(--text-primary); }

/* =========================================================
   SERVICES GRID
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(26, 77, 255, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-line-strong);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-red-light);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-brand);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: #fff;
  position: relative;
}
.service-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  border-radius: 14px;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}
.service-title { font-size: 1.55rem; margin-bottom: 14px; }
.service-desc { color: var(--text-secondary); flex-grow: 1; margin-bottom: 24px; font-size: 0.95rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
  transition: gap var(--t-fast);
}
.service-link:hover { gap: 14px; color: var(--brand-red-light); }
.service-link svg { transition: transform var(--t-fast); }
.service-link:hover svg { transform: translateX(4px); }

/* =========================================================
   STATS BAND
   ========================================================= */

.stats-band {
  padding: 64px 0;
  background: linear-gradient(180deg, transparent, rgba(26, 77, 255, 0.04), transparent);
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  inset: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid var(--surface-line);
  position: relative;
}
.stat-item:last-child { border-right: none; }
@media (max-width: 768px) {
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--surface-line); }
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   APPROACH / FEATURE LIST
   ========================================================= */

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--surface-line);
}
.approach-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--surface-line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  transition: padding-left var(--t-fast) var(--ease-out);
  cursor: pointer;
}
.approach-item:hover { padding-left: 16px; }
.approach-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand-red-light);
  letter-spacing: 0.1em;
}
.approach-item h4 { margin-bottom: 8px; font-size: 1.25rem; }
.approach-item p { font-size: 0.95rem; color: var(--text-secondary); }

/* =========================================================
   PHILOSOPHY / IMAGE BLOCKS
   ========================================================= */

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-block.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split-block, .split-block.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split-block.reverse > :first-child { order: 0; }
}

.split-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-glow), var(--bg-elev-2);
  border: 1px solid var(--surface-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-visual-inner {
  text-align: center;
  padding: 40px;
}
.split-visual-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-brand);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* =========================================================
   CTA STRIP
   ========================================================= */

.cta-strip {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--bg-elev-1), var(--bg-elev-2));
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 36, 64, 0.15), transparent 70%);
  right: -100px;
  top: -200px;
  border-radius: 50%;
}
.cta-strip::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 77, 255, 0.15), transparent 70%);
  left: -100px;
  bottom: -200px;
  border-radius: 50%;
}
.cta-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .cta-wrap { grid-template-columns: 1fr; gap: 30px; }
}
.cta-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.05;
  margin: 14px 0 0;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  background: var(--bg-base);
  padding: 100px 0 0;
  border-top: 1px solid var(--surface-line);
  overflow: hidden;
}
.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--surface-line);
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-logo img { width: 48px; height: auto; }
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  display: block;
  letter-spacing: 0.08em;
}
.footer-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.footer-tagline {
  color: var(--text-secondary);
  max-width: 380px;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-line);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-red-light);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a, .footer-col address {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-style: normal;
  transition: color var(--t-fast);
  line-height: 1.7;
}
.footer-col a:hover { color: var(--brand-blue-light); }

.footer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-bottom {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.footer-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text-primary); }
.footer-links span { color: var(--text-faint); }

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  text-align: center;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  margin-top: 40px;
  margin-bottom: -30px;
  user-select: none;
  pointer-events: none;
}

/* =========================================================
   FLOATING WHATSAPP & SCROLL PROGRESS
   ========================================================= */

.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform var(--t-fast) var(--ease-out);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
.floating-whatsapp:hover { transform: scale(1.1); }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 20px rgba(37, 211, 102, 0); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-brand);
  z-index: 10000;
  transition: width 0.1s linear;
  width: 0%;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

/* =========================================================
   FORM (Contact)
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  border: 1px solid var(--surface-line);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.info-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--surface-line);
}
.info-item:last-child { border-bottom: none; }
.info-item-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.info-item-value {
  font-size: 1.05rem;
  color: var(--text-primary);
}
.info-item-value a:hover { color: var(--brand-blue-light); }

.contact-form {
  background: var(--bg-elev-1);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-line);
}
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  background: rgba(26, 77, 255, 0.04);
}
/* Dropdown options: dark background + white text so they're readable.
   Browsers (especially Chrome on Windows) ignore most option CSS but DO
   respect background-color and color when set inline-or-explicit. */
select option {
  background-color: #0c1126;
  color: #ffffff;
  padding: 8px 12px;
}
select option:checked,
select option:hover,
select option:focus {
  background-color: var(--brand-blue);
  color: #ffffff;
}
textarea { min-height: 140px; resize: vertical; font-family: inherit; }

.form-success, .form-error {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.form-success { background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.3); color: #2ecc71; }
.form-error { background: rgba(255, 36, 64, 0.1); border: 1px solid rgba(255, 36, 64, 0.3); color: var(--brand-red-light); }

/* =========================================================
   PAGE HERO (sub-pages)
   ========================================================= */

.page-hero {
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-line);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--brand-blue-light); }
.breadcrumb span { color: var(--text-faint); }

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 24px;
}
.page-hero .lead { font-size: 1.2rem; max-width: 65ch; }

/* =========================================================
   INDUSTRY / FEATURE GRIDS
   ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  transition: all var(--t-fast) var(--ease-out);
}
.feature-card:hover {
  background: rgba(26, 77, 255, 0.04);
  border-color: var(--brand-blue);
  transform: translateY(-4px);
}
.feature-card h4 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { font-size: 0.9rem; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--surface-line);
  padding: 8px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  gap: 24px;
  width: 100%;
  text-align: left;
}
.faq-q:hover { color: var(--brand-blue-light); }
.faq-toggle {
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--surface-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--gradient-brand); border-color: transparent; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.4s;
  color: var(--text-secondary);
  padding: 0 4px;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 4px 28px;
}

/* =========================================================
   UTILITIES
   ========================================================= */

.bg-elev-1 { background: var(--bg-elev-1); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Tag pill list (used on service pages for keywords) */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.tag-pill {
  padding: 8px 16px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.tag-pill:hover {
  border-color: var(--brand-blue);
  color: var(--text-primary);
  background: rgba(26, 77, 255, 0.06);
}

/* =========================================================
   RESPONSIVE TWEAKS
   ========================================================= */

@media (max-width: 600px) {
  .hero { min-height: auto; padding-top: 60px; }
  .hero-meta { gap: 24px; margin-top: 40px; }
  .hero-meta-item strong { font-size: 1.3rem; }
  .service-card { padding: 30px; min-height: auto; }
  .contact-form, .contact-info-card { padding: 28px; }
  .footer-bottom { text-align: center; justify-content: center; }
}

/* =========================================================
   ADDITIONAL PAGE PATTERNS
   (industries, faq groups, career, policies, error, contact extras)
   ========================================================= */

/* section-head is alias for section-header */
.section-head {
  max-width: 700px;
  margin-bottom: 60px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 20px; }
.section-head .section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 18px;
  max-width: 60ch;
}

/* Narrow container for long-form content */
.container-narrow {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Smaller page hero variant for policies */
.page-hero-sm { padding: 140px 0 60px; }
.page-hero-sm h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* =========================================================
   INDUSTRIES GRID
   ========================================================= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 880px) {
  .industries-grid { grid-template-columns: 1fr; }
}

.industry-card {
  position: relative;
  padding: 40px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  transition: all var(--t-med);
  overflow: hidden;
}
.industry-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-red));
  transition: height var(--t-med);
}
.industry-card:hover {
  border-color: rgba(26, 77, 255, 0.35);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.02);
}
.industry-card:hover::before { height: 100%; }

.industry-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.industry-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand-red-light);
  letter-spacing: 0.08em;
  padding-top: 6px;
  min-width: 28px;
}
.industry-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.industry-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.industry-card p {
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-size: 0.97rem;
  line-height: 1.65;
}
.industry-caps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.industry-caps li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.industry-caps li::before {
  content: "›";
  position: absolute;
  left: 0; top: 0;
  color: var(--brand-red);
  font-weight: 700;
}
@media (max-width: 520px) {
  .industry-caps { grid-template-columns: 1fr; }
  .industry-card { padding: 28px; }
}

/* Promise grid (industries page bottom) */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .promise-grid { grid-template-columns: 1fr; } }

.promise-card {
  padding: 32px 28px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 18px;
  transition: all var(--t-med);
}
.promise-card:hover { transform: translateY(-4px); border-color: rgba(255, 36, 64, 0.3); }
.promise-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--brand-red-light);
  margin-bottom: 14px;
}
.promise-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.promise-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================================
   FAQ GROUPS (extends faq-list)
   ========================================================= */
.faq-group {
  margin-bottom: 60px;
}
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--brand-red-light);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface-line);
}

/* =========================================================
   VALUES + CAREER LIST
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  padding: 36px 28px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 18px;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 77, 255, 0.35);
  background: rgba(26, 77, 255, 0.02);
}
.value-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid rgba(26, 77, 255, 0.3);
  border-radius: 100px;
}
.value-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.value-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }

/* Career listings */
.career-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.career-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 32px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 16px;
  transition: all var(--t-med);
}
.career-card:hover {
  border-color: rgba(255, 36, 64, 0.3);
  background: rgba(255, 255, 255, 0.02);
  transform: translateX(4px);
}
.career-main { flex: 1; }
.career-main h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--text-primary);
}
.career-main p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0 0 12px;
  max-width: 70ch;
}
.career-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
@media (max-width: 760px) {
  .career-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .career-card:hover { transform: translateY(-4px); }
}

/* =========================================================
   CTA INLINE (reusable big CTA strip with content)
   ========================================================= */
.cta-inline {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px;
  background: linear-gradient(135deg, rgba(26, 77, 255, 0.08), rgba(255, 36, 64, 0.06));
  border: 1px solid var(--surface-line);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-inline::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26, 77, 255, 0.15), transparent 60%);
  filter: blur(40px);
}
.cta-inline > * { position: relative; z-index: 1; }
.cta-inline h2 { margin: 12px 0 14px; }
.cta-inline p { color: var(--text-secondary); max-width: 56ch; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.cta-actions .btn-primary,
.cta-actions .btn-ghost { justify-content: center; }
@media (max-width: 880px) {
  .cta-inline { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cta-actions .btn-primary, .cta-actions .btn-ghost { flex: 1; min-width: 160px; }
}

/* =========================================================
   CONTACT EXTRAS — form selects, info card details, map
   ========================================================= */
.contact-info-card h3 { margin-bottom: 32px; }
.contact-info-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--surface-line);
}
.contact-info-item:last-child { border-bottom: 0; }
.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-info-item p {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}
.contact-info-item a { color: var(--text-primary); transition: color var(--t-fast); }
.contact-info-item a:hover { color: var(--brand-red-light); }
.contact-socials { display: flex; gap: 18px; flex-wrap: wrap; }
.contact-socials a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.05em;
}

.contact-form-wrap h3 { margin-bottom: 12px; }
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--t-fast);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23808699' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.contact-form select:focus { outline: none; border-color: var(--brand-blue); }

.form-success {
  padding: 20px 24px;
  background: rgba(40, 200, 120, 0.08);
  border: 1px solid rgba(40, 200, 120, 0.3);
  border-radius: 12px;
  color: #6ee9a8;
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-error {
  padding: 20px 24px;
  background: rgba(255, 36, 64, 0.08);
  border: 1px solid rgba(255, 36, 64, 0.3);
  border-radius: 12px;
  color: var(--brand-red-light);
  margin-bottom: 28px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.map-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  background: var(--surface-glass);
  filter: grayscale(0.4) contrast(1.05);
  transition: filter var(--t-med);
}
.map-card:hover { filter: grayscale(0) contrast(1); }

/* =========================================================
   POLICY PROSE — long-form legal pages
   ========================================================= */
.policy-prose {
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  padding: 60px;
}
.policy-prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--surface-line);
}
.policy-prose h2:first-of-type { margin-top: 20px; }
.policy-prose p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.policy-prose ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.policy-prose ul li {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.policy-prose strong { color: var(--text-primary); font-weight: 600; }
.policy-prose a { color: var(--brand-blue-light); border-bottom: 1px dotted rgba(26, 77, 255, 0.4); }
.policy-prose a:hover { color: var(--brand-red-light); border-bottom-color: var(--brand-red); }
@media (max-width: 720px) {
  .policy-prose { padding: 36px 24px; border-radius: 16px; }
  .policy-prose h2 { font-size: 1.2rem; }
}

/* =========================================================
   404 ERROR PAGE
   ========================================================= */
.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.error-section::before {
  content: "";
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26, 77, 255, 0.12), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.error-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 16vw, 12rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.error-4 {
  background: linear-gradient(180deg, var(--brand-blue-light), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-0 {
  background: linear-gradient(180deg, var(--brand-red-light), var(--brand-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: errorPulse 2.4s ease-in-out infinite;
}
@keyframes errorPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(0.94); }
}
.error-inner h1 { margin-bottom: 18px; }
.error-links {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--surface-line);
}
.error-links .eyebrow { display: inline-block; margin-bottom: 24px; }
.error-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}
.error-links-grid a {
  padding: 14px 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: all var(--t-fast);
}
.error-links-grid a:hover {
  color: var(--text-primary);
  border-color: var(--brand-red);
  background: rgba(255, 36, 64, 0.05);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .error-links-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TRADEMARK SYMBOL — subtle, premium
   ========================================================= */
sup.tm {
  font-size: 0.45em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 1px;
  font-weight: 500;
  color: var(--brand-red-light);
  opacity: 0.85;
}

/* =========================================================
   NAV BADGE (for NEW Product link)
   ========================================================= */
.nav-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  color: white;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 100px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.dropdown-mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(178px, 1fr));
  gap: 4px 16px;
  left: 0;
  transform: translateY(8px);
  width: max-content;
  min-width: 0 !important;
  max-width: calc(100vw - 32px);
  align-items: start;
}
.nav-dropdown:hover .dropdown-mega { transform: translateY(0); }
.dropdown-group { display: flex; flex-direction: column; }
.dropdown-group + .dropdown-group { }
.dropdown-group-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red-light);
  padding: 6px 16px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--surface-line);
}
.dropdown-item-product strong { color: var(--brand-blue-light); }

/* =========================================================
   ROI CALCULATOR — interactive
   ========================================================= */
.roi-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(26, 77, 255, 0.04), transparent);
  overflow: hidden;
}
.roi-section::before {
  content: "";
  position: absolute;
  top: 20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 36, 64, 0.1), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

.roi-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--surface-line);
}
.roi-tab {
  flex: 1;
  min-width: 180px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  position: relative;
}
.roi-tab .roi-tab-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.roi-tab:hover { color: var(--text-primary); }
.roi-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--brand-red);
}
.roi-tab.active .roi-tab-num {
  color: var(--brand-red-light);
}

.roi-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.roi-panel.active { display: grid; }

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.roi-input-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.roi-input-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.roi-input-row input[type="number"] {
  flex: 1;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  transition: border-color var(--t-fast);
  -moz-appearance: textfield;
}
.roi-input-row input[type="number"]::-webkit-outer-spin-button,
.roi-input-row input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.roi-input-row input:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: rgba(26, 77, 255, 0.04);
}
.roi-input-unit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  min-width: 80px;
}
.roi-input-row input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
  margin-top: 12px;
}
.roi-input-row input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--surface-line);
  border-radius: 100px;
}
.roi-input-row input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--surface-line);
  border-radius: 100px;
}
.roi-input-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  border-radius: 50%;
  margin-top: -7px;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(255, 36, 64, 0.15);
}
.roi-input-row input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.roi-output {
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 36, 64, 0.04), rgba(26, 77, 255, 0.04));
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.roi-output::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
}

.roi-output-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.roi-output-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.roi-output-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.roi-breakdown {
  border-top: 1px solid var(--surface-line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.roi-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
}
.roi-breakdown-item span:first-child {
  color: var(--text-secondary);
}
.roi-breakdown-item span:last-child {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 500;
}
.roi-breakdown-item.highlight span:last-child {
  color: var(--brand-red-light);
  font-weight: 700;
  font-size: 1.05rem;
}
.roi-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-line);
}

@media (max-width: 880px) {
  .roi-panel { grid-template-columns: 1fr; gap: 32px; }
  .roi-tab { min-width: 140px; padding: 14px 16px; font-size: 0.85rem; }
}

/* =========================================================
   POWER BI STYLE CHARTS (SVG)
   ========================================================= */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .chart-grid { grid-template-columns: 1fr; } }

.chart-card {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-med);
}
.chart-card:hover {
  border-color: rgba(26, 77, 255, 0.3);
  transform: translateY(-3px);
}
.chart-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--surface-line);
}
.chart-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.chart-card-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chart-card-trend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.chart-card-trend.up { color: #6ee9a8; }
.chart-card-trend.down { color: var(--brand-red-light); }
.chart-card-trend small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  display: block;
  color: var(--text-muted);
}
.chart-svg {
  width: 100%;
  height: auto;
}
.chart-card-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* =========================================================
   BEFORE/AFTER SLIDER VISUAL
   ========================================================= */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 50px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  background: var(--surface-glass);
}
@media (max-width: 880px) {
  .transform-grid { grid-template-columns: 1fr; }
  .transform-arrow { transform: rotate(90deg); padding: 20px 0 !important; }
}

.transform-side {
  padding: 40px;
}
.transform-side.before {
  background: rgba(255, 36, 64, 0.04);
  border-right: 1px solid var(--surface-line);
}
.transform-side.after {
  background: rgba(26, 77, 255, 0.04);
  border-left: 1px solid var(--surface-line);
}
.transform-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.transform-side.before .transform-label {
  background: rgba(255, 36, 64, 0.1);
  color: var(--brand-red-light);
  border: 1px solid rgba(255, 36, 64, 0.3);
}
.transform-side.after .transform-label {
  background: rgba(26, 77, 255, 0.1);
  color: var(--brand-blue-light);
  border: 1px solid rgba(26, 77, 255, 0.3);
}
.transform-side h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 16px;
}
.transform-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.transform-list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--surface-line);
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  line-height: 1.55;
}
.transform-list li:last-child { border-bottom: 0; }
.transform-side.before .transform-list li::before {
  content: "✕";
  position: absolute;
  left: 0; top: 10px;
  color: var(--brand-red);
  font-weight: 700;
}
.transform-side.after .transform-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  color: #6ee9a8;
  font-weight: 700;
}

.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(255, 36, 64, 0.05), rgba(26, 77, 255, 0.05));
}
.transform-arrow-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 0 6px rgba(26, 77, 255, 0.08), 0 8px 30px rgba(255, 36, 64, 0.25);
}

/* =========================================================
   KINVIYO PRODUCT — hero & sections
   ========================================================= */
.kinviyo-hero {
  position: relative;
  padding: 140px 0 90px;
  overflow: hidden;
}
.kinviyo-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse, rgba(26, 77, 255, 0.18), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.kinviyo-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .kinviyo-hero-inner { grid-template-columns: 1fr; gap: 50px; }
}

.kinviyo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(26, 77, 255, 0.15), rgba(255, 36, 64, 0.15));
  border: 1px solid rgba(26, 77, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 28px;
}
.kinviyo-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  animation: pulse 2s ease-in-out infinite;
}

.kinviyo-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kinviyo-orbital {
  position: absolute;
  border: 1px solid rgba(26, 77, 255, 0.25);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}
.kinviyo-orbital.ring-1 { width: 90%; height: 90%; }
.kinviyo-orbital.ring-2 { width: 70%; height: 70%; animation-duration: 22s; animation-direction: reverse; border-color: rgba(255, 36, 64, 0.25); }
.kinviyo-orbital.ring-3 { width: 50%; height: 50%; animation-duration: 16s; border-color: rgba(110, 233, 168, 0.22); }
.kinviyo-orbital::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--brand-red), 0 0 8px var(--brand-red);
}
.kinviyo-orbital.ring-2::before { background: var(--brand-blue); box-shadow: 0 0 24px var(--brand-blue), 0 0 8px var(--brand-blue); }
.kinviyo-orbital.ring-3::before { background: #6ee9a8; box-shadow: 0 0 24px #6ee9a8, 0 0 8px #6ee9a8; }
.kinviyo-core {
  position: relative;
  z-index: 2;
  width: 30%; height: 30%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 60px rgba(26, 77, 255, 0.5);
}

.kinviyo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .kinviyo-features { grid-template-columns: 1fr; } }

.kinviyo-feat {
  padding: 32px 28px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 18px;
  transition: all var(--t-med);
}
.kinviyo-feat:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 77, 255, 0.4);
  background: rgba(26, 77, 255, 0.03);
}
.kinviyo-feat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 77, 255, 0.15), rgba(255, 36, 64, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-light);
  margin-bottom: 18px;
}
.kinviyo-feat h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.kinviyo-feat p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   CAREER PAGE — expanded
   ========================================================= */
.career-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--surface-line);
}
@media (max-width: 880px) {
  .career-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
.career-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-red-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.career-stat small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  padding: 28px 24px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 14px;
  transition: all var(--t-med);
}
.benefit-card:hover {
  border-color: rgba(255, 36, 64, 0.3);
  transform: translateY(-3px);
}
.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 36, 64, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-red-light);
  margin-bottom: 14px;
}
.benefit-card h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Hiring process timeline */
.hiring-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 40px;
}
.hiring-timeline::before {
  content: "";
  position: absolute;
  top: 30px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
  z-index: 0;
}
@media (max-width: 880px) {
  .hiring-timeline { grid-template-columns: 1fr; gap: 30px; }
  .hiring-timeline::before { display: none; }
}
.hiring-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.hiring-step-num {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-elev-1);
  border: 2px solid var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}
.hiring-step:nth-child(even) .hiring-step-num {
  border-color: var(--brand-red);
}
.hiring-step h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.hiring-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.hiring-step span.duration {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
}

/* Department filter pills */
.dept-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.dept-pill {
  padding: 8px 18px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}
.dept-pill:hover { color: var(--text-primary); border-color: var(--brand-red); }
.dept-pill.active {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  color: white;
  border-color: transparent;
}

/* =========================================================
   MOBILE RESPONSIVE — Comprehensive Fixes
   ========================================================= */

/* Prevent any horizontal scroll on small screens */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  /* Headlines breathe on mobile */
  h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); line-height: 1.18; padding-bottom: 0.15em; }
  h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.2; padding-bottom: 0.12em; }
  h3 { font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.25; }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.5rem) !important;
    line-height: 1.18 !important;
  }

  /* Sections tighten up */
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  /* Container padding */
  .container { padding: 0 20px; }

  /* Buttons */
  .btn-primary, .btn-ghost {
    font-size: 0.92rem;
    padding: 13px 22px;
  }
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  /* Hero stack */
  .hero-actions, .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions a, .cta-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* CTA inline becomes single column */
  .cta-inline {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 32px 24px;
  }

  /* KINVIYO hero */
  .kinviyo-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .kinviyo-visual {
    height: 280px;
  }

  /* Transform grid (before/after) — stack on mobile */
  .transform-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .transform-arrow {
    transform: rotate(90deg);
    margin: 8px auto;
  }

  /* Career hero stats */
  .career-hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  /* Hiring timeline */
  .hiring-timeline {
    grid-template-columns: 1fr !important;
  }

  /* Department filter (career page) wraps cleanly */
  .dept-filter {
    overflow-x: auto;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
  }
  .dept-pill {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  /* Career list cards */
  .career-card {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start !important;
  }
  .career-card .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Footer grid → stack */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }
  .footer-wordmark {
    font-size: 18vw !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-legal p {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  /* ROI Calculator */
  .roi-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .roi-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .roi-panel {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  /* Chart grid */
  .chart-grid {
    grid-template-columns: 1fr !important;
  }

  /* Tables in admin/portal — horizontal scroll */
  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Portal header — compact */
  .portal-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
  }
  .portal-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .portal-nav-link {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Portal main padding */
  .portal-main {
    padding: 30px 18px 60px;
  }
  .portal-card {
    padding: 24px 20px;
  }

  /* Form rows stack on mobile */
  .portal-form-row {
    grid-template-columns: 1fr !important;
  }

  /* Stats grid */
  .portal-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .portal-stat {
    padding: 16px 14px;
  }
  .portal-stat-num {
    font-size: 1.6rem;
  }

  /* Hide WhatsApp on smallest screens to avoid cover up */
  /* (kept visible; just smaller) */
  .floating-whatsapp {
    width: 50px !important;
    height: 50px !important;
    bottom: 16px !important;
    right: 16px !important;
  }

  /* Booking iframe height adjusts */
  .booking-frame-wrap iframe {
    min-height: 800px !important;
  }
}

/* Even smaller — phone portrait */
@media (max-width: 480px) {
  .portal-stats { grid-template-columns: 1fr !important; }
  .career-hero-stats { grid-template-columns: 1fr !important; }
  .footer-wordmark { display: none; }
  .breadcrumb { font-size: 0.7rem; }
}

/* Schedule call page booking wrap */
.booking-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.booking-frame-wrap {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--surface-line);
}


/* KINVIYO core — when using real logo image */
.kinviyo-core-logo {
  background: transparent !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none !important;
  box-shadow: 0 0 60px rgba(62, 200, 90, 0.25);
}
.kinviyo-core-logo img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(62, 200, 90, 0.3));
}


/* =========================================================
   CURSOR FIX — Pointer on all clickable elements
   ========================================================= */
a, button, [role="button"], [type="button"], [type="submit"], [type="reset"],
.btn-primary, .btn-ghost, .btn-sm, .btn-lg, .btn-mini,
.dept-pill, .roi-tab, .nav-link, .dropdown-item, .nav-toggle,
.portal-nav-link, .footer-social a,
input[type="checkbox"], input[type="radio"], select, label[for],
.kinviyo-feat, .career-card, .app-card, .feature-card,
.stage-badge, .timeline-item, summary, details {
  cursor: pointer;
}

/* Text-input cursor */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="password"], input[type="search"], input[type="date"],
textarea {
  cursor: text;
}

/* Disabled */
button:disabled, input:disabled, select:disabled, textarea:disabled,
.disabled, [disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Range sliders get the grab cursor */
input[type="range"] { cursor: grab; }
input[type="range"]:active { cursor: grabbing; }


/* =========================================================
   SECTION HEADER FLEX — Left content + right stat pills
   ========================================================= */
.section-header-flex {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}
.section-header-left { max-width: 640px; }
.section-header-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat-pill {
  padding: 24px 22px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 16px;
  transition: all 0.25s;
}
.stat-pill:hover {
  border-color: rgba(26, 77, 255, 0.35);
  transform: translateY(-3px);
}
.stat-pill-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-red-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-pill-label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .section-header-flex {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 540px) {
  .section-header-right { grid-template-columns: 1fr; }
}


/* =========================================================
   BOOKING / SCHEDULE CALL PAGE
   ========================================================= */
.booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .booking-grid { grid-template-columns: 1fr; gap: 28px; }
}

.booking-cal-pane,
.booking-form-pane {
  padding: 32px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-line);
  border-radius: 22px;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.booking-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  color: white;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
}
.booking-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
}

/* Calendar grid */
.booking-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .booking-cal { grid-template-columns: repeat(7, 1fr); gap: 4px; }
}

.booking-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
  min-height: 78px;
}
.booking-day:hover:not(:disabled) {
  border-color: var(--brand-blue);
  background: rgba(26, 77, 255, 0.08);
}
.booking-day.is-active {
  background: linear-gradient(135deg, rgba(26, 77, 255, 0.18), rgba(255, 36, 64, 0.12));
  border-color: var(--brand-red);
  box-shadow: 0 6px 20px rgba(255, 36, 64, 0.15);
}
.booking-day.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.booking-day.is-today { box-shadow: inset 0 0 0 1px var(--brand-blue-light); }

.booking-day .d-day {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.booking-day .d-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
}
.booking-day .d-mon {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Slots */
.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  min-height: 50px;
}
.booking-slot {
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.booking-slot:hover:not(:disabled) {
  border-color: var(--brand-blue);
  background: rgba(26, 77, 255, 0.08);
}
.booking-slot.is-active {
  background: linear-gradient(135deg, rgba(26, 77, 255, 0.2), rgba(255, 36, 64, 0.15));
  border-color: var(--brand-red);
  color: white;
}
.booking-slot.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}
.booking-slots-empty {
  grid-column: 1 / -1;
  padding: 28px 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-style: italic;
  border: 1px dashed var(--surface-line);
  border-radius: 10px;
}

/* Selection display */
.booking-selection {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(26, 77, 255, 0.1), rgba(255, 36, 64, 0.06));
  border: 1px solid rgba(26, 77, 255, 0.3);
  border-radius: 12px;
  margin-bottom: 20px;
}
.booking-selection-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.booking-selection-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--brand-red-light);
}

/* Booking form layout */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Success state */
.booking-success {
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  padding: 50px 32px;
  background: var(--surface-glass);
  border: 1px solid rgba(110, 233, 168, 0.3);
  border-radius: 22px;
}
.booking-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6ee9a8, #3ec85a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
}
.booking-success h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.2;
}
.booking-success-when {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  padding: 18px 24px;
  margin-top: 16px;
  background: rgba(110, 233, 168, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(110, 233, 168, 0.2);
  color: #6ee9a8;
}


/* =========================================================
   HOMEPAGE VIDEO SECTION
   ========================================================= */
.video-section { padding: 40px 0; }

.video-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 1024px) {
  .video-wrap { grid-template-columns: 1fr; gap: 32px; }
}

.video-text { align-self: center; }
.video-text h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.15;
}
.video-text .lead {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}
.video-text .eyebrow { margin-bottom: 14px; }

.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 480px;
  margin-left: auto;
  margin-right: 0;
}
.video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  background: #000;
}
@media (max-width: 1024px) {
  .video-frame { max-width: 100%; margin: 0 auto; }
}
.video-frame-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  z-index: -1;
  opacity: 0.4;
  filter: blur(30px);
}


/* =========================================================
   FOOTER — Redesigned
   ========================================================= */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--surface-line);
  padding: 50px 0 22px;
  margin-top: 56px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--surface-line);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; text-align: center; }
  .footer-brand-col .footer-logo { justify-content: center; }
  .footer-brand-col .footer-contact-inline,
  .footer-brand-col .footer-social { justify-content: center; }
}

.footer-brand-col { max-width: 380px; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-logo img { border-radius: 6px; flex-shrink: 0; }
.footer-logo-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: 1;
}
.footer-logo-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 5px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px;
}

.footer-contact-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-contact-link:hover { color: var(--brand-blue-light); }
.footer-contact-link svg { flex-shrink: 0; opacity: 0.7; }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-line);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.footer-nav-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red-light);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-col li {
  margin-bottom: 9px;
}
.footer-nav-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-nav-col a:hover { color: var(--brand-blue-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  flex-wrap: wrap;
}
.footer-bottom-left p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.footer-bottom-right {
  display: flex;
  gap: 22px;
}
.footer-bottom-right a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-bottom-right a:hover { color: var(--brand-blue-light); }

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* Remove the giant footer wordmark since the new layout is denser */
.footer-wordmark { display: none !important; }

/* =========================================================
   DPDP CONSENT BANNER & PREFERENCES MODAL
   ========================================================= */
.dpdp-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(6, 9, 20, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 20px;
  z-index: 9990;
  color: var(--text-primary);
}
.dpdp-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.dpdp-banner-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.dpdp-banner-text a {
  color: var(--brand-blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dpdp-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.dpdp-btn {
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  transition: all 0.15s;
}
.dpdp-btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  color: white;
  font-weight: 600;
}
.dpdp-btn-primary:hover { transform: translateY(-1px); }
.dpdp-btn-link {
  background: transparent;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 7px 8px;
}
.dpdp-btn-link:hover { color: var(--text-primary); }
.dpdp-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}
.dpdp-btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 640px) {
  .dpdp-banner { padding: 10px 14px; }
  .dpdp-banner-inner { flex-direction: column; gap: 8px; align-items: stretch; }
  .dpdp-banner-text { font-size: 0.78rem; text-align: center; }
  .dpdp-banner-actions { justify-content: center; }
}

/* Preferences modal — hidden by default via inline style="display:none", shown via JS */
.dpdp-prefs {
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dpdp-prefs.is-open {
  display: flex;
}
.dpdp-prefs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 20, 0.8);
  backdrop-filter: blur(8px);
}
.dpdp-prefs-panel {
  position: relative;
  background: linear-gradient(135deg, #0a1230, #060914);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 32px 28px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.dpdp-prefs-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.dpdp-prefs h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.dpdp-prefs-lead {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 22px;
}
.dpdp-cat {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  margin-bottom: 10px;
}
.dpdp-cat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.dpdp-cat-head strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.dpdp-cat-head small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.dpdp-cat-locked {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #6ee9a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(110, 233, 168, 0.1);
  border-radius: 100px;
}
.dpdp-toggle {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  cursor: pointer;
}
.dpdp-toggle input { opacity: 0; width: 0; height: 0; }
.dpdp-toggle span {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: background 0.2s;
}
.dpdp-toggle span::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}
.dpdp-toggle input:checked + span {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
}
.dpdp-toggle input:checked + span::after { transform: translateX(18px); }

.dpdp-prefs-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.dpdp-prefs-footer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--surface-line);
}
.dpdp-prefs-footer a { color: var(--brand-blue-light); }


/* Sign In link in nav */
.nav-signin {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  margin-right: 10px;
  transition: all 0.15s;
  font-weight: 500;
}
.nav-signin:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}
@media (max-width: 900px) {
  .nav-signin span { display: none; }
  .nav-signin { padding: 8px 12px; margin-right: 6px; }
}
