@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Unbounded:wght@500;600&display=swap');

:root {
  --bg: #07090d;
  --surface: #101319;
  --surface-2: #151922;
  --text: #f3f5f0;
  --muted: #9da4ad;
  --line: rgba(255,255,255,.12);
  --lime: #b9ff38;
  --blue: #4d7cff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: 'Manrope', sans-serif; font-size: 16px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--lime); color: #0b0d0f; }

.noise { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; width: 420px; height: 420px; left: 0; top: 0; border-radius: 50%; background: rgba(77,124,255,.1); filter: blur(70px); pointer-events: none; z-index: 0; transform: translate(-50%,-50%); }
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 99; background: linear-gradient(90deg,var(--blue),var(--lime)); }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; position: relative; z-index: 1; }

.site-header { position: fixed; z-index: 50; top: 18px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 1240px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 10px 12px 10px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(8,10,14,.72); backdrop-filter: blur(18px); box-shadow: 0 12px 50px rgba(0,0,0,.25); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: 'Unbounded', sans-serif; font-size: .74rem; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 30px; border-radius: 9px; color: #080a0d; background: var(--lime); font-weight: 700; letter-spacing: -.08em; }
.desktop-nav { display: flex; gap: 30px; color: #c7cbd1; font-size: .85rem; }
.desktop-nav a { transition: color .25s ease; }
.desktop-nav a:hover { color: var(--lime); }
.header-cta { justify-self: end; padding: 12px 16px; border-radius: 11px; background: #f2f4ed; color: #0a0c10; font-weight: 700; font-size: .82rem; }
.header-cta span { margin-left: 8px; }

.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr; align-items: center; overflow: hidden; padding-block: 130px 80px; }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; left: -25%; top: 18%; background: rgba(77,124,255,.13); filter: blur(130px); border-radius: 50%; }
.hero::after { content: ''; position: absolute; right: -8%; top: 14%; width: min(48vw,620px); aspect-ratio: 1; border: 1px solid rgba(185,255,56,.13); border-radius: 50%; box-shadow: 0 0 0 70px rgba(77,124,255,.025),0 0 0 140px rgba(185,255,56,.018); }
.hero-copy { position: relative; z-index: 3; max-width: 980px; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: #c9cdd4; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: 'Unbounded', sans-serif; letter-spacing: -.045em; }
h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(3rem, 6.4vw, 6.8rem); line-height: .96; }
h1 em,h2 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 610px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 56px; padding: 0 24px; border-radius: 14px; font-weight: 700; }
.button-primary { background: var(--lime); color: #090b0e; box-shadow: 0 0 50px rgba(185,255,56,.16); }
.button span { font-size: 1.2rem; }
.text-link { padding-block: 12px; border-bottom: 1px solid rgba(255,255,255,.25); color: #d6d9dd; }
.text-link span { color: var(--lime); margin-left: 8px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 52px; color: #767e88; font-size: .77rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: #59606a; }
.hero-grid { position: absolute; z-index: 1; right: 2%; top: 22%; width: min(34vw,460px); aspect-ratio: 1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle at center,#000 25%,transparent 72%); }
.hero-grid span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); animation: signal 3s ease-in-out infinite; }
.hero-grid span:nth-child(1) { left: 25%; top: 25%; }
.hero-grid span:nth-child(2) { right: 22%; top: 38%; animation-delay: -.8s; }
.hero-grid span:nth-child(3) { left: 42%; bottom: 22%; animation-delay: -1.6s; }
.hero-grid span:nth-child(4) { right: 8%; bottom: 8%; animation-delay: -2.3s; }
@keyframes signal { 50% { opacity: .25; transform: scale(.55); } }
.scroll-cue { position: absolute; bottom: 24px; left: 0; display: flex; align-items: center; gap: 10px; color: #69717a; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.scroll-cue span { width: 42px; height: 1px; background: #4c535c; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--lime); color: #090b0e; transform: rotate(-1.2deg) scale(1.03); }
.marquee-track { display: flex; align-items: center; width: max-content; padding: 17px 0; animation: marquee 26s linear infinite; }
.marquee span { font-family: 'Unbounded', sans-serif; font-size: .84rem; letter-spacing: .08em; white-space: nowrap; }
.marquee i { margin: 0 24px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.services,.approach,.about { padding-block: 150px; }
.section-heading { display: grid; grid-template-columns: 170px 1fr; margin-bottom: 70px; }
.section-number { color: #6c737d; font-size: .75rem; letter-spacing: .1em; }
.section-heading .kicker { margin-bottom: 18px; color: var(--lime); }
.section-heading h2,.about h2,.contact h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4.6vw, 5rem); line-height: 1.08; }
.service-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; perspective: 1200px; }
.service-card { grid-column: span 4; min-height: 410px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018)); transform-style: preserve-3d; transition: border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.service-card:hover { border-color: rgba(185,255,56,.45); background: linear-gradient(145deg,rgba(185,255,56,.08),rgba(255,255,255,.018)); }
.service-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.service-card:hover .service-icon { transform: rotate(45deg); }
.service-card-featured { grid-column: span 8; background: var(--lime); color: #0a0d10; }
.service-card-featured:hover { background: #c5ff5b; }
.service-card-wide { grid-column: span 8; min-height: 330px; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; font-size: .75rem; color: #747c87; }
.service-card-featured .service-top { color: rgba(7,9,13,.55); }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.2rem; transition: transform .3s ease; }
.service-card h3 { margin-bottom: 14px; font-family: 'Unbounded', sans-serif; font-size: clamp(1.5rem,2.3vw,2.3rem); letter-spacing: -.04em; }
.service-card p { max-width: 580px; margin-bottom: 24px; color: #a3aab3; line-height: 1.65; }
.service-card-featured p { color: rgba(7,9,13,.68); }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.service-card li { padding: 7px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #a9b0b9; font-size: .73rem; }
.service-card-featured li { border-color: rgba(7,9,13,.2); color: rgba(7,9,13,.75); }

.approach { border-top: 1px solid var(--line); }
.steps { border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 24px; align-items: center; min-height: 140px; border-bottom: 1px solid var(--line); }
.steps article > span { color: var(--lime); font-size: .75rem; }
.steps h3 { margin: 0; font-family: 'Unbounded', sans-serif; font-size: 1.45rem; }
.steps p { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.6; }

.about { display: block; }
.about-copy { position: relative; max-width: 980px; margin-left: auto; padding-left: clamp(0px,8vw,120px); }
.about-copy::before { content: 'П'; position: absolute; z-index: -1; left: -120px; top: -85px; color: rgba(185,255,56,.035); font-family: 'Unbounded',sans-serif; font-size: clamp(14rem,30vw,30rem); line-height: 1; }
.about-copy > .section-number { display: block; margin-bottom: 30px; }
.about-intro { margin-bottom: 18px !important; color: var(--lime) !important; font-family: 'Unbounded',sans-serif; font-size: clamp(1.2rem,2vw,1.7rem) !important; }
.about-copy h2 { margin-bottom: 35px; }
.about-copy p { max-width: 670px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.about-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; max-width: 820px; margin-top: 45px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.about-facts div { min-height: 145px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); }
.about-facts strong { color: var(--lime); font-family: 'Unbounded',sans-serif; font-size: 2rem; }
.about-facts span { color: var(--muted); font-size: .82rem; }

.contact { padding-block: 40px 120px; }
.contact-card { position: relative; overflow: hidden; padding: clamp(42px,7vw,90px); border-radius: 32px; background: var(--lime); color: #090b0e; }
.contact-card::after { content: ''; position: absolute; width: 400px; height: 400px; right: -60px; top: -100px; border: 1px solid rgba(7,9,13,.2); border-radius: 50%; box-shadow: 0 0 0 45px rgba(7,9,13,.035),0 0 0 90px rgba(7,9,13,.025); }
.contact-card .kicker { color: rgba(7,9,13,.6); }
.contact-card h2 { position: relative; z-index: 1; max-width: 900px; margin-block: 20px 28px; }
.contact-card h2 em { color: #153bff; }
.contact-card > p:not(.kicker) { position: relative; z-index: 1; max-width: 650px; line-height: 1.65; color: rgba(7,9,13,.7); }
.button-dark { position: relative; z-index: 2; margin-top: 18px; background: #090b0e; color: #fff; }
.contact-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button-max { position: relative; z-index: 2; min-height: 46px; margin-top: 18px; padding-inline: 18px; border: 1px solid rgba(7,9,13,.3); color: #090b0e; font-size: .82rem; }
.button-max:hover { background: rgba(7,9,13,.08); }
.contact-card small { display: block; margin-top: 16px; color: rgba(7,9,13,.55); }

.site-footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #777f89; font-size: .82rem; }
.site-footer p { margin: 0; }
.site-footer > a:last-child:hover { color: var(--lime); }
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 950px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { align-items: end; padding-top: 150px; }
  .hero-copy { align-self: center; }
  .hero-grid { right: -10%; width: 58vw; }
  .service-card,.service-card-featured,.service-card-wide { grid-column: span 6; }
  .steps article { grid-template-columns: 70px 1fr; padding-block: 28px; }
  .steps p { grid-column: 2; }
}

@media (max-width: 680px) {
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { top: 10px; width: calc(100% - 20px); border-radius: 14px; }
  .header-cta { padding: 11px 13px; }
  .header-cta span,.header-cta { font-size: 0; }
  .header-cta::after { content: 'Написать'; font-size: .76rem; }
  .hero { min-height: 780px; padding-block: 130px 80px; }
  h1 { font-size: clamp(2.7rem,13vw,4.8rem); }
  .hero-lead { max-width: 92%; }
  .hero-grid { right: -34%; top: 34%; width: 94vw; opacity: .28; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-meta { max-width: 300px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading h2,.about h2,.contact h2 { font-size: clamp(2.1rem,10vw,3.4rem); }
  .services,.approach,.about { padding-block: 100px; }
  .service-card,.service-card-featured,.service-card-wide { grid-column: 1/-1; min-height: 350px; }
  .steps article { grid-template-columns: 48px 1fr; }
  .about-copy { padding-left: 0; }
  .about-copy::before { left: -40px; top: -35px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div { min-height: 105px; }
  .contact { padding-bottom: 80px; }
  .contact-card { padding: 38px 24px; border-radius: 23px; }
  .button-dark { width: 100%; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .button-max { align-self: flex-start; width: auto; margin-top: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-block: 35px; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
