:root {
  /* Premium light B2B SaaS canvas background */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f1f5f9;

  /* Wireframe and accent boundaries */
  --border-primary: rgba(12, 7, 2, 0.06);
  --border-secondary: rgba(12, 7, 2, 0.12);
  --border-wireframe: 1px solid rgba(12, 7, 2, 0.08);
  --border-dashed-accent: 1.5px dashed #26b8cd;

  /* Brand color scheme */
  --color-primary: #0c0702;
  --color-primary-rgb: 12, 7, 2;
  --color-primary-light: #1c140e;
  --color-accent: #26b8cd;
  --color-accent-teal: #1a8f9f;
  --color-accent-light: #63d2e2;
  --color-accent-soft: rgba(38, 184, 205, 0.08);
  --color-glow: #26b8cd;
  --color-neon-yellow: #ffee00;
  --color-accent-electric: #ffee00;
  --color-accent-electric-soft: rgba(255, 238, 0, 0.18);
  --color-pure-white: #FFFFFF;
  --color-cta-bg: #0c0702;

  /* Typography Defaults */
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* High contrast text palette */
  --text-color: #0c0702;
  --text-muted: #4a4545;
  --text-light: #6b6363;

  /* Structural shadow values */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 30px 60px -15px rgba(38, 184, 205, 0.12), 0 10px 20px -10px rgba(12, 7, 2, 0.04);

  /* Sharp structural corners - 0px rectangles */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --radius-2xl: 0px;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-snappy: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Required Lenis stylesheet baseline setup */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Hide scrollbar for horizontal containers */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Page styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-base);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grid overlay backing to give structural feel */
.grid-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-position: center top;
  pointer-events: none;
  z-index: 1;
}

/* Progress bar fixed at the top */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.02);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3EA3DC, #009B97);
  box-shadow: 0 1px 8px rgba(62, 163, 220, 0.3);
  transition: width 0.1s ease-out;
}

/* Header Nav (Floating Glassmorphism Bar - Sharp Architectural Rectangle) */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 68px;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(12, 7, 2, 0.08);
  border-radius: 0px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

header.scrolled {
  top: 0px;
  width: 100%;
  max-width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(12, 7, 2, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.brand-logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition-snappy);
}

.brand-logo:hover {
  opacity: 0.9;
}

/* Middle Nav Bar */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-color);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 0px;
  transition: var(--transition-snappy);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover {
  color: #26b8cd !important;
  background: transparent !important;
}

.nav-links a.highlight,
.nav-links a.active-link {
  color: #26b8cd !important;
  background: transparent !important;
  font-weight: 600;
}

/* Right Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .login-link {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-snappy);
}

.nav-actions .login-link:hover {
  color: #26b8cd;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 0px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition-snappy);
  background-color: #0c0702;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(38, 184, 205, 0.35);
}

.btn-primary:hover {
  background-color: #1c140e;
  border-color: #26b8cd;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(38, 184, 205, 0.3);
}

header .btn-primary {
  background-color: #0c0702;
  color: #FFFFFF;
  border: 1px solid rgba(38, 184, 205, 0.35);
}

header .btn-primary:hover {
  background-color: #1c140e;
  border-color: #26b8cd;
  color: #FFFFFF;
}

/* Down arrow icon for dropdown */
.chevron-down {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.nav-links a:hover .chevron-down {
  transform: translateY(1.5px);
}

@media (max-width: 968px) {
  header {
    width: 95%;
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .login-link {
    display: none;
  }

  .nav-actions .btn-primary {
    display: none;
  }
}

/* ---- Mobile Burger Button ---- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(12, 7, 2, 0.05);
  border: 1px solid rgba(12, 7, 2, 0.12);
  border-radius: 0px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0c0702;
  border-radius: 0px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.mobile-menu-btn:hover {
  background: rgba(38, 184, 205, 0.1);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 968px) {
  .mobile-menu-btn { display: flex; }
}

/* ---- Mobile Drawer Overlay ---- */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 7, 2, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1400;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   ELEVATED MOBILE DRAWER & NAVIGATION SYSTEM (Award-Winning SaaS Polish)
   ========================================================================== */

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0 !important;
    overflow: hidden;
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

/* Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-drawer-logo {
    height: 32px;
    width: auto;
    display: block;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 0 !important;
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-menu-close:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.mobile-menu-close .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

/* Scrollable Content Body */
.mobile-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

/* Completely remove badge & meta elements */
.mobile-drawer-badge-wrap,
.mobile-drawer-badge,
.mobile-drawer-footer-meta {
    display: none !important;
}

/* Links & Nav Items */
.mobile-drawer-links,
.mobile-drawer-links ul,
.mobile-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}

.mobile-drawer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* Remove all icons from menu */
.mobile-drawer-links .mobile-drawer-icon-wrap,
.mobile-drawer-links .material-symbols-outlined,
.mobile-drawer-links .mobile-drawer-chevron {
    display: none !important;
}

/* Minimalist Clean Text Links */
.mobile-drawer-link,
.mobile-drawer-links a,
.mobile-menu-list a {
    display: block !important;
    padding: 15px 24px !important;
    border-radius: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    background: transparent !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-left: 3px solid transparent !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mobile-drawer-link:hover,
.mobile-drawer-links a:hover,
.mobile-menu-list a:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-left-color: #3EA3DC !important;
    padding-left: 28px !important;
    transform: none !important;
}

/* Active State */
.mobile-drawer-link.active-link,
.mobile-drawer-links .current-menu-item > a,
.mobile-drawer-links .current_page_item > a,
.mobile-drawer-links a.active-link {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-left-color: #3EA3DC !important;
    box-shadow: none !important;
}

.mobile-drawer-label {
    letter-spacing: -0.01em !important;
}

/* Drawer Bottom Actions Area */
.mobile-drawer-actions {
    flex-shrink: 0;
    padding: 20px 24px 24px;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Minimalist Sharp Primary CTA Button */
.mobile-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px 20px !important;
    border-radius: 0 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid #0f172a !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.mobile-cta-btn:hover {
    background: #3EA3DC !important;
    border-color: #3EA3DC !important;
    color: #ffffff !important;
    transform: none !important;
}

.mobile-cta-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: currentColor !important;
    transition: transform 0.2s ease !important;
}

.mobile-cta-btn:hover .mobile-cta-arrow {
    transform: translateX(3px) !important;
    background: transparent !important;
    color: #ffffff !important;
}

/* Minimalist Sharp Secondary Login Button */
.mobile-login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(15, 23, 42, 0.2) !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.mobile-login-btn:hover {
    background: #f8fafc !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
}

.mobile-login-btn .material-symbols-outlined {
    display: none !important;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #26b8cd !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0px !important;
  margin-bottom: 10px;
}

.section-header {
  max-width: 660px;
  margin-bottom: 40px;
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  font-family: var(--font-headings);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--text-color);
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
  max-width: 620px;
  margin-inline: auto;
}

/* Lightweight static utility helpers replacing 350KB cdn.tailwindcss.com JIT runtime */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.mt-4 { margin-top: 1rem; }
.mb-16 { margin-bottom: 4rem; }
.h-48 { height: 12rem; }
.h-full { height: 100%; }
.object-contain { object-fit: contain; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-slate-400 { color: #94a3b8; }
.text-slate-700 { color: #334155; }
.text-slate-950 { color: #020617; }
.text-rose-400 { color: #fb7185; }
.text-emerald-400 { color: #3EA3DC; }
.hover\:text-emerald-400:hover { color: #3EA3DC; }
.hover\:text-emerald-600:hover { color: #009B97; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.p-1 { padding: 0.25rem; }
.pl-4 { padding-left: 1rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.mb-3\.5 { margin-bottom: 0.875rem; }
.mt-2 { margin-top: 0.5rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.leading-relaxed { line-height: 1.625; }
.rounded-full { border-radius: 0px; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.cursor-pointer { cursor: pointer; }
.bg-emerald-500 { background-color: #3EA3DC; }
.hover\:bg-emerald-400:hover { background-color: #009B97; }
.bg-emerald-500\/10 { background-color: rgba(62, 163, 220, 0.1); }
.border-emerald-500\/30 { border-color: rgba(62, 163, 220, 0.3); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.bg-white\/\[0\.03\] { background-color: rgba(255, 255, 255, 0.03); }
.focus-within\:border-emerald-400\/60:focus-within { border-color: rgba(52, 211, 153, 0.6); }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Universal Sharp Rectangle Enforcement */
button, input, textarea, select,
.glass-card-premium, .bento-card-mock, .speaker-card, .speaker-img-wrapper, .speaker-img-wrapper img,
.card.dark, #beforeyougo .card.dark, .aud-tag, .filter-chip, .stat-deck-container, .faq-card-item,
.starlight-input-wrapper, .starlight-inner-mask, .pulse-badge, .pulse-dot, .beforeyougo-card-grid {
  border-radius: 0px !important;
}

