:root {
  --bg: #08111f;
  --bg-soft: #0d1a2c;
  --panel: #11223a;
  --panel-2: #152945;
  --text: #f5f8fc;
  --muted: #aab8cb;
  --light-bg: #f4f7fb;
  --light-panel: #ffffff;
  --light-text: #11213a;
  --light-muted: #5f6d80;
  --accent: #4cd7c3;
  --accent-strong: #20bfa9;
  --accent-soft: rgba(76, 215, 195, 0.13);
  --line: rgba(255, 255, 255, 0.12);
  --light-line: #dfe6ef;
  --shadow: 0 24px 70px rgba(1, 9, 21, 0.28);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #06151b;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 17, 31, 0.76);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(8, 17, 31, 0.93);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76, 215, 195, 0.48);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(76, 215, 195, 0.22), rgba(76, 215, 195, 0.05));
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-text {
  display: grid;
  line-height: 1;
  letter-spacing: 0.11em;
}

.brand-text strong {
  font-size: 0.96rem;
  font-weight: 780;
}

.brand-text span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: #d3ddeb;
  font-size: 0.94rem;
  font-weight: 560;
  transition: color 0.2s ease;
}

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

.language-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-button {
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--accent);
  color: #06151b;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 132px;
  background:
    radial-gradient(circle at 17% 18%, rgba(76, 215, 195, 0.11), transparent 26%),
    radial-gradient(circle at 83% 72%, rgba(46, 117, 255, 0.11), transparent 30%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.07rem, 1.6vw, 1.27rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 720;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #06151b;
  box-shadow: 0 12px 35px rgba(32, 191, 169, 0.22);
}

.button-primary:hover {
  background: #63e2d0;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(76, 215, 195, 0.55);
  background: var(--accent-soft);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c2cede;
  font-size: 0.88rem;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-list li > span:first-child {
  color: var(--accent);
}

.hero-visual {
  position: relative;
}

.visual-shell {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(16, 33, 56, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
}

.visual-topbar {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.visual-topbar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
}

.visual-topbar small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-canvas {
  position: relative;
  min-height: 465px;
  padding: 44px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.visual-node {
  position: absolute;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(8, 17, 31, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  z-index: 3;
}

.visual-node strong {
  font-size: 0.9rem;
}

.node-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.node-idea {
  left: 26px;
  top: 76px;
}

.node-build {
  left: 50%;
  top: 202px;
  transform: translateX(-50%);
  border-color: rgba(76, 215, 195, 0.56);
  box-shadow: 0 16px 42px rgba(32, 191, 169, 0.16);
}

.node-impact {
  right: 26px;
  bottom: 70px;
}

.visual-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(76, 215, 195, 0.05), var(--accent), rgba(76, 215, 195, 0.05));
  transform-origin: left center;
  z-index: 1;
}

.line-one {
  width: 190px;
  left: 150px;
  top: 155px;
  transform: rotate(28deg);
}

.line-two {
  width: 180px;
  left: 51%;
  top: 286px;
  transform: rotate(28deg);
}

.floating-chip {
  position: absolute;
  min-width: 52px;
  padding: 8px 12px;
  border: 1px solid rgba(76, 215, 195, 0.28);
  border-radius: 999px;
  background: rgba(76, 215, 195, 0.09);
  color: #aaf4e8;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 750;
  animation: float 4.5s ease-in-out infinite;
}

.chip-web { right: 42px; top: 58px; }
.chip-app { left: 34px; bottom: 80px; animation-delay: -1.2s; }
.chip-ai { right: 74px; top: 202px; animation-delay: -2.5s; }
.chip-game { left: 52%; bottom: 30px; animation-delay: -3.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-orb-one {
  width: 210px;
  height: 210px;
  right: -70px;
  top: 170px;
  border: 1px solid rgba(76, 215, 195, 0.18);
}

.hero-orb-two {
  width: 120px;
  height: 120px;
  left: 48%;
  bottom: 45px;
  border: 1px solid rgba(79, 139, 255, 0.18);
}

.proof-strip {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a1525;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid > div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 20px 34px;
  border-right: 1px solid var(--line);
}

.proof-grid > div:last-child {
  border-right: 0;
}

.proof-grid strong {
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}

.proof-grid span {
  color: #c4cfdd;
  font-size: 0.9rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 4.5vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-heading p,
.about-copy p {
  max-width: 740px;
  color: var(--light-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

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

.service-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  background: var(--light-panel);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(32, 191, 169, 0.5);
  box-shadow: 0 20px 50px rgba(16, 38, 67, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 14px;
  background: #e5fbf7;
  color: #087b6d;
  font-size: 1.2rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--light-muted);
  font-size: 0.96rem;
}

.model-grid {
  display: grid;
  gap: 14px;
}

.model-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 26px;
  align-items: start;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.model-card:hover {
  transform: translateX(5px);
  border-color: rgba(76, 215, 195, 0.33);
  background: rgba(76, 215, 195, 0.06);
}

.model-card.featured {
  border-color: rgba(76, 215, 195, 0.35);
  background: linear-gradient(100deg, rgba(76, 215, 195, 0.11), rgba(255, 255, 255, 0.025));
}

.model-number {
  color: rgba(76, 215, 195, 0.42);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.model-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.model-card h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.model-card p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-accent {
  overflow: hidden;
  background: var(--accent);
  color: #07161b;
}

.section-accent::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -220px;
  top: -240px;
  border: 1px solid rgba(7, 22, 27, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(7, 22, 27, 0.025), 0 0 0 160px rgba(7, 22, 27, 0.02);
}

.section-accent .eyebrow {
  color: #07564c;
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  min-height: 300px;
  padding: 30px;
  border-left: 1px solid rgba(7, 22, 27, 0.17);
}

.process-step:last-child {
  border-right: 1px solid rgba(7, 22, 27, 0.17);
}

.process-step > span {
  display: block;
  margin-bottom: 76px;
  color: #087f70;
  font-size: 0.78rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 13px;
  font-size: 1.22rem;
}

.process-step p {
  margin-bottom: 0;
  color: #164f49;
  font-size: 0.93rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 90px;
  align-items: start;
}

.about-copy {
  max-width: 660px;
}

.about-points {
  display: grid;
  gap: 1px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--light-line);
}

.about-points > div {
  display: grid;
  gap: 8px;
  padding: 27px;
  background: #fff;
}

.about-points strong {
  font-size: 1.06rem;
}

.about-points span {
  color: var(--light-muted);
  font-size: 0.93rem;
}

.contact-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background:
    radial-gradient(circle at 84% 25%, rgba(76, 215, 195, 0.12), transparent 26%),
    var(--bg);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: center;
  padding: 58px;
  border: 1px solid rgba(76, 215, 195, 0.25);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(76, 215, 195, 0.1), rgba(255, 255, 255, 0.03));
}

.contact-panel h2 {
  max-width: 720px;
  margin-bottom: 16px;
}

.contact-panel p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-actions {
  min-width: 230px;
  display: grid;
  gap: 15px;
  justify-items: stretch;
}

.contact-email {
  color: var(--accent);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer {
  padding: 54px 0;
  border-top: 1px solid var(--line);
  background: #060d17;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 17px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #d0dae8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.preview-note {
  max-width: 330px;
  color: #7f8ca0;
  font-size: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@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;
  }

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

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .language-switch {
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0d192a;
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    padding: 13px 12px;
    border-radius: 10px;
  }

  .primary-nav a:hover {
    background: rgba(76, 215, 195, 0.08);
  }

  .hero {
    padding-top: 110px;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
  }

  .visual-shell {
    transform: none;
  }

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

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

  .process-step:nth-child(2) {
    border-right: 1px solid rgba(7, 22, 27, 0.17);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-actions {
    max-width: 310px;
  }

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

  .footer-meta {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand-text {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .hero {
    min-height: auto;
    padding-top: 95px;
    padding-bottom: 82px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    gap: 10px;
  }

  .visual-canvas {
    min-height: 390px;
    padding: 24px;
  }

  .visual-node {
    min-width: 132px;
    padding: 11px 12px;
  }

  .node-idea {
    left: 15px;
    top: 52px;
  }

  .node-build {
    top: 172px;
  }

  .node-impact {
    right: 15px;
    bottom: 50px;
  }

  .line-one {
    width: 135px;
    left: 120px;
    top: 129px;
  }

  .line-two {
    width: 130px;
    top: 241px;
  }

  .chip-web { right: 20px; top: 22px; }
  .chip-app { left: 18px; bottom: 28px; }
  .chip-ai { right: 18px; top: 154px; }
  .chip-game { display: none; }

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

  .proof-grid > div {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 10px;
  }

  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 28px;
  }

  .model-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 25px;
  }

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

  .process-step,
  .process-step:nth-child(2),
  .process-step:last-child {
    min-height: auto;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(7, 22, 27, 0.17);
    padding: 28px 0;
  }

  .process-step:last-child {
    border-bottom: 1px solid rgba(7, 22, 27, 0.17);
  }

  .process-step > span {
    margin-bottom: 32px;
  }

  .contact-panel {
    padding: 34px 24px;
    border-radius: 24px;
  }

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