/* /var/www/adampros.com/assets/style.css */
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --cta: #f97316;
  --cta-dark: #ea580c;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --emerald: #10b981;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; font-weight: 600;
  font-size: 1rem; text-decoration: none; border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--cta); color: white; }
.btn-primary:hover { background: var(--cta-dark); }
.btn-secondary { background: var(--bg); color: var(--primary); border-color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 24px; padding: 12px 24px; }
.site-header nav { display: flex; gap: 18px; flex: 1; }
.site-header nav a { color: var(--text); font-weight: 500; }
.site-header .cta-phone { white-space: nowrap; }
.site-header img { height: 50px; width: auto; }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; background: var(--bg-soft); }
.hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0 0 16px; line-height: 1.15; }
.hero h1 span { color: var(--primary); }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 720px; margin: 0 auto 32px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.online-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(16,185,129,.1); color: var(--emerald);
  font-size: .9rem; font-weight: 600; margin-bottom: 16px;
}
.online-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 0 0 rgba(16,185,129,.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* Sections */
section { padding: 40px 0; }
.section-title { font-size: clamp(1.6rem, 2.4vw, 2.25rem); text-align: center; margin: 0 0 12px; }
.section-sub   { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 720px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
/* 5 cards laid out as 3-on-top, 2-centered-below (Meet Adam section) */
.cards-3-2 { grid-template-columns: repeat(6, 1fr); }
.cards-3-2 > * { grid-column: span 2; }
.cards-3-2 > :nth-child(4) { grid-column: 2 / span 2; }
.cards-3-2 > :nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 720px) {
  .cards-3-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .cards-3-2 > *,
  .cards-3-2 > :nth-child(4),
  .cards-3-2 > :nth-child(5) { grid-column: auto; }
}
.card { padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.card h3 { margin: 8px 0 8px; font-size: 1.15rem; }
.card p  { margin: 0; color: var(--muted); }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(29,78,216,.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700;
}
.card-stat .num { font-size: 2.4rem; font-weight: 800; color: var(--primary); display: block; }
.card-stat .label { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 24px; }
.step .num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: var(--primary); color: white; border-radius: 50%; font-weight: 700; margin-bottom: 12px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tier { padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); }
.tier.featured { border-color: var(--primary); box-shadow: var(--shadow); position: relative; }
.tier.featured::before {
  content: 'Most Popular'; position: absolute; top: -12px; right: 20px;
  background: var(--primary); color: white; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
}
.tier h3 { margin: 0 0 8px; }
.tier .price { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.tier .price small { color: var(--muted); font-size: .9rem; font-weight: 500; }
.tier ul { padding: 0; list-style: none; margin: 16px 0; }
.tier li { padding: 6px 0; color: var(--muted); }
.tier li::before { content: '✓ '; color: var(--emerald); font-weight: 700; }
.tier li.no::before { content: '— '; color: var(--border); }
.tier .btn { width: 100%; justify-content: center; }

/* FAQ */
details.faq { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
details.faq summary { font-weight: 600; cursor: pointer; }
details.faq[open] summary { color: var(--primary); }
details.faq p { color: var(--muted); margin: 12px 0 0; }

/* Form */
.lead-form { display: grid; gap: 12px; max-width: 480px; margin: 0 auto; }
.lead-form input, .lead-form select {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 1rem; font-family: inherit;
}
.lead-form input:focus, .lead-form select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

/* Footer */
.site-footer { background: var(--text); color: #cbd5e1; padding: 48px 0 24px; margin-top: 64px; }
.site-footer a { color: #cbd5e1; }
.site-footer .columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: white; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; color: #94a3b8; font-size: .9rem; text-align: center; }

/* Industry cards */
.industry-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .industry-tiles { grid-template-columns: repeat(2, 1fr); } }
.industry-tiles a {
  display: block; padding: 24px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg); color: var(--text); font-weight: 600; text-align: center;
}
.industry-tiles a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; transform: translateY(-2px); transition: all .15s ease; }

/* Founder note */
.founder-note { margin-top: 18px; color: var(--muted); font-size: .92rem; font-style: italic; }

/* ROI calculator */
.roi-calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow);
}
.roi-inputs { display: grid; gap: 14px; align-content: start; }
.roi-inputs label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--text); }
.roi-inputs input {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 1rem; font-family: inherit; font-weight: 600;
}
.roi-inputs input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.roi-output {
  display: grid; gap: 10px; align-content: start;
  background: var(--bg-soft); border-radius: 12px; padding: 20px;
}
.roi-line { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); }
.roi-line strong { color: var(--text); font-size: 1.15rem; font-weight: 700; }
.roi-line.big { padding-top: 10px; border-top: 1px solid var(--border); }
.roi-line.big strong { color: var(--cta); font-size: 1.6rem; }
.roi-help { color: var(--muted); font-size: .9rem; margin: 8px 0 12px; }
@media (max-width: 720px) { .roi-calc { grid-template-columns: 1fr; padding: 20px; } }

/* Pricing — best-for + guarantee */
.tier { position: relative; padding-top: 36px; }
.tier-best-for {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(29,78,216,.08); color: var(--primary);
  padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  white-space: nowrap;
}
.tier.featured { padding-top: 36px; }
.tier.featured::before { top: -12px; }
.guarantee {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px;
}
.guarantee .badge {
  padding: 8px 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text);
}

/* Onboarding steps variant */
.steps.onboarding .step { background: var(--bg-soft); border-radius: 12px; }

/* Industries hub */
.industry-group { margin-bottom: 36px; }
.industry-group h3 {
  margin: 0 0 14px; color: var(--primary); font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.industry-group .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.industry-card { display: block; color: var(--text); }
.industry-card h4 { margin: 0 0 6px; font-size: 1.1rem; color: var(--primary); }
.industry-card p { color: var(--muted); margin: 0; font-size: .92rem; }
.industry-card:hover { transform: translateY(-2px); border-color: var(--primary); text-decoration: none; transition: all .15s ease; }

/* How-It-Works visual flow */
.flow {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 24px 0;
  align-items: stretch;
}
.flow-step {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 12px; text-align: center; font-size: .88rem; font-weight: 600;
  position: relative; color: var(--text);
}
.flow-step .icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.flow-step + .flow-step::before {
  content: '→'; position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  color: var(--primary); font-weight: 700; font-size: 1.2rem;
}
@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step + .flow-step::before { content: '↓'; left: 50%; top: -16px; transform: translateX(-50%); }
}

/* Mobile sticky CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 8px; gap: 8px; box-shadow: 0 -2px 12px rgba(15,23,42,.08);
}
.mobile-cta-bar .btn { flex: 1; padding: 12px 8px; font-size: .92rem; justify-content: center; }
@media (max-width: 720px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* Mobile */
@media (max-width: 640px) {
  .site-header nav { display: none; }
  .hero { padding: 40px 0 32px; }
  section { padding: 32px 0; }
}

/* ============== ADAM Chatbot Widget ============== */
.adam-widget { position: fixed; bottom: 24px; right: 24px; z-index: 90; font-family: inherit; }
@media (max-width: 720px) { .adam-widget { bottom: 84px; right: 16px; } }

.adam-bubble {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary); color: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(29,78,216,.4);
  font-size: 1.7rem; transition: transform .15s ease;
}
.adam-bubble:hover { transform: scale(1.06); }
.adam-bubble.pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(29,78,216,.5);
  animation: bubblePulse 1.8s infinite;
}
@keyframes bubblePulse {
  0% { box-shadow: 0 0 0 0 rgba(29,78,216,.5); }
  70% { box-shadow: 0 0 0 14px rgba(29,78,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,78,216,0); }
}

.adam-nudge {
  position: absolute; right: 0; bottom: 76px; width: 280px;
  background: white; border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 14px 12px; box-shadow: var(--shadow);
}
.adam-nudge h4 { margin: 0 0 4px; font-size: .98rem; color: var(--text); }
.adam-nudge p { margin: 0 0 10px; font-size: .88rem; color: var(--muted); line-height: 1.4; }
.adam-nudge .row { display: flex; gap: 8px; }
.adam-nudge button {
  flex: 1; padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font-size: .85rem; font-weight: 600; border: 1px solid var(--border); background: white; color: var(--text);
}
.adam-nudge button.primary { background: var(--primary); color: white; border-color: var(--primary); }

.adam-panel {
  width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 100px);
  background: white; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(15,23,42,.18);
  display: flex; flex-direction: column; overflow: hidden;
}
.adam-panel header {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--primary); color: white; flex-shrink: 0;
}
.adam-panel header .avatar {
  width: 36px; height: 36px; border-radius: 50%; background: white;
  display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 1.2rem;
}
.adam-panel header .avatar img { width: 100%; height: 100%; object-fit: cover; }
.adam-panel header .who { flex: 1; }
.adam-panel header .who .name { font-weight: 700; font-size: .98rem; }
.adam-panel header .who .status { font-size: .8rem; opacity: .85; display: flex; align-items: center; gap: 6px; }
.adam-panel header .who .status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
}
.adam-panel header .close {
  background: transparent; border: none; color: white; font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px 8px;
}

.adam-msgs {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-soft);
}
.adam-msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.45; white-space: pre-wrap; }
.adam-msg.user { align-self: flex-end; background: var(--primary); color: white; border-bottom-right-radius: 4px; }
.adam-msg.bot  { align-self: flex-start; background: white; color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.adam-msg.bot.typing { color: var(--muted); }

.adam-chips {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; background: var(--bg-soft);
  max-height: 96px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(29,78,216,.4) transparent;
}
.adam-chips::-webkit-scrollbar { width: 6px; }
.adam-chips::-webkit-scrollbar-track { background: transparent; }
.adam-chips::-webkit-scrollbar-thumb { background: rgba(29,78,216,.4); border-radius: 3px; }
.adam-chips::-webkit-scrollbar-thumb:hover { background: rgba(29,78,216,.6); }
.adam-chip {
  white-space: nowrap;
  padding: 7px 12px; border: 1px solid var(--border); background: white;
  border-radius: 999px; font-size: .82rem; font-weight: 500; cursor: pointer; color: var(--text);
}
.adam-chip:hover { border-color: var(--primary); color: var(--primary); }

.adam-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); flex-shrink: 0; background: white; }
.adam-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: .94rem; font-family: inherit; }
.adam-form input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.adam-form button { padding: 0 16px; background: var(--primary); color: white; border: none; border-radius: 10px; cursor: pointer; font-weight: 600; }
.adam-form button:disabled { opacity: .5; cursor: not-allowed; }

.adam-actions {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  padding: 8px 12px; border-top: 1px solid var(--border); background: white; flex-shrink: 0;
}
.adam-actions a {
  padding: 8px 6px; border-radius: 8px; text-align: center; font-size: .78rem; font-weight: 600;
  background: var(--bg-soft); color: var(--text); border: 1px solid var(--border); text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.adam-actions a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* "Powered by ADAM" footer — standardized across all Eddie's chatbots */
.adam-poweredby {
  padding: 6px 12px 8px; background: white; flex-shrink: 0;
  text-align: center; border-top: 1px solid var(--border);
}
.adam-poweredby a { color: var(--muted); font-size: .72rem; text-decoration: none; }
.adam-poweredby a:hover { color: var(--primary); }
.adam-poweredby strong { color: var(--primary); font-weight: 700; }

/* Lead-capture mini-form inside chat */
.adam-lead {
  align-self: stretch; background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 14px; display: grid; gap: 10px;
}
.adam-lead h4 { margin: 0; font-size: 1rem; color: var(--text); }
.adam-lead p { margin: 0; color: var(--muted); font-size: .88rem; }
.adam-lead input {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: .92rem; font-family: inherit;
}
.adam-lead input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.adam-lead button {
  padding: 10px; background: var(--cta); color: white; border: none; border-radius: 8px;
  font-weight: 600; cursor: pointer; font-size: .92rem;
}
.adam-lead button:disabled { opacity: .5; cursor: not-allowed; }
.adam-lead .ok { color: var(--emerald); font-weight: 600; }
