:root {
  --bg: #05070c;
  --bg-soft: #0a0f18;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.11);

  --text: #f5f7fb;
  --text-soft: #b8c4d9;
  --text-muted: #8793a8;

  --primary: #76baff;
  --primary-2: #3ea6ff;
  --dark-blue: #07111f;

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(118, 186, 255, 0.13), transparent 32%),
    radial-gradient(circle at 15% 20%, rgba(62, 166, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #05070c 0%, #07111f 45%, #05070c 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at top, black, transparent 75%);
  opacity: 0.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.04;
  margin-bottom: 16px;
  letter-spacing: -0.045em;
}

.section__head p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.muted {
  color: var(--text-muted);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 900;
  color: #06101d;
  background: linear-gradient(135deg, #f7fbff, var(--primary));
  box-shadow: 0 14px 35px rgba(62, 166, 255, 0.24);
}

.logo strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo small {
  display: block;
  margin-top: 4px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__menu a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.nav__menu a:hover {
  color: white;
}

/* BUTTONS */
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.25s ease;
}

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

.btn--primary {
  color: #06101d;
  background: linear-gradient(135deg, #f7fbff 0%, var(--primary) 42%, var(--primary-2) 100%);
  box-shadow: 0 16px 40px rgba(62, 166, 255, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 22px 54px rgba(62, 166, 255, 0.4);
}

.btn--secondary {
  color: white;
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.095);
}

.btn--nav {
  min-height: 44px;
  padding: 0 17px;
  color: white !important;
  background: rgba(118, 186, 255, 0.12);
  border: 1px solid rgba(118, 186, 255, 0.25);
}

/* HERO */
.hero {
  padding: 94px 0 78px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 46px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(118, 186, 255, 0.08);
  border: 1px solid rgba(118, 186, 255, 0.18);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 5.7vw, 5.65rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.accent {
  color: var(--primary);
}

.hero__subtitle {
  max-width: 720px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__badges span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.hero__visual {
  position: relative;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(118, 186, 255, 0.25), transparent 32%),
    radial-gradient(circle at 20% 85%, rgba(62, 166, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
}

.visual-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.visual-card__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

.visual-card__body {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.visual-card__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(118, 186, 255, 0.1);
  border: 1px solid rgba(118, 186, 255, 0.2);
}

.visual-card h2 {
  max-width: 430px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

.visual-card p {
  max-width: 420px;
  color: var(--text-soft);
}

.visual-card__items {
  display: grid;
  gap: 12px;
  margin: 34px 0;
}

.visual-card__items span {
  padding: 16px 18px;
  border-radius: 18px;
  color: white;
  font-weight: 700;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
}

.visual-card__button {
  width: 210px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7fbff, var(--primary), var(--primary-2));
  box-shadow: 0 18px 45px rgba(62, 166, 255, 0.25);
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 20%, rgba(118, 186, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.028));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(118, 186, 255, 0.34);
}

.project-card__top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.project-card__top span,
.project-card__top small {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-soft);
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.project-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.project-card strong {
  color: var(--primary);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #06101d;
  font-weight: 900;
  background: linear-gradient(135deg, #f7fbff, var(--primary));
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.service-card p {
  color: var(--text-soft);
}

/* SPLIT CLEAN */
.split-clean {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(118, 186, 255, 0.14), transparent 36%),
    rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.split-clean h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.split-clean p {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.split-clean p + p {
  margin-top: 18px;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  padding: 26px;
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
}

.step__n {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  color: #06101d;
  font-weight: 900;
  background: linear-gradient(135deg, #f7fbff, var(--primary));
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.step p {
  color: var(--text-soft);
}

/* FAQ */
.faq {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 21px 23px;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 12px;
  color: var(--text-soft);
}

/* CONTACT */
.contact__card {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(118, 186, 255, 0.19), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  border: 1px solid rgba(118, 186, 255, 0.18);
  box-shadow: var(--shadow);
}

.contact__card h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.contact__card p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.06rem;
}

.contact__actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* FOOTER */
.footer {
  padding: 26px 0 42px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero__grid,
  .split-clean {
    grid-template-columns: 1fr;
  }

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

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

  .visual-card {
    min-height: 410px;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    padding: 14px 0;
  }

  .nav__menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    padding-top: 58px;
  }

  .section__head {
    text-align: left;
    margin-inline: 0;
  }

  .portfolio-grid,
  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .contact__card {
    text-align: left;
  }

  .contact__card p {
    margin-inline: 0;
  }

  .contact__actions {
    justify-content: flex-start;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .nav {
    gap: 12px;
  }

  .nav__menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 8px;
  }

  .nav__menu a {
    font-size: 0.82rem;
    text-align: center;
  }

  .nav__menu .btn--nav {
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 56px;
  }

  .hero__grid {
    gap: 28px;
  }

  .pill {
    font-size: 0.78rem;
    padding: 8px 11px;
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 0.98;
  }

  .hero__subtitle {
    margin-top: 18px;
    font-size: 1rem;
  }

  .btn,
  .btn--nav {
    width: 100%;
  }

  .hero__actions,
  .contact__actions {
    flex-direction: column;
  }

  .visual-card {
    min-height: auto;
  }

  .visual-card__body,
  .project-card,
  .service-card,
  .step {
    padding: 24px;
  }

  .visual-card h2 {
    font-size: 1.9rem;
  }

  .visual-card__items {
    margin: 24px 0;
  }

  .visual-card__items span {
    padding: 13px 15px;
  }

  .project-card {
    min-height: 240px;
  }

  .split-clean,
  .contact__card {
    padding: 28px 22px;
  }
}
@media (max-width: 560px) {
  .project-card {
    justify-content: flex-start;
    min-height: auto;
    padding-top: 96px;
  }

  .project-card__top {
    top: 22px;
    left: 22px;
    right: 22px;
  }

  .project-card h3 {
    font-size: 1.75rem;
    margin-bottom: 14px;
  }

  .project-card p {
    font-size: 1rem;
    line-height: 1.55;
  }
}