@import url("https://fonts.googleapis.com/css2?family=Teko:wght@500;600;700&display=swap");

:root {
  --sc-bg: #f7f9ff;
  --sc-surface: #ffffff;
  --sc-surface-soft: #eef3ff;
  --sc-panel: #ffffff;
  --sc-panel-strong: #f4efff;
  --sc-text: #16325c;
  --sc-muted: #5d6f8f;
  --sc-accent: #5b7cff;
  --sc-accent-2: #9b67ff;
  --sc-gold: #ff9f43;
  --sc-success: #19b77a;
  --sc-line: rgba(91, 124, 255, 0.16);
  --sc-shadow: 0 24px 60px rgba(70, 100, 170, 0.18);
  --sc-radius: 24px;
  --sc-radius-sm: 18px;
  --sc-radius-xs: 14px;
  --sc-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 6rem;
}

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.65;
  letter-spacing: -0.01em;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(91, 124, 255, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(255, 159, 67, 0.22),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(155, 103, 255, 0.16),
      transparent 32%
    ),
    linear-gradient(180deg, #f9fbff 0%, #edf4ff 52%, #f7f3ff 100%);
  color: var(--sc-text);
}

body.sc-menu-open {
  overflow: hidden;
}

.sc-brand__text,
.sc-chip,
.sc-btn,
.sc-badge,
.sc-nav__link,
.sc-slider-nav {
  font-family: "Sora", sans-serif;
}

h1,
h2,
h3,
h4,
.sc-service-card h3,
.sc-tech-card span,
.sc-team-card strong,
.sc-game-card__head strong,
.sc-timeline__step strong,
.sc-contact-panel h2,
.sc-mission-card h2,
.sc-article-card h2 {
  font-family: "Teko", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl {
  margin: 0;
}

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

button,
input,
select,
textarea {
  color: inherit;
}

img,
iframe {
  border: 0;
  width: 100%;
}

picture {
  display: block;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(91, 124, 255, 0.16);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: none;
  border-color: rgba(91, 124, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(91, 124, 255, 0.14);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.sc-container {
  width: min(var(--sc-max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.sc-section {
  padding: clamp(4rem, 6vw, 6.5rem) 0;
}

main > section.sc-section:nth-of-type(even) {
  background: linear-gradient(
    180deg,
    rgba(91, 124, 255, 0.08),
    rgba(155, 103, 255, 0.05)
  );
  border-top: 1px solid rgba(91, 124, 255, 0.1);
  border-bottom: 1px solid rgba(91, 124, 255, 0.08);
}

.sc-services,
.sc-tech,
.sc-games {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sc-services::before,
.sc-tech::before,
.sc-games::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sc-services::after,
.sc-tech::after,
.sc-games::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* background:
    linear-gradient(180deg, rgba(7, 14, 30, 0.7), rgba(8, 12, 22, 0.82)),
    linear-gradient(90deg, rgba(8, 14, 28, 0.7), rgba(8, 14, 28, 0.42) 50%, rgba(8, 14, 28, 0.62)); */
}

.sc-tech::before {
  background-image: url("../img/backgrounds/bg-fusion-grid.webp");
}

.sc-games::before {
  background-image: url("../img/backgrounds/bg-gold-onyx-matrix.webp");
}

.sc-tech .sc-section-heading h2,
.sc-games .sc-section-heading h2,
.sc-services .sc-section-heading p,
.sc-tech .sc-section-heading p,
.sc-games .sc-section-heading p,
.sc-services .sc-games__note,
.sc-games .sc-games__note {
  color: #f5f7ff;
}

.sc-tech .sc-section-heading__eyebrow,
.sc-games .sc-section-heading__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(245, 247, 255, 0.92);
}

.sc-panel,
.sc-contact-form-card,
.sc-contact-panel,
.sc-map-card,
.sc-inline-cta,
.sc-metric-panel,
.sc-mission-card,
.sc-article-shell,
.sc-team-card,
.sc-portfolio-card,
.sc-service-card,
.sc-tech-card,
.sc-article-card,
.sc-cookie-banner,
.sc-ai-agent__panel {
  border: 1px solid var(--sc-line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(241, 246, 255, 0.98)
  );
  box-shadow: var(--sc-shadow);
}
.sc-quote-card {
  border: 1px solid var(--sc-line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(241, 246, 255, 0.98)
  );
}

.sc-chip,
.sc-section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(91, 124, 255, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(91, 124, 255, 0.9);
  max-width: fit-content;
}

.sc-section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sc-about-preview__copy h2,
.sc-section-heading h2,
.sc-page-hero h1,
.sc-hero h1,
.sc-inline-cta h2,
.sc-article-shell h2,
.sc-contact-form-card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sc-section-heading p,
.sc-page-hero p,
.sc-hero__lead,
.sc-article-shell p,
.sc-footer__copy,
.sc-contact-panel p,
.sc-field span,
.sc-form__note {
  color: var(--sc-muted);
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--sc-accent),
    var(--sc-accent-2) 58%,
    var(--sc-gold)
  );
  color: #ffffff;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  box-shadow: 0 18px 36px rgba(91, 124, 255, 0.24);
}

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

.sc-btn--ghost {
  background: linear-gradient(
    135deg,
    rgba(19, 50, 92, 0.96),
    rgba(91, 124, 255, 0.96)
  );
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(91, 124, 255, 0.16);
}

.sc-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(249, 251, 255, 0.74);
  border-bottom: 1px solid rgba(91, 124, 255, 0.12);
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.sc-header.sc-is-hidden {
  transform: translateY(-110%);
}

.sc-header__inner {
  min-height: 5.3rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 991px) {
  .sc-header__inner {
    grid-template-columns: auto 1fr;
  }
}

.sc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: fit-content;
}

.sc-brand__mark {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(91, 124, 255, 0.12),
    rgba(255, 159, 67, 0.08)
  );
}

.sc-brand__mark svg {
  width: 100%;
  height: 100%;
}

.sc-brand__text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sc-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.sc-nav__link {
  position: relative;
  color: #46648f;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.sc-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--sc-accent), var(--sc-gold));
  transition: transform 0.25s ease;
}

.sc-nav__link:hover,
.sc-nav__link.sc-is-active {
  color: var(--sc-text);
}

.sc-nav__link:hover::after,
.sc-nav__link.sc-is-active::after {
  transform: scaleX(1);
}

.sc-burger {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(91, 124, 255, 0.18);
  place-items: center;
  gap: 0px;
  padding: 10px;
}

.sc-burger span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--sc-text);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.sc-mobile-panel {
  position: fixed;
  inset: 5.4rem 0 auto;
  margin: 0 auto;
  width: min(100%, 100vw);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sc-mobile-panel.sc-is-open {
  opacity: 1;
  pointer-events: auto;
}

.sc-mobile-panel__inner {
  width: min(100% - 2rem, 540px);
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--sc-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--sc-shadow);
}

.sc-mobile-panel__nav,
.sc-mobile-panel__meta {
  display: grid;
  gap: 1rem;
  margin-top: 10px;
}

.sc-mobile-panel__nav a {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.sc-main {
  overflow: hidden;
}

.sc-page-hero,
.sc-hero {
  padding: clamp(7rem, 11vw, 9rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.sc-page-hero--blog,
.sc-page-hero--contacts,
.sc-page-hero--legal {
  padding: 120px 0 40px;
}

.sc-hero--bg-home,
.sc-page-hero--bg-about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sc-hero--bg-home::before,
.sc-page-hero--bg-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.sc-hero--bg-home::after,
.sc-page-hero--bg-about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(13, 26, 58, 0.84) 0%,
      rgba(20, 41, 84, 0.7) 34%,
      rgba(46, 65, 119, 0.38) 62%,
      rgba(248, 251, 255, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 22, 51, 0.18) 0%,
      rgba(14, 24, 58, 0.22) 100%
    );
}

.sc-page-hero__grid,
.sc-hero__grid,
.sc-cta__grid,
.sc-about-preview__grid,
.sc-contacts__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.sc-page-hero__grid,
.sc-hero__grid,
.sc-about-preview__grid,
.sc-cta__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-hero--bg-home .sc-hero__grid,
.sc-page-hero--bg-about .sc-page-hero__grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(34rem, 76vh, 50rem);
  align-items: end;
}

.sc-hero__content,
.sc-page-hero__grid > *,
.sc-cta__copy,
.sc-cta__form {
  display: grid;
  gap: 1.25rem;
}

.sc-hero--bg-home .sc-hero__content,
.sc-page-hero--bg-about .sc-page-hero__content {
  max-width: min(44rem, 100%);
  padding: clamp(1.25rem, 2vw, 1.8rem);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  /* background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2),
    rgba(230, 238, 255, 0.12)
  ); */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.56),
    rgba(241, 246, 255, 0.58)
  );
  box-shadow: 0 22px 50px rgba(16, 33, 74, 0.18);
  backdrop-filter: blur(14px);
}

.sc-hero__lead,
.sc-page-hero p {
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.sc-hero__actions,
.sc-testimonials__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.sc-form__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-form__actions .sc-btn {
  width: fit-content;
}

.sc-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sc-hero__insights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.sc-hero__stats div {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 8.8rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(91, 124, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(241, 246, 255, 0.94)
  );
  color: var(--sc-text);
  box-shadow: 0 16px 30px rgba(47, 76, 143, 0.12);
}

.sc-badge {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(91, 124, 255, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.sc-hero__stats dt {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(91, 124, 255, 0.08);
  color: var(--sc-accent);
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-hero__stats dd {
  font-family: "Teko", sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sc-text);
  margin: 0;
}

.sc-hero__visual,
.sc-page-hero picture {
  position: relative;
}

.sc-hero__visual picture,
.sc-page-hero picture,
.sc-portfolio-card picture,
.sc-team-card picture,
.sc-article-card picture {
  overflow: hidden;
  border-radius: 28px;
}

.sc-hero__visual img,
.sc-page-hero img,
.sc-portfolio-card img,
.sc-team-card img,
.sc-article-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sc-floating-card {
  position: absolute;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(91, 124, 255, 0.14);
  box-shadow: var(--sc-shadow);
  max-width: 220px;
}

.sc-hero__insights .sc-floating-card {
  position: relative;
  inset: auto;
  max-width: none;
  min-width: min(17rem, 100%);
  flex: 1 1 16rem;
  border: 0;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(47, 76, 143, 0.22);
}

.sc-hero__insights .sc-floating-card:nth-child(1) {
  background: linear-gradient(
    135deg,
    rgba(19, 50, 92, 0.96),
    rgba(91, 124, 255, 0.96)
  );
}

.sc-hero__insights .sc-floating-card:nth-child(2) {
  background: linear-gradient(
    135deg,
    rgba(91, 124, 255, 0.94),
    rgba(255, 159, 67, 0.94)
  );
}

.sc-floating-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: inherit;
  font-size: 0.8rem;
  opacity: 0.82;
}

.sc-floating-card strong {
  display: block;
  line-height: 1.35;
}

.sc-floating-card--one {
  left: -1rem;
  bottom: 5rem;
}

.sc-floating-card--two {
  right: -1rem;
  top: 4rem;
}

.sc-services__grid,
.sc-tech__grid,
.sc-team__grid,
.sc-blog-index__grid {
  display: grid;
  gap: 1.2rem;
}

.sc-services__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.sc-services__grid .sc-service-card:nth-child(-n + 2) {
  grid-column: span 3;
}

.sc-services__grid .sc-service-card:nth-child(n + 3) {
  grid-column: span 2;
}

.sc-tech__grid,
.sc-blog-index__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-service-card,
.sc-tech-card,
.sc-team-card,
.sc-article-card {
  padding: 1.35rem;
  border-radius: var(--sc-radius-sm);
  container-type: inline-size;
  overflow: hidden;
}

.sc-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-accent), var(--sc-gold));
}

@media (max-width: 600px) {
  .sc-service-card,
  .sc-tech-card,
  .sc-team-card,
  .sc-article-card {
    padding: 10px;
  }
}

.sc-service-card,
.sc-tech-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.sc-service-card__icon,
.sc-social-link__icon,
.sc-tech-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sc-service-card__icon svg,
.sc-social-link__icon svg,
.sc-tech-card__icon svg {
  width: 3.2rem;
  height: 3.2rem;
}

.sc-tech-card__icon img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.sc-service-card__icon,
.sc-tech-card__icon {
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(91, 124, 255, 0.12),
    rgba(255, 159, 67, 0.12)
  );
  box-shadow: inset 0 0 0 1px rgba(91, 124, 255, 0.1);
}

.sc-service-card h3,
.sc-tech-card span,
.sc-team-card strong,
.sc-article-card h2,
.sc-contact-panel h2,
.sc-mission-card h2 {
  margin-top: 1rem;
  font-size: 2rem;
  line-height: 2.15rem;
}

.sc-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  align-items: stretch;
}

.sc-timeline__step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 22px;
  border: 1px solid var(--sc-line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(241, 246, 255, 0.92)
  );
  box-shadow: var(--sc-shadow);
}

.sc-timeline__step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.2rem;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-accent), var(--sc-accent-2));
  box-shadow: 0 12px 24px rgba(91, 124, 255, 0.22);
}

.sc-timeline__step strong {
  font-size: 2.02rem;
}

.sc-timeline__step p {
  color: var(--sc-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.sc-metric-panel,
.sc-mission-card,
.sc-contact-panel,
.sc-map-card,
.sc-contact-form-card,
.sc-inline-cta,
.sc-quote-card,
.sc-article-shell {
  border-radius: var(--sc-radius);
}

.sc-metric-panel,
.sc-contact-form-card,
.sc-inline-cta {
  padding: 1.6rem;
}

.sc-metric-panel {
  display: grid;
  gap: 1rem;
}

.sc-metric-panel div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(91, 124, 255, 0.08);
}

.sc-metric-panel span,
.sc-mission-card span,
.sc-contact-panel a,
.sc-article-card span {
  color: var(--sc-accent);
}

.sc-mission__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.sc-mission-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--sc-line);
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 159, 67, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at left top,
      rgba(91, 124, 255, 0.16),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 246, 255, 0.98)
    );
  box-shadow: var(--sc-shadow);
  overflow: hidden;
}

.sc-mission-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-accent), var(--sc-gold));
}

.sc-mission-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(91, 124, 255, 0.08);
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-mission-card h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
}

.sc-mission-card p {
  max-width: 38rem;
  color: var(--sc-muted);
}

.sc-portfolio__grid,
.sc-team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.sc-team__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.sc-games__note {
  max-width: 56rem;
  color: var(--sc-muted);
}

.sc-games__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.sc-game-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--sc-radius-sm);
  border: 1px solid var(--sc-line);
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 159, 67, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at left top,
      rgba(91, 124, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 246, 255, 0.98)
    );
  box-shadow: var(--sc-shadow);
}

.sc-game-card__head {
  display: grid;
  gap: 0.65rem;
}

.sc-game-card__head strong {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
}

.sc-game-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(91, 124, 255, 0.1);
  color: var(--sc-accent);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sc-game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sc-game-card__meta li {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(91, 124, 255, 0.12);
  color: var(--sc-muted);
  font-size: 0.82rem;
}

.sc-game-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
}

.sc-game-card__frame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(91, 124, 255, 0.14);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  width: 100%;
  aspect-ratio: 530 / 365;
}

.sc-game-card__frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #ffffff;
}

.sc-portfolio-card,
.sc-team-card {
  overflow: hidden;
}

.sc-team-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1rem;
  padding: 1.2rem;
  text-align: center;
}

.sc-team-card picture {
  width: clamp(8.5rem, 11vw, 10.5rem);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid rgba(91, 124, 255, 0.16);
  box-shadow: 0 14px 28px rgba(47, 76, 143, 0.14);
}

.sc-team-card img {
  aspect-ratio: 1;
}

.sc-portfolio-card div,
.sc-team-card div,
.sc-article-card__body {
  display: grid;
  gap: 0.75rem;
  padding: 1.3rem;
}

.sc-team-card div {
  width: 100%;
  padding: 0;
  gap: 0.45rem;
}

.sc-team-card span {
  color: var(--sc-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.sc-team-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.sc-testimonials__slider {
  overflow: hidden;
}

.sc-testimonials {
  padding: 0.5rem 0 0.75rem;
}

.sc-quote-card {
  min-height: 100%;
  padding: 1.5rem;
  border-radius: 24px;
  overflow: hidden;
}
.sc-quote-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-accent), var(--sc-gold));
}

.sc-quote-card p {
  font-size: 1.05rem;
}

.sc-quote-card span {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--sc-muted);
}

.sc-slider-nav {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.sc-slider-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

[data-sc-prev]::before {
  transform: rotate(-135deg);
}

[data-sc-next]::before {
  transform: rotate(45deg);
}

.sc-cta__form,
.sc-contact-form-card {
  padding: 1.6rem;
  border-radius: var(--sc-radius);
}

.sc-contact-form-card {
  display: grid;
  gap: 1.35rem;
}

.sc-contact-form-card__intro {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}

.sc-form {
  display: grid;
  gap: 1.15rem;
}

.sc-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sc-field {
  display: grid;
  gap: 0.5rem;
  position: relative;
}

.sc-field--full {
  grid-column: 1 / -1;
}

.sc-field__native-select {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sc-custom-select {
  position: relative;
}

.sc-custom-select__trigger {
  position: relative;
  width: 100%;
  min-height: 3.6rem;
  padding: 1rem 3rem 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(91, 124, 255, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--sc-text);
  text-align: left;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.sc-custom-select__trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.sc-field--scope.sc-is-open .sc-custom-select__trigger::after {
  transform: translateY(-30%) rotate(-135deg);
}

.sc-field--scope.sc-is-placeholder .sc-custom-select__trigger {
  color: var(--sc-muted);
}

.sc-field--scope.sc-is-invalid .sc-custom-select__trigger {
  border-color: #d56b7b;
  box-shadow: 0 0 0 4px rgba(213, 107, 123, 0.12);
}

.sc-custom-select__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  gap: 0.3rem;
  padding: 0.4rem;
  border-radius: 18px;
  border: 1px solid rgba(91, 124, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(241, 246, 255, 0.98)
  );
  box-shadow: 0 18px 32px rgba(47, 76, 143, 0.16);
}

.sc-custom-select__menu[hidden] {
  display: none;
}

.sc-custom-select__option {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  cursor: pointer;
  color: var(--sc-text);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.sc-custom-select__option:hover,
.sc-custom-select__option:focus-visible {
  background: rgba(91, 124, 255, 0.1);
  outline: none;
}

.sc-custom-select__option.sc-is-selected {
  background: linear-gradient(
    135deg,
    rgba(91, 124, 255, 0.14),
    rgba(155, 103, 255, 0.12)
  );
  color: var(--sc-accent);
  font-weight: 600;
}

.sc-form__success {
  min-height: 1.3rem;
  color: var(--sc-success);
  font-weight: 700;
}

.sc-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sc-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.sc-social-link__icon {
  width: 1.1rem;
  height: 1.1rem;
}

.sc-search {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.sc-search span {
  color: var(--sc-muted);
}

.sc-article-card a {
  display: grid;
  height: 100%;
}

.sc-article-card strong {
  color: var(--sc-accent);
}

.sc-contact-panel,
.sc-map-card {
  padding: 1.4rem;
}

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

.sc-map-card iframe {
  min-height: 28rem;
  border-radius: 20px;
  overflow: hidden;
}

.sc-inline-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sc-article-shell {
  padding: 1.8rem;
  display: grid;
  gap: 1.1rem;
}

.sc-article-shell--wide {
  padding: 2rem;
}

.sc-article-shell h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.sc-footer {
  padding: 0 0 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(29, 53, 99, 0.96),
    rgba(52, 66, 126, 0.96)
  );
}

.sc-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr 0.9fr;
  gap: 1.4rem;
  padding-top: 1.8rem;
  border-radius: var(--sc-radius);
}

.sc-footer__brand,
.sc-footer__nav,
.sc-footer__contacts,
.sc-footer__payments {
  display: grid;
  gap: 1rem;
}

.sc-footer__grid,
.sc-footer__grid .sc-brand__text,
.sc-footer__grid h2,
.sc-footer__grid strong,
.sc-footer__grid p {
  color: #f5f7ff;
}

.sc-footer__nav a,
.sc-footer__contacts a,
.sc-footer__policies a {
  color: rgba(232, 239, 255, 0.82);
}

.sc-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
  color: rgba(232, 239, 255, 0.74);
}

.sc-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sc-payments {
  display: grid;
  gap: 0.6rem;
}

.sc-payment svg,
.sc-payment img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 2.6rem;
  object-fit: contain;
}

.sc-cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 32;
  width: min(30rem, calc(100% - 2rem));
  padding: 1rem;
  border-radius: 24px;
}

.sc-cookie-banner__content,
.sc-cookie-banner__prefs {
  display: grid;
  gap: 1rem;
}

.sc-cookie-banner__prefs[hidden] {
  display: none;
}

.sc-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sc-cookie-banner__actions .sc-btn {
  flex: 1 1 10rem;
}

.sc-cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--sc-muted);
}

.sc-cookie-banner__prefs input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  box-shadow: none;
  accent-color: var(--sc-accent);
}

.sc-ai-agent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 31;
  display: grid;
  justify-items: end;
  gap: 1rem;
  pointer-events: none;
}

.sc-ai-agent__toggle,
.sc-ai-agent__panel {
  pointer-events: auto;
}

.sc-ai-agent__toggle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-accent), #8d7cff);
  box-shadow: 0 0 0 0 rgba(91, 124, 255, 0.42);
  animation: sc-pulse 2.4s ease infinite;
}

.sc-ai-agent__toggle-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
}

.sc-ai-agent__panel {
  width: min(24rem, calc(100vw - 2rem));
  padding: 1.1rem;
  border-radius: 24px;
}

.sc-ai-agent__panel header,
.sc-ai-agent__messages,
.sc-ai-agent__quick-replies {
  display: grid;
  gap: 0.8rem;
}

.sc-ai-agent__messages {
  margin-top: 1rem;
  max-height: 18rem;
  overflow: auto;
}

.sc-ai-bubble {
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(91, 124, 255, 0.08);
}

.sc-ai-bubble.sc-is-user {
  background: rgba(91, 124, 255, 0.14);
}

.sc-cursor.sc-is-active .sc-cursor__ring {
  width: 3.2rem;
  height: 3.2rem;
  border-color: rgba(91, 124, 255, 0.58);
}

.sc-ai-agent__quick-replies button {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(91, 124, 255, 0.14);
  background: rgba(91, 124, 255, 0.06);
  text-align: left;
}

.sc-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
}

.sc-cursor__core,
.sc-cursor__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.sc-cursor__core {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sc-accent);
  transform: translate(-50%, -50%);
}

.sc-cursor__ring {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(55, 243, 255, 0.45);
  transform: translate(-50%, -50%);
}

@keyframes sc-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(55, 243, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(55, 243, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(55, 243, 255, 0);
  }
}

@container (max-width: 320px) {
  .sc-service-card h3,
  .sc-tech-card span,
  .sc-article-card h2 {
    font-size: 1rem;
  }
}

@media (max-width: 1100px) {
  .sc-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc-services__grid .sc-service-card:nth-child(-n + 2),
  .sc-services__grid .sc-service-card:nth-child(n + 3) {
    grid-column: span 1;
  }

  .sc-services__grid .sc-service-card:last-child {
    grid-column: 1 / -1;
  }

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

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

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

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

  .sc-mission__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .sc-nav,
  .sc-header__cta {
    display: none;
  }

  .sc-burger {
    display: inline-grid;
    margin-left: auto;
  }

  .sc-page-hero__grid,
  .sc-hero__grid,
  .sc-about-preview__grid,
  .sc-cta__grid,
  .sc-contacts__grid,
  .sc-portfolio__grid,
  .sc-team__grid {
    grid-template-columns: 1fr;
  }

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

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

  .sc-timeline__step::before,
  .sc-timeline__step::after {
    display: none;
  }

  .sc-hero__stats,
  .sc-form__grid {
    grid-template-columns: 1fr;
  }

  .sc-hero--bg-home .sc-hero__grid,
  .sc-page-hero--bg-about .sc-page-hero__grid {
    min-height: clamp(30rem, 66vh, 42rem);
  }

  .sc-inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .sc-services__grid,
  .sc-tech__grid,
  .sc-timeline,
  .sc-blog-index__grid,
  .sc-footer__grid,
  .sc-games__grid {
    grid-template-columns: 1fr;
  }

  .sc-footer__bottom,
  .sc-floating-card {
    position: static;
    max-width: none;
  }

  .sc-hero--bg-home::after,
  .sc-page-hero--bg-about::after {
    background: linear-gradient(
      180deg,
      rgba(12, 26, 60, 0.72) 0%,
      rgba(26, 47, 99, 0.58) 55%,
      rgba(248, 251, 255, 0.16) 100%
    );
  }

  .sc-cookie-banner {
    bottom: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .sc-cursor {
    display: none;
  }
}

.sc-about-preview__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sc-about-preview__copy .sc-btn {
  width: fit-content;
}

.flex {
  display: flex;
  flex-direction: column;
}
.gap-20 {
  gap: 20px;
}
