/* ============================================================
   APX ATS — Marketing Site Styles
   Design: Dark Navy + Indigo/Cyan accent
   ============================================================ */

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

:root {
  --bg:          #18181b;
  --bg2:         #101012;
  --bg3:         #27272a;
  --border:      rgba(255,255,255,0.10);
  --border2:     rgba(255,255,255,0.15);
  --text:        #ececf0;
  --text2:       rgba(236,236,240,0.72);
  --text3:       rgba(236,236,240,0.40);
  --indigo:      #6366f1;
  --indigo-light:#818cf8;
  --cyan:        #14b8a6;
  --cyan-light:  #2dd4bf;
  --green:       #34d399;
  --yellow:      #fbbf24;
  --red:         #f87171;
  --grad:        linear-gradient(135deg, #6366f1, #14b8a6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--indigo); background: rgba(99,102,241,0.08); }

.btn-ghost {
  display: inline-block;
  color: var(--text2);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 8px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; display: block; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 12, 24, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-x { color: var(--indigo); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
.nav-links a {
  color: var(--text2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text2);
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--indigo-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.75;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text3);
  margin-bottom: 60px;
}

/* Hero Screenshot */
.hero-screenshot {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.1);
}

.screenshot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1A1F35;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }
.screenshot-url {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text3);
  background: rgba(255,255,255,0.05);
  padding: 3px 12px;
  border-radius: 4px;
}

.screenshot-body {
  display: flex;
  background: var(--bg2);
  min-height: 340px;
}

.screenshot-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: #0A0F1E;
  border-right: 1px solid var(--border);
  padding: 16px 0;
}
.ss-logo {
  font-size: 1.1rem;
  font-weight: 900;
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.ss-logo span { color: var(--indigo); }
.ss-nav-item {
  padding: 7px 16px;
  font-size: 0.78rem;
  color: var(--text3);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ss-nav-item.active {
  background: rgba(99,102,241,0.12);
  color: var(--indigo-light);
  border-right: 2px solid var(--indigo);
}

.screenshot-main { flex: 1; padding: 16px; }
.ss-header { margin-bottom: 12px; }
.ss-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.ss-stat-row { display: flex; gap: 10px; }
.ss-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
}
.ss-stat-num { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.ss-stat-label { font-size: 0.65rem; color: var(--text3); margin-top: 2px; }

.ss-content { display: flex; gap: 10px; }
.ss-card {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
}
.ss-card-title { font-size: 0.7rem; font-weight: 600; color: var(--text2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }

.ss-activity-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text3);
  padding: 3px 0;
}
.ss-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ss-dot.cyan { background: var(--cyan); }
.ss-dot.green { background: var(--green); }
.ss-dot.indigo { background: var(--indigo); }
.ss-dot.yellow { background: var(--yellow); }

.ss-seq-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text3);
  margin-bottom: 6px;
}
.ss-seq-row span:first-child { width: 70px; flex-shrink: 0; }
.ss-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; }
.ss-bar-fill { height: 100%; background: var(--grad); border-radius: 2px; }
.ss-pct { width: 28px; text-align: right; }

/* ============================================================
   PROOF BAR
   ============================================================ */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 24px 0;
  text-align: center;
}
.proof-label {
  font-size: 0.8rem;
  color: var(--text3);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.proof-tool {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text2);
  padding: 4px 12px;
  border: 1px solid var(--border2);
  border-radius: 6px;
}
.proof-divider {
  color: var(--text3);
  font-size: 0.9rem;
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--indigo-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: 100px 0;
  text-align: center;
}
.problem .section-sub { margin: 0 auto 48px; }

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

.problem-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: var(--border2); }
.problem-icon { font-size: 1.8rem; margin-bottom: 12px; }
.problem-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: 0.9rem; color: var(--text2); line-height: 1.65; }

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

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ftab {
  background: none;
  border: none;
  color: var(--text3);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.ftab:hover { color: var(--text2); }
.ftab.active {
  background: var(--bg3);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.feature-panel { display: none; }
.feature-panel.active { display: block; }

.feature-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.feature-list { display: flex; flex-direction: column; gap: 24px; }

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; color: var(--text2); line-height: 1.6; }

.feature-visual { position: sticky; top: 100px; }

@media (max-width: 900px) {
  .feature-panel-inner { grid-template-columns: 1fr; }
  .feature-visual { display: none; }
}

/* Pipeline mockup */
.pipeline-mockup {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  overflow: hidden;
}
.pipeline-header {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.pipeline-stages {
  display: flex;
  gap: 0;
  padding: 12px;
  gap: 8px;
}
.stage {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  padding: 8px;
}
.stage-name { font-size: 0.65rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.stage-count { font-size: 0.7rem; color: var(--text3); margin-bottom: 8px; }
.pipeline-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 0.72rem;
  color: var(--text2);
  margin-bottom: 6px;
}
.pipeline-card.active { border-color: rgba(99,102,241,0.4); color: var(--indigo-light); }
.pipeline-card.highlight { border-color: rgba(6,182,212,0.4); color: var(--cyan-light); }
.pipeline-card.offer { border-color: rgba(16,185,129,0.4); color: var(--green); }

/* Sequence mockup */
.sequence-mockup {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  overflow: hidden;
}
.seq-header {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.seq-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.seq-step-day {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--indigo-light);
  width: 36px;
  flex-shrink: 0;
}
.seq-step-info { flex: 1; }
.seq-step-type { font-size: 0.65rem; color: var(--text3); margin-bottom: 2px; }
.seq-step-subject { font-size: 0.75rem; color: var(--text); }
.stat-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}
.stat-pill.open { background: rgba(6,182,212,0.15); color: var(--cyan-light); }
.stat-pill.click { background: rgba(16,185,129,0.15); color: var(--green); }

.seq-bar-row {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
}
.seq-bar-item { flex: 1; text-align: center; }
.seq-bar-val { font-size: 1rem; font-weight: 700; color: var(--text); }
.seq-bar-label { font-size: 0.6rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* AI mockup */
.ai-mockup {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  overflow: hidden;
}
.ai-header {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.ai-input {
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}
.ai-label { font-size: 0.65rem; color: var(--text3); width: 55px; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.ai-value { font-size: 0.78rem; color: var(--text); }
.ai-generating {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.ai-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  margin-top: 4px;
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.ai-text p { font-size: 0.75rem; color: var(--text2); line-height: 1.6; margin-bottom: 6px; }
.ai-text p.ai-fade { color: var(--text3); }
.ai-actions {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
}
.ai-btn {
  flex: 1;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border2);
  background: none;
  color: var(--text2);
  cursor: pointer;
}
.ai-btn.primary {
  background: var(--grad);
  border: none;
  color: #fff;
}

/* Analytics mockup */
.analytics-mockup {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  overflow: hidden;
}
.analytics-header {
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.analytics-row {
  display: grid;
  grid-template-columns: 1fr repeat(4, 52px);
  padding: 8px 16px;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  gap: 4px;
}
.analytics-row.header-row { font-size: 0.65rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; }
.placed { color: var(--green); font-weight: 700; }
.analytics-totals {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
}
.analytics-total-item { flex: 1; text-align: center; }
.at-val { font-size: 1rem; font-weight: 700; color: var(--text); }
.at-label { font-size: 0.6rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 100px 0;
  text-align: center;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  padding: 28px 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--text3);
  padding: 0 8px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .step-arrow { display: none; }
  .steps { gap: 16px; }
}

/* ============================================================
   CHROME EXTENSION
   ============================================================ */
.extension-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.extension-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.extension-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.extension-text p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.extension-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.extension-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text2);
}
.extension-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* Extension mockup */
.ext-mockup {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  overflow: hidden;
  max-width: 320px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.ext-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(99,102,241,0.1);
  border-bottom: 1px solid var(--border);
}
.ext-logo { font-size: 1rem; font-weight: 900; }
.ext-logo span { color: var(--indigo); }
.ext-title { font-size: 0.75rem; color: var(--text2); }
.ext-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.ext-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  flex-shrink: 0;
}
.ext-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 2px; }
.ext-role { font-size: 0.7rem; color: var(--text2); margin-bottom: 2px; }
.ext-location { font-size: 0.68rem; color: var(--text3); }
.ext-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.ext-btn {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border2);
  background: none;
  color: var(--text2);
  cursor: pointer;
  text-align: center;
}
.ext-btn.primary {
  background: var(--grad);
  border: none;
  color: #fff;
}
.ext-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.7rem;
  color: var(--text3);
}
.ext-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

@media (max-width: 900px) {
  .extension-inner { grid-template-columns: 1fr; }
  .ext-mockup { max-width: 100%; }
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations { padding: 100px 0; }
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.integration-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.integration-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.int-icon { font-size: 1.6rem; margin-bottom: 10px; }
.int-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.int-desc { font-size: 0.82rem; color: var(--text2); line-height: 1.6; }

@media (max-width: 768px) {
  .integration-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .integration-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.pricing .section-sub { margin: 0 auto 48px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--indigo);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.3), 0 20px 40px rgba(99,102,241,0.1);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.pricing-tier { font-size: 0.8rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.pricing-price { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.pricing-desc { font-size: 0.82rem; color: var(--text2); margin-bottom: 20px; line-height: 1.5; }
.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text2);
}
.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-note {
  font-size: 0.8rem;
  color: var(--text3);
  margin-top: 24px;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ============================================================
   DEMO CTA
   ============================================================ */
.demo-cta { padding: 100px 0; }
.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.demo-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.demo-text p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.demo-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text2);
}
.demo-points li::before {
  content: '→';
  color: var(--indigo-light);
  font-weight: 700;
}

.demo-form {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 32px;
}
.demo-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 5px;
}
.form-group input, .form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 7px;
  color: var(--text);
  font-size: 0.875rem;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input::placeholder { color: var(--text3); }
.form-group input:focus, .form-group select:focus { border-color: var(--indigo); }
.form-group select option { background: var(--bg3); }
.form-note { font-size: 0.75rem; color: var(--text3); text-align: center; margin-top: 10px; }

.form-success {
  text-align: center;
  padding: 32px 0;
}
.success-icon {
  width: 48px; height: 48px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green);
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: 0.875rem; color: var(--text2); }

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 60px 0 40px;
}
.footer-inner {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-brand { max-width: 220px; }
.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--indigo); }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-copy { font-size: 0.75rem; color: var(--text3); margin-top: 16px !important; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text2);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: 72px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.stat-sub {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison {
  padding: 100px 0;
  text-align: center;
}
.comparison .section-sub { margin: 0 auto 48px; }
.comparison-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  min-width: 580px;
}
.comp-header-row {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  background: var(--bg3);
  border-bottom: 2px solid var(--border2);
}
.comp-feature-col { padding: 16px 20px; }
.comp-col {
  padding: 16px 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.comp-col-bad { color: var(--text3); border-left: 1px solid var(--border); }
.comp-col-good {
  background: rgba(99,102,241,0.08);
  color: var(--indigo-light);
  border-left: 1px solid rgba(99,102,241,0.2);
}
.comp-row {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.comp-row:hover { background: rgba(255,255,255,0.02); }
.comp-row:last-child { border-bottom: none; }
.comp-feature {
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
}
.comp-col {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-left: 1px solid var(--border);
}
.comp-col-good { border-left: 1px solid rgba(99,102,241,0.15); background: rgba(99,102,241,0.04); }
.comp-check { color: var(--green); font-weight: 600; }
.comp-partial { color: var(--yellow); font-weight: 500; }
.comp-no { color: var(--text3); font-weight: 500; }
.comp-footer-row {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  background: var(--bg3);
  border-top: 2px solid var(--border2);
}
.comp-footer-row .comp-feature {
  font-weight: 700;
  font-size: 0.875rem;
}
.comp-cost-bad {
  padding: 16px 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text3);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-cost-good {
  padding: 16px 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  background: rgba(99,102,241,0.08);
  color: var(--indigo-light);
  border-left: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   FOUNDERS
   ============================================================ */
.founders {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founders-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.founders-quote {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 36px;
  position: relative;
}
.quote-mark {
  font-size: 5rem;
  line-height: 0.8;
  color: var(--indigo);
  font-family: Georgia, serif;
  margin-bottom: 12px;
  opacity: 0.6;
}
blockquote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.founders-attr {
  display: flex;
  align-items: center;
  gap: 12px;
}
.founders-avatar-group {
  display: flex;
  gap: -8px;
}
.founders-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid var(--bg3);
}
.founders-avatar:last-child { margin-left: -10px; }
.founders-name { font-size: 0.9rem; font-weight: 700; }
.founders-title { font-size: 0.75rem; color: var(--text2); margin-top: 2px; }

.founders-facts {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.founders-fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.fact-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.fact-body { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }

@media (max-width: 900px) {
  .founders-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 0; }
.faq .section-tag { display: block; margin-bottom: 12px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border2); }
.faq-q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-a {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 100px 0; background: var(--bg2); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: var(--border2); }
.testimonial-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 2px; }
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text2);
  font-style: italic;
  flex: 1;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.875rem; color: var(--text); }
.testimonial-firm { font-size: 0.8rem; color: var(--text3); margin-top: 2px; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item { cursor: pointer; }
.faq-q { position: relative; padding-right: 32px; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  color: var(--text3);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--indigo); }
.faq-a { display: none; }
.faq-item.open .faq-a { display: block; }

/* ============================================================
   DEMO EXTRAS
   ============================================================ */
.demo-sub-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text3);
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero-headline { letter-spacing: -1px; }
  .screenshot-sidebar { display: none; }
  .section-sub { margin-bottom: 32px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-brand { max-width: 100%; }
}
