:root {
  --navy: #102b3a;
  --blue: #8eabbc;
  --blue-strong: #5f8da5;
  --aqua: #e9f3f7;
  --mint: #cce7e4;
  --ink: #101820;
  --muted: #647782;
  --line: #dce7ec;
  --surface: #ffffff;
  --soft: #f5f9fb;
  --shadow: 0 18px 50px rgba(16, 43, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header,
.landing-header,
.crm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: clamp(176px, 18vw, 250px);
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta:hover,
.button:hover,
.mini-cta:hover {
  transform: translateY(-1px);
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: var(--aqua);
}

.button.danger {
  color: #8b1d1d;
  background: #ffe6e6;
}

.hero {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 46px;
  padding: 58px clamp(20px, 5vw, 70px) 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(191, 240, 221, 0.8), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #effcfd 58%, #dff8fb 100%);
}

.landing-body {
  background: #fff;
}

.landing-header {
  position: sticky;
}

.seo-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  min-height: 720px;
  background:
    radial-gradient(circle at 82% 20%, rgba(142, 171, 188, 0.32), transparent 30%),
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #081b27 0%, #102b3a 54%, #456f86 100%);
}

.hero.seo-hero h1 {
  color: #fff;
  max-width: 720px;
  text-wrap: balance;
}

.hero.seo-hero h1 span {
  display: block;
  color: #b7d4e2;
}

.hero.seo-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 630px;
}

.seo-hero .button.primary {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.seo-hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.seo-hero .trust-row span {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.hero-offer-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.offer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fa 100%);
}

.offer-strip strong {
  display: block;
  font-size: 26px;
}

.offer-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.mini-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  border: 1px solid rgba(95, 141, 165, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(13, 47, 63, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding: 88px clamp(20px, 5vw, 70px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section h2,
.crm-tools h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section-heading p,
.contact-copy p,
.crm-tools p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.step-grid,
.product-grid,
.benefit-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-grid article,
.product-card,
.benefit-grid article,
.testimonial-grid article,
.include-list article,
.faq-list article,
.social-form,
.crm-filter,
.lead-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(13, 47, 63, 0.06);
}

.step-grid article,
.product-card,
.benefit-grid article,
.testimonial-grid article,
.include-list article,
.faq-list article {
  padding: 28px;
}

.step-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-strong);
}

.step-grid h3,
.product-card h3,
.benefit-grid h3,
.include-list h3,
.faq-list h3 {
  margin: 20px 0 10px;
  color: var(--navy);
}

.step-grid p,
.product-card p,
.benefit-grid p,
.include-list p,
.faq-list p,
.testimonial-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.value-section {
  background: #fff;
}

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

.benefit-grid h3,
.include-list h3,
.faq-list h3 {
  margin-top: 0;
}

.include-section,
.testimonials,
.faq-section {
  background: var(--soft);
}

.include-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr) auto;
  align-items: center;
  gap: 28px;
  color: #fff;
  background: var(--navy);
}

.offer-section h2,
.offer-section p {
  color: #fff;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.price-cards article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.09);
}

.price-cards strong {
  display: block;
  color: #fff;
  font-size: 38px;
}

.price-cards span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.form-trust {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--navy);
  list-style: none;
  font-weight: 700;
}

.form-trust li {
  border-left: 4px solid var(--blue-strong);
  padding-left: 12px;
}

.testimonial-grid span {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 0;
}

.testimonial-grid strong {
  color: var(--navy);
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(119, 224, 255, 0.25), transparent 32%),
    var(--navy);
}

.final-cta h2,
.final-cta p {
  max-width: 760px;
  color: #fff;
}

.final-cta small {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  padding: 24px clamp(20px, 5vw, 70px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.products {
  background: var(--soft);
}

.product-card span {
  display: block;
  margin-top: 22px;
  color: var(--blue-strong);
  font-weight: 800;
}

.product-card.featured {
  border-color: rgba(95, 141, 165, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #ecfbfd 100%);
}

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  color: #fff;
  background: var(--navy);
}

.benefits h2,
.benefits p {
  color: #fff;
}

.benefits ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: start;
  background:
    radial-gradient(circle at 90% 10%, rgba(95, 141, 165, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3fbfc 100%);
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.lead-form,
.social-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.lead-form {
  border: 1px solid rgba(95, 141, 165, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 40, 58, 0.14);
}

.lead-form .button.primary {
  min-height: 54px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--navy), var(--blue-strong));
  box-shadow: 0 14px 30px rgba(8, 40, 58, 0.18);
  font-size: 15px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 3px rgba(95, 141, 165, 0.16);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--blue-strong);
  font-weight: 700;
}

.ai-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.ai-toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-strong);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 800;
}

.ai-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: none;
  width: min(360px, calc(100vw - 40px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ai-panel.open {
  display: block;
}

.ai-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: #fff;
  background: var(--navy);
}

.ai-header span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.ai-header button {
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.ai-messages {
  display: grid;
  max-height: 310px;
  gap: 10px;
  overflow: auto;
  padding: 16px;
  background: var(--soft);
}

.ai-messages p {
  max-width: 88%;
  margin: 0;
  border-radius: 8px;
  padding: 11px 12px;
  line-height: 1.45;
}

.ai-messages .bot {
  color: var(--navy);
  background: #fff;
}

.ai-messages .user {
  justify-self: end;
  color: #fff;
  background: var(--blue-strong);
}

.ai-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
}

.ai-input button {
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.crm-body {
  min-height: 100vh;
  background: var(--soft);
}

.crm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.private-badge {
  border: 1px solid rgba(95, 141, 165, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--aqua);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.crm-shell {
  display: grid;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 70px) 60px;
}

.crm-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.crm-overview article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.crm-overview span {
  color: var(--navy);
  font-size: 38px;
  font-weight: 800;
}

.crm-overview p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.crm-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.crm-filter {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.lead-table-wrap {
  overflow: auto;
}

.lead-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
}

.lead-table th,
.lead-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.lead-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.lead-table td {
  color: var(--ink);
  font-size: 14px;
}

.lead-table select {
  min-width: 130px;
  padding: 9px 10px;
}

.empty-state {
  display: none;
  margin: 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow: auto;
    padding-bottom: 4px;
  }

  .hero,
  .benefits,
  .contact-section,
  .crm-tools,
  .offer-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .step-grid,
  .product-grid,
  .benefit-grid,
  .testimonial-grid,
  .crm-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-cta {
    width: 100%;
  }

  .crm-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-actions,
  .crm-actions .button,
  .form-row {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
