:root {
  --night: #08111f;
  --night-soft: #101b31;
  --ink: #111827;
  --ink-soft: #334155;
  --cyan: #12c7f3;
  --ice: #f7fbff;
  --cloud: #d8e2ef;
  --paper: #f7fbff;
  --wash: #edf5fb;
  --muted: #64748b;
  --purple: #6046d8;
  --green: #4fb477;
  --amber: #f7b955;
  --line: rgba(216, 226, 239, 0.18);
  --light-line: rgba(17, 24, 39, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --soft-shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ice);
  background: linear-gradient(180deg, #07101f 0%, #0c1730 42%, #08111f 100%);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(8, 17, 31, 0.88);
  border-color: var(--line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--night);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--cloud);
  font-size: 0.95rem;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ice);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #05111e;
  background: linear-gradient(135deg, var(--cyan), #a7f3d0);
  box-shadow: 0 16px 34px rgba(18, 199, 243, 0.24);
}

.btn-secondary {
  color: var(--ice);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  min-height: 40px;
  padding-inline: 16px;
}

main > section,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 130px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 -100vmax;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(18, 199, 243, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(96, 70, 216, 0.16), rgba(8, 17, 31, 0));
}

.hero-content h1,
.section-heading h2,
.split-copy h2,
.conversion h2,
.final-cta h2,
.story-copy h2 {
  margin: 14px 0 18px;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-content h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 6vw, 5rem);
}

.hero-content p,
.split-copy p,
.contact-copy p,
.final-cta p {
  color: var(--cloud);
  font-size: 1.08rem;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(18, 199, 243, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(18, 199, 243, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  color: var(--cloud);
}

.hero-proof span,
.hero-proof strong {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  min-width: 174px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 17, 31, 0.82);
  backdrop-filter: blur(16px);
}

.metric-card span,
.metric-card small {
  color: var(--cloud);
}

.metric-card strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

section {
  position: relative;
  padding: 92px 0;
}

.problem,
.benefits,
.platform,
.implementation,
.faq {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.benefits,
.implementation {
  background: var(--wash);
  box-shadow: 0 0 0 100vmax var(--wash);
}

.solution,
.features,
.story,
.pricing,
.testimonials,
.contact {
  background: transparent;
}

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

.section-heading.compact {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2,
.split-copy h2,
.story-copy h2,
.conversion h2,
.final-cta h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.story-media {
  height: 260px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.problem-grid,
.benefit-grid,
.feature-grid,
.pricing-grid,
.testimonial-grid,
.timeline,
.story-steps {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}

.problem-grid article,
.benefit-grid article,
.feature-card,
.price-card,
.testimonial-grid article,
.timeline article,
.story-steps article,
.faq-item,
.lead-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.problem article,
.benefits article,
.platform figure,
.implementation article,
.faq-item {
  border-color: var(--light-line);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.problem article p,
.benefits article p,
.implementation article p,
.faq-item p,
.platform figcaption {
  color: var(--ink-soft);
}

.problem-grid article,
.benefit-grid article,
.feature-card,
.price-card,
.testimonial-grid article,
.timeline article,
.story-steps article {
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.problem-grid article:hover,
.benefit-grid article:hover,
.feature-card:hover,
.price-card:hover,
.testimonial-grid article:hover,
.platform-grid figure:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 199, 243, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.problem-grid article:hover,
.benefit-grid article:hover,
.platform-grid figure:hover,
.timeline article:hover,
.faq-item:hover {
  background: #ffffff;
}

h3 {
  margin: 10px 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

article p,
li,
.testimonial-grid span {
  color: var(--cloud);
}

.problem li,
.benefits li,
.platform li,
.implementation li,
.faq li {
  color: var(--ink-soft);
}

.solution,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split-media {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--cyan);
}

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

.icon,
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--night);
  background: var(--cyan);
  font-weight: 900;
}

.benefit-grid article:nth-child(2) .icon,
.feature-card:nth-child(2) .feature-icon {
  background: var(--green);
}

.benefit-grid article:nth-child(3) .icon,
.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  color: #ffffff;
  background: var(--purple);
}

.benefit-grid article:nth-child(4) .icon,
.feature-card:nth-child(4) .feature-icon {
  background: var(--amber);
}

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

.feature-card button,
.price-card button {
  min-height: 38px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid rgba(18, 199, 243, 0.38);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(18, 199, 243, 0.08);
  cursor: pointer;
}

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

.platform-grid figure {
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.platform-grid figcaption {
  padding: 14px 16px;
  color: var(--ink-soft);
  font-weight: 800;
}

.story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: start;
}

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

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

.story-steps span,
.timeline span,
.problem-grid span {
  color: var(--purple);
  font-weight: 900;
}

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

.price-card {
  position: relative;
}

.price-card.selected,
.price-card.featured {
  border-color: rgba(18, 199, 243, 0.7);
  background: linear-gradient(180deg, rgba(18, 199, 243, 0.13), rgba(96, 70, 216, 0.15));
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--night);
  background: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin: 18px 0;
  font-size: 2.2rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.conversion,
.final-cta {
  display: grid;
  gap: 28px;
  padding: 56px;
  border: 1px solid rgba(18, 199, 243, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 199, 243, 0.13), rgba(96, 70, 216, 0.22)), var(--night-soft);
}

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

.stats strong {
  font-size: 2rem;
}

.stats span {
  display: block;
  color: var(--cloud);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.testimonial-grid p {
  font-size: 1.02rem;
}

.accordion {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-item p {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--cloud);
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.active p {
  max-height: 180px;
  padding: 0 20px 20px;
}

.contact-card {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 22px;
  color: var(--cloud);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--cloud);
  font-size: 0.92rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ice);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--cyan);
}

.lead-form option {
  color: var(--night);
}

.full {
  grid-column: 1 / -1;
}

.final-cta {
  text-align: center;
  justify-items: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0;
  color: var(--cloud);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.section-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 20px auto 20px;
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 17, 31, 0.96);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero,
  .solution,
  .contact,
  .story {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-media,
  .split-media {
    min-height: 430px;
  }

  .problem-grid,
  .benefit-grid,
  .feature-grid,
  .platform-grid,
  .pricing-grid,
  .testimonial-grid,
  .timeline,
  .story-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav,
  main > section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .split-media {
    min-height: 320px;
  }

  .problem-grid,
  .benefit-grid,
  .feature-grid,
  .platform-grid,
  .pricing-grid,
  .testimonial-grid,
  .timeline,
  .story-steps,
  .stats,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .conversion,
  .final-cta {
    padding: 32px 20px;
  }

  .footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
