:root {
  --primary: #0f172a;
  --secondary: #0284c7;
  --accent: #0d9488;
  --accent-light: #e6f4f1;
  --light: #f8fafc;
  --text: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Header */
header {
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.6px;
}
.logo span { color: var(--secondary); }
nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 1.35rem;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--white); }
.nav-btn {
  background: var(--secondary);
  color: var(--white) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 1.5rem !important;
}
.nav-btn:hover { background: #0369a1; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
#nav-checkbox { display: none; }
body:has(#nav-checkbox:checked) .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body:has(#nav-checkbox:checked) .menu-toggle span:nth-child(2) { opacity: 0; }
body:has(#nav-checkbox:checked) .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
body:has(#nav-checkbox:checked) nav { transform: translateX(0); }

/* Hero */
.page-hero {
  background: linear-gradient(135deg, #07111f 0%, #0f2740 60%, #0a3a48 100%);
  color: #fff;
  padding: 7.5rem 5% 5.5rem;
  text-align: center;
}
.page-hero .kicker {
  color: #38bdf8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  max-width: 980px;
  margin: 0 auto 1.25rem;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.page-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 1.12rem;
}

/* Sections */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 5%;
}
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-title span { color: var(--secondary); }
.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}
.premium-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -10px rgba(15,23,42,0.12);
}
.premium-card .kicker {
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.72rem;
}
.premium-card h3 {
  color: var(--primary);
  margin: 0.6rem 0 0.5rem;
  font-size: 1.2rem;
}
.premium-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Video */
.video-section {
  background: #0b1220;
  padding: 4.5rem 5%;
  text-align: center;
}
.video-section h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.video-section p {
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  background: #000;
}
.video-wrapper video {
  width: 100%;
  display: block;
  max-height: 540px;
}

/* CTA */
.cta-band {
  background: linear-gradient(100deg, #0284c7, #0d9488);
  color: #fff;
  padding: 3.5rem 5%;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.cta-band p { opacity: 0.92; margin-bottom: 1.5rem; }
.cta-band a {
  display: inline-block;
  background: #fff;
  color: #0f172a;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s;
}
.cta-band a:hover { transform: translateY(-2px); }

/* Evidence box */
.evidence {
  background: #07111f;
  color: #fff;
  border-radius: 18px;
  padding: 2.5rem;
}
.evidence h3 { margin-bottom: 0.75rem; }
.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.workflow div {
  padding: 0.85rem 0.5rem;
  border: 1px solid #1e4963;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  background: #0f2740;
  color: #e2e8f0;
}

/* Split */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.split-content h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}
.split-content p {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.rich-list { list-style: none; margin-top: 1.25rem; }
.rich-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.rich-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--primary);
  color: #94a3b8;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  background: var(--white);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.submit-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.submit-btn:hover { background: var(--secondary); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid #f1f5f9;
  text-align: center;
}
.team-avatar {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #e2e8f0;
}
.team-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.2rem; }
.team-card .role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.team-card p {
  text-align: left;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
  .split-section, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .workflow { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--primary);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    gap: 1.25rem;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
  }
  nav a { margin-left: 0; font-size: 1.1rem; width: 100%; text-align: center; padding: 0.4rem 0; }
  nav a.nav-btn { width: auto; display: inline-block; margin-left: 0 !important; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .workflow { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 6rem 4% 4rem; }
}

/* ---- Utility / layout helpers (moved from inline) ---- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-35 { margin-top: 3.5rem; }
.mt-4 { margin-top: 4rem; }
.mb-025 { margin-bottom: 0.25rem; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-075 { margin-bottom: 0.75rem; }
.mb-15 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Hero actions */
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #0369a1; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-block;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.link-accent {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}
.link-accent:hover { text-decoration: underline; }

/* Larger home hero */
.page-hero.hero-lg { padding: 8.5rem 5% 6rem; }

/* Contact info block */
.contact-info h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-info .label { font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }

/* Evidence text helpers */
.evidence p.lead { color: #cbd5e1; margin-bottom: 0.5rem; }
.evidence h2.flow-title { font-size: 1.4rem; }

/* Team initials avatar */
.team-avatar.initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
}

/* Centered narrow card */
.premium-card.centered {
  max-width: 820px;
  margin: auto;
  text-align: center;
}

/* Kicker already in cards; ensure standalone */
.kicker {
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.78rem;
}

/* ---- Richer color system & visual sections ---- */
:root {
  --secondary: #0ea5e9;
  --accent: #14b8a6;
  --accent-2: #8b5cf6;
  --warm: #f59e0b;
  --soft-blue: #e0f2fe;
  --soft-teal: #ccfbf1;
  --soft-violet: #ede9fe;
}

/* Colored accent strip under header */
header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #14b8a6, #8b5cf6);
}

/* Hero color boost */
.page-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(14,165,233,0.25), transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(20,184,166,0.2), transparent 50%),
    linear-gradient(135deg, #07111f 0%, #0f2740 55%, #0a3a48 100%);
}

/* Image feature grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--card-shadow);
  background: #0f172a;
}
.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.image-card:hover img { transform: scale(1.05); }
.image-card .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(7,17,31,0.92));
  color: #fff;
}
.image-card .caption h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.image-card .caption p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 0;
}

/* Colored section bands */
.band-blue {
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  border-top: 1px solid #bae6fd;
  border-bottom: 1px solid #bae6fd;
}
.band-teal {
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
  border-top: 1px solid #99f6e4;
  border-bottom: 1px solid #99f6e4;
}
.band-violet {
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  border-top: 1px solid #ddd6fe;
  border-bottom: 1px solid #ddd6fe;
}

/* Premium card color accents */
.premium-card:nth-child(3n+1) { border-top: 4px solid #0ea5e9; }
.premium-card:nth-child(3n+2) { border-top: 4px solid #14b8a6; }
.premium-card:nth-child(3n+3) { border-top: 4px solid #8b5cf6; }

/* Architecture showcase */
.arch-showcase {
  max-width: 1000px;
  margin: 2rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15,23,42,0.25);
  border: 1px solid #e2e8f0;
}
.arch-showcase img {
  width: 100%;
  display: block;
}

/* Stat pills */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.stat-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
}
.stat-pill span { color: #38bdf8; margin-right: 0.4rem; }

/* Soft colored kicker variants */
.kicker.teal { color: #0d9488; }
.kicker.violet { color: #7c3aed; }

.mb-25 { margin-bottom: 2.5rem; }
.image-grid.mb-25 { margin-bottom: 2.5rem; }

