/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Utility ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: #e2e8f0; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.logo-dot { color: #0d9488; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: .9rem; font-weight: 500; color: #475569; transition: color .2s; }
.nav-links a:hover { color: #1a1a2e; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #1a1a2e; transition: .3s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 600; border-radius: 8px;
  cursor: pointer; transition: all .2s; border: none; text-align: center;
}
.btn-primary { background: #0d9488; color: #fff; }
.btn-primary:hover { background: #0f766e; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(13,148,136,.35); }
.btn-white { background: #fff; color: #1a1a2e; }
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #0d9488; border: 2px solid #0d9488; }
.btn-outline:hover { background: #0d9488; color: #fff; }
.inv-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: .4rem 1.2rem; border-radius: 20px; letter-spacing: .06em;
  text-transform: uppercase; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); color: #94a3b8; margin-bottom: 1.25rem;
}
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; padding: .85rem; }

/* ===== Hero ===== */
.hero {
  padding: 10rem 0 5rem;
  text-align: center;
  background: linear-gradient(175deg, #f8fafc 0%, #d1fae5 100%);
}
.badge {
  display: inline-block; background: #ccfbf1; color: #0f766e;
  font-size: .75rem; font-weight: 600; padding: .35rem .9rem;
  border-radius: 20px; margin-bottom: 1.5rem; text-transform: uppercase;
  letter-spacing: .04em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.15; max-width: 800px; margin: 0 auto 1.25rem;
  letter-spacing: -.03em;
}
.hero-sub { font-size: 1.15rem; color: #475569; max-width: 680px; margin: 0 auto 1rem; }
.hero-price { font-size: 1.1rem; margin-bottom: 2rem; }
.hero-cta { margin-bottom: 2.5rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Trust Bar */
.trust-bar {
  display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .82rem; color: #64748b; padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0; margin-top: 1rem;
}
.trust-bar a { color: #0d9488; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.trust-bar-dot { color: #cbd5e1; }

/* ===== Stats Row ===== */
.stats-row {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  padding: 2rem 0;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: #0d9488; }
.stat-label { font-size: .85rem; color: #64748b; }
.stats-row-alt { margin-top: 3rem; padding: 2rem; background: #f1f5f9; border-radius: 12px; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-dark { background: #0f172a; color: #f1f5f9; }
.section-dark .section-sub { color: #94a3b8; }
.section-dark .stat-num { color: #2dd4bf; }
.section-dark .stat-label { color: #94a3b8; }
.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: #0d9488;
  margin-bottom: .75rem;
}
.section-dark .section-tag { color: #2dd4bf; }
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800;
  margin-bottom: .75rem; letter-spacing: -.02em;
}
.section-sub { font-size: 1.05rem; color: #64748b; max-width: 640px; margin: 0 auto 3rem; text-align: center; }

/* ===== Problem Cards ===== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 2rem; transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-icon { font-size: 1.6rem; margin-bottom: .75rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.card p { font-size: .92rem; color: #64748b; }

/* ===== Pillars ===== */
.pillar-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.pillar {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 1.75rem 1.5rem 2rem; text-align: center;
  transition: background .2s, border-color .2s;
}
.pillar:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.pillar-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.pillar-icon-badge {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pillar-num {
  font-size: 2.2rem; font-weight: 800; color: rgba(255,255,255,.08);
  line-height: 1; letter-spacing: -.02em;
}
.pillar h3 { font-size: .95rem; font-weight: 700; margin-bottom: .6rem; }
.pillar p { font-size: .85rem; color: #94a3b8; line-height: 1.55; }

/* ===== Brain / Knowledge Base Section ===== */
.brain-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.brain-card {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.75rem; transition: box-shadow .3s, transform .3s;
}
.brain-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); transform: translateY(-2px); }
.brain-card-main {
  grid-column: 1 / -1; background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f1f5f9; border-color: transparent;
}
.brain-card-main p { color: #94a3b8; }
.brain-card-main strong { color: #2dd4bf; }
.brain-card-icon { font-size: 1.6rem; margin-bottom: .75rem; }
.brain-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.brain-card p { font-size: .92rem; color: #64748b; line-height: 1.6; }
.brain-cta {
  text-align: center; margin-top: 2rem; padding: 1.25rem;
  background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 10px;
}
.brain-cta p { font-size: .95rem; color: #334155; margin: 0; }
.brain-cta a { color: #0d9488; text-decoration: underline; text-underline-offset: 2px; }
.brain-cta a:hover { color: #0f766e; }

/* ===== Agents ===== */
.agent-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.agent-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 2rem; transition: box-shadow .3s, transform .3s;
}
.agent-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.agent-featured { border-color: #0d9488; border-width: 2px; }
.agent-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.agent-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.agent-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.agent-tag {
  display: inline-block; font-size: .7rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 4px; text-transform: uppercase;
  letter-spacing: .04em;
}
.tag-blue { background: #ccfbf1; color: #0f766e; }
.tag-orange { background: #fed7aa; color: #c2410c; }
.tag-green { background: #d1fae5; color: #15803d; }
.tag-red { background: #fecaca; color: #dc2626; }
.tag-purple { background: #e9d5ff; color: #7c3aed; }
.tag-yellow { background: #fef3c7; color: #b45309; }
.tag-teal { background: #ccfbf1; color: #0f766e; }
.agent-card p { font-size: .9rem; color: #64748b; margin-bottom: .75rem; }
.agent-card ul { margin-bottom: 1rem; }
.agent-card li {
  font-size: .85rem; color: #475569; padding: .25rem 0 .25rem 1.2rem;
  position: relative;
}
.agent-card li::before {
  content: '\2713'; position: absolute; left: 0; color: #0d9488; font-weight: 700;
}
.agent-stat { font-size: .85rem; color: #64748b; border-top: 1px solid #f1f5f9; padding-top: .75rem; }
.agent-stat-num { font-weight: 800; color: #0d9488; font-size: 1.15rem; }
.agent-learn-more { display: inline-block; margin-top: .75rem; font-size: .85rem; font-weight: 600; color: #0d9488; text-decoration: none; }
.agent-learn-more:hover { color: #0f766e; text-decoration: underline; }

/* ===== Plan Features ===== */
.plan-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem; max-width: 760px; margin: 0 auto; text-align: left;
}
.plan-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #f8fafa; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.plan-icon {
  font-size: 1.1rem; font-weight: 700; color: #0d9488;
  background: #ccfbf1; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.plan-item strong { font-size: .95rem; color: #1a1a2e; }
.plan-item span { font-size: .85rem; color: #64748b; }

/* ===== CTA Banner ===== */
.section-cta {
  background: linear-gradient(135deg, #115e59, #0d9488);
  color: #fff; padding: 4rem 0;
}
.section-cta h2 { color: #fff; }
.section-cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 2rem; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; max-width: 760px; margin: 0 auto;
}
.price-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 2.5rem 2rem; position: relative;
}
.price-featured { border-color: #0d9488; border-width: 2px; }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #0d9488; color: #fff; font-size: .72rem; font-weight: 700;
  padding: .3rem 1rem; border-radius: 12px; text-transform: uppercase;
  letter-spacing: .04em;
}
.price-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.price-amount { font-size: 2.8rem; font-weight: 800; margin-bottom: .25rem; }
.price-amount span { font-size: 1rem; font-weight: 500; color: #64748b; }
.price-term { font-size: .85rem; color: #64748b; margin-bottom: .5rem; }
.price-guarantee {
  font-size: .8rem; font-weight: 600; color: #15803d;
  margin-bottom: 1.5rem;
}
.price-card ul { margin-bottom: 2rem; }
.price-card li {
  font-size: .9rem; padding: .4rem 0 .4rem 1.5rem; position: relative; color: #475569;
}
.price-card li::before {
  content: '\2713'; position: absolute; left: 0; color: #0d9488; font-weight: 700;
}

/* ===== Timeline / How It Works ===== */
.timeline {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
  flex-wrap: nowrap; overflow-x: auto; padding: 1rem 0;
}
.timeline-step {
  flex: 0 0 220px; text-align: center; padding: 0 .75rem;
}
.timeline-icon {
  font-size: 2rem; margin-bottom: .75rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
}
.timeline-badge {
  display: inline-block; font-size: .7rem; font-weight: 600;
  background: rgba(13,148,136,.15); color: #2dd4bf;
  padding: .2rem .7rem; border-radius: 10px; margin-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.timeline-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.timeline-step p { font-size: .85rem; color: #94a3b8; line-height: 1.55; }
.timeline-connector {
  flex: 0 0 40px; height: 2px; background: rgba(255,255,255,.1);
  align-self: center; margin-top: -2rem;
}

/* ===== FAQ / Objections ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: .75rem;
  overflow: hidden; transition: border-color .2s;
}
.faq-item:hover { border-color: #cbd5e1; }
.faq-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
  cursor: pointer; font-family: inherit; text-align: left;
}
.faq-toggle span {
  font-size: 1.05rem; font-weight: 600; color: #1a1a2e;
}
.faq-chevron { color: #94a3b8; transition: transform .2s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: .95rem; color: #475569; line-height: 1.7; margin: 0; }

/* ===== Trust ===== */
.trust-content { max-width: 680px; margin: 0 auto; }
.trust-content p { font-size: 1.05rem; color: #475569; margin-bottom: 1rem; }
.trust-list li {
  font-size: .95rem; padding: .4rem 0 .4rem 1.5rem; position: relative; color: #334155;
}
.trust-list li::before {
  content: '\2713'; position: absolute; left: 0; color: #0d9488; font-weight: 700;
}
.trust-newbury {
  max-width: 680px; margin: 0 auto 2rem; padding: 1.25rem 1.5rem;
  background: #f0fdfa; border: 1px solid #99f6e4; border-left: 4px solid #0d9488;
  border-radius: 8px;
}
.trust-newbury p { font-size: .95rem; color: #334155; margin: 0; }
.trust-newbury a { color: #0d9488; text-decoration: underline; text-underline-offset: 2px; }
.industry-callout {
  max-width: 680px; margin: 2.5rem auto 0; padding: 1.5rem 2rem;
  background: #0f172a; border-radius: 12px; text-align: center;
}
.industry-callout p { color: #f1f5f9; font-size: 1.05rem; margin: 0; }
.industry-callout strong { color: #2dd4bf; }
.callout-source { font-size: .8rem; color: #64748b; font-style: italic; }

/* ===== Demo Preview Cards (Main Page) ===== */
.demo-preview-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem;
}
.demo-preview-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 1.75rem 1.25rem; text-align: center;
  text-decoration: none; transition: all .2s; display: block;
}
.demo-preview-card:hover {
  border-color: rgba(13,148,136,.4); background: rgba(255,255,255,.06);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.demo-preview-icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem;
}
.demo-preview-card h3 { font-size: .95rem; font-weight: 700; color: #f1f5f9; margin-bottom: .5rem; }
.demo-preview-card p { font-size: .82rem; color: #94a3b8; line-height: 1.55; margin-bottom: 1rem; }
.demo-preview-link { font-size: .85rem; font-weight: 600; color: #2dd4bf; }

/* ===== Footer Newbury ===== */
.footer-newbury { font-size: .75rem; margin-top: .25rem; }
.footer-newbury a { color: #94a3b8; text-decoration: underline; text-underline-offset: 2px; }
.footer-newbury a:hover { color: #f1f5f9; }

/* ===== Mobile Floating CTA ===== */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  text-align: center; padding: .9rem; font-size: .95rem;
  border-radius: 0; box-shadow: 0 -2px 12px rgba(0,0,0,.15);
}

/* ===== Final ===== */
.section-final { padding: 5rem 0; }
.section-final h2 { margin-bottom: .75rem; }
.section-final p { font-size: 1.05rem; color: #64748b; max-width: 640px; margin: 0 auto 2rem; }

/* ===== Footer ===== */
.footer {
  background: #0f172a; color: #94a3b8; padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer .logo { color: #f1f5f9; }
.footer-brand p { font-size: .8rem; margin-top: .35rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; color: #94a3b8; transition: color .2s; }
.footer-links a:hover { color: #f1f5f9; }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
  .nav-inner .btn { display: none; }
  .hero { padding: 7rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .trust-bar { font-size: .75rem; gap: .3rem; }
  .stats-row { gap: 1.5rem; }
  .stat-num { font-size: 1.4rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .brain-grid { grid-template-columns: 1fr; }
  .brain-card-main { grid-column: auto; }
  .timeline { flex-direction: column; align-items: center; }
  .timeline-connector { width: 2px; height: 24px; flex: 0 0 24px; margin: 0; }
  .timeline-step { flex: none; width: 100%; max-width: 320px; }
  .agent-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .demo-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .mobile-cta { display: block; }
  body { padding-bottom: 52px; }
}
