/* ============================================================
   Lead Vector Marketing Site — Stylesheet
   Palette: #2563eb (blue-600) primary, slate grays
   Font:    Inter (same weight feel as Geist Sans in the web app)
   ============================================================ */

/* ------------------------------------------------------------
   Custom Properties
   ------------------------------------------------------------ */
:root {
  /* Brand blues — matches web app #2563eb / #1d4ed8 */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  /* Slate grays */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Semantic */
  --green-50:  #f0fdf4;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --red-500:   #ef4444;
  --purple-100: #f3e8ff;
  --purple-700: #6b21a8;
  --amber-50:  #fffbeb;
  --amber-100: #fef3c7;
  --amber-900: #92400e;

  /* Layout */
  --container-max: 1160px;
  --section-pad-y: 100px;
  --section-pad-y-sm: 64px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.05);
  --shadow-2xl:0 25px 50px -12px rgba(0,0,0,.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Offset for sticky nav */
  scroll-padding-top: 72px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--slate-900);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ------------------------------------------------------------
   Utility — Container
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-md);
  padding: 11px 22px;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 1px 3px rgba(37,99,235,.3), 0 0 0 1px rgba(37,99,235,.15);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.35), 0 0 0 1px rgba(37,99,235,.2);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-700);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--slate-200);
  background: transparent;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.btn-ghost:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
  color: var(--slate-900);
}

.btn-sm  { font-size: 13.5px; padding: 8px 16px; }
.btn-lg  { font-size: 16px;   padding: 14px 28px; }
.btn-block { width: 100%; justify-content: center; padding: 14px; font-size: 15.5px; }

/* ------------------------------------------------------------
   Section Shared Styles
   ------------------------------------------------------------ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  padding: 4px 13px;
  margin-bottom: 18px;
}

.section-tag--white {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--slate-900);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}

/* Scroll animation base */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav-header.scrolled {
  border-bottom-color: var(--slate-200);
  background: rgba(255,255,255,.96);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 24px;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.logo-mark { line-height: 0; }
.logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-600);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--slate-900);
  background: var(--slate-100);
}
.nav-login { margin-right: 4px; }

/* Mobile nav toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #f0f5ff 0%, #fff 55%);
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  margin-bottom: 26px;
  width: fit-content;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--slate-900);
  margin-bottom: 22px;
}

.hero-subtext {
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--slate-500);
  margin-bottom: 36px;
  max-width: 500px;
}

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

.hero-note {
  font-size: 13px;
  color: var(--slate-400);
}

/* ---- App Preview (dashboard mockup) ---- */
.hero-visual {
  position: relative;
}
.hero-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at 50% 60%, rgba(37,99,235,.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.app-preview {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2xl), 0 0 0 1px var(--slate-200);
  overflow: hidden;
  font-size: 12px;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.preview-dots {
  display: flex;
  gap: 5px;
}
.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: .85;
}
.preview-url {
  font-size: 11px;
  color: var(--slate-400);
  background: var(--slate-100);
  border-radius: 5px;
  padding: 3px 9px;
  margin-left: 4px;
}

.preview-body {
  display: flex;
  height: 300px;
}

.preview-sidebar {
  width: 130px;
  flex-shrink: 0;
  background: var(--slate-50);
  border-right: 1px solid var(--slate-200);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.preview-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--slate-500);
  cursor: default;
  border-right: 2px solid transparent;
}
.preview-nav-item.active {
  background: var(--blue-50);
  color: var(--blue-700);
  border-right-color: var(--blue-600);
  font-weight: 600;
}
.preview-nav-item svg { flex-shrink: 0; }

.preview-content {
  flex: 1;
  padding: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-stats-row {
  display: flex;
  gap: 10px;
}
.preview-stat {
  flex: 1;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-sm);
  padding: 8px 10px;
}
.preview-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}
.preview-stat-label {
  font-size: 9.5px;
  color: var(--slate-400);
  margin-top: 2px;
}

.preview-table-header {
  display: grid;
  grid-template-columns: 1fr 90px 62px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--slate-100);
}

.preview-table-row {
  display: grid;
  grid-template-columns: 1fr 90px 62px;
  align-items: center;
  padding: 7px 8px;
  border-radius: var(--r-sm);
  transition: background 0.12s;
}
.preview-table-row:hover { background: var(--slate-50); }

.preview-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.preview-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.preview-lead-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-lead-sub {
  font-size: 9.5px;
  color: var(--slate-400);
}

.preview-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
}
.preview-badge--blue   { background: var(--blue-50);    color: var(--blue-700); }
.preview-badge--green  { background: var(--green-50);   color: var(--green-600); }
.preview-badge--yellow { background: var(--amber-50);   color: var(--amber-900); }
.preview-badge--gray   { background: var(--slate-100);  color: var(--slate-600); }

.preview-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-700);
  text-align: right;
}

/* Wave divider below hero */
.hero-wave {
  height: 72px;
  background: transparent;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------
   PROOF BAR
   ------------------------------------------------------------ */
.proof-bar {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 40px 0;
}
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.proof-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.proof-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue-600);
  line-height: 1;
  margin-bottom: 6px;
}
.proof-label {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.35;
}
.proof-divider {
  width: 1px;
  height: 44px;
  background: var(--slate-200);
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   FEATURES
   ------------------------------------------------------------ */
.features {
  padding: var(--section-pad-y) 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  margin-top: 16px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--slate-500);
  line-height: 1.65;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon--blue   { background: var(--blue-50);   color: var(--blue-600); }
.feature-icon--indigo { background: #eef2ff;           color: #4338ca; }
.feature-icon--sky    { background: #f0f9ff;           color: #0284c7; }

/* ------------------------------------------------------------
   HOW IT WORKS
   ------------------------------------------------------------ */
.how-it-works {
  padding: var(--section-pad-y) 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-card {
  flex: 1;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  position: relative;
}
.step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue-400, var(--blue-200));
  color: var(--blue-300, #93c5fd);
  margin-bottom: 16px;
}
.step-icon {
  width: 54px;
  height: 54px;
  background: var(--blue-50);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.step-card p {
  font-size: 14.5px;
  color: var(--slate-500);
  line-height: 1.65;
}
.step-connector {
  display: flex;
  align-items: center;
  padding: 0 16px;
  padding-top: 80px; /* aligns roughly with icon center */
  flex-shrink: 0;
  color: var(--slate-300);
}

/* ------------------------------------------------------------
   INDUSTRIES
   ------------------------------------------------------------ */
.industries {
  padding: var(--section-pad-y) 0;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.industry-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.industry-icon {
  width: 54px;
  height: 54px;
  background: var(--blue-50);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 16px;
}
.industry-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.industry-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 0;
}

.industry-card--cta {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.industry-card--cta:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-2px);
}
.industry-card--cta .industry-icon {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.industry-card--cta h4 { color: #fff; }
.industry-card--cta p  { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.industry-card--cta .btn-primary {
  background: #fff;
  color: var(--blue-700);
  box-shadow: none;
}
.industry-card--cta .btn-primary:hover {
  background: var(--blue-50);
}

/* ------------------------------------------------------------
   COMPARISON / WHY LV
   ------------------------------------------------------------ */
.comparison {
  padding: var(--section-pad-y) 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.comparison-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.comparison-left h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 8px;
  color: var(--slate-900);
}
.comparison-left p {
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 28px;
}
.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--slate-700);
  line-height: 1.5;
}
.comparison-list svg { flex-shrink: 0; margin-top: 1px; }

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tc-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--slate-900);
}
.tc-role {
  font-size: 12.5px;
  color: var(--slate-400);
  margin-top: 2px;
}
.testimonial-card blockquote {
  font-size: 15.5px;
  color: var(--slate-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.tc-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}
/* Placeholder skeleton testimonial card */
.testimonial-card--placeholder blockquote {
  font-style: normal;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tc-avatar--ph {
  background: var(--slate-200);
}
.ph-line {
  display: block;
  background: var(--slate-200);
  border-radius: 4px;
  height: 13px;
}
.ph-line--long  { width: 100%; }
.ph-line--med   { width: 78%; }
.ph-line--short { width: 52%; }
.ph-line--name  { width: 120px; height: 13px; margin-bottom: 6px; }
.ph-line--role  { width: 80px;  height: 11px; }

/* ------------------------------------------------------------
   DEMO FORM SECTION
   ------------------------------------------------------------ */
.demo-section {
  padding: var(--section-pad-y) 0;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 60%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}
.demo-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 65%);
  pointer-events: none;
}
.demo-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 65%);
  pointer-events: none;
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.demo-left h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
  margin-top: 8px;
}
.demo-left p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 28px;
}
.demo-promise-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.demo-promise-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.demo-promise-list svg { flex-shrink: 0; }

/* Form card */
.demo-form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-2xl);
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
}
.form-optional {
  font-weight: 400;
  color: var(--slate-400);
  font-size: 12px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 13px;
  font-size: 14.5px;
  color: var(--slate-900);
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r-md);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group input.error,
.form-group select.error {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form-privacy {
  font-size: 12px;
  color: var(--slate-400);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.form-privacy a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 32px 16px;
}
.form-success svg { margin-inline: auto; margin-bottom: 18px; }
.form-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--slate-900);
  color: rgba(255,255,255,.65);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
.footer .nav-logo .logo-text { color: #fff; }
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 240px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  transition: color 0.15s;
}
.footer-col a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}
.footer-app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 7px 14px;
  transition: background 0.18s, color 0.18s;
}
.footer-app-link:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .industries-grid{ grid-template-columns: repeat(2, 1fr); }
  .comparison-inner { grid-template-columns: 1fr; gap: 40px; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 60px;
  }
  .hero-content { max-width: 620px; margin-inline: auto; }
  .hero-subtext  { margin-inline: auto; }
  .hero-badge    { margin-inline: auto; }
  .hero-actions  { justify-content: center; }
  .hero-note     { text-align: center; }
  .hero-visual   { display: none; } /* hide dashboard preview on tablet/mobile */
}

@media (max-width: 768px) {
  :root {
    --section-pad-y: 64px;
  }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { display: block; width: 100%; }
  .nav-links a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
  }
  .nav-links .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 11px;
  }

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

  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }
  .step-connector { display: none; }

  .footer-top   { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 16px; }

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

  .proof-divider { display: none; }
  .proof-grid {
    justify-content: center;
    gap: 32px 48px;
  }

  .comparison-inner { gap: 32px; }
}

@media (max-width: 540px) {
  .industries-grid { grid-template-columns: 1fr; }
  .footer-links    { grid-template-columns: 1fr 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; align-items: flex-start; }
}

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

/* ------------------------------------------------------------
   Focus / Accessibility
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; }
}
