/* ── Animations ──────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-stagger] > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger] > *:nth-child(6) { transition-delay: 0.4s; }

.demos-grid-cards [data-animate]:nth-child(2) { transition-delay: 0.04s; }
.demos-grid-cards [data-animate]:nth-child(3) { transition-delay: 0.08s; }
.demos-grid-cards [data-animate]:nth-child(4) { transition-delay: 0.12s; }
.demos-grid-cards [data-animate]:nth-child(5) { transition-delay: 0.16s; }
.demos-grid-cards [data-animate]:nth-child(6) { transition-delay: 0.20s; }
.demos-grid-cards [data-animate]:nth-child(7) { transition-delay: 0.24s; }
.demos-grid-cards [data-animate]:nth-child(8) { transition-delay: 0.28s; }
.demos-grid-cards [data-animate]:nth-child(9) { transition-delay: 0.32s; }

.steps-row [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.steps-row [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.services-grid [data-animate]:nth-child(2) { transition-delay: 0.06s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.12s; }
.services-grid [data-animate]:nth-child(4) { transition-delay: 0.18s; }
.services-grid [data-animate]:nth-child(5) { transition-delay: 0.24s; }
.services-grid [data-animate]:nth-child(6) { transition-delay: 0.3s; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.nav.scrolled {
  background: rgba(250, 250, 248, 0.98);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-block;
}

.logo-e-img {
  height: 36px;
  width: auto;
}

.footer-logo-e {
  height: 28px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links .nav-cta {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.nav-links .nav-cta:hover {
  text-decoration-thickness: 2px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary,
.btn-lg {
  padding: 16px 40px;
  background: var(--text-primary);
  color: var(--white);
  border: 1px solid var(--text-primary);
}
.btn-primary:hover,
.btn-lg:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-ghost {
  padding: 16px 40px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--text-primary);
}

.btn-white {
  padding: 16px 40px;
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--white);
}
.btn-white:hover {
  background: var(--bg);
}

/* ── Section Headers ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--space-sm);
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  padding: 200px 0 140px;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-explore {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 24px;
}
.hero-explore a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.hero-explore a:hover {
  color: var(--text-primary);
}

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.trust-items span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.trust-items span:hover {
  color: var(--text-primary);
}

/* ── Live Demos ──────────────────────────────────────────── */
.demos {
  background: var(--bg);
  padding: var(--space-2xl) 0;
}

.demos-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.demo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 28px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.demo-card:hover {
  background: var(--card-hover);
}

.demo-card-industry {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.demo-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: var(--ls-heading);
  color: var(--text-primary);
  line-height: 1.2;
}

.demo-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}

.demo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: auto;
  padding-top: 8px;
  transition: gap 0.2s;
}
.demo-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.demo-card:hover .demo-card-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-card:hover .demo-card-link svg {
  transform: translateX(2px);
}

.demos-bottom {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.demos-note {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Dashboard Section ───────────────────────────────────── */
.dashboard-section {
  background: var(--bg);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.dashboard-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.dashboard-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.dashboard-feature svg {
  flex-shrink: 0;
  color: var(--text-tertiary);
}

.dashboard-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Services ────────────────────────────────────────────── */
.services {
  background: var(--white);
  padding: var(--space-2xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card {
  background: var(--white);
  padding: 36px 28px;
  transition: background 0.2s ease;
  position: relative;
}

.card:hover {
  background: var(--card-hover);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: var(--ls-heading);
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-features span {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}
.card-features span::after {
  content: ' /';
  color: var(--border);
}
.card-features span:last-child::after {
  content: '';
}

/* ── Industries ──────────────────────────────────────────── */
.industries {
  background: var(--bg);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.industry-item {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.2s ease;
}
.industry-item:hover {
  background: var(--card-hover);
}

.industry-item h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: var(--ls-heading);
  margin-bottom: 4px;
}

.industry-item p {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Tabs fallback for existing structure */
.industry-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.industry-tab {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}
.industry-tab:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.industry-tab.active {
  background: var(--text-primary);
  color: var(--white);
  border-color: var(--text-primary);
}

.industry-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
}
.industry-panel.active {
  display: block;
}

.industry-panel-header {
  margin-bottom: 24px;
}
.industry-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: var(--ls-heading);
  margin-bottom: 4px;
}
.industry-panel-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.industry-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.2s;
}
.agent-pill:hover {
  border-color: var(--text-primary);
}

.agent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-tertiary);
}

.industry-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 0.2s;
}
.industry-demo-link:hover {
  text-decoration-thickness: 2px;
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
  background: var(--white);
  padding: var(--space-2xl) 0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 16px;
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step-marker {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: var(--ls-heading);
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ── Results / Social Proof ──────────────────────────────── */
.results {
  background: var(--bg);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 64px;
}

.metric-card {
  background: var(--white);
  padding: 48px 24px;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}

.metric-number .metric-unit {
  font-size: 28px;
  color: var(--text-tertiary);
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.testimonial {
  max-width: 600px;
  margin: 0 auto;
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta {
  background: var(--bg-dark);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.15;
  letter-spacing: var(--ls-heading);
}

.cta-inner > p,
.cta > .container > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-phone {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.cta-phone a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.cta .btn-white {
  padding: 16px 48px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--white);
}
.cta .btn-white:hover {
  background: transparent;
  color: var(--white);
}

.cta-alt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 24px;
}
.cta-alt a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-alt a:hover {
  color: var(--white);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo-e-text {
  color: var(--white);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}

.footer-sms-disclosure {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.15);
  max-width: 640px;
  line-height: 1.6;
  margin-top: 24px;
}
.footer-sms-disclosure a {
  color: rgba(255, 255, 255, 0.25);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Hamburger ───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.2s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .demos-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { font-size: 12px; }

  .hero {
    padding: 160px 0 100px;
  }
  .hero-headline {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }
  .hero-headline br { display: none; }
  .hero-sub br { display: none; }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn-lg {
    width: 100%;
    max-width: 280px;
  }

  .demos,
  .services,
  .industries,
  .how-it-works,
  .results {
    padding: 80px 0;
  }
  .cta { padding: 80px 0; }

  .demos-grid-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .metrics-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  .industry-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 4px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .industry-tab { white-space: nowrap; }
  .industry-panel { padding: 24px; }

  .cta h2 br { display: none; }

  .trust-items { gap: 20px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-sms-disclosure {
    text-align: center;
  }
}
