/* Future Driven Automations — site styles */

:root {
  --navy: #0f1b2d;
  --navy-light: #16263d;
  --accent: #2f6fed;
  --accent-dark: #1e4fbf;
  --green: #1f9d55;
  --bg: #f6f8fb;
  --card-bg: #ffffff;
  --text: #1c2733;
  --muted: #5b6b7d;
  --border: #e3e8ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.brand-text .brand-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-text .brand-tag {
  font-size: 0.85rem;
  color: #b7c3d6;
}

.service-area {
  font-size: 0.85rem;
  color: #b7c3d6;
  letter-spacing: 0.04em;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 16px;
  color: var(--navy);
}

.hero p.subhead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

/* Section shells */
section {
  padding: 48px 0;
}

section h2 {
  text-align: center;
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 8px;
}

section .section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* Demo widget */
.demo-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.demo-card-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

.demo-body {
  padding: 20px;
  min-height: 160px;
}

.demo-status {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  margin-top: 36px;
}

.demo-message {
  background: #eef3fb;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  max-width: 85%;
}

.demo-message.from-business {
  background: var(--accent);
  color: #fff;
  margin-left: auto;
}

.demo-actions {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  flex: 1;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: #f1f4f8; }

/* Steps */
.steps {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  align-items: flex-start;
}

.step-number {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-title { font-weight: 600; margin-bottom: 2px; }
.step-desc { color: var(--muted); font-size: 0.92rem; }

.lead-card {
  max-width: 340px;
  margin: 28px auto 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.lead-card .lead-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 8px;
}

.lead-card .lead-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}

.lead-card .lead-row:last-child { border-bottom: none; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border: 2px solid var(--accent);
}

.popular-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-tier-name {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-setup {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.price-features li {
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.price-features li:last-child { border-bottom: none; }

.price-terms {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.price-disclaimer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 640px;
  margin: 28px auto 0;
}

/* CTA / consent */
.cta-section {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.cta-section h2 { color: #fff; }
.cta-section .section-sub { color: #b7c3d6; }

.cta-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
}

.cta-box .btn-primary {
  display: inline-block;
}

.demo-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row label {
  font-size: 0.85rem;
  color: #c9d3e2;
}

.form-row .required {
  color: #ff9f9f;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
}

.form-row textarea {
  resize: vertical;
}

.form-status {
  font-size: 0.85rem;
  min-height: 1.2em;
  margin: 0;
}

.form-status-success { color: #8fd19e; }
.form-status-error { color: #ff9f9f; }

.consent-text {
  text-align: left;
  font-size: 0.8rem;
  color: #c9d3e2;
  margin-top: 18px;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}

.consent-text a { color: #9fc1ff; }

.consent-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 0.82rem;
  color: #c9d3e2;
  margin-top: 16px;
}

.consent-checkbox-row input {
  margin-top: 3px;
}

.consent-checkbox-row a {
  color: #9fc1ff;
}

/* Footer */
footer.site-footer {
  padding: 28px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer.site-footer .footer-links {
  margin-top: 8px;
}

footer.site-footer .footer-links a {
  margin: 0 8px;
}

/* Legal pages */
.legal-page main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-page h1 {
  color: var(--navy);
  margin-bottom: 4px;
}

.legal-page .effective-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 32px;
}

.legal-page p, .legal-page li {
  color: var(--text);
}

.legal-page ul {
  padding-left: 20px;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .header-row { flex-direction: column; align-items: flex-start; }
}
