:root {
  --primary: #0B1F3B;
  --secondary: #FFFFFF;
  --background: #F5F7FA;
  --accent: #2F80ED;
  --accent-dark: #1767ce;
  --text: #162033;
  --muted: #637083;
  --border: #DDE5EF;
  --shadow: 0 24px 60px rgba(11, 31, 59, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, Roboto, Montserrat, Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 11vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 7vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.55rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: var(--secondary);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.14);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 229, 239, 0.8);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1120px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo,
.footer-logo {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo {
  font-size: 1rem;
  max-width: 220px;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--secondary);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: 76px 1rem auto;
  display: none;
  padding: 1rem;
  list-style: none;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.nav-menu.is-open {
  display: grid;
  gap: 0.5rem;
}

.nav-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--primary);
  font-weight: 700;
  border-radius: 12px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a.active {
  color: var(--accent);
  background: rgba(47, 128, 237, 0.09);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 128, 237, 0.16), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #eef4fb 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.11);
}

.hero-grid,
.split-layout,
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: clamp(1.55rem, 5vw, 2.7rem);
}

.hero-subheadline {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border: 1px solid rgba(221, 229, 239, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 31, 59, 0.18);
}

.button-primary {
  color: var(--secondary);
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--accent-dark);
}

.button-secondary,
.button-outline {
  color: var(--primary);
  background: var(--secondary);
  border-color: var(--border);
}

.button-outline {
  width: 100%;
  margin-top: auto;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
}

.about,
.pricing {
  background: var(--secondary);
}

.info-grid,
.cards-grid {
  display: grid;
  gap: 1rem;
}

.info-grid {
  margin-top: 2rem;
}

.info-grid article,
.feature-card,
.service-card,
.timeline-step,
.pricing-card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--secondary);
  box-shadow: 0 18px 45px rgba(11, 31, 59, 0.08);
}

.info-grid article,
.feature-card,
.service-card,
.timeline-step,
.pricing-card {
  padding: 1.4rem;
}

.feature-card img {
  margin-bottom: 1.4rem;
  border-radius: 18px;
  background: var(--background);
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(47, 128, 237, 0.12);
}

.services {
  background:
    linear-gradient(rgba(11, 31, 59, 0.92), rgba(11, 31, 59, 0.92)),
    url("assets/images/service-dashboard.svg") center / cover no-repeat;
}

.services h2,
.services h3,
.services .section-heading p {
  color: var(--secondary);
}

.services .eyebrow {
  color: #8fc0ff;
}

.service-card {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.service-card h3 {
  color: var(--secondary);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  color: var(--secondary);
  font-weight: 900;
  border-radius: 16px;
  background: var(--accent);
}

.benefit {
  margin-top: 1rem;
  color: #c8dcf6;
  font-weight: 700;
}

.centered-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.timeline-step {
  position: relative;
  overflow: hidden;
}

.timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 900;
  border-radius: 50%;
  background: var(--primary);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card ul {
  margin-bottom: 1rem;
}

.pricing-card.highlighted {
  border-color: rgba(47, 128, 237, 0.55);
  transform: translateY(-0.35rem);
  box-shadow: var(--shadow);
}

.price {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.popular {
  align-self: flex-start;
  margin-bottom: 0;
  padding: 0.35rem 0.75rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 999px;
  background: var(--accent);
}

.contact {
  background: linear-gradient(135deg, #eef4fb 0%, #ffffff 100%);
}

.contact-details {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

.contact-details p {
  margin: 0;
  padding: 1rem;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: var(--secondary);
  box-shadow: 0 12px 30px rgba(11, 31, 59, 0.06);
}

.contact-details a {
  color: var(--accent);
  font-weight: 800;
}

.contact-image {
  display: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
}

.contact-form label {
  color: var(--primary);
  font-weight: 800;
}

.form-success {
  margin: 0.8rem 0 0;
  padding: 1rem;
  color: #0a5130;
  font-weight: 800;
  border: 1px solid #a4dfbf;
  border-radius: 14px;
  background: #e8f8ef;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--primary);
}

.site-footer a {
  color: var(--secondary);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-size: 1.25rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: background 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus {
  background: rgba(255, 255, 255, 0.12);
}

.copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright p {
  margin: 0;
}

@media (min-width: 640px) {
  .container,
  .navbar {
    width: min(1120px, calc(100% - 3rem));
  }

  .logo {
    max-width: none;
    font-size: 1.08rem;
  }

  .info-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 7rem 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-menu li {
    margin: 0;
  }

  .hero-grid,
  .split-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .hero {
    padding-top: 8rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .timeline-step::after {
    content: "";
    position: absolute;
    top: 2.75rem;
    left: 4.2rem;
    width: calc(100% - 4.2rem);
    height: 2px;
    background: var(--border);
  }

  .timeline-step:last-child::after {
    display: none;
  }

  .contact-image {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .services-grid .service-card:last-child {
    grid-column: span 1;
  }
}
