/* ============================================================
   ZENSKAYL — styles.css
   Single shared stylesheet for all pages
   ============================================================ */

/* ─── GOOGLE FONTS ─────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* ─── DESIGN TOKENS — LIGHT MODE (DEFAULT) ─────────────────── */
:root {
  --color-primary: #009e49;
  --color-primary-dark: #007a38;
  --color-primary-light: #e6f7ee;
  --color-accent: #ff8c00;
  --color-accent-dark: #cc7000;
  --color-accent-light: #fff3e0;

  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fc;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;

  --color-text-primary: #0f1923;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);

  --radius-card: 16px;
  --radius-btn: 8px;
  --radius-pill: 999px;
  --radius-input: 8px;

  --nav-height: 64px;
  --container-max: 1200px;
  --section-padding: clamp(64px, 10vw, 120px);

  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-border: rgba(226, 232, 240, 0.8);
}

/* ─── DARK MODE ─────────────────────────────────────────────── */
[data-theme="dark"] {
  --color-bg: #0d1117;
  --color-bg-alt: #161b22;
  --color-bg-card: #1c2333;
  --color-border: #2d3748;

  --color-text-primary: #e6edf3;
  --color-text-secondary: #8b949e;
  --color-text-muted: #6e7681;

  --color-primary-light: #0d2818;
  --color-accent-light: #2a1800;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.2);

  --nav-bg: rgba(13, 17, 23, 0.85);
  --nav-border: rgba(45, 55, 72, 0.8);
}

/* ─── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", "system-ui", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.display-heading {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1,
.h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2,
.h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h3,
.h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

h4,
.h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

[data-theme="dark"] .eyebrow {
  background: var(--color-primary-light);
  color: #4ade80;
}

.section-label {
  text-align: center;
  margin-bottom: 48px;
}

.section-label h2 {
  margin-bottom: 16px;
}

.section-label p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-accent-outline:hover {
  background: var(--color-accent-light);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── FOCUS VISIBLE / ACCESSIBILITY ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ─── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

/* ─── BADGE ──────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-orange {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

[data-theme="dark"] .badge-orange {
  background: #2a1800;
  color: #ffa733;
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.animate-on-scroll[style*="--delay"] {
  transition-delay: var(--delay, 0ms);
}

/* ──────────────────────────────────────────────────────────────
   NAVIGATION
   ────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

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

.nav-logo-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Center links */
.nav-links-center {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-btn);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-link:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-alt);
}

.nav-link[aria-current="page"],
.nav-link.nav-active {
  color: var(--color-primary);
}

.nav-link[aria-current="page"]::after,
.nav-link.nav-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

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

/* Right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ─── MEGA DROPDOWN ──────────────────────────────────────────── */
.nav-dropdown-wrapper {
  position: relative;
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 100;
}

.mega-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-col-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.dropdown-product-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-product-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.dropdown-product-card.muted {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.dropdown-product-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--color-primary-light);
}

.dropdown-product-icon.orange {
  background: var(--color-accent-light);
}

.dropdown-product-info {
  flex: 1;
}

.dropdown-product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.dropdown-product-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.dropdown-col-right .dropdown-product-card + .dropdown-product-card {
  margin-top: 8px;
}

/* ─── MOBILE DRAWER ──────────────────────────────────────────── */
.mobile-nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-text-primary);
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--color-border);
  margin: 8px 0;
}

.mobile-nav-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 8px 16px 4px;
}

.mobile-nav-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  background: var(--color-bg-alt);
}

.mobile-theme-row span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* ──────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0d1117;
  color: #8b949e;
  padding: 72px 0 0;
}

[data-theme="dark"] .site-footer {
  background: #161b22;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid #21262d;
}

.footer-logo img {
  height: 148px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-tagline {
  font-size: 0.9rem;
  color: #6e7681;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #21262d;
  color: #6e7681;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

.footer-col-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e6edf3;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #6e7681;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #e6edf3;
}

.footer-links .muted-link {
  color: #4a5568;
  font-size: 0.875rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8125rem;
  color: #4a5568;
  flex-wrap: wrap;
  gap: 8px;
}

/* ──────────────────────────────────────────────────────────────
   HERO SECTION (Homepage)
   ────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-bg);
}

/* Animated gradient mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 110% 20%,
      rgba(0, 158, 73, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 40% at -10% 80%,
      rgba(0, 158, 73, 0.04) 0%,
      transparent 60%
    );
  background-size: 200% 200%;
  animation: meshMove 12s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero-mesh {
  background:
    radial-gradient(
      ellipse 60% 55% at 110% 15%,
      rgba(0, 158, 73, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at -5% 85%,
      rgba(0, 158, 73, 0.06) 0%,
      transparent 60%
    );
  background-size: 200% 200%;
  animation: meshMove 12s ease-in-out infinite alternate;
}

@keyframes meshMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 48px;
  padding: 80px 0 80px;
}

.hero-content {
  padding-right: 24px;
}

.hero-h1 {
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.hero-h1 .accent {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 158, 73, 0.35);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

/* Trust bar */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

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

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-screenshot {
  border-radius: 20px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--color-border);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  height: auto;
}

.hero-screenshot:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Dark/Light image swap */
.hero-img-dark {
  display: none;
}
.hero-img-light {
  display: block;
}

[data-theme="dark"] .hero-img-dark {
  display: block;
}
[data-theme="dark"] .hero-img-light {
  display: none;
}

/* ──────────────────────────────────────────────────────────────
   STATS / NUMBERS SECTION
   ────────────────────────────────────────────────────────────── */
.stats-section {
  background: var(--color-bg-alt);
  padding: clamp(48px, 8vw, 96px) 0;
}

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

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.stats-subtext {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────
   PROBLEM SECTION
   ────────────────────────────────────────────────────────────── */
.problem-section {
  padding: var(--section-padding) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid #ff4757;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.problem-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.problem-card h4 {
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.problem-quote {
  margin-top: 32px;
  padding-left: 24px;
  border-left: 4px solid var(--color-primary);
}

.problem-quote p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-primary);
  font-style: italic;
  line-height: 1.6;
}

.problem-visual {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.problem-visual img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

/* ──────────────────────────────────────────────────────────────
   MODULARITY SECTION / HUB DIAGRAM
   ────────────────────────────────────────────────────────────── */
.modularity-section {
  background: var(--color-bg);
  padding: var(--section-padding) 0;
}

.modularity-section .section-label {
  margin-bottom: 64px;
}

.hub-diagram {
  position: relative;
  max-width: 800px;
  margin: 0 auto 56px;
}

.hub-center-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hub-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.3;
  box-shadow:
    0 0 0 12px rgba(0, 158, 73, 0.12),
    0 0 0 24px rgba(0, 158, 73, 0.05);
  padding: 16px;
  gap: 4px;
}

.hub-center span {
  font-size: 1.5rem;
}

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

.hub-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: default;
}

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

.hub-module.active {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

[data-theme="dark"] .hub-module.active {
  background: #0d2818;
  border-color: var(--color-primary);
}

.hub-module-icon {
  font-size: 1.5rem;
}

.hub-module-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.modularity-cta {
  text-align: center;
}

.modularity-cta p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

/* ──────────────────────────────────────────────────────────────
   PRODUCT SPOTLIGHT
   ────────────────────────────────────────────────────────────── */
.spotlight-section {
  background: var(--color-bg-alt);
  padding: var(--section-padding) 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 12px;
  height: 12px;
}

.feature-item p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.feature-item p strong {
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 2px;
}

.spotlight-visual img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

/* Light/dark image swap */
.spotlight-img-light {
  display: block;
}
.spotlight-img-dark {
  display: none;
}

[data-theme="dark"] .spotlight-img-light {
  display: none;
}
[data-theme="dark"] .spotlight-img-dark {
  display: block;
}

/* ──────────────────────────────────────────────────────────────
   TRUST / SECURITY SECTION (always dark)
   ────────────────────────────────────────────────────────────── */
.trust-section {
  background: #0d1117;
  padding: var(--section-padding) 0;
  color: #e6edf3;
}

[data-theme="dark"] .trust-section {
  background: #161b22;
}

.trust-section h2 {
  color: #e6edf3;
}

.trust-section .eyebrow {
  background: rgba(0, 158, 73, 0.15);
  color: #4ade80;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.trust-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  transition: all 0.2s ease;
}

.trust-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 158, 73, 0.3);
}

.trust-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.trust-card h4 {
  color: #e6edf3;
  margin-bottom: 10px;
  font-size: 1rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: #8b949e;
  line-height: 1.65;
}

.trust-quote-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
  text-align: center;
}

.trust-quote-block blockquote {
  font-size: 1.125rem;
  color: #8b949e;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.trust-quote-block blockquote strong {
  color: #e6edf3;
  font-style: normal;
}

.trust-quote-attribution {
  font-size: 0.875rem;
  color: #6e7681;
  margin-top: 16px;
}

.trust-quote-logo {
  height: 124px;
  width: auto;
  margin: 12px auto 0;
  filter: brightness(0) invert(1) opacity(0.5);
}

/* ──────────────────────────────────────────────────────────────
   COMING SOON SECTION
   ────────────────────────────────────────────────────────────── */
.coming-soon-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coming-soon-card {
  position: relative;
  padding: 32px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.coming-soon-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cs-badge {
  position: absolute;
  top: 20px;
  right: 20px;
}

.cs-icon {
  font-size: 2.25rem;
  margin-bottom: 4px;
}

.coming-soon-card h3 {
  font-size: 1.1875rem;
  color: var(--color-text-primary);
}

.coming-soon-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* ──────────────────────────────────────────────────────────────
   AFFORDABILITY SECTION
   ────────────────────────────────────────────────────────────── */
.affordability-section {
  background: var(--color-primary-light);
  padding: var(--section-padding) 0;
}

[data-theme="dark"] .affordability-section {
  background: #0d2818;
}

.affordability-section h2 {
  max-width: 700px;
  margin-bottom: 24px;
}

.affordability-body {
  max-width: 700px;
  margin-bottom: 48px;
}

.affordability-body p {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.affordability-body p + p {
  margin-top: 16px;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.value-prop {
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.value-prop-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.value-prop h4 {
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.value-prop p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────
   CONTACT SECTION
   ────────────────────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

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

.contact-form-wrapper h2 {
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.zoho-form-container {
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* What to expect */
.contact-expect h3 {
  margin-bottom: 24px;
}

.expect-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.expect-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.expect-check {
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.expect-item p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-direct {
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

.contact-direct h4 {
  margin-bottom: 8px;
}

.contact-direct p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.contact-direct a {
  color: var(--color-primary);
  font-weight: 500;
}

/* ──────────────────────────────────────────────────────────────
   ABOUT PAGE — HERO
   ────────────────────────────────────────────────────────────── */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.page-hero-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(0, 158, 73, 0.06) 0%,
    transparent 70%
  );
}

[data-theme="dark"] .page-hero-mesh {
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(0, 158, 73, 0.09) 0%,
    transparent 70%
  );
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-inner h1 {
  margin-bottom: 24px;
}

.page-hero-inner p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────────
   ABOUT PAGE — STORY / 2-COL
   ────────────────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-text h2 {
  margin-bottom: 24px;
}

.two-col-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.two-col-text p + p {
  margin-top: 16px;
}

.two-col-visual img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

/* ──────────────────────────────────────────────────────────────
   PHILOSOPHY PILLAR CARDS
   ────────────────────────────────────────────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  padding: 32px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.philosophy-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.philosophy-card-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────
   AUDIENCE CARDS (About — Who We Built This For)
   ────────────────────────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.audience-card {
  padding: 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.audience-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.audience-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.audience-card h3 {
  margin-bottom: 10px;
  font-size: 1.0625rem;
}

.audience-card blockquote {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--color-primary);
  padding-left: 14px;
}

/* ──────────────────────────────────────────────────────────────
   AI PHILOSOPHY SECTION (About — dark)
   ────────────────────────────────────────────────────────────── */
.ai-dark-section {
  background: #0d1117;
  padding: var(--section-padding) 0;
  color: #e6edf3;
}

[data-theme="dark"] .ai-dark-section {
  background: #161b22;
}

.ai-dark-section h2 {
  color: #e6edf3;
  text-align: center;
  margin-bottom: 48px;
}

.ai-dark-section .eyebrow {
  background: rgba(0, 158, 73, 0.15);
  color: #4ade80;
}

.ai-body-text {
  max-width: 720px;
  margin: 0 auto;
}

.ai-body-text p {
  font-size: 1.0625rem;
  color: #8b949e;
  line-height: 1.8;
}

.ai-body-text p + p {
  margin-top: 20px;
}

/* ──────────────────────────────────────────────────────────────
   CONTACT STRIP (simple centred CTA strip)
   ────────────────────────────────────────────────────────────── */
.cta-strip {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 12px;
}

.cta-strip p {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark CTA strip variant */
.cta-strip-dark {
  background: #0d1117;
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
}

[data-theme="dark"] .cta-strip-dark {
  background: #161b22;
}

.cta-strip-dark h2 {
  color: #e6edf3;
  margin-bottom: 16px;
}

.cta-strip-dark p {
  font-size: 1.0625rem;
  color: #8b949e;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────
   PRODUCT PAGE — HERO (workforce-os)
   ────────────────────────────────────────────────────────────── */
.product-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.product-hero-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 60% 20%,
    rgba(0, 158, 73, 0.07) 0%,
    transparent 70%
  );
}

[data-theme="dark"] .product-hero-mesh {
  background: radial-gradient(
    ellipse 70% 60% at 60% 20%,
    rgba(0, 158, 73, 0.11) 0%,
    transparent 70%
  );
}

.product-hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
}

.product-hero-content {
  max-width: 680px;
  margin-bottom: 56px;
}

.product-hero-content h1 {
  margin-bottom: 24px;
}

.product-hero-content p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Browser chrome mockup */
.browser-frame {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red {
  background: #ff5f57;
}
.browser-dot.yellow {
  background: #febc2e;
}
.browser-dot.green {
  background: #28c840;
}

.browser-url {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-left: 8px;
  font-family: monospace;
}

.browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ──────────────────────────────────────────────────────────────
   THREE PRINCIPLES / COLUMNS
   ────────────────────────────────────────────────────────────── */
.three-col-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}

.principle-card {
  padding: 32px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.principle-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.principle-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.principle-card h3 {
  margin-bottom: 12px;
}

.principle-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────
   MODULES GRID (Workforce OS page)
   ────────────────────────────────────────────────────────────── */
.modules-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

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

.module-card {
  padding: 28px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.module-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.module-card-icon {
  font-size: 2rem;
}

.module-card h3 {
  font-size: 1.0625rem;
}

.module-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
}

.module-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: gap 0.2s ease;
}

.module-card-link:hover {
  gap: 8px;
}

.module-card-link.disabled {
  color: var(--color-text-muted);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────
   SCREENSHOT GALLERY
   ────────────────────────────────────────────────────────────── */
.gallery-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.gallery-container {
  position: relative;
}

.gallery-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-card);
}

.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slide {
  flex: 0 0 100%;
  padding: 0 4px;
}

.gallery-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}

.gallery-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.gallery-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gallery-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.gallery-dots {
  display: flex;
  gap: 8px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.gallery-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* ──────────────────────────────────────────────────────────────
   TAB COMPONENT (Workforce OS)
   ────────────────────────────────────────────────────────────── */
.tabs-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 40px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tab-btn:hover {
  color: var(--color-text-primary);
}

.tab-btn[aria-selected="true"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.tab-text h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.tab-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.tab-text p + p {
  margin-top: 16px;
}

.tab-visual img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
}

/* ──────────────────────────────────────────────────────────────
   MODULE DETAIL PAGES
   ────────────────────────────────────────────────────────────── */
.module-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.module-hero-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 80% 30%,
    rgba(0, 158, 73, 0.06) 0%,
    transparent 70%
  );
}

[data-theme="dark"] .module-hero-mesh {
  background: radial-gradient(
    ellipse 60% 60% at 80% 30%,
    rgba(0, 158, 73, 0.1) 0%,
    transparent 70%
  );
}

.module-hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 64px;
  max-width: 760px;
}

.module-hero-inner h1 {
  margin-bottom: 20px;
}

.module-hero-inner p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.module-features-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

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

.module-feature-card {
  padding: 32px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.module-feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mf-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.module-feature-card h3 {
  margin-bottom: 12px;
}

.module-feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.module-editorial-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.editorial-block {
  max-width: 760px;
  margin: 0 auto;
}

.editorial-block h2 {
  margin-bottom: 24px;
}

.editorial-block p {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.editorial-block p + p {
  margin-top: 16px;
}

.module-quote {
  padding: 32px 40px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin: 40px 0;
}

[data-theme="dark"] .module-quote {
  background: #0d2818;
}

.module-quote blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.7;
}

.module-back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  margin-bottom: 48px;
}

.module-back-link:hover {
  color: var(--color-primary);
}

/* Image blur overlay — keeps top section sharp, blurs lower portion */
.img-overlay-container {
  position: relative;
  display: block;
  line-height: 0;
}

.img-overlay-container > img {
  width: 100%;
  height: auto;
  display: block;
}

.img-overlay-container::after {
  content: "";
  position: absolute;
  inset: 0 0 0 62%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 40%
  );
  border-radius: inherit;
  pointer-events: none;
}

[data-theme="dark"] .img-overlay-container::after {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 40%
  );
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 768px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links-center {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hide "Book a Demo" text button in nav on mobile, keep just the hamburger */
  .nav-actions .btn {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0 48px;
    gap: 40px;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

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

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem-visual {
    position: static;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .coming-soon-grid {
    grid-template-columns: 1fr;
  }

  .value-props {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .three-col-grid {
    grid-template-columns: 1fr;
  }

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

  .tab-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hub-modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .module-features-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-inner {
    padding: 64px 0 48px;
  }

  .mega-dropdown {
    display: none;
  }
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 480px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .hub-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  h1,
  .h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  h2,
  .h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    justify-content: center;
  }

  .hero-trust {
    justify-content: flex-start;
  }

  .tab-bar {
    flex-direction: column;
    border-bottom: none;
    gap: 4px;
  }

  .tab-btn {
    border: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    margin-bottom: 0;
    text-align: left;
  }

  .tab-btn[aria-selected="true"] {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
  }
}

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

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

.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-48 {
  margin-top: 48px;
}

.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-48 {
  margin-bottom: 48px;
}
