/* Smart Cascadia — Shared Stylesheet
   Font: IBM Plex Sans (loaded via Google Fonts in each page)
   Palette:
     Black:      #000000
     Dark:       #030712  (gray-950)
     Card:       #111827  (gray-900)
     Border:     #1f2937  (gray-800)
     Blue:       #2563eb  (blue-600)
     Blue hover: #1d4ed8  (blue-700)
     Blue light: #93c5fd  (blue-300, hover links)
     Blue icon:  rgba(59,130,246,0.2)
     White:      #ffffff
     Muted:      #9ca3af  (gray-400)
     Muted2:     #6b7280  (gray-500)
*/

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section.dark { background-color: #030712; }
section.black { background-color: #000; }

/* ── Typography ───────────────────────────────────────────── */
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

p { color: #9ca3af; line-height: 1.75; }
p.light { color: #d1d5db; }
p.white { color: #fff; }

.section-subtitle {
  text-align: center;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: #2563eb;
  color: #fff;
}
.btn-primary:hover {
  background-color: #1d4ed8;
  transform: scale(1.03);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid #4b5563;
}
.btn-outline:hover {
  border-color: #9ca3af;
  background-color: rgba(255,255,255,0.05);
}

.btn-ghost {
  background-color: transparent;
  color: #93c5fd;
  padding: 0.75rem 0;
}
.btn-ghost:hover { color: #bfdbfe; }

.btn-lg {
  font-size: 1.125rem;
  padding: 0.875rem 2.5rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo img { height: 2.5rem; width: auto; }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #93c5fd; }

.nav-cta {
  margin-left: 1rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #000;
  border-top: 1px solid #1f2937;
  padding: 0.5rem 0 1rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  border-bottom: 1px solid #111827;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: #93c5fd; }
.mobile-menu.open { display: flex; }

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

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background-color: #000;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-inner {
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.4);
  color: #93c5fd;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; max-width: 600px; color: #d1d5db; }
.hero p.sub { color: #9ca3af; font-size: 1rem; margin-top: 0.75rem; }

/* ── Cards / Feature Boxes ────────────────────────────────── */
.card {
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.icon-circle svg { width: 1.25rem; height: 1.25rem; color: #60a5fa; }

/* Highlight card (gradient border) */
.card-highlight {
  background: linear-gradient(135deg, rgba(29,78,216,0.25), rgba(6,182,212,0.15));
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 0.75rem;
  padding: 1.75rem;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.pricing-card {
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 0.75rem;
  padding: 2rem;
}

.pricing-card.featured {
  border-color: #2563eb;
  background: linear-gradient(160deg, rgba(37,99,235,0.12), rgba(6,182,212,0.08));
}

.pricing-badge {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #9ca3af;
}

.pricing-desc { font-size: 0.9rem; color: #9ca3af; margin-bottom: 1.5rem; }

.pricing-features { margin: 1.25rem 0 1.75rem; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.pricing-features li::before {
  content: '✓';
  color: #34d399;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-divider {
  border: none;
  border-top: 1px solid #1f2937;
  margin: 2rem 0;
}

/* ── FAQ / Accordion ──────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid #1f2937;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: #93c5fd; }

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #6b7280;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: #93c5fd; }

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { color: #9ca3af; }

/* ── Steps / How It Works ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

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

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 { text-align: center; }
.step p { text-align: center; }

/* ── Testimonial ──────────────────────────────────────────── */
.testimonial {
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(6,182,212,0.08));
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 0.75rem;
  padding: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial blockquote {
  font-size: 1.15rem;
  color: #e5e7eb;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.testimonial cite {
  color: #9ca3af;
  font-size: 0.9rem;
  font-style: normal;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2rem; }
.cta-banner .btn-group { justify-content: center; }

/* Demo callout */
.demo-callout {
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.35);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 640px;
  margin: 2.5rem auto 0;
  flex-wrap: wrap;
}

.demo-callout .phone-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-callout .phone-icon svg { width: 1.25rem; height: 1.25rem; color: #fff; }

.demo-callout .demo-text { flex: 1; }
.demo-callout .demo-text p { color: #d1d5db; font-size: 0.9rem; margin-bottom: 0.2rem; }
.demo-callout .demo-text a { color: #fff; font-size: 1.3rem; font-weight: 700; }

/* ── Table ────────────────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th {
  background: #111827;
  color: #fff;
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 2px solid #1f2937;
}

.compare-table th:not(:first-child) { text-align: center; }

.compare-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #1f2937;
  color: #d1d5db;
  vertical-align: middle;
}

.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }

.check { color: #34d399; font-size: 1.1rem; }
.cross { color: #6b7280; font-size: 1.1rem; }

/* ── Transcript Box ───────────────────────────────────────── */
.transcript-toggle {
  background: none;
  border: 1px solid #374151;
  color: #9ca3af;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}
.transcript-toggle:hover { color: #fff; border-color: #6b7280; }
.transcript-toggle svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.transcript-toggle.open svg { transform: rotate(180deg); }

.transcript-box {
  display: none;
  background: #0a0a0a;
  border: 1px solid #1f2937;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.8;
}
.transcript-box.open { display: block; }

.transcript-line { margin-bottom: 0.75rem; }
.transcript-line .speaker { font-weight: 700; color: #60a5fa; margin-right: 0.5rem; }
.transcript-line .line-text { color: #d1d5db; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background-color: #030712;
  padding: 3rem 0 2rem;
  border-top: 1px solid #1f2937;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand img { height: 2rem; width: auto; margin-bottom: 0.75rem; }
.footer-brand p { color: #6b7280; font-size: 0.875rem; max-width: 260px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: #6b7280; font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p { color: #4b5563; font-size: 0.8rem; }
.footer-demo-link { color: #60a5fa; font-size: 0.875rem; font-weight: 600; }
.footer-demo-link:hover { color: #93c5fd; }

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: #9ca3af; }
.text-blue { color: #60a5fa; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Page top offset for fixed nav ───────────────────────── */
.page-top { padding-top: 4rem; }
