:root {
  --bg: #050b14;
  --panel: #0b1622;
  --line: rgba(255, 255, 255, 0.08);
  --cyan: #2ee6f0;
  --cyan-deep: #14c8d4;
  --text: #eef6fa;
  --muted: #8aa4b3;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Sora", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  position: relative;
}
main, .footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cyan);
  color: #041018;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--cyan {
  background: var(--cyan);
  color: #041018;
  box-shadow: 0 0 24px rgba(46, 230, 240, 0.18);
}
.btn--cyan:hover { box-shadow: 0 0 32px rgba(46, 230, 240, 0.35); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover { border-color: var(--cyan); color: #fff; }

.night {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 80% 40% at 70% 18%, rgba(80, 140, 190, 0.16), transparent 50%),
    radial-gradient(ellipse at 50% 120%, rgba(46, 230, 240, 0.1), transparent 42%),
    linear-gradient(180deg, #081422 0%, #050b14 48%, #091018 100%);
}
.night__glow {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 100%, rgba(255, 176, 82, 0.28), transparent 32%),
    radial-gradient(ellipse at 48% 100%, rgba(255, 196, 110, 0.16), transparent 34%),
    radial-gradient(ellipse at 78% 92%, rgba(46, 230, 240, 0.16), transparent 38%);
}
.night__glow::before {
  content: "";
  position: absolute;
  inset: 8% 0 18%;
  background: linear-gradient(#102033, #0a1624);
  clip-path: polygon(0 72%, 8% 58%, 16% 66%, 27% 38%, 38% 56%, 48% 30%, 59% 54%, 71% 26%, 82% 50%, 91% 40%, 100% 58%, 100% 100%, 0 100%);
  opacity: 0.7;
}
.night__glow::after {
  content: "";
  position: absolute;
  inset: 36% 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 214, 130, 0.14) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(180deg, rgba(255, 200, 110, 0.08) 0 2px, transparent 2px 9px),
    linear-gradient(#101b2b, #070e16);
  clip-path: polygon(0 68%, 3% 54%, 7% 62%, 11% 36%, 15% 50%, 20% 22%, 25% 46%, 30% 18%, 35% 44%, 41% 14%, 47% 40%, 53% 12%, 59% 38%, 65% 20%, 71% 46%, 77% 28%, 83% 52%, 89% 34%, 94% 56%, 100% 42%, 100% 100%, 0 100%);
  opacity: 0.95;
}
.night__glow--low { height: 62%; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(5, 11, 20, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.nav__brand { min-width: 0; }
.nav__brand img {
  height: 40px;
  width: auto;
  max-width: 180px;
}
.nav__links {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
  color: #c5d6df;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.nav__cta { position: relative; z-index: 1; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: #041018;
  font-size: 0.82rem;
  font-weight: 800;
}
@media (min-width: 981px) {
  .nav__toggle { display: none; }
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 12px;
  padding: 36px 0 56px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff8a;
  box-shadow: 0 0 10px #3dff8a;
  animation: pulse 1.6s ease infinite;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(46, 230, 240, 0.28);
}
.hero p {
  color: #c9dbe4;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #9db3be;
  font-size: 0.82rem;
}
.hero__pills li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 10px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero__pills li:hover {
  border-color: rgba(46, 230, 240, 0.45);
  color: #fff;
}
.hero__visual {
  position: relative;
  min-height: 420px;
  margin: 0;
}
.hero__chun {
  position: relative;
  z-index: 2;
  width: min(390px, 78%);
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
}
.hero__desk {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(280px, 52%);
  z-index: 1;
  padding: 10px 10px 14px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(#1a2430, #0c1218);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(46, 230, 240, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__desk-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.hero__desk-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #314252;
}
.hero__desk-bar i:first-child { background: #ff6b6b; }
.hero__desk-bar i:nth-child(2) { background: #ffd166; }
.hero__desk-bar i:nth-child(3) { background: #3dff8a; }
.hero__desk img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.solutions, .process, .about, .tech, .community, .contact {
  padding: 84px 0;
}
.head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}
.head p, .about p, .community p, .contact p {
  color: var(--muted);
  line-height: 1.6;
}
h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: rgba(46, 230, 240, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 28px rgba(46, 230, 240, 0.08);
}
.card__logo {
  height: 30px;
  width: auto;
  margin-bottom: 10px;
}
.card__logo--iann {
  height: 40px;
  background: #f4f8fb;
  border-radius: 10px;
  padding: 6px 8px;
}
.card__icon {
  width: 100%;
  height: 118px;
  object-fit: contain;
  margin: 4px 0 10px;
}
.card h3 {
  font-size: 0.98rem;
  margin: 0 0 6px;
}
.card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0 0 10px;
}
.card__shot {
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.card__shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.45s ease;
}
.card:hover .card__shot img { transform: scale(1.06); }
.card:hover .card__icon { transform: translateY(-4px) scale(1.04); }
.card__icon { transition: transform 0.3s ease; }
.card > a {
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.86rem;
  transition: letter-spacing 0.2s ease;
}
.card > a:hover { letter-spacing: 0.02em; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 8px 0 0;
  margin: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  border-top: 1px dashed rgba(46, 230, 240, 0.28);
}
.steps li {
  position: relative;
  background: transparent;
  padding: 12px 8px;
  text-align: center;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.steps li:hover {
  background: rgba(46, 230, 240, 0.05);
  transform: translateY(-4px);
}
.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #0d1b28;
  border: 1px solid rgba(46, 230, 240, 0.45);
  color: var(--cyan);
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.steps h3 { margin: 0 0 8px; font-size: 1.05rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.9rem; }

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 0.7fr;
  gap: 28px;
  align-items: center;
}
.about__photo img {
  width: min(340px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}
.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.stats li {
  background: rgba(12, 26, 38, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stats li:hover { border-color: rgba(46, 230, 240, 0.35); transform: translateY(-2px); }
.stats strong {
  display: block;
  color: var(--cyan);
  font-size: 1.4rem;
}
.stats span { color: var(--muted); font-size: 0.84rem; }
.stats--row {
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 20px;
}

.tech { text-align: center; }
.tech p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 42ch;
}
.tech__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 28px 0 0;
  margin: 0;
}
.tech__row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 22, 34, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: default;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tech__row li:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c, var(--cyan)) 55%, transparent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.tech__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #061018;
  font-size: 0.55rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.03em;
}

.community__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.community__faces {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  align-items: end;
}
.community__faces img {
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}
.community__faces img:hover { transform: translateY(-8px) scale(1.04); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.form label { display: grid; gap: 6px; font-size: 0.82rem; color: #b7c9d2; }
.form input, .form textarea {
  background: rgba(11, 22, 34, 0.86);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.form input:focus, .form textarea:focus {
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(46, 230, 240, 0.12);
}
.form input.is-invalid, .form textarea.is-invalid { border-color: #ff6b6b; }
.form__count { color: #6d8693; font-size: 0.72rem; justify-self: end; }
.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form__ok { color: var(--cyan); font-weight: 700; }
.contact__photo img {
  width: min(380px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px 20px;
  align-items: center;
}
.footer__brand img { height: 32px; }
.footer__brand small {
  display: block;
  margin-top: 6px;
  color: #6d8693;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; color: #8aa4b3; font-size: 0.86rem; justify-content: center; }
.footer__social {
  display: flex;
  gap: 10px;
  justify-self: end;
}
.footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.78rem;
}
.footer__copy {
  grid-column: 1 / -1;
  color: #6d8693;
}
.footer__ezer {
  grid-column: 1 / -1;
  margin: 0;
  color: #8aa4b3;
  font-weight: 700;
}
.footer__ezer span {
  color: #a855f7;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav { display: block; }
  .nav__bar { width: 100%; }
  .nav__links, .nav__cta { display: none; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: static;
    transform: none;
    margin-top: 12px;
    background: #0c1a26;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
  }
  .nav.open .nav__cta {
    display: inline-flex;
    margin-top: 10px;
  }
  .nav__toggle { display: inline-flex; }
  .hero__grid, .cards, .steps, .about__grid, .community__grid, .contact__grid, .stats--row, .footer__grid {
    grid-template-columns: 1fr;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .head { display: block; }
  .hero { min-height: auto; }
  .hero__visual { min-height: 340px; }
  .footer__social { justify-self: start; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero__desk { display: none; }
  .hero__visual { min-height: 0; overflow: hidden; }
  .hero__chun { width: min(260px, 68%); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  pointer-events: none;
}
.fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 70;
  opacity: 0.7;
  mix-blend-mode: screen;
  transition: transform 0.15s ease, width 0.15s ease, height 0.15s ease;
}
.cursor.is-on {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
}
@media (pointer: fine) {
  body:has(.cursor:not([hidden])) { cursor: none; }
  body:has(.cursor:not([hidden])) a,
  body:has(.cursor:not([hidden])) button,
  body:has(.cursor:not([hidden])) input,
  body:has(.cursor:not([hidden])) textarea { cursor: none; }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}
.cards .reveal:nth-child(2) { animation-delay: 0.08s; }
.cards .reveal:nth-child(3) { animation-delay: 0.16s; }
.cards .reveal:nth-child(4) { animation-delay: 0.24s; }
.steps .reveal:nth-child(2) { animation-delay: 0.08s; }
.steps .reveal:nth-child(3) { animation-delay: 0.16s; }
.steps .reveal:nth-child(4) { animation-delay: 0.24s; }
.nav.is-scrolled {
  background: rgba(5, 11, 20, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.footer a:hover { color: #fff; }
.footer__social a:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(46, 230, 240, 0.25);
}

@keyframes pulse {
  50% { opacity: 0.35; transform: scale(0.85); }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .hero__status i, .btn, .card, .card__shot img, .tech__row li { animation: none; transition: none; }
  .fx, .cursor { display: none; }
}
