:root {
  --bg: #09101d;
  --bg-soft: #0f1728;
  --panel: rgba(17, 24, 39, 0.88);
  --line: rgba(171, 188, 218, 0.12);
  --text: #f5f7fb;
  --muted: #a8b1c7;
  --accent: #1f7aff;
  --accent-soft: rgba(31, 122, 255, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --container: min(1160px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 122, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(71, 94, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #08101c 0%, #0b1220 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.75);
  backdrop-filter: blur(16px);
}

.topbar__inner,
.topbar__group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__inner {
  justify-content: space-between;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 16, 29, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__badge {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #59a1ff);
  color: white;
  box-shadow: 0 16px 32px rgba(31, 122, 255, 0.32);
}

.brand__text {
  text-transform: uppercase;
  font-size: 0.98rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
  padding: 0.75rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle span + span {
  margin-top: 0.32rem;
}

.nav--mobile {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 1rem;
}

.nav--mobile.is-open {
  display: flex;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), #59a1ff);
  color: white;
  box-shadow: 0 18px 36px rgba(31, 122, 255, 0.28);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(9, 16, 29, 0.18), rgba(9, 16, 29, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(31, 122, 255, 0.2), transparent 30%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7deef;
  background: rgba(14, 22, 37, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 9vw, 6.7rem);
}

.hero__lead,
.section__intro,
.section__text,
.showcase-card__panel p,
.service-card p,
.feature-list p,
.step-card p,
.review-card p,
.contact-list,
.contact-card label,
.footer p,
.hero__stats span,
.portfolio-panel__stats span {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin-top: 3.4rem;
}

.hero__stats article,
.step-card,
.review-card,
.contact-card,
.service-card,
.portfolio-panel,
.showcase-card,
.feature-list article {
  border: 1px solid var(--line);
  background: rgba(13, 20, 35, 0.78);
  box-shadow: var(--shadow);
}

.hero__stats article {
  padding: 1.2rem 1.25rem;
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.hero__stats strong,
.portfolio-panel__stats strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 0.3rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.72), rgba(8, 14, 25, 0.96));
}

.section--contrast {
  background: linear-gradient(180deg, #0c1424 0%, #0a1120 100%);
}

.section--contact {
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 122, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #0c1424 0%, #08101c 100%);
}

.section__label {
  margin: 0 0 1rem;
  color: #7fb5ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.section__intro {
  max-width: 46rem;
  margin: 1.2rem 0 0;
}

.section__text {
  max-width: 40rem;
  margin-top: 1rem;
}

.section__heading {
  margin-bottom: 2.5rem;
}

.section__heading--center {
  text-align: center;
}

.section__heading--center h2,
.section__heading--center .section__intro {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--about {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #d9dfed;
}

.check-list li + li {
  margin-top: 0.9rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7ec0ff);
}

.showcase-card {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.showcase-card__image,
.portfolio-panel__image,
.service-card__image {
  background-size: cover;
  background-position: center;
}

.showcase-card__image {
  position: absolute;
  inset: 0;
}

.showcase-card__panel {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(9, 16, 29, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.showcase-card__panel h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.7rem;
}

.pill {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #d9e9ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-grid,
.steps-grid,
.reviews-grid {
  display: grid;
  gap: 1.35rem;
}

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

.service-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.service-card__image {
  min-height: 16rem;
}

.service-card__body {
  padding: 1.6rem;
}

.service-card h3,
.feature-list h3,
.step-card h3,
.review-card strong {
  margin: 0 0 0.65rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.5rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list article,
.step-card,
.review-card,
.contact-card {
  border-radius: 24px;
  padding: 1.5rem;
}

.portfolio-panel {
  overflow: hidden;
  border-radius: var(--radius);
}

.portfolio-panel__image {
  min-height: 24rem;
}

.portfolio-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
}

.portfolio-panel__stats article {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

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

.step-card {
  position: relative;
  padding-top: 4.1rem;
}

.step-card__number {
  position: absolute;
  top: 1.1rem;
  left: 1.4rem;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #59a1ff);
  color: white;
  font-weight: 800;
}

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

.review-card span {
  color: #8d99b5;
  font-size: 0.94rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-card label {
  display: grid;
  gap: 0.45rem;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.95rem;
}

.form-message[data-state="success"] {
  color: #7ff0b3;
}

.form-message[data-state="error"] {
  color: #ff8f8f;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(89, 161, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(31, 122, 255, 0.12);
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.72);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 0;
}

@media (max-width: 980px) {
  .header__cta,
  .nav--desktop,
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .grid--about,
  .feature-layout,
  .contact-layout,
  .services-grid,
  .steps-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats,
  .portfolio-panel__stats {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .portfolio-panel__image {
    min-height: 22rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 1.2rem, 100%);
  }

  .header__inner {
    min-height: 4.6rem;
  }

  .hero__content {
    padding: 5.2rem 0 4rem;
  }

  .hero h1 {
    max-width: none;
  }

  .button,
  .nav--mobile .button {
    width: 100%;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
  }
}
