:root {
  --bg: #0b0d17;
  --bg-2: #11142280;
  --surface: #151829;
  --surface-2: #1b1f35;
  --line: #262b47;
  --text: #eef0fa;
  --muted: #9aa0bd;
  --a1: #8b6cff;
  --a2: #ff7a6b;
  --grad: linear-gradient(120deg, var(--a1), var(--a2));
  --radius: 22px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
svg { flex-shrink: 0; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--a2); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem var(--font); color: #fff; background: var(--grad);
  box-shadow: 0 12px 30px -10px rgba(139, 108, 255, .6);
  transition: transform .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(255, 122, 107, .55); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--a1); box-shadow: none; }
.btn--small { padding: .6rem 1.2rem; font-size: .92rem; }
.btn--full { width: 100%; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 13, 23, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; }

/* Hero */
.hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 40% at 75% 30%, rgba(139, 108, 255, .28), transparent 70%),
    radial-gradient(35% 35% at 20% 10%, rgba(255, 122, 107, .16), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.hero__text .lead { margin: 1.5rem 0 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__stats { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 2rem; font-weight: 800; }
.hero__stats span { color: var(--muted); font-size: .9rem; }
.hero__visual { position: relative; }
.hero__img {
  border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.4; transform: rotate(2deg);
  border: 1px solid var(--line);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.2rem; border-radius: 18px;
  background: rgba(21, 24, 41, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.15rem; }
.float-card small { color: var(--muted); font-size: .8rem; }
.float-card svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--grad); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float-card--a { left: -2.5rem; bottom: 12%; }
.float-card--b { right: -1.5rem; top: 8%; animation-delay: -3s; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--green { background: #3ddc97; box-shadow: 0 0 0 6px rgba(61, 220, 151, .18); }
@keyframes float { 50% { transform: translateY(-12px); } }

.marquee { margin-top: 5rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 32s linear infinite; }
.marquee__track span { font-size: 1.3rem; font-weight: 700; color: #4a5075; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(calc(-50% - 1.75rem)); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 130px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, #0f1120 12%, #0f1120 88%, transparent); }
.section__head { max-width: 720px; margin-bottom: 3.5rem; }
.section__head .lead { margin-top: 1.1rem; }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s, border-color .35s;
}
.service:hover { transform: translateY(-6px); border-color: #3b4170; }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service__img img { transform: scale(1.06); }
.service__body { padding: 1.8rem; }
.service__num { font-weight: 800; font-size: .85rem; color: var(--a1); }
.service h3 { margin: .4rem 0 .7rem; font-size: 1.35rem; }
.service p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.8rem; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(139, 108, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b19dff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.banner {
  position: relative; margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; display: flex; align-items: center; border: 1px solid var(--line);
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% center; transform: scale(1.12); transform-origin: left center; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 23, .95) 30%, rgba(11, 13, 23, .35)); }
.banner__content { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 3.5rem); max-width: 560px; }
.banner h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .9rem; }
.banner p { color: #c3c8e0; }

/* Process */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.process__intro .lead { margin-top: 1.1rem; }
.process__img { margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; border: 1px solid var(--line); }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.step {
  display: flex; gap: 1.3rem; padding: 1.7rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s;
}
.step:hover { border-color: var(--a1); background: var(--surface-2); }
.step__n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  font-weight: 800; font-size: 1.15rem; background: var(--grad); flex-shrink: 0;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); }

/* Works */
.filters { display: flex; gap: .5rem; background: var(--surface); padding: .35rem; border-radius: 999px; border: 1px solid var(--line); }
.filter { font: 600 .9rem var(--font); color: var(--muted); background: none; border: 0; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; transition: .25s; }
.filter.is-active { background: var(--grad); color: #fff; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 1.5rem; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.work--tall { grid-row: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 13, 23, .92)); transition: opacity .4s; }
.work__info { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; transition: transform .4s; }
.work__info span { font-size: .8rem; font-weight: 600; color: var(--a2); text-transform: uppercase; letter-spacing: .1em; }
.work__info h3 { margin-top: .3rem; font-size: 1.25rem; }
.work:hover img { transform: scale(1.07); }
.work:hover .work__info { transform: translateY(-6px); }
.work.is-hidden { display: none; }
.work--cta {
  grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 2rem 2.5rem; background: radial-gradient(80% 120% at 100% 0%, rgba(139, 108, 255, .35), transparent 60%), var(--surface);
}
.work--cta::after { display: none; }
.work--cta h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 1.4rem; max-width: 18ch; }
.work--cta .eyebrow { margin-bottom: .7rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 5rem; align-items: center; }
.about__img { position: relative; }
.about__img img { border-radius: 32px; aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.about__badge {
  position: absolute; right: -1.5rem; bottom: 2.5rem; display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 1.5rem; border-radius: 20px; background: var(--grad); box-shadow: var(--shadow);
}
.about__badge strong { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.about__text .lead { margin: 1.2rem 0 2.2rem; }
.values { display: grid; gap: 1.4rem; }
.value { display: flex; gap: 1.1rem; }
.value svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); fill: none; stroke: #b19dff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.value p { color: var(--muted); font-size: .96rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq .section__head { margin-bottom: 2.5rem; }
.faq__list { display: grid; gap: .9rem; }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 1.6rem;
  transition: border-color .3s;
}
details[open] { border-color: #3b4170; }
summary {
  list-style: none; cursor: pointer; padding: 1.35rem 0; font-weight: 700; font-size: 1.06rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--a1); transition: transform .3s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 1.4rem; margin-top: -.3rem; }

/* Contact */
.contact { position: relative; padding: clamp(90px, 12vw, 140px) 0; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--bg), rgba(11, 13, 23, .6) 30%, rgba(11, 13, 23, .7) 70%, var(--bg)); }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact__text .lead { margin: 1.2rem 0 2rem; }
.contact__info { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact__info li { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.contact__info svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); fill: none; stroke: var(--a2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__info a:hover { color: var(--a2); }

.form {
  display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 28px;
  background: rgba(21, 24, 41, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .45rem; font-size: .88rem; font-weight: 600; color: #c3c8e0; }
.form input:not([type=checkbox]), .form textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px rgba(139, 108, 255, .18); }
.form .is-invalid { border-color: var(--a2) !important; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { font-size: .88rem; font-weight: 600; color: #c3c8e0; margin-bottom: .5rem; padding: 0; }
.chips label { display: block; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; color: var(--muted); transition: .2s; }
.chips input:checked + span { background: rgba(139, 108, 255, .16); border-color: var(--a1); color: var(--text); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(139, 108, 255, .4); }
.form__note { min-height: 1.4em; font-size: .92rem; text-align: center; color: #3ddc97; }
.form__note.is-error { color: var(--a2); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.logo--footer { font-size: 1.15rem; }
.logo--footer svg { width: 28px; height: 28px; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__links a, .footer__copy { color: var(--muted); font-size: .92rem; }
.footer__links a:hover, .footer__copy a:hover { color: var(--text); }
.footer__copy a { text-decoration: underline; text-underline-offset: 3px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid, .process, .about, .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__img { aspect-ratio: 16 / 12; }
  .float-card--a { left: -.5rem; }
  .float-card--b { right: -.5rem; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .service:last-child { grid-column: span 2; }
  .services .service:last-child .service__img { aspect-ratio: 21 / 8; }
  .works { grid-template-columns: 1fr 1fr; }
  .work--cta { grid-column: span 1; padding: 1.8rem; }
  .about__img { max-width: 520px; }
  .about__badge { right: -.5rem; }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--line); cursor: pointer; z-index: 2;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.8rem;
    background: rgba(11, 13, 23, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__links a:not(.btn) { font-size: 1.6rem; font-weight: 700; color: var(--text); }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .hero { padding-top: 120px; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem; justify-content: space-between; }
  .hero__stats strong { font-size: 1.6rem; }
  .hero__stats span { font-size: .8rem; }
  .hero__img { transform: none; border-radius: 24px; }
  .float-card { padding: .7rem .9rem; }
  .float-card strong { font-size: 1rem; }
  .float-card--a { left: .6rem; bottom: -1.2rem; }
  .float-card--b { right: .6rem; top: -1.2rem; }
  .marquee { margin-top: 3.5rem; }
  .services, .works { grid-template-columns: 1fr; }
  .services .service:last-child { grid-column: auto; }
  .services .service:last-child .service__img { aspect-ratio: 16 / 10; }
  .works { grid-auto-rows: 240px; }
  .work--tall { grid-row: span 1; }
  .work--cta { grid-column: auto; }
  .banner::after { background: linear-gradient(180deg, rgba(11, 13, 23, .55), rgba(11, 13, 23, .95) 60%); }
  .banner { align-items: end; min-height: 380px; }
  .step { padding: 1.3rem; gap: 1rem; }
  .about__badge { right: .8rem; bottom: .8rem; padding: .9rem 1.1rem; }
  .about__badge strong { font-size: 1.9rem; }
  .form__row { grid-template-columns: 1fr; }
  .section__head--row { align-items: start; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
