/* RetailBiz Marketing Website — Design System (emeraldRetail) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

/* Font display: swap is set via Google Fonts URL */

:root {
  --primary: #22C55E;
  --primary-dark: #15803D;
  --primary-soft: #DCFCE7;
  --primary-surface: #F0FDF4;
  --accent: #10B981;
  --accent-soft: #D1FAE5;
  --background: #F6F8FA;
  --canvas: #F9FAFB;
  --surface: #FFFFFF;
  --surface-muted: #F3F4F6;
  --surface-soft: #F8FAFC;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --border-soft: #EEF2F7;
  --divider: #F1F5F9;
  --success: #22C55E;
  --success-soft: #DCFCE7;
  --warning: #F59E0B;
  --warning-soft: #FEF3C7;
  --danger: #EF4444;
  --danger-soft: #FEE2E2;
  --info: #3B82F6;
  --info-soft: #DBEAFE;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-button: 0 8px 18px rgba(34, 197, 94, 0.20);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-xxl: 24px;
  --radius-pill: 999px;
  --font-family: 'Inter', 'Plus Jakarta Sans', Manrope, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1200px;
  --nav-height: 72px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary); }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

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

/* Section */
.section {
  padding: 80px 0;
}

.section--sm { padding: 56px 0; }

.section--alt {
  background: var(--canvas);
}

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

.section-header .badge {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.0625rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.badge--primary {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.badge--neutral {
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.badge--success {
  background: var(--success-soft);
  color: var(--primary-dark);
}

.badge--warning {
  background: var(--warning-soft);
  color: #B45309;
}

.badge--info {
  background: var(--info-soft);
  color: #1D4ED8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn--primary:hover:not(:disabled) {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn--secondary:hover:not(:disabled) {
  background: var(--surface-muted);
  border-color: var(--border);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

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

.btn--ghost:hover {
  background: var(--surface-muted);
  color: var(--text-primary);
}

.btn--lg {
  height: 48px;
  padding: 0 28px;
  font-size: 15px;
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

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

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

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

.navbar__logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.navbar__link {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--primary-dark);
  background: var(--primary-surface);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.navbar__dropdown.open .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
}

.navbar__dropdown-item:hover {
  background: var(--primary-surface);
  color: var(--primary-dark);
}

.navbar__dropdown-item i,
.navbar__dropdown-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .navbar__toggle { display: flex; }

  .navbar.open {
    height: auto;
    min-height: var(--nav-height);
  }

  .navbar__inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--nav-height);
    padding-bottom: 0;
  }

  .navbar__menu,
  .navbar__actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 16px;
    gap: 4px;
    border-top: 1px solid var(--border-soft);
    order: 3;
  }

  .navbar__menu { justify-content: flex-start; }

  .navbar__actions {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .navbar.open .navbar__menu,
  .navbar.open .navbar__actions {
    display: flex;
  }

  .navbar__link { padding: 12px 14px; }

  .navbar__actions .btn { width: 100%; justify-content: center; }

  .navbar__dropdown { width: 100%; }

  .navbar__dropdown-toggle { width: 100%; justify-content: center; }

  .navbar__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    display: none;
    margin-top: 4px;
  }

  .navbar__dropdown.open .navbar__dropdown-menu { display: block; }
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  margin-top: 12px;
  max-width: 280px;
}

.footer__heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer__links a:hover { color: var(--primary-dark); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 575px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card--flat:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card__icon i,
.card__icon svg {
  width: 24px;
  height: 24px;
}

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

.card p { font-size: 14px; }

/* Grid layouts */
.grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 991px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  overflow: hidden;
}

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

.hero__content .badge { margin-bottom: 20px; }

.hero__title {
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 1.125rem;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero__mockup {
  position: relative;
}

@media (max-width: 991px) {
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__subtitle { max-width: none; }
}

/* Trust strip */
.trust-strip {
  padding: 32px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.trust-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-surface);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item__icon i,
.trust-item__icon svg { width: 20px; height: 20px; }

.trust-item__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 767px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .trust-strip__grid { grid-template-columns: 1fr; }
}

/* Problem / Solution lists */
.problem-list,
.solution-list {
  display: grid;
  gap: 12px;
}

.problem-item,
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  font-size: 14px;
}

.problem-item i,
.problem-item svg { color: var(--danger); flex-shrink: 0; margin-top: 2px; }

.solution-item i,
.solution-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Feature card */
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card__benefit {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Pricing card */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

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

.pricing-card--featured {
  margin-top: 8px;
}

.pricing-card--loading {
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: var(--text-muted);
}

.pricing-card--error code {
  font-size: 12px;
  background: var(--color-canvas, #f8fafc);
  padding: 2px 6px;
  border-radius: 6px;
}

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

.pricing-card__price {
  margin: 16px 0 8px;
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

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

.pricing-card__features {
  margin: 24px 0;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
}

.pricing-card__features li:last-child { border-bottom: none; }

.pricing-card__features i,
.pricing-card__features svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

/* Use case card */
.usecase-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h4 { margin-bottom: 8px; }
.step p { font-size: 14px; }

@media (max-width: 991px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .steps { grid-template-columns: 1fr; }
}

/* Dashboard mockup */
.dashboard-mockup {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xxl);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.dashboard-mockup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border-soft);
}

.dashboard-mockup__dots {
  display: flex;
  gap: 6px;
}

.dashboard-mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.dashboard-mockup__dots span:first-child { background: #FCA5A5; }
.dashboard-mockup__dots span:nth-child(2) { background: #FDE68A; }
.dashboard-mockup__dots span:nth-child(3) { background: #86EFAC; }

.dashboard-mockup__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.dashboard-mockup__body {
  padding: 20px;
  background: var(--background);
}

.mockup-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mockup-kpi {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.mockup-kpi__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mockup-kpi__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.mockup-kpi__trend {
  font-size: 10px;
  color: var(--primary);
  margin-top: 4px;
}

.mockup-chart {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.mockup-chart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mockup-chart__header span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.mockup-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding-top: 8px;
}

.mockup-chart__bar {
  flex: 1;
  background: var(--primary-soft);
  border-radius: 6px 6px 0 0;
  min-height: 20px;
}

.mockup-chart__bar.active { background: var(--primary); }

.mockup-table {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mockup-table__head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 10px 14px;
  background: var(--primary-surface);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mockup-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

@media (max-width: 767px) {
  .mockup-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Stats card */
.stats-card {
  text-align: center;
  padding: 32px 24px;
}

.stats-card__value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.stats-card__label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-surface) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-xxl);
  padding: 56px 40px;
  text-align: center;
}

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

.cta-section p {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
}

@media (max-width: 575px) {
  .cta-section { padding: 40px 24px; }
}

/* Page header */
.page-header {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
  border-bottom: 1px solid var(--border-soft);
}

.page-header h1 { margin-bottom: 12px; }

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-item__question:hover { background: var(--surface-soft); }

.faq-item__icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-item__icon { transform: rotate(180deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-item__answer { max-height: 600px; }

/* Forms */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-label .required { color: var(--danger); }

.form-control,
.form-select,
.form-textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-control.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--danger);
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid ~ .form-error,
.form-select.is-invalid ~ .form-error,
.form-textarea.is-invalid ~ .form-error,
.form-group:has(.is-invalid) .form-error { display: block; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 575px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Contact / Demo layout */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 991px) {
  .form-layout { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--primary-surface);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.info-card h3 {
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--primary-soft);
}

.info-list li:last-child { border-bottom: none; }

.info-list i,
.info-list svg {
  color: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.demo-steps li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--primary-soft);
}

.demo-steps li:last-child { border-bottom: none; }

.demo-steps__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Feature detail (features page) */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-soft);
}

.feature-detail:last-child { border-bottom: none; }

.feature-detail--reverse .feature-detail__content { order: 2; }
.feature-detail--reverse .feature-detail__visual { order: 1; }

@media (max-width: 991px) {
  .feature-detail,
  .feature-detail--reverse {
    grid-template-columns: 1fr;
  }
  .feature-detail--reverse .feature-detail__content,
  .feature-detail--reverse .feature-detail__visual { order: unset; }
}

.feature-placeholder {
  background: var(--surface-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.feature-placeholder i,
.feature-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  opacity: 0.6;
}

.feature-placeholder span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Legal pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.legal-content p,
.legal-content li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-notice {
  background: var(--warning-soft);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 14px;
  color: #92400E;
  margin-bottom: 32px;
}

/* Testimonial */
.testimonial-card {
  text-align: center;
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 18px;
}

.testimonial-card__quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.testimonial-card__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-muted);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 300px;
  max-width: 420px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast__icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.toast__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.toast__message {
  font-size: 13px;
  color: var(--text-secondary);
}

.toast__close {
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toast { min-width: auto; max-width: none; }
}

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 40px; }

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }

/* ── Performance & responsive spacing ── */
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section--sm { padding: 40px 0; }
  .hero { padding: 40px 0 48px; }
  .page-header { padding: 40px 0 32px; }
}

@media (max-width: 991px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Enhanced hero ── */
.hero--strong {
  background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
}

.hero__eyebrow {
  display: block;
  margin-bottom: 16px;
}

.hero__bullets {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.hero__bullet i,
.hero__bullet svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Audience tags */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow);
}

.audience-tag i,
.audience-tag svg {
  width: 16px;
  height: 16px;
  color: var(--primary-dark);
}

/* Benefits row */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .benefits-row { grid-template-columns: 1fr; }
}

.benefit-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.benefit-card h4 {
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  margin: 0;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  margin-bottom: 48px;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--divider);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}

.compare-table thead th {
  background: var(--surface-soft);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 13px;
}

.compare-table thead th.highlight {
  background: var(--primary-surface);
  color: var(--primary-dark);
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table .check { color: var(--primary); }
.compare-table .dash { color: var(--text-muted); }

/* Form enhancements */
.form-alert {
  display: none;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.form-alert.is-visible { display: block; }

.form-alert--error {
  background: var(--danger-soft);
  border: 1px solid #FECACA;
  color: #B91C1C;
}

.form-alert--success {
  background: var(--success-soft);
  border: 1px solid var(--primary-soft);
  color: var(--primary-dark);
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn:disabled,
.btn.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.toast--error .toast__icon { color: var(--danger); }
.toast--error { border-color: #FECACA; }

/* Conversion page blocks */
.conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .conversion-grid { grid-template-columns: 1fr; }
}

.conversion-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.conversion-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.conversion-card p {
  font-size: 14px;
  margin: 0;
}

.prep-list {
  display: grid;
  gap: 10px;
}

.prep-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
}

.prep-item i,
.prep-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ groups */
.faq-group {
  margin-bottom: 40px;
}

.faq-group__title {
  font-size: 1.125rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-soft);
  color: var(--text-primary);
}

/* Launch checklist */
.checklist-page { max-width: 800px; margin: 0 auto; }

.checklist-section {
  margin-bottom: 32px;
}

.checklist-section h2 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.checklist {
  display: grid;
  gap: 8px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.checklist__item--done {
  border-color: var(--primary-soft);
  background: var(--primary-surface);
}

.checklist__item--pending {
  border-color: var(--warning-soft);
  background: #FFFBEB;
}

.checklist__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.checklist__item--done .checklist__icon { color: var(--primary-dark); }
.checklist__item--pending .checklist__icon { color: #B45309; }

/* Link placeholders */
a[data-placeholder] {
  cursor: pointer;
}

/* Navbar open state */
.navbar.open .navbar__toggle [data-lucide="menu"],
.navbar.open .navbar__toggle svg.lucide-menu {
  display: none;
}

.navbar__toggle .navbar__toggle-close {
  display: none;
}

.navbar.open .navbar__toggle .navbar__toggle-close {
  display: block;
}

/* Active CTA in nav */
.navbar__actions .btn--primary.active-cta {
  box-shadow: var(--shadow-button);
}

/* Pricing recommended label */
.pricing-card__recommended {
  display: inline-block;
  margin-bottom: 8px;
}
