:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-dark: #17273a;
  --text: #18212f;
  --muted: #637086;
  --line: rgba(19, 33, 52, 0.08);
  --blue: #3864ff;
  --purple: #8b2cff;
  --cyan: #5bc8ff;
  --shadow: 0 24px 70px rgba(19, 33, 52, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(91, 200, 255, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 44, 255, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 60px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(20, 36, 58, 0.08);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
  box-shadow: 0 12px 30px rgba(91, 200, 255, 0.35);
}

.brand-text {
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.header-cta:hover {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid rgba(56, 100, 255, 0.18);
  color: var(--blue);
  background: rgba(56, 100, 255, 0.08);
}

.button {
  min-width: 180px;
  padding: 14px 22px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 18px 30px rgba(76, 93, 255, 0.24);
}

.button.secondary {
  border: 1px solid rgba(24, 33, 47, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  padding: 86px 0 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  font-size: 1.45rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  font-size: 1.08rem;
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
}

.device {
  position: absolute;
  border-radius: 34px;
}

.device-back {
  inset: 54px 34px 0 72px;
  background: linear-gradient(180deg, rgba(56, 100, 255, 0.16), rgba(139, 44, 255, 0.22));
  transform: rotate(12deg);
  filter: blur(0.2px);
}

.device-front {
  inset: 0 0 40px 120px;
  padding: 18px;
  border: 1px solid rgba(56, 100, 255, 0.14);
  background: linear-gradient(180deg, #f9fbff, #edf3ff);
  box-shadow: var(--shadow);
}

.device-screen {
  display: grid;
  height: 100%;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(139, 44, 255, 0.15), transparent 28%),
    linear-gradient(180deg, #eef4ff, #ffffff 58%);
  padding: 20px;
}

.screen-top {
  display: flex;
  gap: 8px;
}

.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(24, 33, 47, 0.18);
}

.screen-card {
  align-self: center;
  width: 80%;
  padding: 22px;
  border-radius: 24px;
  background: #17273a;
  color: white;
  box-shadow: 0 18px 38px rgba(23, 39, 58, 0.26);
}

.screen-card p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.7);
}

.screen-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
}

.screen-grid div {
  min-height: 94px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(56, 100, 255, 0.16), rgba(91, 200, 255, 0.1));
}

.section-card,
.cta-panel {
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-card {
  padding: 52px;
  margin-top: 28px;
}

.section-dark {
  margin-top: 28px;
  padding: 62px 52px;
  border-radius: var(--radius);
  background: var(--panel-dark);
  color: white;
  box-shadow: var(--shadow);
}

.section-dark p,
.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.section-heading.centered {
  text-align: center;
}

.section-lead {
  max-width: 680px;
  margin: 0 auto;
}

.about-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

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

.about-grid article,
.process-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.about-media {
  margin-top: 28px;
}

.media-card-large {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(56, 100, 255, 0.06), rgba(139, 44, 255, 0.05));
}

.media-photo {
  border-radius: 22px;
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.media-photo-team {
  background-image:
    linear-gradient(135deg, rgba(18, 34, 54, 0.18), rgba(18, 34, 54, 0.18)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80");
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.service-card {
  overflow: hidden;
  border-radius: 28px;
  background: white;
  color: var(--text);
}

.service-card h3,
.service-card p {
  padding-left: 24px;
  padding-right: 24px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p {
  margin: 12px 0 24px;
}

.service-visual {
  min-height: 290px;
  background-size: cover;
  background-position: center;
}

.service-ios {
  background-image:
    linear-gradient(135deg, rgba(15, 20, 35, 0.12), rgba(15, 20, 35, 0.12)),
    url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=1000&q=80");
}

.service-android {
  background-image:
    linear-gradient(135deg, rgba(15, 20, 35, 0.16), rgba(15, 20, 35, 0.16)),
    url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=1000&q=80");
  filter: hue-rotate(42deg) saturate(1.05);
}

.service-design {
  background-image:
    linear-gradient(135deg, rgba(15, 20, 35, 0.16), rgba(15, 20, 35, 0.16)),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1000&q=80");
}

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

.featured-app {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.featured-copy p {
  max-width: 620px;
}

.featured-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.featured-points span,
.featured-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(56, 100, 255, 0.06);
  color: var(--text);
  font-weight: 700;
}

.featured-card {
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(139, 44, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #f8fbff, #eef4ff 70%);
  border: 1px solid rgba(56, 100, 255, 0.12);
  box-shadow: var(--shadow);
}

.featured-card-top {
  display: flex;
  gap: 8px;
}

.featured-card-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(24, 33, 47, 0.18);
}

.featured-badge {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #17273a;
  color: white;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-card h3 {
  margin-top: 18px;
  font-size: 2rem;
}

.featured-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.process-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(56, 100, 255, 0.08);
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.process-grid h3 {
  margin-top: 18px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 42px 46px;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .hero,
  .cta-panel,
  .featured-app,
  .about-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .device-front {
    inset: 0;
  }

  .device-back {
    inset: 34px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .section-card,
  .section-dark,
  .cta-panel {
    padding: 34px 22px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .media-photo,
  .service-visual {
    min-height: 220px;
  }
}
