:root {
  --bg: #0b0f14;
  --bg2: #070a0f;
  --surface: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.50);
  --shadow: 0 16px 48px rgba(0,0,0,.45);
  --radius: 18px;
  --accent1: #ff6b3d;
  --accent2: #ff2d55;
  --accent3: #ffb703;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; height: 100% }
body {
  margin: 0; min-height: 100%;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg2);
  background: linear-gradient(180deg, var(--bg), var(--bg2)) no-repeat fixed;
  overflow-x: hidden;
}

.bg {
  position: fixed; inset: -20vh -20vw;
  background:
    radial-gradient(700px 380px at 20% 10%, rgba(255,107,61,.20), transparent 60%),
    radial-gradient(720px 420px at 85% 20%, rgba(255,45,85,.16), transparent 65%),
    radial-gradient(700px 420px at 30% 85%, rgba(255,183,3,.08), transparent 70%);
  pointer-events: none; z-index: -1;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px }

/* ── Reveal animations ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none }
.reveal--delay { transition-delay: .15s }

/* ── Topbar ── */
.topbar {
  position: sticky; top: 0;
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  background: rgba(11,15,20,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 100;
  transition: box-shadow .3s, background .3s;
}
.topbar.scrolled {
  background: rgba(11,15,20,.88);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 14px;
}

.brand { display: flex; align-items: center; text-decoration: none; color: var(--text) }
.logo { display: flex; align-items: center }
.logo img { width: auto; height: 52px }

.nav { display: none; gap: 24px }
.nav__link {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px;
  position: relative; transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  transform: scaleX(0); transition: transform .25s;
}
.nav__link:hover { color: var(--text) }
.nav__link.active { color: var(--text) }
.nav__link.active::after { transform: scaleX(1) }

.topbar__actions { display: none; align-items: center; gap: 10px }
.lang {
  height: 36px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  color: var(--muted); font-weight: 600; font-size: 13px;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; transition: background .2s;
}
.lang:hover { background: rgba(255,255,255,.12) }
.lang__dot { width: 8px; height: 8px; border-radius: 99px; background: linear-gradient(135deg, var(--accent1), var(--accent2)) }

.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: none; border: none; cursor: pointer;
}
.burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--text); transition: .25s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.burger.active span:nth-child(2) { opacity: 0 }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

.mobile-menu {
  position: fixed; inset: 64px 0 0 0;
  background: rgba(7,10,15,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 400px }
.mobile-menu__link {
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 22px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .15s;
}
.mobile-menu__link:hover { color: var(--accent1) }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: .2px;
  border: 1px solid transparent; cursor: pointer; user-select: none;
  transition: filter .2s, background .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.97) }
.btn--primary {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #0b0f14;
  box-shadow: 0 8px 24px rgba(255,45,85,.2);
}
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 12px 32px rgba(255,45,85,.3) }
.btn--ghost {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.12) }
.btn--sm { height: 38px; padding: 0 14px; font-size: 13px }
.btn--lg { height: 50px; padding: 0 28px; font-size: 15px }

/* ── Hero ── */
.hero { padding: 48px 0 24px }
.hero__grid { display: grid; gap: 28px }

.kicker {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,107,61,.08); border: 1px solid rgba(255,107,61,.20);
  color: var(--accent1); font-weight: 700; font-size: 12px;
  letter-spacing: .5px; text-transform: uppercase;
}
.h1 {
  margin: 16px 0 14px; font-size: 38px; line-height: 1.06;
  letter-spacing: -1px; font-weight: 900;
}
.lead { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 50ch }

.hero__cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px }
.chip {
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: var(--muted2); font-size: 12px; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(255,255,255,.16); color: var(--muted) }

.hero__panel {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 16px;
}
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.card {
  border-radius: 16px; background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.06);
  padding: 16px; min-height: 110px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(255,107,61,.25); transform: translateY(-3px) }
.card__icon { color: var(--accent1); margin-bottom: 4px }
.card__title { margin-top: 8px; font-weight: 800; font-size: 15px }
.card__text { margin-top: 6px; color: var(--muted2); font-weight: 600; font-size: 13px; line-height: 1.4 }

/* ── Stats ── */
.stats { padding: 12px 0 }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.06);
}
.stat {
  background: var(--bg); padding: 24px 20px; text-align: center;
}
.stat__num {
  font-size: 36px; font-weight: 900; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label { margin-top: 4px; color: var(--muted2); font-weight: 600; font-size: 13px }

/* ── Sections ── */
.section { padding: 48px 0 }
.section__head { margin-bottom: 24px }
.h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.4px; font-weight: 800 }
.section__sub { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; max-width: 55ch }

.grid { display: grid; gap: 14px }
.grid--4 { grid-template-columns: 1fr }
.grid--2 { grid-template-columns: 1fr }
.grid--3 { grid-template-columns: 1fr }

.service {
  border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service:hover {
  border-color: rgba(255,255,255,.14);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.service__icon { margin-bottom: 6px }
.service__title { margin: 10px 0 6px; font-size: 16px; font-weight: 800 }
.service__text { margin: 0; color: var(--muted); font-weight: 600; font-size: 14px; line-height: 1.55 }

/* ── Timeline / Process ── */
.timeline { display: grid; gap: 0 }
.timeline__step {
  position: relative;
  padding: 28px 24px 28px 72px;
  border-left: 2px solid rgba(255,255,255,.08);
  margin-left: 20px;
}
.timeline__step:last-child { border-left-color: transparent }
.timeline__num {
  position: absolute; left: -21px; top: 28px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #0b0f14; font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(255,107,61,.3);
}
.timeline__title { margin: 0 0 8px; font-size: 18px; font-weight: 800 }
.timeline__text { margin: 0; color: var(--muted); font-weight: 600; font-size: 14px; line-height: 1.6; max-width: 50ch }

/* ── Link cards ── */
.linkcard {
  display: flex; align-items: center; gap: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  padding: 22px;
  text-decoration: none; color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.linkcard:hover {
  border-color: rgba(255,107,61,.30);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.linkcard__icon { color: var(--accent1); flex-shrink: 0 }
.linkcard__title { font-weight: 800; font-size: 17px; margin-bottom: 3px }
.linkcard__desc { color: var(--muted); font-weight: 600; font-size: 13px }
.linkcard__arrow { color: var(--muted2); margin-left: auto; flex-shrink: 0; transition: transform .25s, color .25s }
.linkcard:hover .linkcard__arrow { transform: translateX(5px); color: var(--accent1) }

.case-more { margin-top: 20px; text-align: center }

/* ── Reviews ── */
.review-cta {
  display: flex; align-items: center; gap: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,107,61,.06), rgba(255,45,85,.04));
  border: 1px solid rgba(255,107,61,.15);
  padding: 28px;
  text-decoration: none; color: var(--text);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.review-cta:hover {
  border-color: rgba(255,107,61,.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.review-cta__icon { color: var(--accent1); flex-shrink: 0 }
.review-cta__body { flex: 1; min-width: 0 }
.review-cta__title { font-weight: 800; font-size: 18px; margin-bottom: 4px }
.review-cta__desc { color: var(--muted); font-weight: 600; font-size: 14px; line-height: 1.5 }
.review-cta__badge {
  flex-shrink: 0; height: 36px; padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #0b0f14; font-weight: 700; font-size: 13px;
  display: flex; align-items: center;
  transition: filter .2s;
}
.review-cta:hover .review-cta__badge { filter: brightness(1.1) }

@media (max-width: 639px) {
  .review-cta { flex-wrap: wrap }
  .review-cta__badge { margin-top: 8px }
}

/* ── CTA Block ── */
.cta-block {
  position: relative;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.cta-block__glow {
  position: absolute; top: -50%; left: -20%; width: 140%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,107,61,.10), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255,45,85,.08), transparent 60%);
  pointer-events: none;
}
.cta-block__inner {
  position: relative; padding: 40px 28px; text-align: center;
}
.cta-block__title { font-size: 28px; margin-bottom: 12px }
.cta-block__text { color: var(--muted); font-weight: 600; font-size: 15px; line-height: 1.6; max-width: 50ch; margin: 0 auto 24px }
.cta-block__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap }

/* ── Footer ── */
.footer { padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.06); margin-top: 16px }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px }
.footer__nav { display: flex; gap: 20px }
.footer__link { color: var(--muted); text-decoration: none; font-weight: 600; transition: color .15s }
.footer__link:hover { color: var(--text) }
.muted { color: var(--muted) }

/* ── Tech marquee ── */
.marquee {
  overflow: hidden; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; gap: 32px; width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee__item {
  font-size: 14px; font-weight: 700; color: var(--muted2);
  white-space: nowrap; letter-spacing: .3px;
  text-transform: uppercase;
}
@keyframes marquee {
  0% { transform: translateX(0) }
  100% { transform: translateX(-50%) }
}

/* ── Cursor glow ── */
.card, .service, .linkcard, .review-cta, .cta-block {
  position: relative; overflow: hidden;
}
.card::before, .service::before, .linkcard::before, .review-cta::before, .cta-block::before {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,61,.12), transparent 70%);
  left: var(--gx, -200px); top: var(--gy, -200px);
  transform: translate(-50%,-50%);
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
}
.card:hover::before, .service:hover::before, .linkcard:hover::before, .review-cta:hover::before, .cta-block:hover::before {
  opacity: 1;
}

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  transform-origin: left; transform: scaleX(0);
  z-index: 200; pointer-events: none;
}

/* ── Back to top ── */
.btt {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 90; backdrop-filter: blur(8px);
}
.btt--show { opacity: 1; transform: none }
.btt:hover { background: rgba(255,107,61,.2); border-color: rgba(255,107,61,.4) }

/* ── Typed cursor ── */
.typed::after {
  content: '|'; animation: blink .7s step-end infinite;
  color: var(--accent1); font-weight: 400;
}
.typed--done::after { display: none }
@keyframes blink { 50% { opacity: 0 } }

/* ── Responsive ── */
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr) }
  .grid--2 { grid-template-columns: repeat(2, 1fr) }
  .grid--3 { grid-template-columns: repeat(3, 1fr) }
}

@media (min-width: 820px) {
  .burger { display: none }
  .nav { display: flex }
  .topbar__actions { display: flex }

  .hero { padding: 80px 0 40px }
  .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: stretch }
  .h1 { font-size: 52px }

  .grid--4 { grid-template-columns: repeat(4, 1fr) }

  .timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 }
  .timeline__step {
    border-left: none; border-top: 2px solid rgba(255,255,255,.08);
    margin-left: 0; padding: 72px 20px 20px 20px;
  }
  .timeline__step:last-child { border-top-color: rgba(255,255,255,.08) }
  .timeline__num { left: 20px; top: -20px }

  .stat__num { font-size: 44px }

  .cta-block__inner { padding: 56px 40px }
  .cta-block__title { font-size: 34px }
}
