@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

:root {
  /* Quantum Design System Colors */
  --primary: #FCDB80;       /* Quantum Gold */
  --primary-glow: rgba(252, 219, 128, 0.2);
  --on-primary: #131313;
  
  --bg-color: #131313;      /* Dark Carbon */
  --surface: #1b1c1c;
  --surface-hover: #222323;
  --surface-border: #474746;
  
  --text-main: #e4e2e1;
  --text-muted: #c8c6c5;
  --text-faint: #8d909f;

  /* Typography */
  --font-headline: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1440px;
  --nav-height: 100px;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--primary);
  color: var(--on-primary);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }

.bg-surface {
  background-color: var(--surface);
  border: 1px solid var(--surface-border);
}

/* Typography Classes */
.headline-huge { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.04em; }
.headline-lg { font-size: clamp(2rem, 4vw, 3.5rem); }
.headline-md { font-size: 2rem; }
.headline-sm { font-size: 1.25rem; }

.label-mono {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

/* Special Effects */
.text-gradient-gold {
  background: linear-gradient(135deg, #FCDB80 0%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.architectural-border {
  border-left: 2px solid var(--primary);
  padding-left: 2rem;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(27, 28, 28, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(71, 71, 70, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  background: transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 0 15px var(--primary-glow);
}
.btn-primary:hover {
  background-color: #fff;
  color: var(--on-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255,255,255,0.2);
}

.btn-outline {
  border: 1px solid var(--surface-border);
  color: var(--text-main);
}
.btn-outline:hover {
  background-color: var(--surface);
  border-color: var(--text-muted);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}
.navbar.scrolled {
  background-color: rgba(19, 19, 19, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.nav-brand img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* 3D Hero Section — Split layout: text LEFT, animation RIGHT */
.hero-3d {
  position: relative;
  width: 100%;
  height: 250vh; /* Snappier scroll feel (was 300vh) */
  background-color: var(--bg-color);
}
/* Sticky inner wrapper keeps both columns pinned during scroll */
.hero-3d-inner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* LEFT — Text column */
.hero-3d-overlay {
  position: relative;
  width: 45%;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-left: clamp(2rem, 5vw, 6rem);
  padding-top: var(--nav-height);
  height: 100%;
}
.hero-3d-overlay .container { pointer-events: auto; width: 100%; max-width: 560px; }
.hero-3d-overlay h1 { text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
/* RIGHT — Animation canvas column */
.hero-3d-canvas {
  position: relative;
  width: 55%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-3d-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
  mask-image: radial-gradient(ellipse 80% 75% at 55% 50%, black 30%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.3) 68%, rgba(0,0,0,0.05) 82%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 55% 50%, black 30%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.3) 68%, rgba(0,0,0,0.05) 82%, transparent 92%);
}
.hero-3d-scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.hero-3d-scroll-hint.hidden { opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
  .hero-3d { height: 200vh; }
  .hero-3d-inner { flex-direction: column; }
  .hero-3d-overlay {
    width: 100%;
    height: auto;
    padding: calc(var(--nav-height) + 1rem) 1.5rem 2rem;
    position: relative;
    z-index: 2;
    background: transparent;
  }
  .hero-3d-overlay .headline-huge { font-size: 2.5rem; }
  .hero-3d-overlay p { font-size: 1rem !important; }
  .hero-3d-canvas {
    width: 100%;
    height: 60vh;
    position: relative;
  }
  .hero-3d-canvas canvas {
    mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 35%, rgba(0,0,0,0.6) 65%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 35%, rgba(0,0,0,0.6) 65%, transparent 100%);
  }
  .hero-3d-scroll-hint { display: none; }
}
@media (max-width: 480px) {
  .hero-3d { height: 180vh; }
  .hero-3d-overlay .headline-huge { font-size: 2rem; }
  .hero-3d-canvas { height: 50vh; }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  border-bottom: 1px solid rgba(71,71,70,0.3);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: radial-gradient(circle at 75% 30%, rgba(252, 219, 128, 0.08), transparent 50%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.hero-text .badge-line {
  width: 40px;
  height: 1px;
  background-color: var(--primary);
}

.hero-text p {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1.5rem 0 2.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(252, 219, 128, 0.3);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}
.hero-visual-card {
  position: relative;
  z-index: 2;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: transform 0.5s var(--ease-out-expo);
}
.hero-visual-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.8);
  transition: filter 0.5s ease;
}
.hero-visual:hover .hero-visual-card {
  transform: translateY(-10px);
}
.hero-visual:hover .hero-visual-card img {
  filter: grayscale(0%) brightness(1);
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--primary);
  filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
}

.stat-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  padding: 1.5rem;
  z-index: 3;
}
.stat-value {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

/* Stats Ribbon */
.stats-section {
  padding: 4rem 0;
  background: var(--surface);
  border-bottom: 1px solid rgba(71,71,70,0.3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  border-left: 1px solid rgba(71,71,70,0.5);
  padding-left: 2rem;
}
.stat-item h3 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Features/Solutions Section */
.section {
  padding: 8rem 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}
.section-title {
  max-width: 600px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}
.section-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--surface-border);
  margin: 0 3rem 1rem;
  opacity: 0.5;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 1rem;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.bento-item:hover {
  border-color: var(--primary);
}
.bento-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

/* Specific Bento Sizes */
.bento-large { grid-column: span 8; }
.bento-medium { grid-column: span 4; }
.bento-wide { grid-column: span 12; align-items: center; flex-direction: row; gap: 3rem; }

.bento-large .bento-content {
  position: relative;
  z-index: 2;
  max-width: 45%;
}
.bento-large .bento-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) opacity(0.2);
  transition: all 0.5s ease;
}
.bento-item:hover .bento-bg {
  filter: grayscale(0%) opacity(0.8);
}

/* Medium bento blocks: image on right 40%, text on left */
.bento-medium .bento-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) opacity(0.2);
  transition: all 0.5s ease;
}
.bento-medium .bento-content {
  position: relative;
  z-index: 2;
  max-width: 52%;
}

/* Wide bento blocks: image on right 45%, text on left */
.bento-wide .bento-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) opacity(0.2);
  transition: all 0.5s ease;
}
.bento-wide .bento-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: auto;
  transition: gap 0.3s ease;
}
.bento-item:hover .link-arrow {
  gap: 1rem;
}

/* Interactive Footer */
.footer {
  background-color: #000;
  border-top: 1px solid var(--surface-border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand p {
  color: var(--text-faint);
  margin-top: 1rem;
  max-width: 300px;
}
.footer-col h4 {
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.75rem;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text .badge, .hero-actions {
    justify-content: center;
  }
  .hero-text p {
    margin: 1.5rem auto 2.5rem;
    border-left: none;
    border-bottom: 1px solid rgba(252, 219, 128, 0.3);
    padding: 0 0 1.5rem 0;
  }
  .architectural-border {
    border-left: none;
    padding-left: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large, .bento-medium, .bento-wide {
    grid-column: span 12;
  }
  .bento-large .bento-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  
  .headline-huge { font-size: 3rem; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Accordion / FAQ */
.accordion {
  border: 1px solid var(--surface-border);
  margin-bottom: -1px;
  transition: border-color 0.3s;
}
.accordion:hover {
  border-color: rgba(252, 219, 128, 0.4);
  z-index: 2;
  position: relative;
}
.accordion-header {
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  text-transform: uppercase;
}
.accordion-content {
  padding: 0 2rem 2rem;
  color: var(--text-muted);
  display: none;
}
.accordion.active .accordion-content {
  display: block;
}
.accordion.active .material-symbols-outlined {
  transform: rotate(45deg);
}

/* Accessibility utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Nav Dropdown */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown a:hover {
  color: var(--primary);
  background: rgba(252, 219, 128, 0.05);
}

/* ----------------------------------------------------
   Refinement Layer - May 2026
   ---------------------------------------------------- */

:root {
  --primary: #f2ca50;
  --primary-glow: rgba(242, 202, 80, 0.18);
  --on-primary: #131313;
  --bg-color: #121212;
  --surface: #181818;
  --surface-hover: #202020;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-main: #f1ede6;
  --text-muted: #c4beb6;
  --text-faint: #8d8b86;
  --font-mono: 'Space Grotesk', sans-serif;
  --max-width: 1320px;
  --nav-height: 84px;
  --section-space: clamp(4.5rem, 7vw, 7.5rem);
}

html {
  background:
    radial-gradient(circle at top right, rgba(242, 202, 80, 0.06), transparent 28%),
    radial-gradient(circle at bottom left, rgba(242, 202, 80, 0.03), transparent 24%),
    var(--bg-color);
}

body {
  background: transparent;
  color: var(--text-main);
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
}

.headline-huge {
  font-size: clamp(3rem, 6.1vw, 5.7rem);
  line-height: 0.94;
}

.headline-lg {
  font-size: clamp(2.15rem, 4.1vw, 4rem);
  line-height: 0.96;
}

.headline-md {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.label-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
}

.glass-panel {
  background: rgba(21, 21, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btn {
  min-height: 3.35rem;
  padding: 0.95rem 1.45rem;
  gap: 0.55rem;
  letter-spacing: 0.16em;
}

.btn-primary {
  background: linear-gradient(135deg, #f2ca50 0%, #ddb24a 100%);
  box-shadow: 0 12px 30px rgba(242, 202, 80, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f7d56a 0%, #e5bd57 100%);
  box-shadow: 0 18px 34px rgba(242, 202, 80, 0.16);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(242, 202, 80, 0.35);
  color: var(--text-main);
}

.navbar {
  height: var(--nav-height);
  background: rgba(12, 12, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar.scrolled {
  background: rgba(12, 12, 12, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand img {
  height: 54px !important;
  width: auto;
  object-fit: contain;
}

.nav-links {
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.75rem);
}

.nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: rgba(241, 237, 230, 0.72);
}

.nav-link::after {
  bottom: -0.55rem;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.nav-actions {
  gap: 0.9rem;
}

.nav-actions > a:first-child {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.nav-actions > a:first-child:hover {
  border-color: rgba(242, 202, 80, 0.35);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.03);
}

.nav-actions .btn {
  min-height: 3rem;
  padding-inline: 1.4rem;
}

.mobile-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-dropdown {
  min-width: min(340px, calc(100vw - 2rem));
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem;
}

.nav-dropdown a {
  border-radius: 0.6rem;
  padding: 0.55rem 0.8rem;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hero,
.section {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.section {
  padding: var(--section-space) 0;
}

.hero {
  min-height: auto;
  padding-top: calc(var(--nav-height) + 2.5rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.hero-content {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 4vw, 4.25rem);
}

.hero-text p {
  max-width: 44ch;
  margin: 1.5rem 0 2.25rem;
  padding-left: 1.35rem;
  border-left: 1px solid rgba(242, 202, 80, 0.2);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-visual-card {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.hero-visual-card img {
  filter: grayscale(55%) brightness(0.92);
}

.hero-visual:hover .hero-visual-card img {
  filter: grayscale(0%) brightness(1);
}

.stat-badge {
  background: rgba(15, 15, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stats-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-grid {
  gap: 1rem;
}

.stat-item {
  min-height: 110px;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid rgba(242, 202, 80, 0.18);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-header {
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-title p {
  max-width: 52ch;
  line-height: 1.7;
}

.section-line {
  margin: 0 1.5rem 0.7rem;
  opacity: 0.25;
}

.bento-grid {
  gap: 1.25rem;
  grid-auto-rows: minmax(260px, auto);
}

.bento-item {
  padding: clamp(1.5rem, 2.5vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.bento-item:hover {
  border-color: rgba(242, 202, 80, 0.35);
  transform: translateY(-2px);
}

.bento-icon {
  font-size: 2.3rem;
  margin-bottom: 1.25rem;
}

.link-arrow {
  margin-top: 1.4rem;
}

.footer {
  background: #090909;
  padding: 4rem 0 2rem;
}

.footer-grid {
  gap: 2rem;
}

.footer-brand img {
  height: 52px !important;
  width: auto;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--text-muted);
}

.accordion {
  border-color: rgba(255, 255, 255, 0.08);
}

.accordion-header {
  padding: 1.4rem 1.5rem;
  font-size: 1rem;
}

.accordion-content {
  padding: 0 1.5rem 1.4rem;
  line-height: 1.7;
}

/* Rescue repeated inline grid layouts on narrow screens */
@media (max-width: 1100px) {
  [style*='grid-template-columns: 1.4fr 1fr'],
  [style*='grid-template-columns: 2fr 1fr'],
  [style*='grid-template-columns: 1fr 1fr'],
  [style*='grid-template-columns: 1fr 1fr 1fr'],
  [style*='grid-template-columns: 1fr 1fr 1fr 1fr'],
  [style*='grid-template-columns: repeat(3, 1fr)'],
  [style*='grid-template-columns: repeat(4, 1fr)'] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  :root {
    --nav-height: 76px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .navbar {
    height: var(--nav-height);
  }

  .nav-brand img {
    height: 44px !important;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .navbar.menu-open .nav-links {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem 1.25rem 7.5rem;
    background: rgba(10, 10, 10, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
    z-index: 120;
  }

  .navbar.menu-open .nav-link {
    width: 100%;
    padding: 0.95rem 0;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar.menu-open .nav-link::after {
    display: none;
  }

  .navbar.menu-open .nav-dropdown-wrap {
    position: static;
  }

  .navbar.menu-open .nav-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    display: grid;
    gap: 0.15rem;
    padding: 0.25rem 0 0.5rem 0.85rem;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar.menu-open .nav-dropdown a {
    padding: 0.45rem 0;
    color: var(--text-faint);
  }

  .navbar.menu-open .nav-actions {
    display: flex;
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    padding: 0.75rem;
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 121;
  }

  .navbar.menu-open .nav-actions > a:first-child {
    display: none;
  }

  .navbar.menu-open .nav-actions .btn {
    width: 100%;
  }

  .hero,
  .section {
    padding-block: clamp(3.25rem, 7vw, 4.25rem);
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .hero-text p {
    max-width: none;
    margin: 1.25rem 0 2rem;
    padding: 1.25rem 0 0;
    border-left: none;
    border-top: 1px solid rgba(242, 202, 80, 0.16);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    min-height: 96px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .section-line {
    display: none;
  }

  .bento-large,
  .bento-medium,
  .bento-wide {
    grid-column: span 12;
  }

  .bento-wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .bento-large .bento-bg,
  .bento-medium .bento-bg,
  .bento-wide .bento-bg {
    position: relative;
    width: 100%;
    height: 190px;
    margin-top: 1.25rem;
    order: 2;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .bento-large .bento-content,
  .bento-medium .bento-content,
  .bento-wide .bento-content {
    max-width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .back-btn {
    position: static !important;
    margin: 0 0 1rem;
  }

  .cmp-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cmp-table th,
  .cmp-table td {
    min-width: 180px;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .headline-huge {
    font-size: clamp(2.4rem, 13vw, 3.5rem);
  }

  .headline-lg {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .btn,
  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .hero-visual-card {
    padding: 0.5rem;
  }

  .stat-badge {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .accordion-header {
    padding: 1.1rem 1rem;
  }

  .accordion-content {
    padding: 0 1rem 1rem;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
  }
}

/* Contact / Support polish */
.contact-form,
.ticket-form-card,
.gate-card,
.info-card,
.ticket-info-card,
.map-section {
  border-radius: 28px;
}

.contact-form,
.ticket-form-card,
.gate-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    rgba(16, 16, 16, 0.94);
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.info-card,
.ticket-info-card {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.icon-box,
.info-icon-box {
  border-radius: 16px;
  background: rgba(242, 202, 80, 0.06);
}

.contact-info-grid,
.ticket-grid {
  align-items: start;
}

.home-proof-grid,
.home-proof-stats,
.home-outcomes-grid,
.home-reliability-grid {
  align-items: stretch;
}

.gate-card,
.contact-form,
.ticket-form-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.map-section {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 980px) {
  .navbar.menu-open::after {
    content: "";
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.985), rgba(12, 12, 12, 0.995));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 119;
  }

  .mobile-toggle {
    position: relative;
    z-index: 130;
  }

  .navbar.menu-open .nav-links {
    background: transparent;
    padding-top: 1.35rem;
    padding-bottom: 8rem;
  }

  .navbar.menu-open .nav-actions {
    background: rgba(14, 14, 14, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 640px) {
  .home-proof-grid,
  .home-proof-stats,
  .home-outcomes-grid,
  .home-reliability-grid {
    grid-template-columns: 1fr !important;
  }

  .home-proof-grid {
    margin-top: 1.5rem !important;
  }

  .contact-form,
  .ticket-form-card,
  .gate-card {
    padding: 2rem !important;
    border-radius: 24px;
  }

  .info-card,
  .ticket-info-card {
    padding: 1.35rem !important;
    gap: 1rem !important;
    border-radius: 22px;
  }

  .map-section {
    height: 420px !important;
    border-radius: 24px;
  }
}
