﻿:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #1e293b;
  --text-muted: #475569;
  --primary: #2563eb;
  --secondary: #3b82f6;
  --accent: #f97316;
  --border: #dbe4f0;
  --shadow: 0 20px 45px rgba(30, 41, 59, 0.08);
  --radius: 18px;
  --container: min(1120px, calc(100vw - 2.5rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 95% -5%, rgba(37, 99, 235, 0.18), transparent),
    radial-gradient(760px 500px at -15% 20%, rgba(249, 115, 22, 0.12), transparent),
    var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Lexend", sans-serif;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #0f172a;
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus-visible {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid rgba(219, 228, 240, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
  animation: navEnter 500ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
}

.brand-mark {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 4px;
  background: linear-gradient(140deg, var(--primary), var(--accent));
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0 1rem;
  font: 600 0.95rem/1 "Lexend", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ea650f;
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.42);
}

.btn-ghost,
.btn-ghost-dark {
  background: transparent;
  border-color: #cbd5e1;
  color: var(--text);
}

.btn-ghost-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero-cta .btn-ghost-dark {
  background: rgba(255, 255, 255, 0.88);
  border-color: #cbd5e1;
  color: #1e293b;
}

.hero-cta .btn-ghost-dark:hover,
.hero-cta .btn-ghost-dark:focus-visible {
  background: #ffffff;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 4.2rem 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0) 58%),
    linear-gradient(220deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0) 46%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 620ms ease forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 80ms; }
.hero-copy > *:nth-child(2) { animation-delay: 140ms; }
.hero-copy > *:nth-child(3) { animation-delay: 210ms; }
.hero-copy > *:nth-child(4) { animation-delay: 290ms; }
.hero-copy > *:nth-child(5) { animation-delay: 360ms; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  margin-top: 0.85rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.lead {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  color: #334155;
  font-weight: 600;
}

.hero-meta li {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dce6f5;
  animation: chipPulse 3200ms ease-in-out infinite;
}

.hero-meta li:nth-child(2) { animation-delay: 400ms; }
.hero-meta li:nth-child(3) { animation-delay: 800ms; }

.hero-meta li:hover {
  transform: translateY(-2px);
  transition: transform 220ms ease;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.hero-art {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.metric-card {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.metric-card h2 {
  font-size: 2rem;
  color: var(--primary);
}

.metric-card p {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-weight: 600;
}

.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
}

.logo-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  font-family: "Lexend", sans-serif;
  font-size: 0.87rem;
  color: #64748b;
}

.logo-row span {
  text-align: center;
  transition: color 240ms ease, transform 240ms ease;
}

.logo-row span:hover {
  color: #334155;
  transform: translateY(-2px);
}

.section {
  padding: 4rem 0;
}

.soft {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0));
}

.section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.card-grid,
.industry-list,
.case-grid {
  display: grid;
  gap: 1rem;
}

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

.industry-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.industry,
.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.card:hover,
.industry:hover,
.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  border-color: #bfd2f1;
}

.card h3,
.industry h3,
.case h3 {
  font-size: 1.15rem;
}

.card-media,
.case-media {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #c8daf6;
  margin-bottom: 0.8rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eff6ff;
}

.card p,
.industry p,
.case p {
  margin-top: 0.55rem;
  color: var(--text-muted);
}

.certificates {
  padding-top: 0;
}

.certificate-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.games-banner {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.badge {
  min-height: 68px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed #bfd2f1;
  color: #1d4ed8;
  font-weight: 700;
  font-family: "Lexend", sans-serif;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
}

.cta {
  padding: 1rem 0 4rem;
}

.cta-box {
  border-radius: 26px;
  padding: 2rem;
  background: linear-gradient(125deg, #1e3a8a, #2563eb 55%, #3b82f6);
  color: #fff;
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.35);
}

.cta-box p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
}

.contact-form {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #b7c5e4;
  padding: 0 0.8rem;
  font: 500 1rem/1 "Source Sans 3", sans-serif;
}

.form-message {
  margin-top: 0.8rem;
  min-height: 1.4rem;
  font-weight: 600;
  color: #dbeafe;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #64748b;
}

.footer-wrap a {
  color: var(--primary);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navEnter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chipPulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.08);
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

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

  .card-grid,
  .industry-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-actions {
    display: none;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .logo-row {
    grid-template-columns: 1fr 1fr;
    padding: 0.8rem 0;
  }

  .card-grid,
  .industry-list,
  .case-grid,
  .certificate-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
