:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --card: #ffffff;
  --text: #1a1d24;
  --text-dim: #5b6270;
  --accent: #d1481e;
  --accent-2: #0b7a44;
  --border: #e2e6ec;
  --max: #0074d9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.logo span { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.94; }

.btn-primary {
  background: var(--max);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 116, 217, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-small {
  padding: 9px 16px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  background: radial-gradient(circle at 20% 0%, rgba(209, 72, 30, 0.07), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(0, 116, 217, 0.06), transparent 50%);
}

.hero-badge {
  display: inline-block;
  background: rgba(209, 72, 30, 0.1);
  color: var(--accent);
  border: 1px solid rgba(209, 72, 30, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 800;
  max-width: 780px;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 0 26px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-urgency {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  padding: 14px 18px;
  border-radius: 10px;
  max-width: 560px;
  font-size: 0.96rem;
  color: var(--text);
  margin-bottom: 30px;
}
.hero-urgency b { color: var(--accent-2); }

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
}

.hero-feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}

.hero-feature .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-feature .label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Section generic */
section { padding: 56px 0; }

.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 680px;
  margin: 0 0 32px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.section-head p {
  color: var(--text-dim);
  margin: 0;
  font-size: 1rem;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

/* Pain points / cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card .icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

/* "Already have a page" section */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card {
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--card);
}

.compare-card.no {
  background: rgba(214, 62, 62, 0.06);
  border-color: rgba(214, 62, 62, 0.35);
}

.compare-card.yes {
  background: rgba(11, 122, 68, 0.06);
  border-color: rgba(11, 122, 68, 0.35);
}

.compare-card h3 { margin-top: 0; }

.compare-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-dim);
}
.compare-card ul li { margin-bottom: 8px; }

/* Why MAX */
.why-max {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.why-max-text p { color: var(--text-dim); font-size: 1rem; }

.quote-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--max);
  border-radius: 12px;
  padding: 20px;
  font-size: 1.02rem;
  font-style: italic;
  margin-top: 18px;
}

.max-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 116, 217, 0.1);
  border: 1px solid rgba(0, 116, 217, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--max);
  margin-bottom: 16px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px 22px;
}

.step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-dim); font-size: 0.93rem; }

/* Services list */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.services-list li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 800;
}

/* Portfolio gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef1f5, #e3e7ed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px;
}

.gallery-caption {
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Example site mockup */
.example-site-frame {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 10px;
  max-width: 720px;
  margin: 0 auto;
}

.example-site-topbar {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
}
.example-site-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.example-site-mock {
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(
      45deg,
      #eef1f5,
      #eef1f5 12px,
      #e4e8ee 12px,
      #e4e8ee 24px
    );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.95rem;
  padding: 24px;
}

.example-site-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 12px;
}

/* MAX bot demo */
.bot-demo {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: center;
}

.phone {
  background: #1c1f26;
  border: 6px solid #2a2e38;
  border-radius: 32px;
  padding: 16px 12px;
  max-width: 320px;
  margin: 0 auto;
}

.phone-screen {
  background: #f4f6f9;
  border-radius: 18px;
  padding: 14px;
  min-height: 380px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--max);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.bubble {
  background: #e8ecf1;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  max-width: 90%;
}

.bubble.me {
  background: var(--max);
  color: #fff;
  margin-left: auto;
}

.bot-demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bot-demo-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.bot-demo-list .tick {
  color: var(--accent-2);
  font-weight: 800;
}

/* Pricing / trust */
.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.trust-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-2);
  margin-bottom: 6px;
}

/* Who we are */
.who-we-are {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Testimonial placeholder */
.testimonial-card {
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-card .stars { color: var(--accent); margin-bottom: 10px; font-size: 1.1rem; }

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(209, 72, 30, 0.08), rgba(0, 116, 217, 0.08));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 24px;
  margin: 0 20px;
}

.final-cta h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 14px; }
.final-cta p { color: var(--text-dim); margin: 0 0 26px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

footer .footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

footer a { text-decoration: underline; }

/* Card elevation for light-theme readability */
.card,
.hero-feature,
.step,
.gallery-item,
.trust-card,
.example-site-frame,
.hero-urgency,
.quote-block,
.services-list li,
.testimonial-card,
.phone {
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .compare-grid, .steps, .gallery { grid-template-columns: 1fr; }
  .why-max, .bot-demo { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: repeat(3, 1fr); }
  .services-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 44px 0 32px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .hero-features { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .final-cta { margin: 0 12px; padding: 40px 16px; }
  .phone { max-width: 100%; }
}
