:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f3f7fd;
  --ink: #0a1730;
  --muted: #6d7890;
  --line: #dfe6f0;
  --blue: #0b65f5;
  --blue-2: #3988ff;
  --blue-soft: #eaf3ff;
  --success: #16a36a;
  --shadow: 0 24px 70px rgba(22, 53, 99, .10);
  --shadow-sm: 0 14px 36px rgba(22, 53, 99, .08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f5f7fb 0, #fff 190px, #fff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .018; z-index: 99;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 76px 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(215,224,238,.7); }
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-size: 23px; font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.brand span { color: var(--blue); }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 24px; }
.desktop-nav a, .footer-nav a, .footer-links a { font-size: 14px; color: #33425d; transition: color .2s ease; }
.desktop-nav a:hover, .footer-nav a:hover, .footer-links a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn { min-height: 44px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(11, 101, 245, .23); }
.btn-primary:hover { background: #075ce2; box-shadow: 0 16px 34px rgba(11, 101, 245, .30); }
.btn-ghost, .btn-outline { background: #fff; color: var(--ink); border-color: #b9c5d8; }
.btn-outline { color: var(--blue); border-color: #92b9ff; }
.btn-large { min-height: 52px; border-radius: 12px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 12px; }
.menu-btn span { display:block; height: 2px; background: var(--ink); margin: 5px 0; transition:.2s; }
.mobile-menu { display:none; }

.hero { padding-top: 54px; padding-bottom: 58px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: 56px; min-height: 590px; }
.eyebrow { margin: 0 0 17px; color: #6b7e9f; font-size: 12px; letter-spacing: .16em; font-weight: 800; }
.eyebrow.blue { color: var(--blue); }
h1 { margin: 0; max-width: 650px; font-size: clamp(42px, 5.2vw, 68px); line-height: .98; letter-spacing: -.058em; font-weight: 850; }
.hero-title-static { display:block; }
.typewriter-line {
  display:flex;
  align-items:baseline;
  min-height:1.08em;
  margin-top:.08em;
  color:var(--blue);
  white-space:nowrap;
}
.typewriter-cursor {
  display:inline-block;
  width:.055em;
  height:.83em;
  margin-left:.08em;
  border-radius:999px;
  background:currentColor;
  transform:translateY(.06em);
  animation:typewriterBlink .8s steps(1,end) infinite;
}
@keyframes typewriterBlink {
  0%, 48% { opacity:1; }
  49%, 100% { opacity:0; }
}
@media (prefers-reduced-motion: reduce) {
  .typewriter-cursor { animation:none; opacity:1; }
}
.hero-text { max-width: 620px; margin: 26px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hero-actions { display:flex; flex-wrap:wrap; gap: 12px; margin-top: 30px; }
.stats { display:grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; max-width: 620px; }
.stat { padding-right: 20px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; }
.stat strong { display:block; font-size: 30px; letter-spacing: -.04em; }
.stat span { display:block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.hero-visual { position: relative; height: 570px; }
.hero-orb { position:absolute; border-radius:50%; filter: blur(2px); }
.orb-one { width: 400px; height:400px; right:-60px; top:32px; background:radial-gradient(circle at 40% 40%, #eef6ff, #cfe3ff 62%, transparent 63%); opacity:.75; }
.orb-two { width: 220px; height:220px; left:70px; bottom:30px; background:radial-gradient(circle at 50% 50%, #f4f8ff, #e1ecff 70%, transparent 72%); opacity:.6; }
.mockup { position:absolute; background:#0b1629; border:1px solid #cbd7e8; border-radius:22px; overflow:hidden; box-shadow:0 38px 80px rgba(15,40,80,.22); }
.dashboard-card { width: 480px; right:-38px; top:28px; transform: perspective(1000px) rotateY(-5deg) rotateZ(3deg); padding: 12px; }
.mockup-top { height: 38px; display:flex; align-items:center; justify-content:space-between; padding:0 8px 8px; color:#fff; }
.mockup-brand { font-weight:800; letter-spacing:-.04em; }.mockup-brand span{color:#66a4ff;}
.window-dots { display:flex; gap:5px; }.window-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#43516a;}
.dashboard-card img { width:100%; height:300px; object-fit:cover; object-position:top; border-radius:13px; }
.mockup-caption { display:flex; align-items:center; justify-content:space-between; color:#fff; padding:12px 8px 5px; }
.mockup-caption div { display:grid; gap:3px; }.mockup-caption small{color:#9eacc1;}.mockup-caption strong{font-size:17px;}
.badge-success { font-size:11px; color:#63e5af; border:1px solid rgba(99,229,175,.35); background:rgba(99,229,175,.09); padding:6px 8px; border-radius:999px; }
.phone-card { position:absolute; z-index:3; left:38px; top:116px; transform:rotate(-8deg); filter:drop-shadow(0 30px 40px rgba(15,40,80,.25)); }
.phone-shell { width:220px; height:430px; background:#0b0f16; border:7px solid #141a23; border-radius:42px; overflow:hidden; position:relative; }
.phone-shell img { width:100%; height:100%; object-fit:cover; object-position:center; }
.phone-island { position:absolute; width:78px; height:18px; background:#07090c; border-radius:20px; left:50%; transform:translateX(-50%); top:9px; z-index:2; }
.telegram-float { position:absolute; z-index:5; right:-18px; bottom:36px; width:360px; padding:18px; background:rgba(255,255,255,.94); border:1px solid #e1e8f2; border-radius:20px; display:grid; grid-template-columns:54px 1fr 38px; align-items:center; gap:13px; box-shadow:var(--shadow); backdrop-filter:blur(12px); }
.telegram-icon,.tg-big { display:grid; place-items:center; background:linear-gradient(140deg,#1e95ff,#0875ed); color:#fff; transform:rotate(-18deg); }
.telegram-icon { width:54px;height:54px;border-radius:14px;font-size:24px; }
.telegram-float div:nth-child(2) { display:grid; gap:3px; }.telegram-float small{color:var(--muted);font-size:11px;}.telegram-float strong{font-size:15px;}.telegram-float span:not(.arrow-circle){color:var(--muted);font-size:11px;}
.arrow-circle { width:34px;height:34px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800; }
.hand-note { position:absolute; left:4px; bottom:58px; font-family:"Segoe Print","Comic Sans MS",cursive; color:#7c879a; transform:rotate(-8deg); font-size:13px; line-height:1.25; }
.hand-note span { color:var(--blue); font-size:21px; }

.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:28px; }
.section-heading h2 { margin:0; font-size:36px; letter-spacing:-.045em; }
.section-heading p { margin:8px 0 0; color:var(--muted); line-height:1.55; }
.section-title-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.soft-pill { display:inline-flex; align-items:center; min-height:27px; padding:0 11px; border-radius:999px; background:#eff3f8; color:#738097; font-size:11px; font-weight:700; }
.text-link { color:var(--blue); font-size:14px; font-weight:750; }

.services { background:#fff; }
.service-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.service-card { min-height:272px; border:1px solid #e2e8f1; background:linear-gradient(160deg,#f8fbff,#f3f6fb); border-radius:18px; padding:24px; display:flex; flex-direction:column; transition:.25s ease; }
.service-card:hover { transform:translateY(-5px); border-color:#bfd3f5; box-shadow:var(--shadow-sm); }
.service-icon { width:44px;height:44px;border-radius:13px;background:#e7f1ff;color:var(--blue);display:grid;place-items:center;font-size:24px;font-weight:800;margin-bottom:22px; }
.service-card h3 { margin:0; font-size:21px; letter-spacing:-.03em; line-height:1.1; }
.service-card p { color:var(--muted); line-height:1.5; font-size:14px; }
.service-card a { margin-top:auto; color:var(--blue); font-weight:750; font-size:13px; display:flex; justify-content:space-between; }

.projects { background:linear-gradient(180deg,#fbfcfe,#fff); }
.filter-row { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 24px; }
.filter-btn { border:1px solid var(--line); background:#fff; border-radius:999px; min-height:40px; padding:0 15px; cursor:pointer; color:#526077; font-size:13px; font-weight:700; transition:.2s; }
.filter-btn span { margin-left:7px; color:#93a0b4; }
.filter-btn:hover,.filter-btn.active { background:#0d1b32; border-color:#0d1b32; color:#fff; }
.filter-btn.active span{color:#a8b8d2;}
.projects-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.project-card { position:relative; min-height:430px; border:1px solid #e0e7f0; border-radius:21px; background:#fff; overflow:hidden; display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s, border .25s; }
.project-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-sm); border-color:#c7d6ed; }
.project-image { height:225px; position:relative; overflow:hidden; background:#edf3fa; }
.project-image img { width:100%;height:100%;object-fit:cover;transition:transform .5s ease; }
.project-card:hover .project-image img { transform:scale(1.035); }
.project-image::after { content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(5,15,30,.12));pointer-events:none; }
.project-number { position:absolute; top:14px; left:14px; z-index:2; background:rgba(255,255,255,.88); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,.7); border-radius:999px; padding:7px 9px; color:#526077; font-size:11px; font-weight:800; }
.project-body { padding:20px; display:flex; flex-direction:column; flex:1; }
.project-category { color:var(--blue); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.project-body h3 { margin:8px 0 9px; font-size:22px; line-height:1.08; letter-spacing:-.035em; }
.project-body p { margin:0; color:var(--muted); font-size:13.5px; line-height:1.52; display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.project-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:17px; }
.project-tags span,.modal-tags span { border-radius:999px; background:#f1f4f8; color:#647188; padding:6px 9px; font-size:10px; font-weight:700; }
.project-bottom { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:auto; padding-top:19px; }
.project-more { border:0;background:none;padding:0;color:var(--blue);font-size:13px;font-weight:800;cursor:pointer; }
.project-arrow { width:34px;height:34px;border-radius:50%;border:1px solid #dce5f0;display:grid;place-items:center;color:var(--ink);background:#fff; }
.projects-actions { display:flex; justify-content:center; margin-top:26px; }
.project-card.hidden-card { display:none; }

.process { background:#fff; }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); }
.process-step { padding:30px 28px 0 0; position:relative; }
.process-step + .process-step { padding-left:28px; border-left:1px solid var(--line); }
.step-no { color:#7c899e; font-size:11px; font-weight:800; }
.step-icon { width:42px;height:42px;border-radius:50%;border:1px solid #b8cef2;color:var(--blue);display:grid;place-items:center;margin:16px 0;font-weight:800; }
.process-step h3 { margin:0 0 9px; font-size:19px; line-height:1.18; letter-spacing:-.025em; }
.process-step p { color:var(--muted); font-size:13px; line-height:1.55; margin:0; }

.about { padding-top:48px; }
.about-card { min-height:470px; border-radius:var(--radius-xl); background:linear-gradient(130deg,#09172d,#102443 72%,#14355f); color:#fff; display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;position:relative;box-shadow:var(--shadow); }
.about-card::after { content:"";position:absolute;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,#146ef1 0,rgba(20,110,241,.16) 42%,transparent 70%);right:-120px;bottom:-180px; }
.about-copy { padding:58px;position:relative;z-index:2; }
.about-copy .eyebrow{color:#8fbaff;}.about-copy h2{font-size:44px;line-height:1.02;letter-spacing:-.05em;margin:0 0 22px;max-width:620px;}.about-copy p:not(.eyebrow){color:#b7c4d8;line-height:1.65;max-width:620px;}
.tech-list { display:flex;flex-wrap:wrap;gap:8px;margin-top:28px; }.tech-list span{padding:8px 11px;border-radius:9px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.055);color:#dce8f8;font-size:12px;}
.about-visual { position:relative;min-height:470px;z-index:2; }
.stack-card { position:absolute;width:270px;height:142px;border-radius:20px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.09);backdrop-filter:blur(20px);padding:22px;display:grid;align-content:start;box-shadow:0 22px 60px rgba(0,0,0,.16); }
.stack-card span{font-size:11px;color:#81b5ff;text-transform:uppercase;font-weight:800;letter-spacing:.08em;}.stack-card strong{margin-top:12px;font-size:23px;}.stack-card small{margin-top:7px;color:#aab9cf;}
.stack-one{top:74px;left:40px;transform:rotate(-7deg)}.stack-two{top:185px;left:160px;transform:rotate(4deg)}.stack-three{top:300px;left:55px;transform:rotate(-3deg)}

.contact { padding-top:54px; padding-bottom:40px; }
.contact-panel { background:linear-gradient(130deg,#e9f3ff,#f5f9ff 56%,#e8f3ff); border:1px solid #d7e6fa; min-height:340px;border-radius:var(--radius-xl);display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;position:relative; }
.contact-copy { padding:48px 52px;position:relative;z-index:2; }.contact-copy h2{margin:0;font-size:42px;line-height:1.02;letter-spacing:-.05em;max-width:650px;}.contact-copy>p:not(.eyebrow){color:#63728b;line-height:1.6;max-width:660px;}.contact-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px;}.contact-meta{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;color:#65738c;font-size:12px;}
.contact-art { position:relative;min-height:340px; }.tg-big{position:absolute;width:100px;height:100px;border-radius:26px;font-size:45px;left:56px;top:88px;box-shadow:0 24px 45px rgba(11,101,245,.22);}.idea-note{position:absolute;left:145px;top:65px;transform:rotate(-6deg);background:#fff;border-radius:17px;padding:19px 22px;display:grid;gap:8px;box-shadow:var(--shadow-sm);color:#53627a;font-size:12px;}.idea-note span:nth-child(2){color:var(--blue);font-weight:800;}.contact-hand{position:absolute;right:34px;bottom:54px;font-family:"Segoe Print","Comic Sans MS",cursive;color:#76849a;transform:rotate(7deg);font-size:13px;line-height:1.35;}

.footer { padding:24px 0 38px; }
.footer-grid { border-top:1px solid var(--line); padding-top:25px; display:grid;grid-template-columns:1fr auto auto;gap:28px;align-items:center; }.footer-nav,.footer-links{display:flex;gap:20px;flex-wrap:wrap;}.copyright{grid-column:1/-1;color:#8a96a9;font-size:12px;margin:0;}

.project-modal { width:min(920px,calc(100% - 24px)); max-height:90vh; padding:0; border:0; border-radius:24px; overflow:auto; box-shadow:0 40px 120px rgba(7,22,48,.32); }
.project-modal::backdrop { background:rgba(8,20,39,.54); backdrop-filter:blur(7px); }
.modal-close { position:sticky; float:right; top:16px; right:16px; z-index:4; margin:16px 16px -60px 0; width:42px;height:42px;border-radius:50%;border:0;background:rgba(8,20,39,.72);color:#fff;font-size:26px;cursor:pointer;backdrop-filter:blur(7px); }
.modal-image-wrap { height:min(440px,50vh);background:#edf2f8; }.modal-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:top;}.modal-content{padding:30px 34px 36px;}.modal-kicker{color:var(--blue);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.modal-content h3{font-size:34px;letter-spacing:-.04em;line-height:1.05;margin:9px 0 12px}.modal-content p{color:var(--muted);line-height:1.65;margin:0}.modal-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}

.reveal { opacity:0; transform:translateY(16px); transition:opacity .55s ease,transform .55s ease; }.reveal.visible{opacity:1;transform:none;}

@media (max-width: 1050px) {
  .desktop-nav { gap:18px; margin-right:10px; }.hide-mobile{display:none}.menu-btn{display:block}.hero-grid{grid-template-columns:1fr;gap:20px}.hero{padding-top:42px}.hero-visual{height:570px;max-width:700px;width:100%;margin:0 auto}.hero-copy{max-width:820px}.service-grid{grid-template-columns:repeat(2,1fr)}.projects-grid{grid-template-columns:repeat(2,1fr)}.process-grid{grid-template-columns:repeat(2,1fr);gap:0}.process-step:nth-child(3){border-left:0;padding-left:0;border-top:1px solid var(--line);margin-top:24px;padding-top:28px}.process-step:nth-child(4){border-top:1px solid var(--line);margin-top:24px;padding-top:28px}.about-card,.contact-panel{grid-template-columns:1fr}.about-visual{min-height:420px}.contact-art{min-height:280px}.footer-grid{grid-template-columns:1fr;}.mobile-menu.open{display:grid;gap:4px;padding:12px 20px 22px;border-top:1px solid var(--line);}.mobile-menu a:not(.btn){padding:12px 0;color:#34435c}.mobile-menu .btn{margin-top:8px}.site-header.menu-open .mobile-menu{display:grid}.desktop-nav{display:none}
}

@media (max-width: 720px) {
  .container{width:min(100% - 24px,1180px)}.section-pad{padding:54px 0}.nav-wrap{height:66px}.brand{font-size:21px}h1{font-size:42px;line-height:1.01}.typewriter-line{white-space:normal;min-height:2.05em;align-content:flex-start}.hero-text{font-size:16px}.stats{grid-template-columns:1fr;gap:17px;margin-top:31px}.stat + .stat{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:16px}.hero-visual{height:460px}.dashboard-card{width:390px;right:-118px;top:42px}.dashboard-card img{height:245px}.phone-card{left:7px;top:105px}.phone-shell{width:175px;height:345px;border-radius:34px}.telegram-float{width:295px;right:-20px;bottom:2px;grid-template-columns:45px 1fr 34px;padding:13px}.telegram-icon{width:45px;height:45px}.hand-note{display:none}.section-heading{align-items:flex-start}.section-heading .text-link{display:none}.section-heading h2{font-size:31px}.service-grid,.projects-grid,.process-grid{grid-template-columns:1fr}.service-card{min-height:235px}.process-step,.process-step + .process-step,.process-step:nth-child(3),.process-step:nth-child(4){padding:24px 0;border-left:0;border-top:1px solid var(--line);margin:0}.process-grid{border-top:0}.about-copy{padding:38px 28px}.about-copy h2{font-size:37px}.about-visual{min-height:370px}.stack-card{width:230px;height:125px}.stack-one{left:24px;top:38px}.stack-two{left:92px;top:145px}.stack-three{left:28px;top:253px}.contact-copy{padding:38px 26px}.contact-copy h2{font-size:36px}.contact-art{min-height:250px}.tg-big{left:35px;top:62px}.idea-note{left:108px;top:41px}.contact-hand{right:20px;bottom:30px}.project-image{height:210px}.modal-content{padding:26px 23px 30px}.modal-content h3{font-size:28px}.footer{padding-bottom:30px}
}

@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.project-card,.service-card,.btn,.project-image img{transition:none} }

.telegram-contact-line{margin:14px 0 0;color:#596a84;font-size:14px}.telegram-contact-line a{color:var(--blue);font-weight:850;text-decoration:none}.telegram-contact-line a:hover{text-decoration:underline;text-underline-offset:3px}
