/* ═══════════════════════════════════════════════════════════════
   Sageloop AI — Consolidated Stylesheet
   Generated from: index.html, why.html, expert.html,
   integration.html, how.html, pricing.html, contact.html,
   support.html, privacy.html, terms.html
   ═══════════════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  --teal:       #1cb894;
  --teal-dark:  #0e9d7c;
  --teal-glow:  rgba(28, 184, 148, 0.18);
  --navy:       #0c1a35;
  --dark:       #060d1e;
  --text:       #1e2a3a;
  --muted:      #64748b;
  --bg:         #ffffff;
  --light-bg:   #f2fdfb;
  --border:     #e1e8f0;
}

/* ── Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { color: var(--text); background: var(--bg); }
.sa-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.sa-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.sa-logo-link { text-decoration: none; vertical-align: text-top; }
.sa-logo { height: 64px; width: auto; }
.logo_word { vertical-align: top; font-size: 38px; font-weight: bold; color: #288b71; display: inline-block; margin-top: 15px; text-transform: uppercase; font-style: italic; }

/* ── Nav ── */
.sa-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.sa-nav a { padding: 9px 15px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: all 0.18s; }
.sa-nav a:hover, .sa-nav a.active { background: var(--light-bg); color: var(--navy); }
.sa-nav-cta { background: var(--teal) !important; color: #fff !important; padding: 9px 18px !important; margin-left: 6px; border-radius: 8px !important; font-weight: 600; }
.sa-nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); }
.sa-nav-login { border: 1.5px solid var(--border) !important; color: var(--text) !important; padding: 7px 16px !important; border-radius: 8px !important; margin-left: 4px; font-weight: 500; transition: border-color 0.2s, color 0.2s !important; }
.sa-nav-login:hover { border-color: var(--teal) !important; color: var(--teal) !important; background: transparent !important; transform: none !important; }

/* ── Nav dropdown ── */
.sa-dropdown { position: relative; }
.sa-dropdown-btn { padding: 9px 15px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 4px; font-family: inherit; transition: all 0.18s; white-space: nowrap; }
.sa-dropdown-btn:hover { background: var(--light-bg); color: var(--navy); }
.sa-dropdown::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 6px; }
.sa-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.12); min-width: 230px; z-index: 100; padding: 8px; margin-top: 4px; }
.sa-dropdown:hover .sa-dropdown-menu, .sa-dropdown-menu:hover { display: block; }
.sa-dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; border-radius: 8px; transition: all 0.15s; }
.sa-dropdown-menu a:hover { background: var(--light-bg); color: var(--navy); }
.sa-dropdown-menu a .dm-icon { font-size: 18px; width: 28px; text-align: center; }

/* ── dm-icon variants (contact.html / support.html) ── */
.dm-icon { font-size: 18px; width: 28px; text-align: center; }

/* ── Section label utility ── */
.sa-section-label { display: inline-block; background: var(--light-bg); color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; border: 1px solid rgba(28,184,148,0.25); margin-bottom: 20px; }

/* ── Link arrow utility ── */
.sa-link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 700; font-size: 15px; text-decoration: none; transition: gap 0.2s; }
.sa-link-arrow:hover { gap: 10px; }

/* ── Footer ── */
.sa-footer { padding: 36px 24px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 14px; background: var(--bg); }
.sa-footer-links { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.sa-footer a { color: var(--muted); text-decoration: none; padding: 3px 12px; border-right: 1px solid var(--border); transition: color 0.15s; }
.sa-footer-links a:last-child { border-right: none; }
.sa-footer a:hover { color: var(--teal); }

/* ── CTA section (shared pattern) ── */
.sa-cta { background: linear-gradient(140deg, var(--dark) 0%, var(--navy) 100%); padding: 100px 24px; text-align: center; position: relative; overflow: hidden; }
.sa-cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(28,184,148,0.1) 1px, transparent 1px); background-size: 38px 38px; pointer-events: none; }
.sa-cta > * { position: relative; z-index: 1; }
.sa-cta > .sa-wrap { position: relative; z-index: 1; }
.sa-cta h2 { font-size: clamp(26px, 3.5vw, 44px); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -0.02em; }
.sa-cta h2 em { font-style: normal; color: var(--teal); }
.sa-cta > p { color: #94a3b8; font-size: 18px; max-width: 580px; margin: 0 auto 44px; line-height: 1.65; }
.sa-cta > .sa-wrap > p { color: #94a3b8; font-size: 17px; max-width: 560px; margin: 0 auto 40px; line-height: 1.65; }
.sa-cta-note { font-size: 13px; color: #64748b; margin-top: 16px; }
.sa-cta-note span { margin: 0 8px; }
.sa-cta-inner { position: relative; z-index: 1; }

/* ── Button variants ── */
.sa-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.sa-btn-teal { background: var(--teal); color: #fff; }
.sa-btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28,184,148,0.35); }
.sa-btn-ghost { background: rgba(255,255,255,0.07); color: #e2e8f0; border: 1px solid rgba(255,255,255,0.18); }
.sa-btn-ghost:hover { background: rgba(255,255,255,0.13); transform: translateY(-1px); }
.sa-btn-navy { background: var(--navy); color: #fff; }
.sa-btn-navy:hover { background: #112447; transform: translateY(-2px); }
.sa-btn-outline-teal { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.sa-btn-outline-teal:hover { background: var(--teal); color: #fff; }
.sa-btn-outline { border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.sa-btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.sa-btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }

/* ── Hero btns row (secondary pages) ── */
.sa-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Page hero (dark, dot-pattern — secondary pages) ── */
.sa-page-hero { background: #0F172A; padding: 88px 24px; text-align: center; position: relative; overflow: hidden; }
.sa-page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(28,184,148,0.06) 1px, transparent 1px); background-size: 32px 32px; }
.sa-page-hero > * { position: relative; z-index: 1; }
.sa-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(28,184,148,0.12); border: 1px solid rgba(28,184,148,0.32); color: #5eead4; font-size: 13px; font-weight: 600; padding: 7px 18px; border-radius: 99px; margin-bottom: 24px; letter-spacing: 0.04em; }
.sa-page-hero h1 { font-size: clamp(30px, 4vw, 54px); font-weight: 900; color: #fff; margin-bottom: 18px; line-height: 1.1; letter-spacing: -0.025em; }
.sa-page-hero h1 em { font-style: normal; color: var(--teal); }
.sa-page-hero > p { font-size: clamp(15px, 1.5vw, 19px); color: #94a3b8; max-width: 680px; margin: 0 auto 36px; line-height: 1.65; }

/* ── Hero tag (contact.html / support.html style) ── */
.sa-hero-tag { display: inline-block; background: rgba(28,184,148,0.15); color: var(--teal); border: 1px solid rgba(28,184,148,0.3); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 20px; }


/* ════════════════════════════════════════════════════════
   index.html: Campaign Banner
   ════════════════════════════════════════════════════════ */
.sa-campaign-banner {
  background: linear-gradient(100deg, #0a1628 0%, #0e2240 40%, #0c2a1e 100%);
  border-bottom: 1px solid rgba(28,184,148,0.3);
  padding: 11px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sa-campaign-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(28,184,148,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.sa-campaign-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sa-campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(28,184,148,0.18);
  border: 1px solid rgba(28,184,148,0.4);
  color: #5eead4;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.sa-campaign-badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--teal);
  animation: badgePulse 2s ease-in-out infinite;
}
.sa-campaign-text {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 400;
  line-height: 1.4;
}
.sa-campaign-text strong {
  color: #fff;
  font-weight: 700;
}
.sa-campaign-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.sa-campaign-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(28,184,148,0.4);
}
.sa-campaign-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #475569;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s;
}
.sa-campaign-close:hover { color: #94a3b8; }
@media (max-width: 600px) {
  .sa-campaign-banner { padding: 10px 44px 10px 16px; text-align: left; }
  .sa-campaign-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sa-campaign-text { font-size: 13px; }
}


/* ════════════════════════════════════════════════════════
   index.html: Hero (split layout with animation panel)
   ════════════════════════════════════════════════════════ */
.sa-hero { background: #0F172A; display: flex; align-items: stretch; min-height: 680px; overflow: hidden; }
.sa-hero-inner { display: flex; align-items: center; width: 100%; max-width: 1400px; margin: 0 auto; }
.sa-hero-content { flex: 0 0 44%; padding: 80px 52px 80px 40px; position: relative; z-index: 2; }
.sa-hero-visual { flex: 1; min-height: 680px; position: relative; overflow: hidden; }

.sa-hero-badge-dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 6px var(--teal); animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.45;transform:scale(1.5)} }
.sa-hero h1 { font-size: clamp(28px, 3vw, 48px); line-height: 1.1; font-weight: 900; color: #fff; letter-spacing: -0.025em; margin-bottom: 20px; }
.sa-hero h1 em { font-style: normal; color: var(--teal); }
.sa-hero-sub { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.72; color: #94a3b8; margin-bottom: 36px; }
.sa-platform-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sa-platform-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #94a3b8; font-size: 12px; font-weight: 500; padding: 6px 13px; border-radius: 99px; }
.sa-chip-check { color: var(--teal); font-size: 11px; font-weight: 800; }

/* index.html hero animation panel */
#hero-anim-wrap { width: 100%; height: 100%; min-height: 680px; position: relative; font-family: 'JetBrains Mono','Courier New',monospace; }
#hero-anim-wrap svg { width: 100%; height: 100%; filter: drop-shadow(0 0 12px rgba(56,189,248,0.1)); display: block; }
#hero-console { position: absolute; bottom: 24px; right: 20px; width: 248px; height: 94px; background: rgba(30,41,59,0.78); border-left: 2px solid #F472B6; padding: 10px 12px; font-size: 10px; color: #F472B6; overflow: hidden; display: flex; flex-direction: column-reverse; font-family: 'JetBrains Mono','Courier New',monospace; backdrop-filter: blur(6px); }
.hero-log-entry { margin-bottom: 3px; opacity: 0; transform: translateX(8px); line-height: 1.45; }
.hero-node { cursor: pointer; transition: filter 0.3s; }
.hero-node:hover { filter: brightness(1.3) drop-shadow(0 0 8px rgba(56,189,248,0.8)); }
.hero-label { font-size: 10px; fill: #64748B; text-transform: uppercase; letter-spacing: 1px; pointer-events: none; font-family: 'JetBrains Mono','Courier New',monospace; }

@media (max-width: 960px) {
  .sa-hero-inner { flex-direction: column; }
  .sa-hero-content { flex: none; width: 100%; padding: 56px 24px 28px; text-align: center; }
  .sa-hero-content .sa-btn-row { justify-content: center; }
  .sa-hero-content .sa-platform-chips { justify-content: center; }
  .sa-hero-visual { width: 100%; min-height: 380px; }
  #hero-anim-wrap { min-height: 380px; }
}
@media (max-width: 560px) {
  .sa-hero-visual { min-height: 280px; }
  #hero-anim-wrap { min-height: 280px; }
  #hero-console { display: none; }
}


/* ════════════════════════════════════════════════════════
   index.html: Platform strip
   ════════════════════════════════════════════════════════ */
.sa-platform-strip { background: #f8fafc; border-bottom: 1px solid var(--border); padding: 20px 24px; text-align: center; }
.sa-platform-strip p { font-size: 12px; font-weight: 600; color: #94a3b8; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.sa-platform-strip-list { display: flex; gap: 32px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sa-platform-strip-list span { font-size: 15px; font-weight: 600; color: #475569; display: flex; align-items: center; gap: 7px; }


/* ════════════════════════════════════════════════════════
   index.html: Orchestrated AI Engine section
   ════════════════════════════════════════════════════════ */
.sa-engine { padding: 100px 24px; background: var(--bg); }
.sa-engine-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sa-engine-text h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.01em; }
.sa-engine-text > p { font-size: 17px; color: #475569; line-height: 1.75; margin-bottom: 28px; }
.sa-engine-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.sa-engine-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #374151; line-height: 1.55; }
.sa-engine-points li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; background: var(--teal); border-radius: 50%; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }

/* Engine visual diagram */
.sa-engine-diagram { display: flex; flex-direction: column; gap: 0; position: relative; }
.sa-engine-diagram::before { content: ''; position: absolute; left: 28px; top: 32px; bottom: 32px; width: 2px; background: linear-gradient(to bottom, var(--teal), rgba(28,184,148,0.2)); z-index: 0; }
.sa-engine-node { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; position: relative; z-index: 1; transition: box-shadow 0.2s, transform 0.2s; }
.sa-engine-node:not(:last-child) { margin-bottom: 16px; }
.sa-engine-node:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); transform: translateX(4px); }
.sa-engine-node-dot { flex-shrink: 0; width: 56px; height: 56px; background: var(--light-bg); border: 2px solid rgba(28,184,148,0.3); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.sa-engine-node-body h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.sa-engine-node-body p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sa-engine-hub { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); border: none; margin: -4px 0; box-shadow: 0 8px 28px rgba(28,184,148,0.3); }
.sa-engine-hub .sa-engine-node-dot { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.sa-engine-hub .sa-engine-node-body h4 { color: #fff; }
.sa-engine-hub .sa-engine-node-body p { color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
  .sa-engine-inner { grid-template-columns: 1fr; gap: 48px; }
  .sa-engine-diagram::before { left: 26px; }
}


/* ════════════════════════════════════════════════════════
   index.html: Module cards
   ════════════════════════════════════════════════════════ */
.sa-modules { padding: 100px 24px; background: var(--light-bg); }
.sa-modules-header { text-align: center; margin-bottom: 60px; }
.sa-modules-header h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.01em; }
.sa-modules-header p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; line-height: 1.65; }
.sa-module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.sa-module-card { background: #fff; border-radius: 18px; padding: 36px 32px; border: 1px solid var(--border); position: relative; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.sa-module-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); }
.sa-module-card:nth-child(2)::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.sa-module-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.sa-module-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.09); transform: translateY(-3px); }
.sa-module-num { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); background: var(--light-bg); padding: 4px 12px; border-radius: 99px; margin-bottom: 18px; }
.sa-module-card:nth-child(2) .sa-module-num { color: #6366f1; background: #eef2ff; }
.sa-module-card:nth-child(3) .sa-module-num { color: #b45309; background: #fffbeb; }
.sa-module-card h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-module-card > p { font-size: 15px; color: #4b5563; line-height: 1.72; margin-bottom: 22px; }
.sa-module-card ul { list-style: none; padding: 0; border-top: 1px solid var(--border); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.sa-module-card li { font-size: 14px; color: #4b5563; padding-left: 22px; position: relative; line-height: 1.5; }
.sa-module-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; font-size: 13px; }
.sa-module-card:nth-child(2) li::before { color: #6366f1; }
.sa-module-card:nth-child(3) li::before { color: #f59e0b; }
.sa-module-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--teal); font-weight: 700; font-size: 14px; text-decoration: none; transition: gap 0.2s; }
.sa-module-link:hover { gap: 10px; }
.sa-module-card:nth-child(2) .sa-module-link { color: #6366f1; }
.sa-module-card:nth-child(3) .sa-module-link { color: #b45309; }


/* ════════════════════════════════════════════════════════
   index.html: Video section
   ════════════════════════════════════════════════════════ */
.sa-video-section { padding: 100px 24px; background: var(--bg); }
.sa-video-header { text-align: center; margin-bottom: 52px; }
.sa-video-header h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-video-header p { color: var(--muted); font-size: 17px; max-width: 580px; margin: 0 auto; line-height: 1.65; }
.sa-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 24px 72px rgba(0,0,0,0.15); max-width: 920px; margin: 0 auto; border: 1px solid var(--border); }
.sa-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 18px; }


/* ════════════════════════════════════════════════════════
   index.html: Features section
   ════════════════════════════════════════════════════════ */
.sa-features { padding: 100px 24px; background: var(--light-bg); }
.sa-features-header { text-align: center; margin-bottom: 56px; }
.sa-features-header h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-features-header p { color: var(--muted); font-size: 17px; max-width: 580px; margin: 0 auto; line-height: 1.65; }
.sa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.sa-card { background: #fff; border-radius: 16px; padding: 32px 28px; border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s; }
.sa-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); transform: translateY(-2px); }
.sa-card-icon { font-size: 32px; margin-bottom: 16px; }
.sa-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sa-card p { font-size: 14px; color: #4b5563; line-height: 1.68; }


/* ════════════════════════════════════════════════════════
   index.html: Stats strip
   ════════════════════════════════════════════════════════ */
.sa-stats { background: var(--navy); padding: 56px 24px; }
.sa-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; text-align: center; }
.sa-stat-item { padding: 24px 16px; }
.sa-stat-num { font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--teal); display: block; letter-spacing: -0.02em; margin-bottom: 6px; }
.sa-stat-label { font-size: 14px; color: #94a3b8; line-height: 1.4; }


/* ════════════════════════════════════════════════════════
   index.html: Get Started (two-path) section
   ════════════════════════════════════════════════════════ */
.sa-getstarted { padding: 100px 24px; background: var(--bg); }
.sa-getstarted-header { text-align: center; margin-bottom: 60px; }
.sa-getstarted-header h2 { font-size: clamp(26px, 3vw, 42px); font-weight: 900; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.02em; }
.sa-getstarted-header p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; line-height: 1.65; }
.sa-getstarted-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; margin: 0 auto; }
.sa-gs-card { border-radius: 20px; padding: 44px 40px; position: relative; overflow: hidden; }
.sa-gs-card--web { background: linear-gradient(140deg, var(--dark) 0%, var(--navy) 100%); border: 1px solid rgba(28,184,148,0.25); }
.sa-gs-card--shopify { background: #f0fdf4; border: 1.5px solid #bbf7d0; }
.sa-gs-card-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; margin-bottom: 18px; }
.sa-gs-card--web .sa-gs-card-badge { background: rgba(28,184,148,0.2); color: #5eead4; }
.sa-gs-card--shopify .sa-gs-card-badge { background: #dcfce7; color: #16a34a; }
.sa-gs-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-gs-card--web h3 { color: #fff; }
.sa-gs-card--shopify h3 { color: var(--navy); }
.sa-gs-card > p { font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.sa-gs-card--web > p { color: #94a3b8; }
.sa-gs-card--shopify > p { color: #374151; }
.sa-gs-steps { list-style: none; padding: 0; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.sa-gs-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; }
.sa-gs-card--web .sa-gs-steps li { color: #cbd5e1; }
.sa-gs-card--shopify .sa-gs-steps li { color: #374151; }
.sa-gs-step-num { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.sa-gs-card--web .sa-gs-step-num { background: rgba(28,184,148,0.25); color: var(--teal); }
.sa-gs-card--shopify .sa-gs-step-num { background: #bbf7d0; color: #15803d; }
.sa-gs-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; padding: 14px 28px; border-radius: 10px; text-decoration: none; transition: all 0.2s; }
.sa-gs-card--web .sa-gs-btn { background: var(--teal); color: #fff; box-shadow: 0 6px 20px rgba(28,184,148,0.3); }
.sa-gs-card--web .sa-gs-btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(28,184,148,0.38); }
.sa-gs-card--shopify .sa-gs-btn { background: #16a34a; color: #fff; box-shadow: 0 6px 20px rgba(22,163,74,0.25); }
.sa-gs-card--shopify .sa-gs-btn:hover { background: #15803d; transform: translateY(-2px); }
.sa-gs-note { font-size: 12px; margin-top: 14px; opacity: 0.7; }
.sa-gs-card--web .sa-gs-note { color: #94a3b8; }
.sa-gs-card--shopify .sa-gs-note { color: #6b7280; }
@media (max-width: 768px) {
  .sa-getstarted-grid { grid-template-columns: 1fr; }
  .sa-gs-card { padding: 36px 28px; }
}

/* index.html CTA overrides */
.sa-cta h2 { max-width: 720px; margin-left: auto; margin-right: auto; }


/* ════════════════════════════════════════════════════════
   why.html: Diagram section
   ════════════════════════════════════════════════════════ */
.sa-diagram-section { padding: 80px 24px; background: var(--bg); }
.sa-diagram-header { text-align: center; margin-bottom: 56px; }
.sa-diagram-header h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.01em; }
.sa-diagram-header p { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto; line-height: 1.65; }
.sa-diagram-wrap { background: #0F172A; border-radius: 20px; overflow: hidden; position: relative; }
.sa-diagram-inner { padding: 32px 32px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.07); }
.sa-diagram-title { font-size: 16px; font-weight: 700; color: #f8fafc; letter-spacing: -0.01em; }
.sa-diagram-title span { font-size: 12px; font-weight: 500; color: #64748b; display: block; margin-top: 2px; }
.sa-diagram-status { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #10b981; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.sa-status-dot { width: 7px; height: 7px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; animation: sdot 2s infinite; }
@keyframes sdot { 0%,100%{opacity:1} 50%{opacity:0.3} }


/* ════════════════════════════════════════════════════════
   why.html: Module feature sections
   ════════════════════════════════════════════════════════ */
.sa-module { padding: 88px 24px; }
.sa-module.alt { background: var(--light-bg); }
.sa-module-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sa-module-inner.flip { direction: rtl; }
.sa-module-inner.flip > * { direction: ltr; }
.sa-module-text h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.2; letter-spacing: -0.01em; }
.sa-module-text > p { font-size: 16px; color: #475569; line-height: 1.75; margin-bottom: 24px; }
.sa-module-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.sa-module-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #374151; line-height: 1.55; }
.sa-module-list li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; background: var(--teal); border-radius: 50%; margin-top: 2px; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }
.sa-module-callout { background: #fff; border-radius: 20px; padding: 36px 32px; border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,0.06); text-align: center; }
.sa-module.alt .sa-module-callout { background: #fff; }
.sa-callout-icon { font-size: 52px; margin-bottom: 14px; display: block; }
.sa-callout-stat { font-size: 54px; font-weight: 900; color: var(--teal); line-height: 1; margin: 12px 0 6px; display: block; }
.sa-callout-label { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.sa-module-callout h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sa-module-callout p { font-size: 14px; color: var(--muted); line-height: 1.65; }

@media (max-width: 900px) {
  .sa-module-inner { grid-template-columns: 1fr; gap: 40px; }
  .sa-module-inner.flip { direction: ltr; }
}


/* ════════════════════════════════════════════════════════
   why.html: Comparison table
   ════════════════════════════════════════════════════════ */
.sa-compare { padding: 88px 24px; background: var(--dark); }
.sa-compare-header { text-align: center; margin-bottom: 48px; }
.sa-compare-header h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-compare-header p { color: #64748b; font-size: 17px; }
.sa-table-wrap { overflow-x: auto; }
.sa-compare-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; }
.sa-compare-table th { padding: 14px 20px; text-align: left; font-size: 13px; font-weight: 700; color: #64748b; border-bottom: 2px solid #1e293b; text-transform: uppercase; letter-spacing: 0.05em; }
.sa-compare-table th:nth-child(2), .sa-compare-table th:nth-child(3) { text-align: center; }
.sa-compare-table td { padding: 14px 20px; font-size: 14px; color: #94a3b8; border-bottom: 1px solid #1e293b; }
.sa-compare-table td:nth-child(2), .sa-compare-table td:nth-child(3) { text-align: center; }
.sa-compare-table .yes { color: var(--teal); font-weight: 700; }
.sa-compare-table .no { color: #334155; }
.sa-compare-table tr:hover td { background: #0c1928; }


/* ════════════════════════════════════════════════════════
   why.html: More features grid
   ════════════════════════════════════════════════════════ */
.sa-more { padding: 88px 24px; background: var(--light-bg); }
.sa-more-header { text-align: center; margin-bottom: 52px; }
.sa-more-header h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-more-header p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }
.sa-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sa-more-card { background: #fff; border-radius: 14px; padding: 28px 24px; border: 1px solid var(--border); }
.sa-more-card-icon { font-size: 28px; margin-bottom: 12px; }
.sa-more-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sa-more-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 768px) {
  .sa-module, .sa-compare, .sa-more, .sa-diagram-section { padding-left: 20px; padding-right: 20px; }
}


/* ════════════════════════════════════════════════════════
   expert.html: Workflow section
   ════════════════════════════════════════════════════════ */
.sa-workflow { padding: 88px 24px; background: var(--light-bg); text-align: center; }
.sa-workflow h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-workflow > .sa-wrap > p { color: var(--muted); font-size: 17px; margin-bottom: 56px; }
.sa-flow { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 0; }
.sa-flow-step { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 28px 22px; text-align: center; width: 190px; flex-shrink: 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.sa-flow-step .step-icon { font-size: 40px; margin-bottom: 12px; }
.sa-flow-step h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sa-flow-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sa-flow-arrow { font-size: 28px; color: var(--teal); padding: 0 10px; display: flex; align-items: center; flex-shrink: 0; }


/* ════════════════════════════════════════════════════════
   expert.html: Feature sections
   ════════════════════════════════════════════════════════ */
.sa-feat { padding: 88px 24px; }
.sa-feat.alt { background: var(--light-bg); }
.sa-feat-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sa-feat-inner.flip { direction: rtl; }
.sa-feat-inner.flip > * { direction: ltr; }
.sa-feat-text h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.2; letter-spacing: -0.01em; }
.sa-feat-text > p { font-size: 16px; color: #475569; line-height: 1.75; margin-bottom: 18px; }
.sa-feat-list { list-style: none; padding: 0; margin-bottom: 28px; }
.sa-feat-list li { font-size: 15px; color: #374151; padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--border); line-height: 1.5; }
.sa-feat-list li:last-child { border-bottom: none; }
.sa-feat-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.sa-feat-callout { background: #fff; border-radius: 20px; padding: 36px 32px; border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,0.06); text-align: center; }
.sa-feat.alt .sa-feat-callout { background: #fff; }
.sa-callout-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.sa-feat-callout h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sa-feat-callout p { font-size: 14px; color: var(--muted); line-height: 1.65; }
/* Note: .sa-callout-stat on expert.html is 56px vs 54px on why.html — using 56px as it's the larger value */
.sa-callout-stat { font-size: 56px; font-weight: 900; color: var(--teal); line-height: 1; margin: 12px 0 4px; display: block; }


/* ════════════════════════════════════════════════════════
   expert.html: Steps section
   ════════════════════════════════════════════════════════ */
.sa-steps-section { padding: 88px 24px; background: var(--bg); }
.sa-steps-header { text-align: center; margin-bottom: 52px; }
.sa-steps-header h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-steps-header p { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto; }
.sa-steps-grid { display: flex; flex-direction: column; gap: 0; max-width: 840px; margin: 0 auto; }
.sa-step-item { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 36px; position: relative; }
.sa-step-item:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--teal), var(--border)); }
.sa-step-num { flex-shrink: 0; width: 42px; height: 42px; background: var(--teal); color: #fff; border-radius: 50%; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.sa-step-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; padding-top: 8px; }
.sa-step-body p { font-size: 15px; color: #475569; line-height: 1.65; }


/* ════════════════════════════════════════════════════════
   expert.html: Verticals section
   ════════════════════════════════════════════════════════ */
.sa-verticals { padding: 72px 24px; background: var(--light-bg); text-align: center; }
.sa-verticals h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-verticals > .sa-wrap > p { color: var(--muted); font-size: 17px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.sa-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sa-pill { background: #fff; border: 1.5px solid rgba(28,184,148,0.3); color: var(--teal); font-size: 15px; font-weight: 600; padding: 10px 22px; border-radius: 999px; }


/* ════════════════════════════════════════════════════════
   expert.html: AI Maturity section
   ════════════════════════════════════════════════════════ */
.sa-maturity { padding: 88px 24px; background: var(--bg); }
.sa-maturity-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; max-width: 1060px; margin: 0 auto; }
.sa-maturity-text h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.01em; }
.sa-maturity-text p { font-size: 16px; color: #475569; line-height: 1.75; margin-bottom: 16px; }
.sa-maturity-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sa-maturity-stat { background: var(--light-bg); border-radius: 14px; padding: 24px 20px; text-align: center; border: 1px solid var(--border); }
.sa-maturity-stat .val { font-size: 38px; font-weight: 900; color: var(--teal); line-height: 1; display: block; }
.sa-maturity-stat .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; display: block; line-height: 1.4; }


/* ════════════════════════════════════════════════════════
   expert.html: Field types table
   ════════════════════════════════════════════════════════ */
.sa-fields { padding: 88px 24px; background: var(--light-bg); }
.sa-fields-header { text-align: center; margin-bottom: 48px; }
.sa-fields-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-fields-header p { color: var(--muted); font-size: 17px; }
.sa-field-table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.sa-field-table th { padding: 14px 20px; text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--border); text-transform: uppercase; letter-spacing: 0.05em; background: var(--light-bg); }
.sa-field-table td { padding: 14px 20px; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--border); }
.sa-field-table td:first-child { font-weight: 600; color: var(--teal); }
.sa-field-table tr:last-child td { border-bottom: none; }
.sa-field-table tr:hover td { background: var(--light-bg); }

@media (max-width: 900px) {
  .sa-feat-inner, .sa-maturity-inner { grid-template-columns: 1fr; gap: 40px; }
  .sa-feat-inner.flip { direction: ltr; }
  .sa-flow { flex-direction: column; align-items: center; }
  .sa-flow-arrow { transform: rotate(90deg); }
}
@media (max-width: 768px) {
  .sa-maturity-stats { grid-template-columns: 1fr 1fr; }
}


/* ════════════════════════════════════════════════════════
   integration.html: Intro section
   ════════════════════════════════════════════════════════ */
.sa-intro { padding: 88px 24px; }
.sa-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sa-intro-text h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.2; letter-spacing: -0.01em; }
.sa-intro-text p { font-size: 16px; color: #475569; line-height: 1.8; margin-bottom: 16px; }
.sa-pillars { display: flex; flex-direction: column; gap: 16px; }
.sa-pillar { display: flex; gap: 16px; align-items: flex-start; background: var(--light-bg); border-radius: 14px; padding: 20px 22px; border: 1px solid var(--border); }
.sa-pillar-icon { font-size: 30px; flex-shrink: 0; }
.sa-pillar h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.sa-pillar p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }


/* ════════════════════════════════════════════════════════
   integration.html: Data sources section
   ════════════════════════════════════════════════════════ */
.sa-sources { padding: 88px 24px; background: var(--dark); }
.sa-sources-header { text-align: center; margin-bottom: 52px; }
.sa-sources-header h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-sources-header p { color: #64748b; font-size: 17px; max-width: 600px; margin: 0 auto; line-height: 1.65; }
.sa-sources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sa-source-card { background: #0c1928; border: 1px solid #1e293b; border-radius: 14px; padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.2s; }
.sa-source-card:hover { border-color: var(--teal); }
.sa-source-card.live { border-color: rgba(28,184,148,0.4); }
.sa-source-icon { font-size: 32px; }
.sa-source-info h3 { font-size: 14px; font-weight: 700; color: #f8fafc; margin-bottom: 4px; }
.sa-source-info p { font-size: 12px; color: #64748b; line-height: 1.5; }
.sa-source-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 8px; letter-spacing: 0.04em; align-self: flex-start; }
.sa-source-badge.live { background: rgba(28,184,148,0.2); color: var(--teal); }
.sa-source-badge.soon { background: rgba(251,191,36,0.15); color: #fbbf24; }


/* ════════════════════════════════════════════════════════
   integration.html: Highlight (Gorgias deep dive)
   ════════════════════════════════════════════════════════ */
.sa-highlight { padding: 88px 24px; background: var(--light-bg); }
.sa-highlight-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sa-highlight-inner.flip { direction: rtl; }
.sa-highlight-inner.flip > * { direction: ltr; }
.sa-highlight-text h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.01em; }
.sa-highlight-text p { font-size: 16px; color: #475569; line-height: 1.75; margin-bottom: 16px; }
.sa-highlight-list { list-style: none; padding: 0; margin-bottom: 28px; }
.sa-highlight-list li { font-size: 15px; color: #374151; padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--border); line-height: 1.5; }
.sa-highlight-list li:last-child { border-bottom: none; }
.sa-highlight-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.sa-highlight-callout { display: flex; flex-direction: column; gap: 16px; }
.sa-stat-card { background: #fff; border-radius: 14px; padding: 28px 24px; border: 1px solid var(--border); text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.sa-stat-card .val { font-size: 42px; font-weight: 900; color: var(--teal); line-height: 1; display: block; margin-bottom: 6px; }
.sa-stat-card .lbl { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sa-badge-card { background: #fff; border-radius: 14px; padding: 22px; border: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.sa-badge-card .badge-icon { font-size: 36px; flex-shrink: 0; }
.sa-badge-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.sa-badge-card p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }


/* ════════════════════════════════════════════════════════
   integration.html: Training section
   ════════════════════════════════════════════════════════ */
.sa-training { padding: 88px 24px; background: var(--bg); }
.sa-training-header { text-align: center; margin-bottom: 52px; }
.sa-training-header h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-training-header p { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto; }
.sa-training-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.sa-training-step { background: var(--light-bg); border-radius: 16px; padding: 32px 24px; position: relative; border: 1px solid var(--border); }
.sa-training-step .step-n { position: absolute; top: -14px; left: 24px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 20px; letter-spacing: 0.05em; }
.sa-training-step .step-icon { font-size: 36px; margin-bottom: 14px; }
.sa-training-step h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sa-training-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .sa-intro-inner, .sa-highlight-inner { grid-template-columns: 1fr; gap: 40px; }
  .sa-highlight-inner.flip { direction: ltr; }
}


/* ════════════════════════════════════════════════════════
   how.html: Path picker section
   ════════════════════════════════════════════════════════ */
.sa-paths { padding: 80px 24px; background: var(--light-bg); }
.sa-paths-header { text-align: center; margin-bottom: 52px; }
.sa-paths-header h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-paths-header p { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto; }
.sa-paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.sa-path-card { border-radius: 20px; padding: 40px 36px; }
.sa-path-card--web { background: linear-gradient(140deg, var(--dark) 0%, var(--navy) 100%); border: 1px solid rgba(28,184,148,0.25); }
.sa-path-card--shopify { background: #fff; border: 1.5px solid var(--border); }
.sa-path-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; margin-bottom: 16px; }
.sa-path-card--web .sa-path-badge { background: rgba(28,184,148,0.2); color: #5eead4; }
.sa-path-card--shopify .sa-path-badge { background: var(--light-bg); color: var(--teal); border: 1px solid rgba(28,184,148,0.25); }
.sa-path-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.sa-path-card--web h3 { color: #fff; }
.sa-path-card--shopify h3 { color: var(--navy); }
.sa-path-card > p { font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
.sa-path-card--web > p { color: #94a3b8; }
.sa-path-card--shopify > p { color: var(--muted); }
.sa-path-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 10px; text-decoration: none; transition: all 0.2s; }
.sa-path-card--web .sa-path-btn { background: var(--teal); color: #fff; }
.sa-path-card--web .sa-path-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.sa-path-card--shopify .sa-path-btn { background: var(--navy); color: #fff; }
.sa-path-card--shopify .sa-path-btn:hover { background: #0a1528; transform: translateY(-2px); }


/* ════════════════════════════════════════════════════════
   how.html: Setup steps sections
   ════════════════════════════════════════════════════════ */
.sa-setup { padding: 88px 24px; background: var(--bg); }
.sa-setup.alt { background: var(--light-bg); }
.sa-setup-header { margin-bottom: 48px; }
.sa-setup-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.01em; }
.sa-setup-header p { color: var(--muted); font-size: 16px; max-width: 600px; }
.sa-steps-list { max-width: 860px; }
.sa-step { display: flex; gap: 22px; padding-bottom: 32px; position: relative; }
.sa-step:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 42px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--teal), var(--border)); }
.sa-step-num { flex-shrink: 0; width: 40px; height: 40px; background: var(--teal); color: #fff; border-radius: 50%; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.sa-step-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; padding-top: 7px; }
.sa-step-body p { font-size: 15px; color: #475569; line-height: 1.7; margin-bottom: 10px; }
.sa-step-body ul { list-style: disc; padding-left: 20px; color: #475569; }
.sa-step-body li { font-size: 14px; line-height: 1.7; margin-bottom: 5px; }
.sa-step-body code { background: var(--light-bg); color: var(--teal); padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: monospace; }
.sa-step-body a { color: var(--teal); }
.sa-install-table { width: 100%; border-collapse: collapse; margin-top: 12px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.sa-install-table th { background: var(--light-bg); padding: 11px 16px; text-align: left; font-size: 13px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--border); }
.sa-install-table td { padding: 12px 16px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); line-height: 1.5; }
.sa-install-table tr:last-child td { border-bottom: none; }

/* help box */
.sa-help { background: var(--light-bg); border-radius: 16px; padding: 32px 36px; margin-top: 40px; border: 1px solid var(--border); max-width: 860px; }
.sa-help h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sa-help p { font-size: 15px; color: #475569; line-height: 1.7; margin-bottom: 6px; }
.sa-help a { color: var(--teal); font-weight: 600; }

/* usage guide */
.sa-usage { padding: 88px 24px; background: var(--bg); max-width: 860px; margin: 0 auto; }
.sa-usage-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.sa-usage-section:last-child { border-bottom: none; }
.sa-usage h2 { font-size: 20px; font-weight: 700; color: var(--teal); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sa-usage p { font-size: 15px; color: #475569; line-height: 1.75; margin-bottom: 12px; }
.sa-usage ul { list-style: disc; padding-left: 22px; color: #475569; margin-bottom: 12px; }
.sa-usage li { font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.sa-usage strong { color: var(--navy); }

@media (max-width: 768px) {
  .sa-paths-grid { grid-template-columns: 1fr; }
  .sa-path-card { padding: 32px 24px; }
  .sa-setup, .sa-paths { padding-left: 20px; padding-right: 20px; }
}


/* ════════════════════════════════════════════════════════
   pricing.html: Plans
   ════════════════════════════════════════════════════════ */
.sa-pricing { padding: 72px 24px 56px; }
.sa-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1160px; margin: 0 auto; }
.sa-plan { border: 1.5px solid var(--border); border-radius: 18px; padding: 32px 24px; display: flex; flex-direction: column; position: relative; transition: box-shadow 0.2s; background: #fff; }
.sa-plan:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.sa-plan.popular { border-color: var(--teal); }
.sa-plan.enterprise { border-color: var(--navy); }
.sa-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.06em; text-transform: uppercase; }
.sa-plan.enterprise .sa-badge { background: var(--navy); }
.sa-plan h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.sa-plan-tag { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.sa-price { font-size: 48px; font-weight: 900; color: var(--navy); line-height: 1; margin-top: 8px; }
.sa-price sup { font-size: 22px; font-weight: 700; vertical-align: super; }
.sa-price-free { font-size: 42px; font-weight: 900; color: var(--navy); line-height: 1; margin-top: 8px; }
.sa-price-period { font-size: 13px; color: var(--muted); margin-bottom: 18px; margin-top: 4px; }
.sa-usage-stats { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.sa-usage-stat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); }
.sa-usage-stat .stat-icon { font-size: 15px; opacity: 0.7; }
.sa-plan-features { flex: 1; margin-bottom: 22px; list-style: none; padding: 0; }
.sa-plan-features li { font-size: 13px; color: var(--text); padding: 6px 0 6px 20px; position: relative; }
.sa-plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.sa-plan-features li.section-title { padding-left: 0; font-weight: 700; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.sa-plan-features li.section-title::before { display: none; }
.sa-plan-features li.sub { padding-left: 24px; color: var(--muted); font-size: 12px; }
.sa-plan-features li.sub::before { content: "–"; color: var(--muted); }
.sa-overage { background: var(--light-bg); border-radius: 8px; padding: 9px 12px; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.sa-plan-btn { display: block; text-align: center; padding: 13px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; width: 100%; }
.sa-plan-btn-outline { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
.sa-plan-btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.sa-plan-btn-teal { background: var(--teal); color: #fff; border: none; }
.sa-plan-btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }
.sa-plan-btn-dark { background: var(--navy); color: #fff; border: none; }
.sa-plan-btn-dark:hover { background: #0a1528; transform: translateY(-1px); }
.sa-pricing-note { text-align: center; margin-top: 28px; font-size: 13px; color: var(--muted); }
.sa-pricing-note a { color: var(--teal); }

/* pricing platform note */
.sa-platform-note { background: var(--light-bg); border: 1px solid rgba(28,184,148,0.25); border-radius: 14px; padding: 20px 24px; max-width: 860px; margin: 32px auto 0; display: flex; gap: 14px; align-items: flex-start; }
.sa-platform-note-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.sa-platform-note p { font-size: 14px; color: #374151; line-height: 1.65; }
.sa-platform-note a { color: var(--teal); font-weight: 600; }

/* pricing FAQ */
.sa-faq-section { background: var(--light-bg); padding: 80px 24px; }
.sa-faq-header { text-align: center; margin-bottom: 48px; }
.sa-faq-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.sa-faq-header p { color: var(--muted); font-size: 17px; }
.sa-faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 960px; margin: 0 auto; }
.sa-faq-item { background: #fff; border-radius: 14px; padding: 24px; border: 1px solid var(--border); }
.sa-faq-item h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sa-faq-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

@media (max-width: 1024px) { .sa-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .sa-plans { grid-template-columns: 1fr; }
  .sa-pricing { padding-left: 20px; padding-right: 20px; }
}


/* ════════════════════════════════════════════════════════
   contact.html: Hero (dark, dot-pattern variant)
   ════════════════════════════════════════════════════════ */
/* contact.html / support.html share this hero style */
.sa-hero {
  background: #0F172A;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(28,184,148,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.sa-hero-inner { position: relative; z-index: 1; }
.sa-hero h1 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.sa-hero h1 span { color: var(--teal); }
.sa-hero p { font-size: clamp(16px, 2vw, 19px); color: #94a3b8; max-width: 560px; margin: 0 auto; line-height: 1.7; }


/* ════════════════════════════════════════════════════════
   contact.html: Contact cards
   ════════════════════════════════════════════════════════ */
.sa-contact { padding: 80px 20px; }
.sa-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.sa-contact-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sa-contact-card:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(28,184,148,0.1); transform: translateY(-2px); }
.sa-contact-card .cc-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 20px; }
.sa-contact-card .cc-icon.teal { background: rgba(28,184,148,0.12); }
.sa-contact-card .cc-icon.blue { background: rgba(59,130,246,0.1); }
.sa-contact-card .cc-icon.purple { background: rgba(139,92,246,0.1); }
.sa-contact-card h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sa-contact-card p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.sa-contact-card a.cc-link { display: inline-block; color: var(--teal); font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 22px; border: 1.5px solid var(--teal); border-radius: 8px; transition: background 0.2s, color 0.2s; }
.sa-contact-card a.cc-link:hover { background: var(--teal); color: #fff; }
.sa-contact-card a.cc-email { color: var(--teal); font-weight: 600; font-size: 16px; text-decoration: none; word-break: break-all; }
.sa-contact-card a.cc-email:hover { text-decoration: underline; }


/* ════════════════════════════════════════════════════════
   contact.html: Response time strip
   ════════════════════════════════════════════════════════ */
.sa-response-strip { background: var(--light-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 20px; }
.sa-response-strip .inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; max-width: 800px; margin: 0 auto; }
.sa-rs-item { display: flex; align-items: center; gap: 10px; }
.sa-rs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.sa-rs-item span { font-size: 15px; color: var(--text); font-weight: 500; }
.sa-rs-item em { font-style: normal; color: var(--muted); }


/* ════════════════════════════════════════════════════════
   contact.html: FAQ list
   ════════════════════════════════════════════════════════ */
.sa-faq { padding: 80px 20px; background: #fff; }
.sa-faq h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; color: var(--text); text-align: center; margin-bottom: 48px; }
.sa-faq-list { max-width: 780px; margin: 0 auto; }
.sa-faq-item { border-bottom: 1px solid var(--border); padding: 26px 0; }
.sa-faq-item:first-child { border-top: 1px solid var(--border); }
.sa-faq-item h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sa-faq-item p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.sa-faq-item a { color: var(--teal); text-decoration: none; font-weight: 600; }
.sa-faq-item a:hover { text-decoration: underline; }

/* contact.html CTA variants */
.sa-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 768px) {
  .sa-contact-card { padding: 28px 20px; }
  .sa-response-strip .inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* ════════════════════════════════════════════════════════
   support.html: Quick links
   ════════════════════════════════════════════════════════ */
.sa-quicklinks { padding: 72px 20px; background: var(--light-bg); }
.sa-quicklinks h2 { font-size: clamp(20px, 2.8vw, 30px); font-weight: 800; color: var(--text); text-align: center; margin-bottom: 40px; }
.sa-ql-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
.sa-ql-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 28px 24px; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; display: block; }
.sa-ql-card:hover { border-color: var(--teal); box-shadow: 0 6px 20px rgba(28,184,148,0.1); transform: translateY(-2px); }
.sa-ql-card .ql-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.sa-ql-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.sa-ql-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* support.html FAQ section (slight variant from contact.html) */
.sa-faq-section { padding: 80px 20px; }
.sa-faq-section h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; color: var(--text); text-align: center; margin-bottom: 48px; }

/* support.html CTA email link */
.sa-cta a.email-link { color: var(--teal); font-weight: 700; font-size: 18px; text-decoration: none; }
.sa-cta a.email-link:hover { text-decoration: underline; }


/* ════════════════════════════════════════════════════════
   privacy.html / terms.html: Legal content layout
   ════════════════════════════════════════════════════════ */
.sa-content { padding: 60px 0; max-width: 780px; margin: 0 auto; }
.sa-content h1 { font-size: 36px; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.sa-content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; color: var(--text); }
.sa-content h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.sa-content p { font-size: 16px; line-height: 1.75; margin: 0 0 14px; color: #374151; }
.sa-content ul { margin: 0 0 16px 20px; }
.sa-content li { font-size: 16px; line-height: 1.75; margin-bottom: 8px; color: #374151; }
.sa-content a { color: var(--teal); text-decoration: underline; }
.sa-updated { font-size: 14px; color: var(--muted); margin-bottom: 36px; display: block; }

/* privacy/terms footer slight variant */
.sa-footer { padding: 32px 20px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 14px; }
.sa-footer-links a:last-child { border-right: none; }
.sa-footer a:hover { color: var(--teal); text-decoration: underline; }

@media (max-width: 768px) {
  .sa-content h1 { font-size: 28px; }
  .sa-nav a { flex: 1 1 auto; text-align: center; padding: 8px 10px; font-size: 14px; }
}


/* ════════════════════════════════════════════════════════
   Shared responsive rules
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .sa-header { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .sa-nav { width: 100%; }
  .sa-nav a, .sa-dropdown-btn { font-size: 13px; padding: 8px 10px; }
  .sa-dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 12px; margin-top: 0; }
  .sa-dropdown-btn { width: 100%; justify-content: center; }
  .sa-page-hero { padding: 60px 20px; }
  .sa-engine, .sa-modules, .sa-video-section, .sa-features { padding-left: 20px; padding-right: 20px; }
}

/* ── Ask AI widget trigger ── */
.sageloop-trigger {
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  line-height: 44px;
  font-family: cursive;
  margin-left: 10px;
}
