:root {
  --ink: #071331;
  --muted: #5d6a85;
  --blue: #1f66ff;
  --blue-2: #72adff;
  --line: rgba(35, 100, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.74);
  --shadow: 0 26px 80px rgba(42, 95, 180, 0.16);
  --page-gutter: clamp(40px, 12vw, 260px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7fbff;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-shell::before,
.site-shell::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.site-shell::before {
  inset: 0;
  background: url("assets/background-mockup.png") top center / max(1024px, 100%) auto repeat-y;
  opacity: 0.98;
}

.site-shell::after {
  inset: 0;
  background:
    radial-gradient(circle at 77% 3%, rgba(105, 165, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 22%, rgba(255, 255, 255, 0.1) 78%, transparent);
  opacity: 0.58;
}

.ambient {
  position: absolute;
  z-index: 0;
  display: none;
  pointer-events: none;
}

.ambient-one {
  top: 70px;
  left: 8%;
  width: 520px;
  height: 820px;
  border: 54px solid rgba(31, 102, 255, 0.08);
  border-radius: 150px;
  transform: rotate(33deg);
}

.ambient-two {
  top: 860px;
  right: -16%;
  width: 76vw;
  height: 300px;
  border: 3px solid rgba(31, 102, 255, 0.76);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-13deg);
}

.topbar,
main {
  position: relative;
  z-index: 1;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - var(--page-gutter)));
  min-height: 88px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--blue);
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(218px, 19vw, 270px);
  height: auto;
}

.main-nav {
  display: flex;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, #1d5eff, #3a7dff);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(31, 102, 255, 0.28);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 999px;
}

.section-pad {
  width: min(1180px, calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 40px;
  align-items: center;
  min-height: 560px;
  padding: 48px 0 44px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  width: 12px;
  height: 12px;
  background: var(--blue);
  border: 3px solid rgba(31, 102, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(31, 102, 255, 0.08);
}

.hero h1,
.section-heading h2,
.projects-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 610px;
  font-size: clamp(42px, 4.35vw, 64px);
  line-height: 0.98;
}

.hero h1 strong,
.section-heading strong,
.projects-heading strong,
.final-cta strong {
  color: var(--blue);
}

.hero-text {
  max-width: 510px;
  margin: 26px 0 30px;
  color: #354462;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions,
.hero-features,
.metrics,
.slider-controls {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 22px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #1d5eff, #2b74ff);
  box-shadow: 0 18px 38px rgba(31, 102, 255, 0.32);
}

.button-soft,
.button-white {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(42, 95, 180, 0.12);
}

.button-outline {
  min-height: 48px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(31, 102, 255, 0.72);
}

.hero-features {
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.hero-features article {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 160px;
}

.mini-icon,
.service-icon,
.metric-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 102, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(42, 95, 180, 0.12);
}

.mini-icon {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.hero-features h3 {
  margin: 0 0 6px;
  font-size: 12px;
}

.hero-features p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  perspective: 1100px;
}

.orbit {
  position: absolute;
  border: 5px solid var(--blue);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 46px;
  right: -30px;
  width: 600px;
  height: 360px;
  transform: rotate(8deg);
}

.orbit-two {
  top: 176px;
  right: 72px;
  width: 460px;
  height: 220px;
  border-width: 2px;
  opacity: 0.22;
  transform: rotate(-10deg);
}

.browser-card {
  position: absolute;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(96, 145, 255, 0.13);
  border-radius: 4px;
  box-shadow: 0 34px 80px rgba(31, 59, 120, 0.18);
  transform-style: preserve-3d;
}

.browser-top {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 22px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(31, 102, 255, 0.08);
}

.browser-top i {
  width: 5px;
  height: 5px;
  background: rgba(31, 102, 255, 0.34);
  border-radius: 50%;
}

.card-large {
  top: 16px;
  left: 20px;
  width: 430px;
  height: 245px;
  transform: rotateY(-18deg) rotateZ(-5deg);
}

.card-dark {
  top: 260px;
  left: 52px;
  width: 330px;
  height: 178px;
  transform: rotateY(-15deg) rotateZ(3deg);
}

.card-side {
  top: 100px;
  right: 8px;
  width: 260px;
  height: 224px;
  transform: rotateY(-20deg) rotateZ(-4deg);
}

.card-fade {
  right: 34px;
  bottom: 26px;
  width: 260px;
  height: 124px;
  opacity: 0.44;
  transform: rotateY(-18deg) rotateZ(-5deg);
}

.browser-body {
  position: relative;
  height: calc(100% - 22px);
  padding: 34px;
}

.light-page {
  background:
    linear-gradient(120deg, rgba(31, 102, 255, 0.08), transparent 40%),
    #f9fcff;
}

.light-page p,
.project-logo {
  margin: 0 0 8px;
  color: #607293;
  font-size: 10px;
  font-weight: 800;
}

.light-page h2,
.side-page h2,
.dark-page h2,
.project-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 25px;
  line-height: 1.05;
}

.fake-cta {
  width: 80px;
  height: 22px;
  margin-top: 24px;
  background: var(--blue);
  border-radius: 5px;
}

.phone-preview {
  position: absolute;
  top: 34px;
  right: 48px;
  width: 86px;
  height: 160px;
  padding: 14px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 20px 35px rgba(31, 102, 255, 0.2);
}

.phone-preview span {
  display: block;
  height: 28px;
  margin-bottom: 11px;
  background: rgba(31, 102, 255, 0.12);
  border-radius: 6px;
}

.dark-page,
.project-tech,
.project-fit {
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(37, 112, 255, 0.7), transparent 30%),
    linear-gradient(135deg, #081225, #0b1730 58%, #071028);
}

.dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.dark-grid span {
  height: 54px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.side-page {
  background:
    linear-gradient(110deg, rgba(31, 102, 255, 0.08), transparent 48%),
    #fbfdff;
}

.side-page div {
  width: 122px;
  height: 76px;
  margin-top: 26px;
  background: linear-gradient(135deg, #0d1a36, #1d66ff);
  border-radius: 8px;
}

.services {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: center;
  padding: 70px 0;
}

.section-heading h2,
.projects-heading h2 {
  max-width: 380px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
}

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

.service-card {
  background: var(--glass);
  border: 1px solid rgba(31, 102, 255, 0.1);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.service-card {
  min-height: 158px;
  padding: 28px 24px;
}

.service-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  font-size: 17px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.projects {
  padding: 38px 0 64px;
}

.projects-heading {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.projects-heading .button {
  grid-column: 1;
  justify-self: start;
  align-self: start;
}

.project-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-left: 310px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 26px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.project-card h3 {
  max-width: 230px;
  font-size: 21px;
}

.project-card p {
  position: absolute;
  left: 26px;
  bottom: 20px;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.project-art {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 54px);
  gap: 10px;
  transform: rotate(-8deg);
}

.project-art span {
  height: 92px;
  background: linear-gradient(180deg, rgba(46, 116, 255, 0.7), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.project-home {
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(223, 235, 255, 0.88)),
    #fff;
}

.building {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 150px;
  height: 92px;
  background:
    linear-gradient(90deg, transparent 18%, rgba(31, 102, 255, 0.15) 18% 22%, transparent 22% 48%, rgba(31, 102, 255, 0.15) 48% 52%, transparent 52%),
    linear-gradient(180deg, #fff, #dfeaff);
  border: 1px solid rgba(31, 102, 255, 0.12);
  border-radius: 8px 8px 2px 2px;
  box-shadow: 0 18px 28px rgba(44, 82, 145, 0.15);
}

.fitness-dots {
  position: absolute;
  right: 22px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(2, 58px);
  gap: 14px;
}

.fitness-dots span {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 50% 42%, #ff3d55 0 22%, rgba(255, 61, 85, 0.18) 23% 100%);
  border-radius: 50%;
}

.slider-controls {
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
}

.slider-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 102, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(42, 95, 180, 0.12);
  cursor: pointer;
  font-size: 24px;
}

.metrics {
  justify-content: space-between;
  gap: 28px;
  width: min(1020px, calc(100% - var(--page-gutter)));
  margin: 18px auto 70px;
  padding: 20px 0;
}

.metrics article {
  display: flex;
  gap: 20px;
  align-items: center;
}

.metric-icon {
  width: 42px;
  height: 42px;
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(32px, 4.3vw, 48px);
  line-height: 1;
}

.metrics p {
  max-width: 150px;
  margin: 8px 0 0;
  color: #263654;
  font-size: 15px;
  line-height: 1.35;
}

.seo-faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: start;
  padding: 36px 0 76px;
}

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

.faq-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 102, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(42, 95, 180, 0.08);
}

.faq-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.final-cta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  width: min(1180px, calc(100% - var(--page-gutter)));
  min-height: 250px;
  margin: 0 auto 8px;
  padding: 54px 74px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 76%, rgba(102, 217, 255, 0.72), transparent 20%),
    linear-gradient(135deg, #0644e3, #1f66ff 56%, #82b8ff);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 30px 85px rgba(31, 102, 255, 0.28);
  overflow: hidden;
}

.final-cta::after {
  position: absolute;
  right: -8%;
  bottom: -56%;
  width: 720px;
  height: 250px;
  border: 5px solid rgba(150, 237, 255, 0.78);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(-13deg);
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow.light span {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.22);
}

.final-cta h2 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.03;
}

.final-cta h2 strong {
  display: block;
  color: rgba(219, 235, 255, 0.96);
}

.final-cta p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
}

.final-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.final-actions .button {
  min-width: 260px;
}

.button-white {
  min-width: 260px;
  color: var(--blue);
  background: #fff;
}

.button-email {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 12px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.2;
  }

  .main-nav a:hover {
    background: rgba(31, 102, 255, 0.08);
  }

  .menu-button {
    display: block;
    order: 3;
    margin-left: 12px;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .hero-visual {
    min-height: 460px;
  }

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

  .seo-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .project-row {
    margin-left: 0;
  }

  .projects-heading {
    grid-template-columns: 1fr;
  }

  .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .topbar,
  .section-pad,
  .final-cta,
  .metrics {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    min-height: 74px;
  }

  .brand-logo {
    width: 196px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    gap: 24px;
    min-height: auto;
    padding: 34px 0 34px;
  }

  .hero-text {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .hero-features {
    gap: 16px;
    margin-top: 38px;
  }

  .hero-features article {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
    transform: scale(0.82);
    transform-origin: top left;
    width: 122%;
  }

  .card-large {
    left: 0;
  }

  .card-side {
    right: 0;
  }

  .services {
    gap: 28px;
    padding: 28px 0 44px;
  }

  .service-grid,
  .project-row,
  .metrics {
    grid-template-columns: 1fr;
  }

  .projects {
    padding-top: 26px;
  }

  .seo-faq {
    padding: 20px 0 48px;
  }

  .projects-heading .button {
    justify-self: stretch;
  }

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

  .metrics {
    gap: 24px;
    margin-bottom: 36px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    border-radius: 18px 18px 0 0;
  }

  .button-white {
    min-width: 0;
  }

  .final-actions .button {
    min-width: 0;
  }
}
