/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green-500: #22c55e;
  --white: #ffffff;

  /* Semantic */
  --primary: var(--blue-600);
  --primary-dark: var(--blue-700);
  --accent: var(--purple-600);
  --accent-dark: var(--purple-700);
  --text: var(--gray-800);
  --text-muted: var(--gray-500);
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --border: var(--gray-200);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --nav-h: 72px;
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

ul {
  list-style: none;
}

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

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--gray-900);
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  padding: 0.625rem 1.5rem;
}

.btn--sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all var(--transition);
}

.navbar--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  transition: color var(--transition);
}

.navbar--scrolled .navbar__brand {
  color: var(--gray-900);
}

.navbar__icon {
  width: 24px;
  height: 24px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.navbar--scrolled .navbar__links a {
  color: var(--gray-600);
}

.navbar__links a:hover {
  color: var(--white);
}

.navbar--scrolled .navbar__links a:hover {
  color: var(--gray-900);
}

.navbar__links .btn {
  color: var(--white);
}

.navbar--scrolled .navbar__links .btn--primary {
  color: var(--white);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
}

.navbar--scrolled .navbar__toggle {
  color: var(--gray-800);
}

.navbar__toggle svg {
  width: 28px;
  height: 28px;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--gray-800);
  cursor: pointer;
}

.mobile-nav__close svg {
  width: 32px;
  height: 32px;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav__links a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
}

.mobile-nav__links .btn {
  margin-top: 0.5rem;
  min-width: 200px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: dotDrift 20s linear infinite;
}

@keyframes dotDrift {
  from { background-position: 0 0; }
  to { background-position: 32px 32px; }
}

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

.hero__content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-100);
  backdrop-filter: blur(8px);
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}

.hero__subtitle {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
}

.hero__ctas {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__ctas .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__ctas .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.hero__pills {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.pill svg {
  width: 16px;
  height: 16px;
}

/* ===== DASHBOARD MOCKUP ===== */
.hero__visual {
  position: relative;
  z-index: 1;
}

.mockup {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.3), transparent 70%);
  border-radius: var(--radius-xl);
  filter: blur(40px);
}

.mockup__window {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.mockup__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.mockup__titlebar-text {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-right: auto;
}

.mockup__body {
  display: flex;
  min-height: 280px;
}

.mockup__sidebar {
  width: 48px;
  background: rgba(0, 0, 0, 0.15);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup__sidebar-item {
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.mockup__sidebar-item.active {
  background: rgba(37, 99, 235, 0.4);
}

.mockup__main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.mockup__metric-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup__metric-card--accent {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
}

.mockup__metric-label {
  height: 8px;
  width: 50%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mockup__metric-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.mockup__metric-card--accent .mockup__metric-value {
  color: var(--green-500);
}

.mockup__chart {
  flex: 1;
  position: relative;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mockup__chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mockup__chart-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  padding: 0 16px 8px;
}

.mockup__bar {
  width: 12%;
  background: rgba(37, 99, 235, 0.4);
  border-radius: 3px 3px 0 0;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* ===== TRUST BAR ===== */
.trust {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.trust__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.trust__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-400);
  filter: grayscale(1);
  opacity: 0.7;
  transition: all var(--transition);
}

.trust__logo:hover {
  opacity: 1;
  color: var(--gray-600);
}

.trust__logo svg {
  width: 20px;
  height: 20px;
}

/* ===== FEATURES ===== */
.features {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: var(--section-py) 0;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.step {
  position: relative;
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.step__connector {
  position: absolute;
  top: 20px;
  left: calc(50% + 28px);
  width: calc(100% - 16px);
  height: 0;
  border-top: 2px dashed var(--gray-300);
}

.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--primary);
  margin-bottom: 1rem;
}

.step__icon svg {
  width: 24px;
  height: 24px;
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.code-block {
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-900);
}

.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-block__lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.code-block__label {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.code-block pre {
  padding: 1.25rem;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-300);
}

/* ===== METRICS ===== */
.metrics {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metrics__item {
  padding: 1.5rem;
}

.metrics__number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.metrics__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

/* ===== PRICING ===== */
.pricing {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  padding-top: 2.5rem;
  box-shadow: var(--shadow-md);
  transform: scale(1.04);
}

.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.pricing-card__price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

.pricing-card__period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-card__users {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing__trial {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0.875rem 1.5rem;
  background: var(--blue-50);
  border: 1px dashed var(--blue-500);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--blue-700);
}

.pricing__trial strong {
  font-weight: 700;
}

.pricing__enterprise {
  margin-top: 2rem;
  padding: 2rem 2.5rem;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing__enterprise-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.pricing__enterprise-info p {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--gray-400);
}

.pricing__enterprise-price {
  text-align: right;
  white-space: nowrap;
}

.pricing__enterprise-price strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.pricing__enterprise-price span {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.pricing-card__annual {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pricing-card__features {
  margin: 1.75rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.pricing-card__features li svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
  flex-shrink: 0;
}

/* ===== CTA ===== */
.cta {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 40%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.cta__subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta__buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__brand svg {
  width: 22px;
  height: 22px;
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__col a {
  font-size: 0.9375rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__pills {
    justify-content: center;
  }

  .hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

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

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: block;
  }

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

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 100%;
  }

  .step__connector {
    display: none;
  }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .pricing__enterprise {
    padding: 1.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .tabs__header {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== HERO SECURITY NOTE (freshen-up) ===== */
.hero__note {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__note svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
  flex-shrink: 0;
}

.hero__note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.hero__note a:hover {
  color: var(--blue-100);
}

/* ===== SHARED DOC / SECURITY / LEGAL PAGES ===== */
.doc-hero {
  background: linear-gradient(135deg, var(--blue-800), var(--accent-dark));
  color: var(--white);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  text-align: center;
}

.doc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-100);
  margin-bottom: 1.25rem;
}

.doc-hero__badge svg { width: 16px; height: 16px; }

.doc-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.doc-hero p {
  margin: 1rem auto 0;
  max-width: 620px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

.doc-page {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--section-py) 1.5rem;
}

.doc-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin: 2.5rem 0 0.75rem;
}

.doc-page h2:first-child { margin-top: 0; }

.doc-page h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 1.75rem 0 0.5rem;
}

.doc-page p,
.doc-page li {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.75;
}

.doc-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.doc-page ul li { margin-bottom: 0.5rem; }

.doc-page a:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc-page .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* Security highlight cards */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.sec-card {
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.sec-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--primary);
  margin-bottom: 0.875rem;
}

.sec-card__icon svg { width: 22px; height: 22px; }

.sec-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.35rem;
}

.sec-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.doc-page .callout {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

.doc-page .callout svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.doc-page .callout strong { color: var(--gray-900); }

/* ===== SOLID NAVBAR (subpages without a dark hero to toggle against) ===== */
.navbar--solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.navbar--solid .navbar__brand { color: var(--gray-900); }
.navbar--solid .navbar__links a { color: var(--gray-600); }
.navbar--solid .navbar__links a:hover { color: var(--gray-900); }
.navbar--solid .navbar__links .btn--primary { color: var(--white); }
.navbar--solid .navbar__toggle { color: var(--gray-800); }
