:root {
  --ink: #22232b;
  --muted: #5d6171;
  --paper: #f8f8fa;
  --line: #d8d8e2;
  --violet: #5d55ec;
  --violet-dark: #332fd1;
  --cyan: #16cad5;
  --deep: #0d1020;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(22, 202, 213, 0.34), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(135, 76, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #7770fb, #5f55e9 48%, #9b7cff);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 82%);
}

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

.page-frame {
  width: min(1540px, calc(100% - 34px));
  margin: 42px auto;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(20, 17, 82, 0.28);
}

.section-shell {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2.6vw, 28px);
  min-height: 76px;
  padding: 0 clamp(20px, 3.2vw, 46px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  justify-self: center;
}

.brand img {
  width: clamp(134px, 12vw, 174px);
  display: block;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 22px);
}

.main-nav {
  min-width: 0;
  font-size: clamp(0.68rem, 0.76vw, 0.8rem);
  font-weight: 700;
  white-space: nowrap;
}

.header-actions {
  justify-content: flex-end;
}

.lang-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.lang-switch button {
  min-width: 34px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.lang-switch button.active {
  color: #ffffff;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 850;
  white-space: normal;
}

.small-button {
  min-height: 38px;
  padding-inline: 20px;
  color: #ffffff;
  background: var(--violet);
}

.primary {
  color: #ffffff;
  background: var(--violet);
  box-shadow: 0 16px 34px rgba(93, 85, 236, 0.26);
}

.ghost,
.outline {
  color: var(--ink);
  border-color: rgba(93, 85, 236, 0.42);
  background: transparent;
}

.hero {
  position: relative;
  min-height: 660px;
  padding: 70px 0 112px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 1180px;
  margin: 0 auto;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.25rem, 10.4vw, 11.4rem);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 6.2vw, 7.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 900px;
  margin: 24px auto 0;
  color: #3f4351;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.intro-strip {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(360px, 0.74fr);
  align-items: start;
  justify-content: space-between;
  gap: clamp(48px, 9vw, 150px);
  padding: 28px 0 98px;
}

.intro-heading h2 {
  max-width: 680px;
  font-size: clamp(3.7rem, 5.7vw, 6.25rem);
}

.intro-panel {
  position: relative;
  max-width: 660px;
  margin-top: 10px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(93, 85, 236, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.56)),
    radial-gradient(circle at 100% 0%, rgba(93, 85, 236, 0.13), transparent 38%);
  box-shadow: 0 20px 55px rgba(31, 34, 48, 0.07);
}

.intro-panel::before {
  content: "";
  position: absolute;
  left: clamp(28px, 4vw, 46px);
  right: clamp(28px, 4vw, 46px);
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.intro-panel p,
.method-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.72;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.intro-points span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(93, 85, 236, 0.2);
  border-radius: 999px;
  color: var(--violet);
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.services {
  padding: 34px 0 98px;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #1f2230;
  border-radius: 12px;
  overflow: hidden;
  background: #1f2230;
}

.service-tile {
  position: relative;
  min-height: 350px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--paper);
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.service-tile:nth-child(odd) {
  border-right: 1px solid #1f2230;
}

.service-tile:nth-child(-n + 2) {
  border-bottom: 1px solid #1f2230;
}

.service-tile.featured {
  color: #ffffff;
  background: var(--violet);
}

.service-tile p {
  max-width: 480px;
  margin: 86px 0 0;
  color: #4e5362;
  line-height: 1.58;
}

.service-tile.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.arrow-mark {
  position: absolute;
  right: 36px;
  bottom: 30px;
  width: 54px;
  height: 54px;
}

.arrow-mark::before,
.arrow-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.arrow-mark::before {
  right: 5px;
  bottom: 13px;
  width: 47px;
  height: 5px;
  border-radius: 999px;
  transform: rotate(-45deg);
}

.arrow-mark::after {
  right: 3px;
  bottom: 10px;
  width: 22px;
  height: 22px;
  border-top: 5px solid currentColor;
  border-right: 5px solid currentColor;
  background: transparent;
  transform: rotate(0deg);
}

.domains {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
  padding: 88px 0 106px;
}

.domains-visual {
  padding: clamp(14px, 2.4vw, 26px);
  border: 1px solid rgba(93, 85, 236, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(22, 202, 213, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.64));
  box-shadow: 0 22px 60px rgba(31, 34, 48, 0.08);
}

.domains-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.domains-copy {
  max-width: 720px;
}

.domains-copy h2 {
  font-size: clamp(3.25rem, 5.4vw, 6.5rem);
}

.domains-copy p:last-child {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.76;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 72px);
  padding: 42px 0 112px;
}

.ai-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
  border-radius: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 8%, rgba(22, 202, 213, 0.34), transparent 34%),
    linear-gradient(145deg, #1f2230, #111421 62%, #28215a);
  box-shadow: 0 26px 70px rgba(31, 34, 48, 0.16);
}

.ai-copy .section-kicker {
  color: #8df4ff;
}

.ai-copy h2 {
  font-size: clamp(3.05rem, 5vw, 5.9rem);
}

.ai-copy p:last-child {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.76;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ai-grid article {
  position: relative;
  min-height: 182px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(93, 85, 236, 0.12), transparent 36%);
  box-shadow: 0 18px 48px rgba(31, 34, 48, 0.06);
}

.ai-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 950;
}

.ai-grid h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.ai-grid p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.method {
  position: relative;
  display: block;
  padding: 76px 0 108px;
}

.method-copy {
  max-width: 1120px;
}

.method-copy p {
  max-width: 660px;
  margin-top: 24px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.method-steps article {
  display: grid;
  gap: 30px;
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.method-steps span {
  color: var(--violet);
  font-weight: 950;
}

.method-steps strong {
  font-size: clamp(1.24rem, 2vw, 1.7rem);
  line-height: 1;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 92px clamp(24px, 5vw, 76px);
  border-radius: 18px;
  color: var(--ink);
  background:
    radial-gradient(circle at 46% 56%, rgba(255, 126, 34, 0.9) 0 18%, rgba(255, 126, 34, 0.58) 25%, transparent 47%),
    radial-gradient(circle at 37% 50%, rgba(255, 206, 72, 0.74) 0 13%, transparent 36%),
    radial-gradient(circle at 64% 46%, rgba(232, 102, 126, 0.52) 0 16%, transparent 43%),
    linear-gradient(160deg, #d9edf8 0%, #c6e0f1 45%, #e7eef5 100%);
  background-position: center;
  background-size: 145% 145%;
  text-align: center;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(248, 248, 250, 0.08), rgba(248, 248, 250, 0.34)),
    radial-gradient(circle at 50% 55%, transparent 0 28%, rgba(255, 255, 255, 0.42) 68%);
}

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

.contact .section-kicker,
.contact p {
  color: #000000;
}

.contact h2 {
  max-width: 1040px;
  margin: 0 auto;
}

.contact p {
  max-width: 780px;
  margin: 24px auto 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 46px;
}

.site-footer img {
  width: 190px;
  display: block;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.93rem;
}

.legal {
  justify-self: end;
}

@media (max-width: 1080px) {
  .page-frame {
    margin-block: 24px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 72px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .intro-strip,
  .domains,
  .ai-section,
  .method {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    gap: 28px;
  }

  .section-topline,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .legal {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .page-frame {
    width: min(100% - 18px, 1540px);
    margin-block: 9px;
    border-radius: 18px;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1400px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 66px;
    padding-inline: 12px;
    gap: 8px;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: start;
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    width: clamp(86px, 24vw, 110px);
  }

  .header-actions {
    gap: 6px;
  }

  .small-button {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 5px);
    left: 12px;
    z-index: 20;
    display: grid;
    min-width: 166px;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(34, 35, 43, 0.16);
    font-size: 0.86rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: transform 160ms ease;
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 10px 12px;
    border-radius: 9px;
  }

  .main-nav a:hover {
    background: #f1f2ff;
  }

  h1 {
    font-size: clamp(2.7rem, 13.4vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .intro-strip {
    padding: 54px 0 78px;
  }

  .intro-heading h2 {
    font-size: clamp(2.85rem, 12vw, 4.35rem);
  }

  .intro-panel {
    padding: 24px;
  }

  .intro-points {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 74px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .lifecycle-grid,
  .method-steps {
    grid-template-columns: 1fr;
  }

  .domains {
    padding: 64px 0 78px;
  }

  .domains-visual {
    order: 2;
  }

  .domains-copy h2 {
    font-size: clamp(2.7rem, 11vw, 4.05rem);
  }

  .ai-section {
    padding: 42px 0 78px;
  }

  .ai-copy {
    padding: 28px;
  }

  .ai-copy h2 {
    font-size: clamp(2.55rem, 10.4vw, 3.85rem);
  }

  .service-tile,
  .service-tile:nth-child(odd),
  .service-tile:nth-child(-n + 2) {
    min-height: 286px;
    border: 0;
    border-bottom: 1px solid #1f2230;
  }

  .service-tile:last-child {
    border-bottom: 0;
  }

  .service-tile p {
    margin-top: 54px;
  }

  .contact {
    padding: 70px 18px;
    background-size: 210% 150%;
  }
}
