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

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #080c0a;
  --bg-alt: #0a100e;
  --text: #f0fdf4;
  --text-muted: rgba(255,255,255,0.55);
  --accent: #4ADE80;
  --accent-hover: #22C55E;
  --accent-light: rgba(74,222,128,0.1);
  --accent-2: #34D399;
  --gradient: linear-gradient(135deg, #4ADE80, #22C55E, #16A34A);
  --gradient-soft: linear-gradient(135deg, rgba(74,222,128,0.08), rgba(34,197,94,0.04));
  --glow-accent: rgba(74,222,128,0.2);
  --glow-warm: rgba(74,222,128,0.1);
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --card-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 4px 24px rgba(0,0,0,0.15);
  --card-shadow-hover: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(74,222,128,0.15);
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --glass-blur: blur(20px) saturate(1.2);
  --font: 'Inter', sans-serif;
  --font-display: 'Manrope', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --white: rgba(255,255,255,0.06);
  --navbar-bg: rgba(8,12,10,0.6);
  --navbar-bg-scrolled: rgba(8,12,10,0.85);
}

/* ===== Light Theme ===== */
html[data-theme="light"] {
  --bg: #f5f7f6;
  --bg-alt: #edf0ee;
  --text: #0f1f17;
  --text-muted: rgba(0,0,0,0.7);
  --accent: #16A34A;
  --accent-hover: #15803D;
  --accent-light: rgba(22,163,74,0.1);
  --accent-2: #059669;
  --gradient: linear-gradient(135deg, #16A34A, #15803D, #166534);
  --gradient-soft: linear-gradient(135deg, rgba(22,163,74,0.06), rgba(21,128,61,0.03));
  --glow-accent: rgba(22,163,74,0.12);
  --glow-warm: rgba(22,163,74,0.06);
  --border: rgba(0,0,0,0.08);
  --card-bg: rgba(255,255,255,0.7);
  --card-border: rgba(0,0,0,0.06);
  --card-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 4px 24px rgba(0,0,0,0.03);
  --card-shadow-hover: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(22,163,74,0.12);
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(0,0,0,0.08);
  --white: rgba(0,0,0,0.04);
  --navbar-bg: rgba(245,247,246,0.7);
  --navbar-bg-scrolled: rgba(245,247,246,0.9);
}

/* Light mode — specific overrides */

/* Logo text colors — dark mode */
.logo-text-stop1 { stop-color: #f0fdf4; }
.logo-text-stop2 { stop-color: #bbf7d0; }
.logo-mindset { fill: #4ADE80; }

/* Logo text colors — light mode: green contrast */
html[data-theme="light"] .logo-text-stop1 { stop-color: #16A34A; }
html[data-theme="light"] .logo-text-stop2 { stop-color: #15803D; }
html[data-theme="light"] .logo-mindset { fill: #22C55E; }

/* Light mode logo filter for <img> tags (service pages) */
html[data-theme="light"] img.logo-img {
  filter: brightness(0.35) saturate(1.8);
}

/* Monogram theme swap: dark mode = silver/chrome, light mode = dark */
.monogram-light { display: none; }
.monogram-dark { display: inline-block; }
html[data-theme="light"] .monogram-light { display: inline-block; }
html[data-theme="light"] .monogram-dark { display: none; }


html[data-theme="light"] .gradient-bg::before {
  opacity: 0.03 !important;
}

html[data-theme="light"] .hero-problems-side {
  background: rgba(255,255,255,0.5);
  border-color: rgba(0,0,0,0.06);
}

html[data-theme="light"] .hub-line-base {
  stroke: rgba(0,0,0,0.12);
  stroke-width: 2.5;
}

html[data-theme="light"] .hub-line-flow {
  filter: drop-shadow(0 0 6px rgba(22,163,74,0.5));
}

html[data-theme="light"] .hub-center-inner {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 6px rgba(22,163,74,0.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Animated gradient background (subtle) ===== */
.gradient-bg {
  position: relative;
  overflow: hidden;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse 60% 40% at 30% 20%, rgba(74,222,128,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(34,197,94,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 80% 10%, rgba(16,185,129,0.05) 0%, transparent 50%);
  animation: gradient-shift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gradient-shift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-3%, 3%) rotate(1deg); }
  66% { transform: translate(3%, -2%) rotate(-1deg); }
}

/* ===== Ambient glow blobs ===== */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -300px;
  left: -200px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
  position: relative;
}

/* Interactive Hover Button */
.btn-shiny {
  background: #fff;
  color: #080c0a;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.9);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-shiny .btn-text {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.btn-shiny .btn-hover-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  z-index: 2;
  font-weight: 700;
}

.btn-shiny .btn-hover-content svg {
  width: 18px;
  height: 18px;
}

.btn-shiny .btn-fill {
  position: absolute;
  left: 20%;
  top: 40%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.btn-shiny:hover .btn-text {
  transform: translateX(200%);
  opacity: 0;
}

.btn-shiny:hover .btn-hover-content {
  transform: translateX(0);
  opacity: 1;
}

.btn-shiny:hover .btn-fill {
  left: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  border-radius: 0;
}

.btn-shiny:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(74,222,128,0.25);
}

@keyframes border-spin {
  from { --gradient-angle: 0deg; }
  to { --gradient-angle: 360deg; }
}

.btn-primary {
  background: var(--accent);
  color: #080c0a;
  box-shadow: 0 2px 12px rgba(74,222,128,0.25);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 6px 32px rgba(74,222,128,0.35);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text);
  border: 1.5px solid var(--glass-border);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.btn-ghost .btn-text {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.btn-ghost .btn-hover-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  z-index: 2;
  font-weight: 600;
}

.btn-ghost .btn-hover-content svg {
  width: 18px;
  height: 18px;
}

.btn-ghost .btn-fill {
  position: absolute;
  left: 20%;
  top: 40%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.btn-ghost:hover .btn-text {
  transform: translateX(200%);
  opacity: 0;
}

.btn-ghost:hover .btn-hover-content {
  transform: translateX(0);
  opacity: 1;
}

.btn-ghost:hover .btn-fill {
  left: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  border-radius: 0;
}

.btn-ghost:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(74,222,128,0.15);
}

.btn-lg {
  padding: 12px 28px;
  font-size: 0.88rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--navbar-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  background: var(--navbar-bg-scrolled);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 58px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--white);
}

.nav-links a.active {
  background: var(--accent-light);
  color: var(--accent);
}

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

/* ===== Theme Toggle ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  margin-right: 12px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: scale(1.1);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle:hover svg {
  transform: rotate(25deg);
}

.theme-icon-sun { color: #FACC15; }
.theme-icon-moon { color: var(--accent); display: none; }

html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  position: relative;
  z-index: 1;
}

/* Extra ambient glow for hero */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.08) 0%, rgba(16,185,129,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow,
.hero-glow-2 {
  display: none;
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

/* ===== Hero Floating Background Logos ===== */
.hero-floating-logos {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: floatIconIn 0.6s ease forwards;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  will-change: transform;
  pointer-events: auto;
}

.floating-icon svg {
  width: 36px;
  height: 36px;
  padding: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
}

.floating-icon:hover svg {
  background: rgba(74,222,128,0.1);
  border-color: rgba(74,222,128,0.3);
  box-shadow: 0 4px 24px rgba(74,222,128,0.15);
  transform: scale(1.15);
}

.floating-icon span {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.floating-icon:hover span {
  opacity: 1;
  color: var(--accent);
}

/* Staggered entrance */
.floating-icon:nth-child(1)  { animation-delay: 0.1s; }
.floating-icon:nth-child(2)  { animation-delay: 0.18s; }
.floating-icon:nth-child(3)  { animation-delay: 0.26s; }
.floating-icon:nth-child(4)  { animation-delay: 0.34s; }
.floating-icon:nth-child(5)  { animation-delay: 0.42s; }
.floating-icon:nth-child(6)  { animation-delay: 0.5s; }
.floating-icon:nth-child(7)  { animation-delay: 0.58s; }
.floating-icon:nth-child(8)  { animation-delay: 0.66s; }
.floating-icon:nth-child(9)  { animation-delay: 0.74s; }
.floating-icon:nth-child(10) { animation-delay: 0.82s; }
.floating-icon:nth-child(11) { animation-delay: 0.9s; }
.floating-icon:nth-child(12) { animation-delay: 0.98s; }
.floating-icon:nth-child(13) { animation-delay: 1.06s; }
.floating-icon:nth-child(14) { animation-delay: 1.14s; }
.floating-icon:nth-child(15) { animation-delay: 1.22s; }
.floating-icon:nth-child(16) { animation-delay: 1.3s; }

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

/* Floating bob animations */
.floating-icon:nth-child(odd) svg {
  animation: floatY1 5s ease-in-out infinite;
}
.floating-icon:nth-child(even) svg {
  animation: floatY2 6s ease-in-out infinite;
}
.floating-icon:nth-child(3n) svg {
  animation: floatY3 7s ease-in-out infinite;
}

@keyframes floatY1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(3deg); }
  75% { transform: translateY(8px) rotate(-3deg); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(-4deg); }
  66% { transform: translateY(6px) rotate(4deg); }
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-6px) translateX(5px); }
  50% { transform: translateY(4px) translateX(-3px); }
  75% { transform: translateY(-8px) translateX(-5px); }
}

/* ===== Hero Problems — right-side sliding stack ===== */
.hero-problems-side {
  width: 340px;
  flex-shrink: 0;
}

.hero-problems-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  padding-left: 2px;
}

.hero-problems-scroll-wrap {
  height: 380px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 88%, transparent 100%);
}

.hero-problems-scroll {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: problems-slide-up 24s linear infinite;
}

.hero-problems-scroll:hover {
  animation-play-state: paused;
}

@keyframes problems-slide-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.hero-problem-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

.hero-problem-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(74,222,128,0.2);
}

.hero-problem-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-problem-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hero-problem-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-problem-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.hero-problem-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-split .hero-sub {
    margin: 0 auto 36px;
  }
  .hero-split .hero-ctas {
    justify-content: center;
  }
  .hero-split .hero-stats {
    justify-content: center;
  }
  .hero-floating-logos {
    display: none;
  }
  .hero-problems-side {
    width: 100%;
  }
  .hero-problems-scroll-wrap {
    height: 260px;
  }
  .hero-problems-label {
    text-align: center;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  margin-bottom: 28px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
}

.hero-badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: badge-ping 1.5s ease-in-out infinite;
}

.hero-badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes badge-ping {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: -0.04em;
}

.hero-heading .accent-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Rolling Words */
.rolling-words {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}

.rolling-words span {
  display: block;
  height: 1.15em;
  animation: rollWord 10s infinite;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes rollWord {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-100%); }
  40%, 56% { transform: translateY(-200%); }
  60%, 76% { transform: translateY(-300%); }
  80%, 96% { transform: translateY(-400%); }
  100% { transform: translateY(0); }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-split .hero-sub {
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-split .hero-ctas {
  justify-content: flex-start;
}

.hero-split .hero-stats {
  justify-content: flex-start;
}

/* ===== Integrations Hub ===== */
.integrations-hub {
  padding: 56px 0;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}

.hub-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 32px 60px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 0;
  min-height: 320px;
  align-items: center;
  justify-items: center;
}

.hub-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--card-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  z-index: 2;
  white-space: nowrap;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.hub-card svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hub-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
  border-color: rgba(74,222,128,0.25);
}

/* Position cards in grid */
.hub-tl  { grid-column: 1; grid-row: 1; justify-self: end; }
.hub-tr  { grid-column: 3; grid-row: 1; justify-self: start; }
.hub-ml  { grid-column: 1; grid-row: 2; justify-self: end; }
.hub-mr  { grid-column: 3; grid-row: 2; justify-self: start; }
.hub-ml2 { grid-column: 1; grid-row: 3; justify-self: end; }
.hub-mr2 { grid-column: 3; grid-row: 3; justify-self: start; }
.hub-bl  { grid-column: 1; grid-row: 4; justify-self: end; }
.hub-br  { grid-column: 3; grid-row: 4; justify-self: start; }

/* Center hub */
.hub-center {
  grid-column: 2;
  grid-row: 1 / 5;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-center-inner {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 6px rgba(74,222,128,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hub-center-inner::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 1px dashed var(--border);
  pointer-events: none;
}

.hub-logo {
  height: auto;
  object-fit: contain;
  transition: opacity 0.35s, transform 0.35s;
}

.hub-logo-icon {
  width: 90px;
}

.hub-logo-full {
  width: 220px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
}

.hub-center-inner:hover .hub-logo-icon {
  opacity: 0;
  transform: scale(0.85);
}

.hub-center-inner:hover .hub-logo-full {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hub-center-inner:hover {
  width: 240px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Connector lines */
.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hub-line-base {
  stroke: var(--border);
  stroke-width: 2.5;
  fill: none;
  stroke-linejoin: round;
}

.hub-line-flow {
  stroke: var(--accent);
  stroke-width: 3.5;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 40 260;
  filter: drop-shadow(0 0 8px rgba(74,222,128,0.7));
}

.flow-a { animation: lineFlow 2.5s linear infinite; }
.flow-b { animation: lineFlow 3s linear infinite 0.4s; }
.flow-c { animation: lineFlow 2.8s linear infinite 0.8s; }
.flow-d { animation: lineFlow 3.2s linear infinite 1.2s; }

@keyframes lineFlow {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}

/* Bottom capabilities */
.hub-capabilities {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
}

.hub-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hub-cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-cap-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.hub-cap span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-header h2 .accent-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Services Bento Grid ===== */
.services {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

/* ===== Flip Card Container ===== */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}

.flip-front {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Flip Button */
/* Flip button — shared (top-right corner) */
.flip-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 4px 10px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.18);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.flip-btn:hover {
  background: rgba(74,222,128,0.12);
  border-color: rgba(74,222,128,0.35);
}

.flip-btn svg {
  width: 11px;
  height: 11px;
}

.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  height: 100%;
}

.bento-card.flip-back {
  position: absolute;
  inset: 0;
}

/* ===== Pipeline on Back ===== */
.pipeline-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.pipe-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-12px);
}

.flipped .pipe-step {
  animation: pipeIn 0.4s ease forwards;
}

.flipped .pipe-step:nth-child(1) { animation-delay: 0.15s; }
.flipped .pipe-step:nth-child(3) { animation-delay: 0.3s; }
.flipped .pipe-step:nth-child(5) { animation-delay: 0.45s; }
.flipped .pipe-step:nth-child(7) { animation-delay: 0.6s; }
.flipped .pipe-step:nth-child(9) { animation-delay: 0.75s; }

@keyframes pipeIn {
  to { opacity: 1; transform: translateX(0); }
}

.pipe-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(74,222,128,0.3);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  position: relative;
}

.pipe-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
}

.pipe-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
}

.pipe-line {
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, var(--accent), rgba(74,222,128,0.2));
  margin-left: 4px;
  opacity: 0;
}

.flipped .pipe-line {
  animation: pipeLineIn 0.3s ease forwards;
}

.flipped .pipe-line:nth-child(2) { animation-delay: 0.22s; }
.flipped .pipe-line:nth-child(4) { animation-delay: 0.37s; }
.flipped .pipe-line:nth-child(6) { animation-delay: 0.52s; }
.flipped .pipe-line:nth-child(8) { animation-delay: 0.67s; }

@keyframes pipeLineIn {
  to { opacity: 1; }
}

.flip-back .card-link {
  margin-top: 14px;
}

.bento-card::before {
  display: none;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(74,222,128,0.06), transparent 60%);
}

.bento-card:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: var(--card-shadow-hover);
}

.bento-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--accent-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: color 0.3s;
}

.bento-card:hover .card-icon {
  background: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(74,222,128,0.3);
}

.bento-card:hover .card-icon svg {
  color: #080c0a;
}

.card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 12px;
  transition: all 0.3s;
}

.bento-card:hover .card-badge {
  background: var(--accent);
  color: #080c0a;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}

.tag {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.bento-card:hover .tag {
  border-color: rgba(74,222,128,0.2);
  background: var(--accent-light);
  color: var(--accent);
}

.card-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
  opacity: 0.7;
}

.bento-card:hover .card-link {
  opacity: 1;
  gap: 10px;
}

/* ===== AI Impact Stats ===== */
.ai-stats {
  padding: 80px 0;
  background: var(--bg-alt);
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
  z-index: 1;
}

.stats-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.stats-chart-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

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

.chart-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.chart-legend {
  display: flex;
  gap: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.accent-dot { background: var(--accent); }
.gray-dot { background: rgba(255,255,255,0.15); }

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  height: 200px;
  padding-top: 24px;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.bar-labels {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.bar-value {
  font-size: 0.65rem;
  font-weight: 700;
}

.accent-val { color: var(--accent); }
.gray-val { color: var(--text-muted); }

.bars {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  flex: 1;
  width: 100%;
}

.bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  height: var(--bar-height);
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-ai {
  background: linear-gradient(180deg, #4ADE80, #16A34A);
}

.bar-no-ai {
  background: rgba(255,255,255,0.08);
}

.bar-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 8px;
}

/* Line Chart */
.line-chart {
  height: 200px;
  display: flex;
  flex-direction: column;
}

.line-chart svg {
  flex: 1;
  width: 100%;
}

.line-chart svg line {
  stroke: rgba(255,255,255,0.06);
}

.line-chart svg polyline:first-of-type {
  stroke: rgba(255,255,255,0.12);
}

.line-chart svg polygon {
  fill: rgba(74,222,128,0.1);
}

.line-chart svg polyline:last-of-type {
  stroke: #4ADE80;
}

.line-chart svg circle {
  fill: var(--bg);
  stroke: #4ADE80;
}

.line-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.line-chart-labels span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Bottom stat cards */
.stats-bottom-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-bottom-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

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

.stat-bottom-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-bottom-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.stat-bottom-text {
  display: flex;
  flex-direction: column;
}

.stat-bottom-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 2px;
}

.stat-bottom-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.stat-bottom-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-dashboard {
    grid-template-columns: 1fr;
  }
  .stats-bottom-cards {
    grid-template-columns: 1fr;
  }
  .stats-chart-card {
    padding: 18px;
    overflow: hidden;
  }
  .bar-chart {
    height: 160px;
    gap: 12px;
  }
  .bar-value {
    font-size: 0.55rem;
  }
  .bar-label {
    font-size: 0.65rem;
  }
  .chart-title {
    font-size: 0.88rem;
  }
  .chart-legend {
    gap: 10px;
  }
  .legend-item {
    font-size: 0.68rem;
  }
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient);
  color: #080c0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(74,222,128,0.25);
}

.step:hover .step-number {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 8px 32px rgba(74,222,128,0.35);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 200px;
  margin: 0 auto;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 28px;
  border-radius: 2px;
}

/* ===== Founder Section ===== */
.founder-section {
  padding: 100px 0;
  position: relative;
}

.founder-wrap {
  display: flex;
  align-items: stretch;
  gap: 60px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.founder-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: 20px 20px 0 0;
}

.founder-img-col {
  flex: 0 0 300px;
}

.founder-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.founder-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  pointer-events: none;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.founder-wrap:hover .founder-photo {
  transform: scale(1.03);
}

.founder-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.founder-role {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}

.founder-bio {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.founder-bio:last-of-type {
  margin-bottom: 32px;
}

.founder-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.founder-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: var(--gradient-soft);
  border-radius: 12px;
  border: 1px solid var(--border);
  flex: 1;
  text-align: center;
}

.founder-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.founder-links {
  display: flex;
  gap: 12px;
}

.founder-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--gradient);
  border: none;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.founder-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow-accent);
  color: #fff;
}

@media (max-width: 768px) {
  .founder-wrap {
    flex-direction: column;
    gap: 28px;
    text-align: center;
    padding: 28px 20px;
  }

  .founder-img-col {
    flex: none;
    width: 220px;
    margin: 0 auto;
  }

  .founder-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .founder-stat {
    flex: 0 0 auto;
    min-width: 100px;
  }

  .founder-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===== Testimonials Marquee ===== */
.testimonials {
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonial-marquee {
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.testimonial-track {
  display: flex;
  gap: 16px;
  animation: marquee-scroll 35s linear infinite;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card-sm {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

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

.testimonial-stars {
  color: #FBBF24;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient);
  color: #080c0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ===== Case Studies ===== */
.case-studies {
  padding: 80px 0;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(74,222,128,0.06), transparent 60%);
}

.case-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(74,222,128,0.2);
  transform: translateY(-5px);
}

.case-card:hover::after {
  opacity: 1;
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 14px;
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.case-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-stat-value {
  transform: scale(1.08);
}

.case-stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.cta-section h2 .accent-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Connect Section ===== */
.connect-section {
  padding: 80px 0;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}

.connect-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.connect-side-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--text);
}

.connect-side-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.connect-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.connect-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.connect-card-item.highlight {
  grid-column: 1 / -1;
  border-color: rgba(74,222,128,0.2);
  background: rgba(74,222,128,0.05);
}

.connect-card-item:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
  border-color: rgba(74,222,128,0.25);
}

.connect-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connect-icon svg {
  width: 20px;
  height: 20px;
}

.connect-icon.booking { background: rgba(74,222,128,0.1); color: var(--accent); }
.connect-icon.whatsapp { background: rgba(37,211,102,0.12); color: #25D366; }
.connect-icon.email { background: rgba(74,222,128,0.1); color: var(--accent); }
.connect-icon.linkedin { background: rgba(0,119,181,0.12); color: #0A66C2; }
.connect-icon.instagram { background: rgba(225,48,108,0.12); color: #E1306C; }
.connect-icon.instagram-agency { background: rgba(131,58,180,0.12); color: #833AB4; }

.connect-card-label {
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  color: var(--text);
}

.connect-card-handle {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.connect-card-info-wrap {
  flex: 1;
}

.connect-book-btn {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* Contact Form */
.connect-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.connect-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.connect-form input,
.connect-form textarea,
.connect-form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.3s;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.connect-form input::placeholder,
.connect-form textarea::placeholder {
  color: var(--text-muted);
}

.connect-form input:focus,
.connect-form textarea:focus,
.connect-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.1);
}

.connect-form select {
  appearance: none;
  cursor: pointer;
  color: var(--text-muted);
}

.connect-form select option {
  background: var(--bg);
  color: var(--text);
}

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

/* ===== Footer ===== */
.footer {
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-col-brand {
  padding-right: 24px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  transition: all 0.3s;
}

.footer-socials a:hover {
  color: var(--accent);
  border-color: rgba(74,222,128,0.25);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-credit a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* ===== Scroll Reveal ===== */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  transform: translateX(-24px) translateY(0);
}

.reveal-right {
  transform: translateX(24px) translateY(0);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    transform: none;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    padding: 80px 24px 24px;
    background: var(--bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    border-radius: 0;
    gap: 4px;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    align-items: stretch;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.92rem;
    border-radius: 12px;
  }

  .nav-cta-mobile {
    display: block !important;
    margin-top: 12px;
    text-align: center;
    background: var(--accent);
    color: #080c0a !important;
    font-weight: 700 !important;
    padding: 14px 24px !important;
    border-radius: 100px !important;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .theme-toggle {
    margin-right: 8px;
    width: 34px;
    height: 34px;
  }

  /* Navbar */
  .logo-img {
    height: 42px;
  }

  .navbar {
    padding: 12px 0;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 110px 0 50px;
  }

  .hero-heading {
    font-size: clamp(1.3rem, 5.5vw, 2rem);
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 28px;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .hero-ctas .btn {
    font-size: 0.78rem;
    padding: 10px 18px;
  }

  .hero-stats {
    flex-direction: row;
    gap: 20px;
    margin-top: 12px;
  }

  .hero-stat-number {
    font-size: 1.2rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }

  .hero-stat-divider {
    height: 30px;
  }

  .rolling-words {
    display: block;
    height: 1.15em;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .section-sub {
    font-size: 0.88rem;
  }

  /* Section Padding */
  .services,
  .how-it-works,
  .testimonials,
  .case-studies,
  .connect-section,
  .cta-section {
    padding: 50px 0;
  }

  .integrations-hub {
    padding: 40px 0;
  }

  /* Bento Grid */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-card {
    padding: 22px;
  }

  .bento-card h3 {
    font-size: 0.92rem;
  }

  .flip-btn {
    top: 12px;
    right: 12px;
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  /* Pipeline on flip back */
  .pipeline-label {
    font-size: 0.62rem;
    margin-bottom: 12px;
  }

  .pipe-text {
    font-size: 0.7rem;
  }

  .pipe-dot {
    width: 8px;
    height: 8px;
  }

  .pipe-line {
    height: 10px;
  }

  /* Hub */
  .hub-layout {
    grid-template-columns: 1fr 80px 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 10px 20px;
    min-height: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  .hub-center {
    grid-column: 2;
    grid-row: 1 / 5;
  }

  .hub-center-inner {
    width: 70px;
    height: 70px;
    border-radius: 14px;
  }

  .hub-center-inner::before {
    inset: -5px;
    border-radius: 18px;
  }

  .hub-center-inner:hover {
    width: 70px;
  }

  .hub-logo-icon {
    width: 50px;
  }

  .hub-logo-full {
    display: none;
  }

  .hub-tl  { grid-column: 1; grid-row: 1; justify-self: end; }
  .hub-tr  { grid-column: 3; grid-row: 1; justify-self: start; }
  .hub-ml  { grid-column: 1; grid-row: 2; justify-self: end; }
  .hub-mr  { grid-column: 3; grid-row: 2; justify-self: start; }
  .hub-ml2 { grid-column: 1; grid-row: 3; justify-self: end; }
  .hub-mr2 { grid-column: 3; grid-row: 3; justify-self: start; }
  .hub-bl  { grid-column: 1; grid-row: 4; justify-self: end; }
  .hub-br  { grid-column: 3; grid-row: 4; justify-self: start; }

  .hub-lines {
    display: block;
  }

  .hub-line-base {
    stroke-width: 1.5;
  }

  .hub-line-flow {
    stroke-width: 2;
    stroke-dasharray: 25 180;
  }

  .hub-card {
    padding: 8px 10px;
    font-size: 0.68rem;
    gap: 6px;
    border-radius: 10px;
  }

  .hub-card svg {
    width: 16px;
    height: 16px;
  }

  .hub-card span {
    font-size: 0.68rem;
  }

  .hub-capabilities {
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hub-cap-icon {
    width: 40px;
    height: 40px;
  }

  .hub-cap span {
    font-size: 0.7rem;
  }

  /* Stats Dashboard */
  .stats-dashboard {
    grid-template-columns: 1fr;
  }

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

  /* Steps */
  .steps {
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
  }

  .step {
    flex: 1;
    text-align: center;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    margin: 0 auto 8px;
  }

  .step-content h3 {
    font-size: 0.78rem;
  }

  .step-content p {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .step-connector {
    width: 30px;
    height: 2px;
    margin-top: 18px;
    flex-shrink: 0;
  }

  /* Testimonials */
  .testimonial-card-sm {
    min-width: 260px;
    max-width: 260px;
    padding: 18px;
  }

  .testimonial-text {
    font-size: 0.78rem;
  }

  /* Case Studies */
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Connect */
  .connect-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .connect-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .connect-form .form-row {
    grid-template-columns: 1fr;
  }

  .connect-form input,
  .connect-form textarea,
  .connect-form select {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  /* CTA */
  .cta-section h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  /* Footer */
  .footer {
    padding: 40px 0 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }

  .footer-col-brand .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 16px 0;
  }

  .footer-copy {
    font-size: 0.68rem;
  }

  /* Chart */
  .chart-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* Ambient blobs smaller on mobile */
  body::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 40px;
  }

  .hero-heading {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  .hero-stats {
    flex-direction: row;
    gap: 14px;
  }

  .hero-stat-number {
    font-size: 1rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  .hero-stat-divider {
    height: 24px;
  }

  .hero-ctas .btn {
    font-size: 0.72rem;
    padding: 9px 14px;
  }

  .hero-problems-glass {
    max-width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  .bento-card {
    padding: 18px;
  }

  .hub-layout {
    gap: 8px 14px;
    max-width: 340px;
    grid-template-columns: 1fr 60px 1fr;
  }

  .hub-center-inner {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .hub-logo-icon {
    width: 38px;
  }

  .hub-card {
    padding: 6px 8px;
    font-size: 0.62rem;
    border-radius: 8px;
    gap: 5px;
  }

  .hub-card svg {
    width: 14px;
    height: 14px;
  }

  .hub-card span {
    font-size: 0.62rem;
  }

  .testimonial-card-sm {
    min-width: 230px;
    max-width: 230px;
    padding: 16px;
  }

  .testimonial-text {
    font-size: 0.75rem;
  }

  .connect-card-item {
    padding: 12px;
    gap: 10px;
  }

  .connect-icon {
    width: 36px;
    height: 36px;
  }

  .connect-card-label {
    font-size: 0.78rem;
  }

  .connect-card-handle {
    font-size: 0.68rem;
  }

  .section-header h2 {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .stat-card-value {
    font-size: 1.5rem;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* ===== Light Mode — Hardcoded Color Overrides ===== */
html[data-theme="light"] .btn-shiny {
  background: #fff;
  color: #1a2e22;
  border-color: rgba(0,0,0,0.12);
}

html[data-theme="light"] .floating-icon svg {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

html[data-theme="light"] .hero-problem-item {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}

html[data-theme="light"] .hero-problem-item:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(22,163,74,0.2);
}

html[data-theme="light"] .tag {
  background: rgba(0,0,0,0.03);
}

html[data-theme="light"] .bento-card:hover .tag {
  background: var(--accent-light);
  border-color: rgba(22,163,74,0.2);
}

html[data-theme="light"] .gray-dot {
  background: rgba(0,0,0,0.15);
}

html[data-theme="light"] .bar-no-ai {
  background: rgba(0,0,0,0.08);
}

html[data-theme="light"] .line-chart svg line {
  stroke: rgba(0,0,0,0.06);
}

html[data-theme="light"] .line-chart svg polyline:first-of-type {
  stroke: rgba(0,0,0,0.12);
}

html[data-theme="light"] .line-chart svg polygon {
  fill: rgba(22,163,74,0.1);
}

html[data-theme="light"] .line-chart svg polyline:last-of-type {
  stroke: #16A34A;
}

html[data-theme="light"] .bento-card:hover .card-icon svg {
  color: #1a2e22;
}

html[data-theme="light"] .bento-card:hover .card-badge {
  background: var(--accent);
  color: #fff;
}

html[data-theme="light"] body::before {
  background: radial-gradient(circle, rgba(22,163,74,0.04) 0%, transparent 70%);
}
