:root {
  --primary: #1a56db;
  --primary-dark: #12408f;
  --primary-light: #e8f0fe;
  --secondary: #14b8d4;
  --success: #16a34a;

  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --accent: #eaf3ff;
  --border: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  --footer-bg: #0f172a;
  --footer-text: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);

  --container: 1200px;
  --container-wide: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: 77px;
  color: var(--text-primary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  background: var(--surface);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
}

a {
  color: inherit;
}

a,
button {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(26, 86, 219, 0.28);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.container-wide {
  width: min(var(--container-wide), calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section--white {
  background: var(--surface);
}

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

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 77px;
}

.site-logo {
  color: var(--primary);
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 32px;
}

.site-nav a {
  color: var(--text-secondary);
  font-family: Manrope, Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 16px 32px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--header {
  border-radius: 10px;
  padding: 12px 24px;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  background: var(--primary);
}

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

.btn--primary {
  color: var(--text-white);
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(26, 86, 219, 0.15);
}

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

.btn--outline {
  color: var(--primary);
  border-color: #cfe0ff;
  background: var(--surface);
}

.btn--outline:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  color: var(--primary);
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.btn--light:hover {
  color: var(--primary-dark);
}

.btn--ghost {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Headings */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: fit-content;
  margin-bottom: 48px;
}

.section-heading--center {
  align-items: center;
  width: 100%;
  text-align: center;
}

.heading-wide p {
  max-width: 800px;
}

.section-heading h2 {
  max-width: 900px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--primary);
  font-family: Manrope, Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
}

/* Hero */
.hero {
  padding: 88px 0;
  background: linear-gradient(125deg, #eaf3ff 0%, #f4f9ff 58%, #ffffff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--primary);
  font-family: Manrope, Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary-light);
}

.hero__content h1 {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.hero__subtitle {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 0;
  list-style: none;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.hero__chips li span {
  color: var(--success);
}

.hero__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  min-height: 420px;
  padding: 32px;
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(30, 94, 255, 0.08);
}

.hero__preview-grid {
  width: min(480px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.preview-block {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.preview-block--a {
  grid-column: span 2;
  height: 86px;
  background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
}

.preview-block--b {
  height: 86px;
  background: linear-gradient(145deg, #ecfeff 0%, #cffafe 100%);
}

.preview-block--c {
  height: 86px;
  background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
}

.preview-block--d {
  grid-column: span 3;
  height: 66px;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
}

.preview-block--e {
  height: 66px;
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
}

.hero__preview p {
  color: var(--text-muted);
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

/* Generic cards and grids */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.card--interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--primary);
  font-size: 22px;
  background: var(--accent);
}

/* Steps */
.steps-grid .step-card {
  align-items: center;
  text-align: center;
  gap: 12px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  color: var(--text-white);
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  background: var(--primary);
}

.steps-grid .step-card h3 {
  white-space: normal;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Compact needs cards */
.compact-grid {
  gap: 24px;
}

.compact-card {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
}

.compact-card__icon {
  color: var(--primary);
  font-size: 22px;
}

.compact-card h3 {
  margin-bottom: 4px;
}

/* Who section */
.who-grid-top {
  margin-bottom: 24px;
}

.who-grid-bottom {
  align-items: stretch;
}

.who-grid-bottom__spacer {
  align-self: stretch;
}

/* Benefits layout */
.benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.benefits-layout__visual {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 45%, #a5f3fc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.visual-overlay {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.visual-overlay span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-overlay strong {
  color: var(--text-primary);
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.benefits-list {
  display: grid;
  gap: 16px;
}

.benefit-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.benefit-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--primary);
  font-size: 20px;
  background: var(--accent);
  flex-shrink: 0;
}

.benefit-row h3 {
  margin-bottom: 2px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.benefit-row p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* Objections */
.objections-grid {
  margin-bottom: 8px;
}

.objection-card {
  gap: 14px;
  background: var(--bg);
}

.objection-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  background: var(--primary-light);
}

/* FAQ */
.faq-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 24px;
  width: min(900px, 100%);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  padding: 24px 28px;
  border: 0;
  color: var(--text-primary);
  font-family: Manrope, Inter, sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  line-height: 1.45;
  background: transparent;
  cursor: pointer;
}

.faq-item.is-open .faq-question {
  padding-bottom: 16px;
}

.faq-chevron {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(180deg, #1e5eff 0%, #14b8d4 100%);
}

.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.final-cta h2 {
  max-width: 800px;
  color: var(--text-white);
  font-family: Manrope, Inter, sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.final-cta p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.5;
}

.final-cta__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 40px;
  padding: 0;
  list-style: none;
}

.final-cta__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 500;
}

.final-cta__chips span {
  color: #d1fae5;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 320px repeat(3, minmax(0, 1fr));
  gap: 52px;
  padding: 60px 0 48px;
}

.footer-brand h2 {
  margin-bottom: 12px;
  color: var(--text-white);
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.footer-brand p {
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h3 {
  margin-bottom: 2px;
  color: var(--text-white);
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.footer-col a,
.footer-col span {
  color: var(--footer-text);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-white);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.site-footer__bottom p,
.site-footer__bottom a {
  color: var(--footer-text);
  font-size: 13px;
}

.site-footer__bottom a {
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--text-white);
}

/* Responsive */
@media (max-width: 1260px) {
  .container,
  .container-wide {
    width: min(var(--container), calc(100% - 40px));
  }

  .section,
  .final-cta {
    padding: 68px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .hero__grid,
  .benefits-layout {
    gap: 36px;
  }

  .final-cta h2 {
    font-size: 38px;
  }
}

@media (max-width: 1080px) {
  body {
    padding-top: 74px;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .site-nav {
    display: none;
  }

  .hero__grid,
  .grid--4,
  .grid--3,
  .grid--2,
  .benefits-layout,
  .final-cta__actions,
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__grid,
  .benefits-layout,
  .site-footer__top {
    display: grid;
  }

  .compact-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list {
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .container,
  .container-wide {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 56px 0;
  }

  .hero__grid,
  .grid--4,
  .grid--3,
  .grid--2,
  .compact-grid,
  .steps-grid,
  .benefits-layout,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .who-grid-bottom__spacer {
    display: none;
  }

  .hero__actions,
  .hero__chips,
  .final-cta__actions,
  .final-cta__chips {
    width: 100%;
    justify-content: flex-start;
  }

  .hero__content,
  .final-cta__inner {
    align-items: flex-start;
    text-align: left;
  }

  .hero__preview {
    min-height: 340px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .section-heading p,
  .hero__subtitle,
  .final-cta p {
    font-size: 16px;
  }

  .card,
  .benefit-row,
  .compact-card,
  .objection-card {
    padding: 22px;
  }

  .faq-question,
  .faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .btn {
    width: 100%;
  }

  .hero__actions,
  .final-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-block--d {
    grid-column: span 2;
  }

  .final-cta h2 {
    font-size: 26px;
  }

  .hero__content h1 {
    font-size: 34px;
  }
}
