﻿:root {
  --content-max: 1100px;
  /* Gouttière minimale de chaque côté du contenu */
  --content-gutter: clamp(16px, 2vw, 32px);
  --content-pad: max(var(--content-gutter), calc((100vw - var(--content-max)) / 2));
  --bg: #070b14;
  --bg-soft: #0f1728;
  --text: #f2f6ff;
  --muted: #a6b3cf;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #2563eb;
  --brand-2: #1d4ed8;
  --card: rgba(13, 20, 36, 0.68);
  --card-strong: rgba(17, 27, 48, 0.84);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(3, 8, 18, 0.45);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(0, 0, 0, 0.24);
  --header-border: rgba(255, 255, 255, 0.1);
  --overlay-soft: rgba(255, 255, 255, 0.04);
  --overlay-medium: rgba(255, 255, 255, 0.08);
  --overlay-hover: rgba(255, 255, 255, 0.12);
  --input-bg: rgba(255, 255, 255, 0.04);
  --shadow-soft: 0 12px 30px rgba(3, 8, 18, 0.35);
  --bg-gradient-1: rgba(37, 99, 235, 0.2);
  --bg-gradient-2: rgba(59, 130, 246, 0.14);
  --canvas-opacity: 0.5;
  --hero-overlay-1: rgba(9, 18, 37, 0.84);
  --hero-overlay-2: rgba(8, 16, 32, 0.78);
  --hero-glow: rgba(37, 99, 235, 0.35);
  --hero-image-filter: none;
  --hero-card-bg: rgba(10, 20, 38, 0.74);
  --hero-card-border: rgba(151, 176, 230, 0.24);
  --hero-card-bg-2: rgba(9, 18, 34, 0.76);
  --hero-card-border-2: rgba(140, 173, 236, 0.24);
  --hero-launch-bg-1: rgba(17, 37, 70, 0.9);
  --hero-launch-bg-2: rgba(24, 58, 110, 0.82);
  --hero-launch-border: rgba(139, 175, 243, 0.4);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-soft: #eaeef6;
  --text: #0f1a2e;
  --muted: #566583;
  --line: rgba(15, 26, 46, 0.14);
  --brand: #2563eb;
  --brand-2: #1d4ed8;
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(255, 255, 255, 0.94);
  --shadow: 0 24px 60px rgba(15, 26, 46, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 26, 46, 0.08);
  --hairline: rgba(15, 26, 46, 0.08);
  --hairline-strong: rgba(15, 26, 46, 0.16);
  --header-bg: rgba(255, 255, 255, 0.72);
  --header-border: rgba(15, 26, 46, 0.1);
  --overlay-soft: rgba(15, 26, 46, 0.04);
  --overlay-medium: rgba(15, 26, 46, 0.06);
  --overlay-hover: rgba(15, 26, 46, 0.1);
  --input-bg: rgba(255, 255, 255, 0.85);
  --bg-gradient-1: rgba(37, 99, 235, 0.1);
  --bg-gradient-2: rgba(59, 130, 246, 0.07);
  --canvas-opacity: 0.28;
  --hero-overlay-1: rgba(30, 33, 40, 0.86);
  --hero-overlay-2: rgba(22, 25, 31, 0.82);
  --hero-glow: rgba(140, 148, 162, 0.22);
  --hero-image-filter: grayscale(0.45) saturate(0.75) brightness(0.92);
  --hero-card-bg: rgba(42, 46, 54, 0.78);
  --hero-card-border: rgba(210, 214, 222, 0.18);
  --hero-card-bg-2: rgba(38, 42, 50, 0.8);
  --hero-card-border-2: rgba(200, 205, 215, 0.18);
  --hero-launch-bg-1: rgba(52, 56, 64, 0.92);
  --hero-launch-bg-2: rgba(38, 42, 52, 0.86);
  --hero-launch-border: rgba(210, 214, 222, 0.28);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 14% 12%, var(--bg-gradient-1), transparent 34%),
    radial-gradient(circle at 88% 18%, var(--bg-gradient-2), transparent 30%),
    var(--bg);
  min-height: 100%;
  scroll-behavior: smooth;
  transition: background-color .3s ease, color .3s ease;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: var(--canvas-opacity);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px var(--content-pad);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
}

.logo {
  position: absolute;
  left: var(--content-pad);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: min(180px, 30vw);
  height: 42px;
  overflow: hidden;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a.is-current:not(.nav-cta) {
  color: var(--text);
}

.nav-cta {
  color: #eef4ff !important;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  padding: 10px 14px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: var(--content-pad);
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
}

.theme-toggle {
  position: absolute;
  right: var(--content-pad);
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--header-border);
  background: var(--overlay-soft);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  padding: 0;
}

.theme-toggle:hover {
  background: var(--overlay-medium);
  border-color: var(--hairline-strong);
  transform: translateY(-50%) scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

main {
  width: min(var(--content-max), calc(100% - 2 * var(--content-gutter)));
  margin: 0 auto;
  padding: 0 0 72px;
}

section {
  margin-top: 72px;
}

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  min-height: 75vh;
  padding: calc(clamp(34px, 5vw, 56px) + 74px) var(--content-pad) clamp(34px, 5vw, 56px);
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  overflow: hidden;
  background-color: #0b0d12;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, var(--hero-overlay-1), var(--hero-overlay-2)),
    radial-gradient(circle at 12% 24%, var(--hero-glow), transparent 42%),
    url("images/hero-reunion-crm.jpg") center center / cover no-repeat;
  filter: var(--hero-image-filter);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 18, 0.15), rgba(5, 9, 18, 0.45));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero,
.hero h1,
.hero h2,
.hero h3 {
  color: #f2f6ff;
}

.hero .lead,
.hero p {
  color: #c6d4ee;
}

.hero .kicker {
  color: #7aa6ff;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f2f6ff;
}

.hero .btn-ghost:hover {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(140, 180, 255, 0.7);
}

.hero .stats article {
  background: var(--hero-card-bg);
  border-color: var(--hero-card-border);
  color: #f2f6ff;
}

.hero .stats span,
.hero .stats strong {
  color: #c6d4ee;
}

.hero .stats strong {
  color: #f2f6ff;
}

.hero-content {
  max-width: min(980px, 100%);
  min-height: calc(75vh - 150px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.4vh, 40px);
}

.hero-top {
  max-width: 780px;
}

.kicker {
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.76rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  max-width: 13ch;
}

.lead {
  margin-top: 16px;
  max-width: 66ch;
  color: #c6d4ee;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-install {
  border-color: rgba(120, 157, 226, 0.62);
  background: rgba(17, 33, 63, 0.72);
}

.btn-install:hover {
  border-color: rgba(139, 175, 243, 0.78);
  background: rgba(29, 54, 96, 0.84);
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2px;
}

.hero-pillar {
  background: var(--hero-card-bg);
  border: 1px solid var(--hero-card-border);
  border-radius: 14px;
  padding: 14px;
}

.hero-pillar h3 {
  font-size: 1.03rem;
}

.hero-pillar p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.95rem;
}

.hero-launch {
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(135deg, var(--hero-launch-bg-1), var(--hero-launch-bg-2));
  border: 1px solid var(--hero-launch-border);
  border-radius: 14px;
  padding: clamp(16px, 2.4vw, 24px);
  box-shadow: 0 14px 34px rgba(8, 20, 44, 0.42);
}

.hero-launch h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.16;
  color: #f2f6ff;
}

.hero-launch p {
  margin-top: 10px;
  color: #d6e5ff;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 88ch;
}

.hero-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.hero-business-card {
  background: var(--hero-card-bg-2);
  border: 1px solid var(--hero-card-border-2);
  border-radius: 14px;
  padding: 14px;
}

.hero-business-card h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.hero-business-card p {
  margin-top: 8px;
  color: #b7cae9;
  line-height: 1.42;
  font-size: 0.94rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  line-height: 1.1;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #f4f7ff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--overlay-soft);
}

.btn-ghost:hover {
  border-color: rgba(95, 144, 238, 0.62);
  background: rgba(37, 99, 235, 0.16);
  transform: translateY(-1px);
}

.btn-stripe {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #eef2ff;
}

.btn-paypal {
  background: #ffc439;
  color: #003087;
  border-color: #e9ac22;
}

.stats {
  margin-top: auto;
  padding-top: clamp(12px, 2.2vh, 22px);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.stats strong {
  display: block;
  font-size: 1.2rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}

.pricing-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-switch {
  margin-top: 22px;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.switch-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.switch-btn.is-active {
  background: rgba(37, 99, 235, 0.28);
  color: var(--text);
}

.pricing-switch {
  margin-top: 22px;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.pricing-switch-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.pricing-switch-btn.is-active {
  background: rgba(37, 99, 235, 0.28);
  color: var(--text);
}

.billing-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.billing-switch-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.billing-switch-btn.is-active {
  background: rgba(37, 99, 235, 0.28);
  color: var(--text);
}

.panels {
  margin-top: 16px;
}

.panel {
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
}

.panel p {
  margin-top: 10px;
  color: var(--muted);
}

.panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.features-block {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.features-block-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.features-list[hidden] {
  display: none;
}

.features-list.features-list-extra {
  margin-top: 0;
}

.feature-item {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 170px 1fr auto auto;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  transition: background .18s ease, padding .18s ease;
}

.feature-item-btn:hover {
  background: rgba(106, 168, 255, 0.05);
  padding-left: 24px;
}

.feature-item-btn:focus-visible {
  outline: 2px solid var(--accent, #6aa8ff);
  outline-offset: -2px;
}

.feature-item-category {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-item-title {
  font-weight: 500;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.feature-item-media-badge {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #6aa8ff);
}

.feature-item-chevron {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .18s ease, color .18s ease;
}

.feature-item-btn:hover .feature-item-chevron {
  color: var(--accent, #6aa8ff);
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .feature-item-btn {
    grid-template-columns: 1fr auto auto;
    gap: 4px 14px;
    padding: 12px 14px;
  }
  .feature-item-btn:hover {
    padding-left: 18px;
  }
  .feature-item-category {
    grid-column: 1 / -1;
    font-size: 0.68rem;
  }
}

/* legacy grid kept for any other page references */
.features-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.features-grid[hidden] {
  display: none;
}

.features-grid.features-grid-extra {
  margin-top: 4px;
}

.feature-card-legacy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-item-category {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-item h5 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.features-actions {
  display: flex;
  justify-content: flex-start;
}

.features-loading,
.features-empty {
  margin: 0;
  color: var(--muted);
  grid-column: 1 / -1;
}

.feature-grid {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-quick-grid .feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-quick-grid .hero-actions {
  margin-top: auto;
  padding-top: 8px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.pricing-grid .feature-card {
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.pricing-grid .hero-actions {
  margin-top: auto;
  flex-wrap: nowrap;
  padding-top: 8px;
}

.pricing-grid .hero-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  text-align: center;
}

.pricing-grid .hero-actions .choose-plan-btn {
  width: 100%;
}

.pricing-grid .feature-card.feature-card-popular {
  border-color: #2e6cff;
  box-shadow: 0 0 0 1px rgba(46, 108, 255, 0.2), 0 14px 40px rgba(16, 45, 116, 0.28);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-value {
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.price-label {
  color: var(--muted);
  font-size: 1rem;
}

.feature-card p {
  margin-top: 8px;
  color: var(--muted);
}

.feature-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.contact-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 30px);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-picker {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.product-picker legend {
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-option {
  display: block;
}

.product-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-option span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--text);
  font-weight: 600;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, transform 140ms ease;
  cursor: pointer;
}

.product-option span:hover {
  border-color: rgba(112, 150, 220, 0.72);
  transform: translateY(-1px);
}

.product-option input:checked + span {
  border-color: #4f87e6;
  background: linear-gradient(135deg, #1d3c69, #224b84);
  box-shadow: 0 10px 24px rgba(18, 42, 90, 0.38);
}

.product-option input:focus-visible + span {
  outline: 2px solid rgba(86, 134, 221, 0.72);
  outline-offset: 2px;
}

.captcha-block {
  display: grid;
  gap: 10px;
}

.captcha-box {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input-bg);
  padding: 10px 12px;
}

.captcha-question {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.captcha-refresh {
  min-width: 120px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #dce8ff;
  border-color: rgba(103, 139, 205, 0.5);
  background: linear-gradient(135deg, rgba(31, 56, 94, 0.9), rgba(26, 47, 78, 0.9));
}

.captcha-refresh:hover {
  border-color: rgba(133, 170, 238, 0.72);
  background: linear-gradient(135deg, rgba(43, 73, 119, 0.94), rgba(34, 61, 98, 0.94));
}

.captcha-refresh:focus-visible {
  outline: 2px solid rgba(96, 145, 236, 0.72);
  outline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 120;
}

.lead-modal.is-open {
  opacity: 1;
}

.lead-modal-card {
  width: min(520px, 100%);
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 23, 46, 0.97);
  color: #e9f1ff;
  padding: 18px 20px;
  text-align: center;
  box-shadow: 0 22px 46px rgba(5, 12, 27, 0.58);
}

.lead-modal-card p {
  margin: 0;
  font-weight: 600;
}

.lead-modal-card.is-success {
  border-color: rgba(68, 208, 146, 0.68);
  box-shadow: 0 22px 46px rgba(3, 34, 26, 0.46);
}

.lead-modal-card.is-error {
  border-color: rgba(252, 110, 129, 0.7);
  box-shadow: 0 22px 46px rgba(44, 9, 16, 0.5);
}

.lead-modal-card.is-info {
  border-color: rgba(106, 144, 220, 0.7);
  box-shadow: 0 22px 46px rgba(10, 19, 42, 0.52);
}

input,
select,
textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(70, 122, 220, 0.75);
  box-shadow: 0 0 0 3px rgba(42, 96, 198, 0.2);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  padding-right: 42px;
  cursor: pointer;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9d8ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-form select option {
  background: #0f1d36;
  color: #e8f0ff;
}

.contact-form select option:checked {
  background: #24477a;
  color: #ffffff;
}

.site-footer {
  padding: 28px 16px 40px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .logo img {
    height: 100%;
    max-width: 100%;
  }

  .logo {
    width: min(140px, 38vw);
    height: 34px;
  }

  .menu-toggle {
    display: inline-flex;
    right: var(--content-pad);
  }

  .theme-toggle {
    right: calc(var(--content-pad) + 72px);
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card-strong);
  }

  .main-nav.is-open {
    display: flex;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding-top: 0;
  }

  .hero {
    min-height: 75vh;
    padding: 96px 16px 30px;
  }

  .hero-content {
    max-width: none;
    min-height: auto;
    gap: 20px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
  }

  .hero-launch {
    padding: 16px;
  }

  .hero-launch h3 {
    font-size: 1.28rem;
  }

  .hero-business-grid {
    grid-template-columns: 1fr;
  }

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

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

  .product-options {
    grid-template-columns: 1fr;
  }
}

.feature-detail-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
}

.feature-detail-modal[hidden] {
  display: none;
}

.feature-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.feature-detail-card {
  position: relative;
  width: min(820px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 20px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.feature-detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.feature-detail-close:hover {
  background: var(--overlay-hover);
}

.feature-detail-category {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.feature-detail-title {
  margin: 0 0 14px 0;
  font-size: 1.35rem;
  color: var(--text);
  padding-right: 40px;
}

.feature-detail-description {
  margin: 14px 0 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

.feature-detail-description[hidden] {
  display: none;
}

.feature-carousel {
  position: relative;
  background: var(--overlay-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.feature-carousel[hidden] {
  display: none;
}

.feature-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.feature-carousel-viewport figure {
  margin: 0;
  position: absolute;
  inset: 0;
}

.feature-carousel-viewport img,
.feature-carousel-viewport video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-carousel-viewport figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 0.85rem;
}

.feature-carousel-prev,
.feature-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.feature-carousel-prev[hidden],
.feature-carousel-next[hidden] {
  display: none;
}

.feature-carousel-prev { left: 10px; }
.feature-carousel-next { right: 10px; }

.feature-carousel-prev:disabled,
.feature-carousel-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.feature-carousel-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.feature-carousel-indicators[hidden] {
  display: none;
}

.feature-carousel-indicators .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.feature-carousel-indicators .dot.is-active {
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

