/* ============================================================
   CODIGENIUS — Confident Minimal + Tech-Forward
   Design: Strong typography, high contrast, engineer-grade feel
   Elevated: Stripe/Vercel-inspired polish, layered depth
   ============================================================ */

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

:root {
  --navy: #0A2540;
  --navy-deep: #061B2E;
  --blue: #56B4E9;
  --blue-glow: rgba(86, 180, 233, 0.15);
  --blue-vivid: #6DC5F5;
  --steel: #3278A1;
  --white: #FFFFFF;
  --light-bg: #F7F9FB;
  --text: #0A2540;
  --text-muted: #5A6A7A;
  --text-light: rgba(255, 255, 255, 0.65);
  --border: rgba(10, 37, 64, 0.08);
  --border-hover: rgba(86, 180, 233, 0.25);
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.04), 0 1px 2px rgba(10, 37, 64, 0.03);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.1), 0 4px 12px rgba(10, 37, 64, 0.04);
  --shadow-glow: 0 0 20px rgba(86, 180, 233, 0.12);
  --max-width: 1100px;
  --mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Courier New', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--white);
}

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

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(86, 180, 233, 0.2);
  color: var(--navy);
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal:nth-child(8) { transition-delay: 0.56s; }

/* === Section Titles === */
.section-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* Dark section variants */
.dark .section-label { color: var(--blue); }
.dark .section-title { color: var(--white); }
.dark .section-subtitle { color: var(--text-light); }

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(10, 37, 64, 0.06);
}

.nav .container {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 36px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  transition: opacity 0.2s;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-brand img {
  width: 32px;
  height: auto;
}

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

.nav-links li:last-child {
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

/* Animated underline on nav links */
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--navy);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: #0d2f52;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  transition: transform 0.25s var(--ease-out-expo);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.12), 0 4px 12px rgba(10, 37, 64, 0.04);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s var(--ease-out-expo);
  z-index: 200;
}

/* Arrow */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Invisible bridge to prevent menu closing between trigger and dropdown */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown-item {
  display: block;
  padding: 14px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}

.nav-dropdown-item:hover {
  background: var(--light-bg);
}

.nav-dropdown-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.nav-dropdown-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Mobile CTA — hidden on desktop */
.nav-cta-mobile {
  display: none;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 1px;
}

/* === Hero === */
.hero {
  padding: 160px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 37, 64, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(86, 180, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--navy);
  letter-spacing: -0.035em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--blue) 0%, var(--steel) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 44px;
  line-height: 1.7;
}

/* Terminal Visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.terminal {
  width: 100%;
  max-width: 400px;
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.18), 0 8px 20px rgba(10, 37, 64, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.terminal-dot:first-child { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  overflow: hidden;
}

.terminal-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-prompt {
  color: var(--blue);
}

.t-cmd {
  color: var(--white);
}

.t-muted {
  color: rgba(255, 255, 255, 0.45);
}

.t-success {
  color: #28c840;
}

.t-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--blue);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

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

/* Staggered fade-in for terminal lines */
.t-fade-1, .t-fade-2, .t-fade-3, .t-fade-4, .t-fade-5, .t-fade-6, .t-fade-7, .t-fade-8 {
  opacity: 0;
  animation: termFade 0.4s var(--ease-out-expo) forwards;
}
.t-fade-1 { animation-delay: 0.6s; }
.t-fade-2 { animation-delay: 0.9s; }
.t-fade-3 { animation-delay: 1.2s; }
.t-fade-4 { animation-delay: 1.5s; }
.t-fade-5 { animation-delay: 1.8s; }
.t-fade-6 { animation-delay: 2.2s; }
.t-fade-7 { animation-delay: 2.6s; }
.t-fade-8 { animation-delay: 3.0s; }

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

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

/* Shimmer sweep on CTA */
.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s var(--ease-out-expo);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  background: #0d2f52;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 37, 64, 0.18);
}

.hero-cta svg {
  transition: transform 0.25s var(--ease-spring);
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

/* === Trust Bar === */
.trust-bar {
  padding: 56px 0;
  background: var(--navy);
  position: relative;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Top edge gradient line */
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 180, 233, 0.3), transparent);
}

.trust-bar .container {
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* Vertical separator between items */
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-icon {
  color: rgba(86, 180, 233, 0.5);
  margin-bottom: 8px;
}

.trust-number {
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* === Services === */
.services {
  padding: 96px 0;
  background: var(--light-bg);
  position: relative;
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: background 0.3s, transform 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(86, 180, 233, 0.22);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.service-card .service-link {
  margin-top: 16px;
}

/* Accent borders per service */
.service-card:nth-child(1) { border-left: 3px solid var(--blue); }
.service-card:nth-child(2) { border-left: 3px solid var(--steel); }
.service-card:nth-child(3) { border-left: 3px solid #28c840; }

/* Service card as link */
a.service-card,
a.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel);
  transition: color 0.2s, gap 0.2s;
}

.service-link svg {
  transition: transform 0.25s var(--ease-spring);
}

.service-card:hover .service-link,
.product-card:hover .service-link {
  color: var(--navy);
}

.service-card:hover .service-link svg,
.product-card:hover .service-link svg {
  transform: translateX(3px);
}

/* === Case Studies === */
.case-studies {
  padding: 96px 0;
  background: var(--light-bg);
  position: relative;
}

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

.case-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.case-icon {
  color: var(--blue);
  opacity: 0.4;
}

.case-card:hover .case-icon {
  opacity: 0.7;
}

.case-header .case-label {
  margin-bottom: 0;
}

.case-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.case-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.case-client {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
  opacity: 0.85;
}

.case-card > p:not(.case-client) {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-stat {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.case-stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 2px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.case-tags span {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel);
  background: rgba(50, 120, 161, 0.06);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(50, 120, 161, 0.1);
  transition: background 0.2s, color 0.2s;
}

.case-card:hover .case-tags span {
  background: rgba(50, 120, 161, 0.1);
}

/* === Highlight Banner === */
.highlight-banner {
  padding: 64px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.highlight-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 180, 233, 0.3), transparent);
}

.highlight-banner blockquote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.highlight-banner blockquote::before {
  content: '"';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(86, 180, 233, 0.15);
  line-height: 1;
  font-family: Georgia, serif;
}

.highlight-banner blockquote p {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-style: italic;
}

/* === Tech Stack === */
.tech-stack {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.tech-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Gradient glow behind tech pills */
.tech-stack::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(86, 180, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tech-stack .container {
  position: relative;
  z-index: 1;
}

/* Grouped tech layout — horizontal rows */
.tech-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.tech-group {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
}

.tech-group-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(86, 180, 233, 0.6);
  text-align: right;
}

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

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 660px;
  margin: 0 auto;
}

.tech-pill {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out-expo);
  cursor: default;
}

.tech-pill:hover {
  background: rgba(86, 180, 233, 0.15);
  border-color: rgba(86, 180, 233, 0.35);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  animation: none;
}

/* Breathing float on tech pills */
.tech-pill:nth-child(odd) { animation: pillFloat 3s ease-in-out infinite; }
.tech-pill:nth-child(even) { animation: pillFloat 3s ease-in-out 1.5s infinite; }
.tech-pill:nth-child(3n) { animation-duration: 3.5s; }
.tech-pill:nth-child(5n) { animation-delay: 0.8s; }

@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* === Products === */
.products {
  padding: 96px 0;
  background: var(--white);
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--navy);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.product-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.product-tagline {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--steel);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.product-info > p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-stat {
  text-align: center;
}

.product-stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.product-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-features span {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--steel);
  background: rgba(50, 120, 161, 0.06);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(50, 120, 161, 0.1);
}

@media (max-width: 768px) {
  .products {
    padding: 64px 0;
  }

  .product-card {
    padding: 28px 20px;
  }

  .product-stats {
    gap: 20px;
  }

  .product-stat strong {
    font-size: 1.4rem;
  }
}

/* === How We Work === */
.how-we-work {
  padding: 96px 0;
  background: var(--white);
}

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

.model-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
  position: relative;
}

.model-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.model-number {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

.model-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.model-card > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.model-features {
  list-style: none;
  padding: 0;
}

.model-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--border);
  padding-left: 18px;
  position: relative;
}

.model-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.model-card:hover .model-features li::before {
  opacity: 0.8;
}

/* === Contact === */
.contact-section {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 180, 233, 0.2), transparent);
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-header {
  margin-bottom: 48px;
}

.contact-header .section-label {
  color: var(--blue);
}

.contact-header .section-title {
  color: var(--white);
}

.contact-header .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  display: none;
}

.contact-info > p {
  display: none;
}

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

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.contact-detail svg {
  flex-shrink: 0;
  color: var(--blue);
  opacity: 0.6;
}

.contact-detail a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  position: relative;
}

.contact-detail a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease-out-expo);
}

.contact-detail a:hover {
  color: var(--white);
}

.contact-detail a:hover::after {
  width: 100%;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}

.contact-form:focus-within {
  border-color: rgba(86, 180, 233, 0.35);
  box-shadow: 0 0 30px rgba(86, 180, 233, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(86, 180, 233, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

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

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--navy);
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s var(--ease-out-expo);
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:hover {
  background: var(--blue-vivid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 180, 233, 0.25);
}

.form-submit svg {
  transition: transform 0.25s var(--ease-spring);
}

.form-submit:hover svg {
  transform: translateX(3px);
}

/* === CTA Section === */
.cta-section {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 37, 64, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(86, 180, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.5s var(--ease-out-expo);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: #0d2f52;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 37, 64, 0.18);
}

/* === Footer === */
.footer {
  background: var(--navy-deep);
  color: var(--text-light);
  padding: 56px 0 32px;
  position: relative;
}

/* Top edge gradient */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 180, 233, 0.2), transparent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.footer-brand img {
  width: 28px;
  height: auto;
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 260px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links-col h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 8px;
}

.footer-links-col a {
  font-size: 1rem;
  transition: color 0.2s;
}

@media (max-width: 768px) {
  .footer-links-col a {
    font-size: 0.85rem;
  }
}

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

.footer-links-col a img {
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.2s;
}

.footer-links-col a:hover img {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.01em;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero {
  padding: 120px 0 40px;
  text-align: center;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 37, 64, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(86, 180, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-hero-content {
  text-align: left;
}

.about-hero-visual {
  display: flex;
  justify-content: flex-end;
}

/* About org card visual */
.about-org-card {
  width: 100%;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: cardSlideIn 0.6s var(--ease-out-expo) 0.2s forwards;
}

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

.about-org-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.about-org-logo {
  width: 40px;
  height: auto;
  opacity: 0;
  animation: avatarPop 0.4s var(--ease-spring) 0.5s forwards;
}

.about-org-header strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  opacity: 0;
  animation: fadeIn 0.4s ease 0.7s forwards;
}

.about-org-header span {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn 0.4s ease 0.9s forwards;
}

.about-org-verticals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.about-org-v {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  background: var(--light-bg);
  border-radius: 6px;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.about-org-v svg {
  color: var(--blue);
  flex-shrink: 0;
}

.about-org-v-anim-1 { animation-delay: 0.4s; }
.about-org-v-anim-2 { animation-delay: 0.6s; }
.about-org-v-anim-3 { animation-delay: 0.8s; }
.about-org-v-anim-4 { animation-delay: 1.0s; }

.about-org-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.about-org-metric {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.about-org-metric:nth-child(1) { animation-delay: 1.2s; }
.about-org-metric:nth-child(2) { animation-delay: 1.4s; }
.about-org-metric:nth-child(3) { animation-delay: 1.6s; }

.about-org-metric-num {
  display: block;
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 2px;
}

.about-org-metric span {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.about-hero h1 span {
  background: linear-gradient(135deg, var(--blue) 0%, var(--steel) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 12px;
  line-height: 1.7;
}

.about-hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
}

.fact:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.fact-number {
  display: block;
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.fact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Values */
.about-values {
  padding: 96px 0;
}

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

.value-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.value-number {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About Team */
.about-team {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.about-team::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Subtle glow behind team section */
.about-team::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(86, 180, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-team .container {
  position: relative;
  z-index: 1;
}

.about-team .section-title { color: var(--white); }
.about-team .section-subtitle { color: var(--text-light); }

.team-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.team-composition {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-row {
  display: grid;
  grid-template-columns: 130px 1fr 110px;
  gap: 16px;
  align-items: center;
}

.team-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.team-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

.team-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-vivid));
  border-radius: 100px;
  transition: width 1.4s var(--ease-out-expo);
}

.team-row.revealed .team-bar::after {
  width: var(--width);
}

.team-detail {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-light);
}

.team-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* About Operate */
.about-operate {
  padding: 96px 0;
}

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

.operate-item {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
}

.operate-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.operate-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
  transition: background 0.3s;
}

.operate-item:hover .operate-icon {
  background: rgba(86, 180, 233, 0.22);
}

.operate-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.operate-item p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }

  .nav-dropdown-menu {
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-cta-mobile {
    display: none;
  }

  .nav {
    z-index: 300;
  }

  .nav .container {
    gap: 0;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    background: var(--white);
    flex: none;
    flex-direction: column;
    padding: 32px 32px 40px;
    gap: 0;
    overflow-y: auto;
    z-index: 9999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  /* Dropdown triggers as section labels */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    opacity: 0.4;
    pointer-events: none;
    padding: 16px 0 6px;
  }

  .nav-dropdown:first-child .nav-dropdown-trigger {
    padding-top: 0;
  }

  .nav-dropdown-trigger svg {
    display: none;
  }

  /* Flat dropdown items */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .nav-dropdown-menu::before,
  .nav-dropdown-menu::after {
    display: none;
  }

  .nav-dropdown-item {
    padding: 10px 0;
  }

  .nav-dropdown-item strong {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
  }

  .nav-dropdown-item span {
    display: none;
  }

  /* CTA at the bottom */
  .nav-links li:last-child {
    margin-top: auto;
    padding-top: 24px;
    width: 100%;
  }

  .nav-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: 10px;
  }

  /* Hero */
  .hero {
    padding: 120px 0 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-visual {
    justify-content: center;
  }

  .terminal {
    max-width: 100%;
  }

  .terminal-body {
    font-size: 0.65rem;
    padding: 14px;
  }

  /* Trust bar */
  .trust-bar {
    padding: 40px 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .trust-number {
    font-size: 2rem;
  }

  .trust-item:not(:last-child)::after {
    display: none;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .models-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tech-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tech-group-label {
    text-align: left;
  }

  .tech-pills {
    gap: 8px;
  }

  .tech-pill {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-form {
    padding: 24px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Section spacing */
  .services,
  .case-studies,
  .tech-stack,
  .how-we-work,
  .contact-section,
  .cta-section,
  .about-overview,
  .about-values,
  .about-team,
  .about-operate {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    margin-bottom: 40px;
  }

  /* About page */
  .about-hero {
    padding: 120px 0 48px;
    min-height: auto;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero-content {
    text-align: center;
  }

  .about-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero-visual {
    justify-content: center;
  }

  .about-org-card {
    max-width: 280px;
  }

  .svc-stats-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid,
  .operate-grid {
    grid-template-columns: 1fr;
  }

  .team-overview {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-row {
    grid-template-columns: 100px 1fr 80px;
    gap: 8px;
  }

  .team-role {
    font-size: 0.85rem;
  }

  .contact-info h2 {
    font-size: 1.8rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .about-hero h1 {
    font-size: 1.8rem;
  }

  .trust-number {
    font-size: 1.6rem;
  }

  .overview-facts {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */

.svc-hero {
  padding: 120px 0 40px;
  text-align: center;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 37, 64, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.svc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(86, 180, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.svc-hero .container {
  position: relative;
  z-index: 1;
}

.svc-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.035em;
}

.svc-hero h1 span {
  background: linear-gradient(135deg, var(--blue) 0%, var(--steel) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Service stats bar */
.svc-stats-bar {
  padding: 56px 0;
  background: var(--navy);
  position: relative;
}

.svc-stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.svc-stats-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 180, 233, 0.3), transparent);
}

.svc-stats-bar .container {
  position: relative;
}

.svc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.svc-stats-4 {
  grid-template-columns: repeat(4, 1fr);
}

.svc-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.svc-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.svc-stat-icon {
  color: rgba(86, 180, 233, 0.5);
  margin-bottom: 8px;
}

.svc-stat-num {
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.svc-stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .svc-stats-bar {
    padding: 36px 0;
  }

  .svc-stat-num {
    font-size: 1.6rem;
  }
}

/* Service hero layout */
.svc-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.svc-hero-content {
  text-align: left;
}

.svc-hero-content .section-label {
  text-align: left;
}

.svc-hero-visual {
  display: flex;
  justify-content: flex-end;
}

/* Timeline visual (Custom Software) */
.svc-visual-timeline {
  width: 100%;
  max-width: 300px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

@keyframes visualFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  animation: timelineSlideIn 0.5s var(--ease-out-expo) forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.6s; }
.timeline-item:nth-child(3) { animation-delay: 1.0s; }
.timeline-item:nth-child(4) { animation-delay: 1.4s; }
.timeline-item:nth-child(5) { animation-delay: 1.8s; }

@keyframes timelineSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 28px;
  bottom: -8px;
  width: 2px;
  background: var(--border);
}

.timeline-item.done:not(:last-child)::after {
  background: #28c840;
}

.timeline-item.active:not(:last-child)::after {
  background: linear-gradient(to bottom, var(--blue) 50%, var(--border) 50%);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 3px;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.timeline-item.done .timeline-dot {
  background: var(--border);
  animation: dotComplete 0.3s ease forwards;
}

.timeline-item:nth-child(1).done .timeline-dot { animation-delay: 0.5s; }
.timeline-item:nth-child(2).done .timeline-dot { animation-delay: 0.9s; }

@keyframes dotComplete {
  from { background: var(--border); transform: scale(1); }
  50% { transform: scale(1.3); }
  to { background: #28c840; transform: scale(1); }
}

.timeline-item.active .timeline-dot {
  background: var(--blue);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(86, 180, 233, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(86, 180, 233, 0.1); }
}

.timeline-content strong {
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.3;
}

.timeline-content span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.timeline-item.done .timeline-content span {
  color: #28c840;
}

.timeline-item.active .timeline-content span {
  color: var(--blue);
  font-weight: 600;
}

/* Team visual (Dedicated Teams) */
.svc-visual-team {
  width: 100%;
  max-width: 280px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.team-visual-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 0.1s;
}

.team-visual-label--cg {
  color: var(--blue);
  animation-delay: 0.9s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.team-visual-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-visual-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: avatarPop 0.4s var(--ease-spring) forwards;
}

.team-visual-avatar:nth-child(1) { animation-delay: 0.3s; }
.team-visual-avatar:nth-child(2) { animation-delay: 0.5s; }
.team-visual-avatar:nth-child(3) { animation-delay: 0.7s; }

.tv-cg:nth-child(1) { animation-delay: 1.1s; }
.tv-cg:nth-child(2) { animation-delay: 1.3s; }
.tv-cg:nth-child(3) { animation-delay: 1.5s; }

@keyframes avatarPop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.tv-client {
  background: rgba(10, 37, 64, 0.08);
  color: var(--navy);
  border: 1px solid var(--border);
}

.tv-cg {
  background: rgba(86, 180, 233, 0.12);
  color: var(--steel);
  border: 1px solid rgba(86, 180, 233, 0.25);
}

.team-visual-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  position: relative;
}

.team-visual-divider::before,
.team-visual-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.team-visual-divider span {
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  animation: plusPop 0.5s var(--ease-spring) forwards;
  animation-delay: 0.8s;
}

@keyframes plusPop {
  from { opacity: 0; transform: scale(0); }
  50% { transform: scale(1.4); }
  to { opacity: 1; transform: scale(1); }
}

/* Uptime visual (Support) */
.svc-visual-uptime {
  width: 100%;
  max-width: 320px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.uptime-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.uptime-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(40, 200, 64, 0.1); }
}

.uptime-header strong {
  font-size: 0.85rem;
  color: var(--navy);
}

.uptime-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
}

.uptime-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.uptime-bars {
  display: flex;
  gap: 2px;
}

.uptime-bars span {
  flex: 1;
  height: 20px;
  border-radius: 2px;
}

.ub-up {
  background: #28c840;
  opacity: 0;
  animation: barFill 0.3s ease forwards;
}

.ub-warn {
  background: #febc2e;
  opacity: 0;
  animation: barFill 0.3s ease forwards;
}

/* Stagger each bar */
/* Row 1: API Gateway (2nd div child, after header) */
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(1) { animation-delay: 0.3s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(2) { animation-delay: 0.35s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(3) { animation-delay: 0.4s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(4) { animation-delay: 0.45s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(5) { animation-delay: 0.5s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(6) { animation-delay: 0.55s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(7) { animation-delay: 0.6s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(8) { animation-delay: 0.65s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(9) { animation-delay: 0.7s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(10) { animation-delay: 0.75s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(11) { animation-delay: 0.8s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(12) { animation-delay: 0.85s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(13) { animation-delay: 0.9s; }
.uptime-row:nth-of-type(2) .uptime-bars span:nth-child(14) { animation-delay: 0.95s; }

/* Row 2: Core Service */
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(1) { animation-delay: 1.1s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(2) { animation-delay: 1.15s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(3) { animation-delay: 1.2s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(4) { animation-delay: 1.25s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(5) { animation-delay: 1.3s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(6) { animation-delay: 1.35s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(7) { animation-delay: 1.4s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(8) { animation-delay: 1.45s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(9) { animation-delay: 1.5s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(10) { animation-delay: 1.55s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(11) { animation-delay: 1.6s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(12) { animation-delay: 1.65s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(13) { animation-delay: 1.7s; }
.uptime-row:nth-of-type(3) .uptime-bars span:nth-child(14) { animation-delay: 1.75s; }

/* Row 3: Database */
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(1) { animation-delay: 1.9s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(2) { animation-delay: 1.95s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(3) { animation-delay: 2.0s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(4) { animation-delay: 2.05s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(5) { animation-delay: 2.1s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(6) { animation-delay: 2.15s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(7) { animation-delay: 2.2s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(8) { animation-delay: 2.25s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(9) { animation-delay: 2.3s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(10) { animation-delay: 2.35s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(11) { animation-delay: 2.4s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(12) { animation-delay: 2.45s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(13) { animation-delay: 2.5s; }
.uptime-row:nth-of-type(4) .uptime-bars span:nth-child(14) { animation-delay: 2.55s; }

@keyframes barFill {
  from { opacity: 0; transform: scaleY(0.3); }
  to { opacity: 0.7; transform: scaleY(1); }
}

.ub-down {
  background: #ff5f57;
  opacity: 0.8;
}

.uptime-pct {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #28c840;
  text-align: right;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.uptime-row:nth-of-type(2) .uptime-pct { animation-delay: 1.0s; }
.uptime-row:nth-of-type(3) .uptime-pct { animation-delay: 1.8s; }
.uptime-row:nth-of-type(4) .uptime-pct { animation-delay: 2.6s; }

@media (max-width: 768px) {
  .svc-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc-hero-content {
    text-align: center;
  }

  .svc-hero-content .section-label {
    text-align: center !important;
  }

  .svc-hero-visual {
    justify-content: center !important;
  }

  .svc-visual-timeline,
  .svc-visual-team,
  .svc-visual-uptime {
    max-width: 260px;
  }
}

.svc-details {
  padding: 96px 0;
  background: var(--light-bg);
}

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

.svc-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
}

.svc-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.svc-item-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
  transition: background 0.3s, transform 0.3s;
}

.svc-item:hover .svc-item-icon {
  background: rgba(86, 180, 233, 0.22);
  transform: scale(1.05);
}

.svc-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.svc-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.svc-process {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
}

.svc-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.svc-process .container {
  position: relative;
  z-index: 1;
}

.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.svc-step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(86, 180, 233, 0.25);
  transform: translateY(-3px);
}

.svc-step-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
  opacity: 0.6;
}

.svc-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.svc-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

.svc-deliverables {
  padding: 96px 0;
  background: var(--light-bg);
}

.svc-deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.svc-deliver {
  background: var(--white);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.svc-deliver:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.svc-deliver strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.svc-deliver p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .svc-hero {
    padding: 120px 0 48px;
    min-height: auto;
  }

  .svc-hero h1 {
    font-size: 2.2rem;
  }

  .svc-grid,
  .svc-steps,
  .svc-deliver-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .svc-details,
  .svc-process,
  .svc-deliverables {
    padding: 64px 0;
  }
}

/* ============================================================
   LEGAL PAGES (Privacy, Terms)
   ============================================================ */

.legal-page {
  padding: 140px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-page li {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 4px;
}

.legal-page a {
  color: var(--steel);
  text-decoration: underline;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */

.careers-hero {
  padding: 120px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .careers-hero {
    min-height: auto;
    padding: 120px 0 48px;
  }
}

.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 37, 64, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.careers-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(86, 180, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.careers-hero .container {
  position: relative;
  z-index: 1;
}

.careers-h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.careers-h1 span {
  background: linear-gradient(135deg, var(--blue) 0%, var(--steel) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.careers-p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 44px;
  line-height: 1.7;
}

/* Careers visual card */
.careers-visual-card {
  width: 100%;
  max-width: 300px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: cardSlideIn 0.6s var(--ease-out-expo) 0.2s forwards;
}

.cv-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}

.cv-header svg {
  color: var(--blue);
}

.cv-header span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cv-roles {
  padding: 8px 12px;
}

.cv-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  opacity: 0;
  animation: slideUp 0.4s var(--ease-out-expo) forwards;
}

.cv-role:last-child {
  border-bottom: none;
}

.cv-role-anim-1 { animation-delay: 0.5s; }
.cv-role-anim-2 { animation-delay: 0.7s; }
.cv-role-anim-3 { animation-delay: 0.9s; }
.cv-role-anim-4 { animation-delay: 1.1s; }

.cv-role-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.cv-role-info span {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.cv-badge {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.cv-badge--open {
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
}

.cv-badge--intern {
  color: var(--blue);
  background: var(--blue-glow);
}

.cv-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  background: var(--light-bg);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.cv-footer svg {
  color: var(--blue);
  opacity: 0.5;
}

/* Why Join */
.careers-why {
  padding: 40px 0;
  background: var(--navy);
  position: relative;
}

.careers-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.careers-why::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 180, 233, 0.3), transparent);
}

.careers-why .container {
  position: relative;
}

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

.careers-why-item {
  text-align: center;
}

.careers-why-item .operate-icon {
  margin: 0 auto 12px;
  background: rgba(86, 180, 233, 0.1);
}

.careers-why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.careers-why-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Positions */
.careers-positions {
  padding: 96px 0;
  background: var(--light-bg);
  text-align: left;
}

.careers-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.career-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.career-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.career-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.career-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}

.career-badge--intern {
  color: var(--blue);
  background: var(--blue-glow);
}

.career-card > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
}

.career-tags span {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--steel);
  background: rgba(50, 120, 161, 0.06);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(50, 120, 161, 0.1);
}

.career-requirements h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.career-requirements ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.career-requirements li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
}

.career-requirements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

.career-apply {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.career-apply:hover {
  background: #0d2f52;
  transform: translateY(-1px);
}

/* Trusted By strip */
.trusted-by {
  padding: 48px 0;
  background: var(--navy);
  position: relative;
}

.trusted-by::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 180, 233, 0.2), transparent);
}

.trusted-by .container {
  text-align: center;
}

.trusted-by-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  opacity: 0.4;
  margin-bottom: 20px;
  display: block;
}

.trusted-by-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.trusted-by-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.trusted-by-item svg {
  color: var(--blue);
  opacity: 0.4;
}

@media (max-width: 768px) {
  .careers-hero h1 {
    font-size: 2.2rem;
  }

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

  .careers-positions {
    padding: 64px 0;
  }

  .career-card {
    padding: 20px;
  }

  .career-header {
    flex-direction: column;
    gap: 8px;
  }

  .legal-page {
    padding: 120px 24px 60px;
  }

  .trusted-by-items {
    gap: 20px;
  }
}

/* ============================================================
   BUILDINGMS PAGE
   ============================================================ */

/* BMS Hero */
.bms-hero {
  padding: 120px 0 40px;
  text-align: center;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bms-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 37, 64, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.bms-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(86, 180, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.bms-hero .container {
  position: relative;
  z-index: 1;
}

.bms-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.bms-hero-content {
  text-align: left;
}

.bms-hero-content .bms-label {
  text-align: left;
}

.bms-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* BMS dashboard card visual */
.bms-visual-card {
  width: 100%;
  max-width: 320px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.18), 0 8px 20px rgba(10, 37, 64, 0.08);
}

.bms-v-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bms-v-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.bms-v-dot--green {
  background: #28c840;
  animation: statusPulse 2s ease-in-out infinite;
}

.bms-v-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.bms-v-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bms-v-stat {
  text-align: center;
}

.bms-v-stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.bms-v-anim-1 { animation-delay: 0.3s; }
.bms-v-anim-2 { animation-delay: 0.5s; }
.bms-v-anim-3 { animation-delay: 0.7s; }
.bms-v-anim-4 { animation-delay: 1.0s; }
.bms-v-anim-5 { animation-delay: 1.2s; }
.bms-v-anim-6 { animation-delay: 1.4s; }
.bms-v-anim-7 { animation-delay: 1.6s; }

.bms-v-stat span:last-child {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bms-v-activity {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bms-v-row {
  display: grid;
  grid-template-columns: 32px 1fr 36px;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  opacity: 0;
  animation: slideUp 0.4s var(--ease-out-expo) forwards;
}

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

.bms-v-badge {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-align: center;
  letter-spacing: 0.04em;
}

.bms-v-badge--in {
  background: rgba(40, 200, 64, 0.15);
  color: #28c840;
}

.bms-v-badge--out {
  background: rgba(255, 95, 87, 0.15);
  color: #ff5f57;
}

.bms-v-name {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  width: 70%;
}

.bms-v-time {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
}

.bms-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.bms-hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.bms-hero-subtitle {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--steel);
  letter-spacing: 0.02em;
  margin-bottom: 8px !important;
}

.bms-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 44px;
  line-height: 1.7;
}

.bms-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.bms-hero-stat {
  text-align: center;
}

.bms-hero-stat strong {
  display: block;
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.bms-hero-stat span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* BMS Challenge */
.bms-challenge {
  padding: 96px 0;
}

.bms-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bms-problem {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
}

.bms-problem:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.bms-problem-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--blue);
}

.bms-problem h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.bms-problem p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* BMS Modules */
.bms-modules {
  padding: 96px 0;
  background: var(--light-bg);
}

.bms-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bms-module {
  background: var(--white);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo), border-color 0.35s;
}

.bms-module:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.bms-module-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
  transition: background 0.3s, transform 0.3s;
}

.bms-module:hover .bms-module-icon {
  background: rgba(86, 180, 233, 0.22);
  transform: scale(1.05);
}

.bms-module h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.bms-module p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* BMS Audience */
.bms-audience {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
}

.bms-audience::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.bms-audience .container {
  position: relative;
  z-index: 1;
}

.bms-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bms-audience-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.bms-audience-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(86, 180, 233, 0.25);
  transform: translateY(-3px);
}

.bms-audience-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.bms-audience-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.bms-audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.bms-audience-tags span {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  background: rgba(86, 180, 233, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(86, 180, 233, 0.15);
}

/* BMS Flow */
.bms-flow {
  padding: 96px 0;
}

.bms-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bms-flow-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.bms-flow-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.bms-flow-type {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}

.bms-flow-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.bms-flow-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.bms-flow-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-bottom: 20px;
}

.bms-flow-steps li {
  counter-increment: step;
  padding: 14px 0 14px 40px;
  border-top: 1px solid var(--border);
  position: relative;
}

.bms-flow-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bms-flow-steps li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.bms-flow-steps li span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bms-flow-note {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
}

.bms-flow-note--green {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
}

.bms-flow-note--navy {
  background: rgba(10, 37, 64, 0.06);
  color: var(--navy);
}

/* BMS Trust */
.bms-trust {
  padding: 96px 0;
  background: var(--light-bg);
}

.bms-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.bms-trust-item {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.bms-trust-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.bms-trust-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
}

.bms-trust-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.bms-trust-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bms-deploy {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.bms-deploy strong {
  color: var(--navy);
}

/* BMS Why */
.bms-why {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
}

.bms-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.bms-why .container {
  position: relative;
  z-index: 1;
}

.bms-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bms-why-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.bms-why-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(86, 180, 233, 0.25);
  transform: translateY(-3px);
}

.bms-why-item strong {
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.bms-why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.bms-why-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* BMS Dashboard Mockups */
.bms-screens {
  padding: 96px 0;
  background: var(--light-bg);
}

.bms-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bms-screens-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 32px;
  font-weight: 500;
}

/* Mockup shared */
.mockup {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.mockup:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.1);
}

.mockup-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.mockup-body {
  display: flex;
  min-height: 200px;
}

/* Sidebar */
.mockup-sidebar {
  width: 48px;
  background: var(--navy-deep);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mockup-sidebar-item {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.mockup-sidebar-item.active {
  background: rgba(86, 180, 233, 0.25);
  border: 1px solid rgba(86, 180, 233, 0.4);
}

/* Main content */
.mockup-main {
  flex: 1;
  padding: 16px;
}

.mockup-main-full {
  padding: 16px;
}

/* Stats row */
.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-stats-2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.mockup-stat-card {
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}

.mockup-stat-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.mockup-stat-green { background: linear-gradient(135deg, #059669, #10b981); }
.mockup-stat-purple { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.mockup-stat-navy { background: linear-gradient(135deg, var(--navy), #0d2f52); }

.mockup-stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.mockup-stat-label {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

/* Table */
.mockup-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.mockup-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  background: var(--light-bg);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  align-items: center;
}

.mockup-bar-text {
  display: block;
  width: 70%;
  height: 8px;
  background: rgba(10, 37, 64, 0.08);
  border-radius: 4px;
}

.mockup-bar-short {
  display: block;
  width: 40%;
  height: 8px;
  background: rgba(10, 37, 64, 0.06);
  border-radius: 4px;
}

.mockup-badge-active {
  font-size: 0.55rem;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  padding: 2px 8px;
  border-radius: 100px;
  text-align: center;
}

/* Visitor Invitations */
.mockup-invite-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-invite-stat {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: var(--light-bg);
}

.mockup-invite-num {
  display: block;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 2px;
}

.mockup-invite-stat span:last-child {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mockup-c-yellow { color: #d97706 !important; }
.mockup-c-green { color: #059669 !important; }
.mockup-c-blue { color: #2563eb !important; }
.mockup-c-red { color: #dc2626 !important; }

.mockup-invite-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-invite-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mockup-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.mockup-badge-pending {
  font-size: 0.55rem;
  font-weight: 600;
  color: #d97706;
  background: rgba(217, 119, 6, 0.08);
  padding: 2px 8px;
  border-radius: 100px;
}

.mockup-badge-approved {
  font-size: 0.55rem;
  font-weight: 600;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  padding: 2px 8px;
  border-radius: 100px;
}

.mockup-badge-checked {
  font-size: 0.55rem;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 100px;
}

/* QR Scanner */
.mockup-scanner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 8px;
}

.mockup-scanner-viewport {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.mockup-scanner-corners {
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(86, 180, 233, 0.5);
  border-radius: 4px;
}

.mockup-scanner-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(86, 180, 233, 0.6);
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
  0%, 100% { top: 16px; }
  50% { top: calc(100% - 16px); }
}

.mockup-scanner-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.mockup-scanner-results {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.mockup-scanner-stat {
  text-align: center;
}

.mockup-scanner-stat span:first-child {
  display: block;
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.mockup-scanner-stat span:last-child {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* BMS Responsive */
@media (max-width: 768px) {
  .bms-hero {
    padding: 120px 0 56px;
    min-height: auto;
  }

  .bms-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bms-hero-content {
    text-align: center;
  }

  .bms-hero-visual {
    justify-content: center !important;
  }

  .bms-visual-card {
    max-width: 280px;
  }

  .bms-hero h1 {
    font-size: 2.4rem;
  }

  .bms-hero-stats {
    gap: 24px;
  }

  .bms-hero-stat strong {
    font-size: 1.8rem;
  }

  .bms-problems-grid,
  .bms-audience-grid,
  .bms-why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bms-modules-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bms-flow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bms-flow-card {
    padding: 24px 20px;
  }

  .bms-trust-grid {
    grid-template-columns: 1fr;
  }

  .bms-screens {
    padding: 64px 0;
  }

  .bms-screens-grid {
    grid-template-columns: 1fr;
  }

  .mockup-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup-invite-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bms-challenge,
  .bms-modules,
  .bms-audience,
  .bms-flow,
  .bms-trust,
  .bms-why {
    padding: 64px 0;
  }
}

@media (max-width: 400px) {
  .bms-hero h1 {
    font-size: 2rem;
  }

  .bms-hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}
