:root {
  --navy: #07111f;
  --navy-2: #0c1b33;
  --ink: #10203a;
  --blue: #1f6bff;
  --blue-2: #3c86ff;
  --text: #10203a;
  --muted: #5d6d86;
  --line: #e5edf6;
  --white: #fff;
  --soft: #f5f8fc;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.12);
  --header: 78px;
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: #07111f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--white); flex: 0 0 auto; }
.logo__name { font-weight: 800; letter-spacing: 0.06em; font-size: 18px; line-height: 1; }
.logo__name span { color: var(--blue-2); font-weight: 700; }
.logo__tag { margin-top: 4px; color: #9eb0c9; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav > a, .nav-group > a { color: #d7e2f2; text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.site-nav > a:hover, .nav-group > a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav .nav-cta { display: none; }
.nav-group { position: relative; display: flex; align-items: center; }
.chevron-btn { width: 34px; height: 34px; border: 0; background: transparent; color: #d7e2f2; display: grid; place-items: center; }
.chevron-btn .icon { width: 16px; height: 16px; }
.submenu { display: none; position: absolute; top: calc(100% + 14px); left: 0; z-index: 50; width: 320px; padding: 8px; background: #0d1b30; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; }
.submenu a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 650; white-space: normal; }
.submenu a:hover { background: rgba(255,255,255,.06); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.icon-link { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
@media (min-width: 1101px) {
  .nav-group:hover .submenu, .nav-group:focus-within .submenu, .nav-group.is-open .submenu { display: grid; }
}
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--white); position: relative; margin: 0 auto;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.button, .button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.button { background: var(--blue); color: var(--white); }
.button:hover { background: #185ee6; }
.button .icon { width: 18px; height: 18px; }
.button-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.button-ghost:hover { border-color: var(--white); }
.button-dark { background: var(--navy); color: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(900px 420px at 78% 20%, rgba(31, 107, 255, 0.35), transparent 60%),
    radial-gradient(700px 380px at 10% 90%, rgba(31, 107, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #07111f 0%, #0a1730 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 42px 0 18px; }
.eyebrow { margin-bottom: 16px; color: #8eb6ff; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; max-width: 11ch; margin-bottom: 18px; }
.hero__lead { max-width: 54ch; color: #c5d2e6; font-size: 17px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; padding: 0; list-style: none; color: #d5e1f2; font-size: 14px; font-weight: 600; }
.hero__points li { display: flex; gap: 8px; align-items: center; }
.hero__points .icon { width: 16px; height: 16px; color: #7eb0ff; }

.stage { position: relative; min-height: 430px; }
.laptop {
  width: min(100%, 560px);
  margin-left: auto;
  background: #121826;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px 18px 14px 14px;
  padding: 12px 12px 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.laptop img { width: 100%; height: 250px; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; }
.laptop__base { height: 16px; margin: 0 -12px; background: linear-gradient(#2a3346, #1b2333); border-radius: 0 0 14px 14px; }
.float-card {
  position: absolute;
  width: min(230px, 46%);
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(10, 18, 34, 0.82);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
}
.float-card { color: inherit; text-decoration: none; }
.float-card strong { display: block; font-size: 14px; color: #fff; }
.float-card small { display: block; color: #b7c6db; font-size: 12px; line-height: 1.4; }
.float-card .icon { flex: 0 0 auto; color: #8eb6ff; }
.float-card--a { left: 0; top: 34px; }
.float-card--b { right: 0; top: 18px; width: min(190px, 42%); }
.float-card--c { left: 18px; bottom: 28px; }
.proof { position: relative; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.logo-row { display: flex; flex-wrap: wrap; gap: 18px 26px; color: #9aadc6; font-weight: 800; letter-spacing: 0.08em; font-size: 13px; }
.logo-row a { color: inherit; text-decoration: none; }
.stats { display: flex; gap: 28px; }
.stats div { min-width: 120px; }
.stats b { display: block; font-size: 28px; letter-spacing: -0.04em; }
.stats span { color: #9aadc6; font-size: 13px; }

.section { padding: 84px 0; }
section[id] { scroll-margin-top: 96px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 32px; align-items: end; margin-bottom: 28px; }
.section-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.kicker { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.section h2, .page-hero h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 0; }
.section-head p { max-width: 46ch; color: var(--muted); margin: 0; }
.link-more { color: var(--blue); font-weight: 800; text-decoration: none; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(16, 32, 58, 0.02);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon-wrap { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #eef4ff; color: var(--blue); margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; min-height: 72px; }
a.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.card h2, .card h3 { font-size: 18px; margin-bottom: 8px; }
.card a, a.card > span:last-child { color: var(--blue); font-weight: 800; text-decoration: none; font-size: 14px; margin-top: auto; }

.section--dark { background: var(--navy); color: var(--white); }
.section--dark .kicker { color: #8eb6ff; }
.section--dark .section-head p { color: #b7c6db; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { display: flex; flex-direction: column; background: #101c31; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; min-height: 100%; }
.project-card:hover { border-color: rgba(62, 134, 255, 0.7); }
.project-card img { width: 100%; height: 180px; object-fit: cover; object-position: top; }
.project-card div { padding: 16px 16px 18px; }
.project-card small { color: #8eb6ff; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.project-card h2, .project-card h3 { margin: 6px 0; font-size: 20px; }
body.nav-open { overflow: hidden; }
.project-card p { margin: 0; color: #c5d2e6; font-size: 14.5px; }
.card-links { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 12px !important; }
.card-links a { color: #8eb6ff; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.section--dark .link-more { color: #8eb6ff; }
.slider { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.slider__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider .project-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; }
.slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: transparent; color: #fff; }
.slider__btn[data-prev] .icon { transform: rotate(90deg); }
.slider__btn[data-next] .icon { transform: rotate(-90deg); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 800; }
.filters a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.point-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.point-list li { display: flex; gap: 8px; align-items: flex-start; }
.point-list .icon { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; padding: 0; margin: 12px 0 28px; }
.flow li { background: var(--soft); border-radius: 14px; padding: 16px; font-weight: 800; }
.flow li + li { position: relative; }
.faq { display: grid; gap: 8px; margin-top: 18px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq__item h3 { margin: 0; font-size: 18px; }
.faq__item button { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; text-align: left; background: transparent; border: 0; padding: 16px 18px; font-weight: 800; cursor: pointer; }
.faq__item button .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.faq__item button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq__panel { padding: 0 18px 16px; color: var(--muted); }
.contact-band { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.to-top, .mobile-cta { position: fixed; z-index: 25; }
.to-top { right: 16px; bottom: 16px; background: var(--navy); color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 14px; font-weight: 800; }
.mobile-cta { display: none; }
.section-cta { margin-top: 28px; }

.reasons { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.reason-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.reason-list li { background: var(--soft); border-radius: 14px; padding: 16px; }
.reason-list strong { display: block; margin-bottom: 4px; }
.reason-list span { color: var(--muted); font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: var(--white); border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.step b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); margin-bottom: 14px; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.contact-copy p { color: var(--muted); }
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.form label.wide, .form .wide, .form button { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid #d5dfec;
  border-radius: 10px;
  padding: 12px 12px;
  background: #fff;
  color: var(--text);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(31, 107, 255, 0.25); border-color: var(--blue); }
.check { flex-direction: row !important; align-items: flex-start; font-weight: 600; }
.check input { width: auto; margin-top: 3px; }
.honeypot { position: absolute; left: -9999px; }
.error { color: #b42318; font-weight: 600; font-size: 13px; }
.form-error { grid-column: 1 / -1; background: #fff1f0; color: #9f1c14; border-radius: 10px; padding: 10px 12px; }
.field-invalid { border-color: #d92d20 !important; }

.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 40px; }
.page-hero p { max-width: 62ch; color: #c5d2e6; font-size: 18px; }
.service-block { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 24px; }
.service-block ul { margin: 0; padding-left: 18px; columns: 2; }
.service-block li { break-inside: avoid; margin: 6px 0; }
.detail { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; padding-top: 36px; }
.detail img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.meta { background: var(--soft); border-radius: 16px; padding: 18px; }
.meta dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.meta dd { margin: 4px 0 0; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 28px; }
.notice { background: #eef4ff; border-radius: 14px; padding: 14px 16px; }

.site-footer { background: #06101c; color: #c5d2e6; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { color: var(--white); font-size: 16px; }
.site-footer a { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); color: #8ea0b8; font-size: 14px; }

@media (max-width: 1100px) {
  .hero-grid, .reasons, .contact-grid, .detail, .service-block, .footer-grid, .section-head { grid-template-columns: 1fr; }
  .cards, .project-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .service-block ul { columns: 1; }
  .icon-link span, .header-cta .button { display: none; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    z-index: 40;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    background: #07111f;
    padding: 8px 20px 110px;
  }
  .site-nav.is-open > a, .nav-group > a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav.is-open .nav-group { display: block; }
  .site-nav.is-open .chevron-btn { position: absolute; right: 0; top: 6px; }
  .site-nav.is-open .submenu { position: static; display: none; width: auto; background: #0c1a2e; border: 0; border-radius: 12px; padding: 6px; margin: 4px 0 8px; }
  .site-nav.is-open .nav-group.is-open .submenu { display: grid; }
  .site-nav.is-open .nav-cta { display: inline-flex; align-self: flex-start; margin-top: 16px; }
  .slider .project-card { flex-basis: calc(50% - 8px); }
  .flow, .point-list { grid-template-columns: 1fr; }
  .mobile-cta { display: inline-flex; left: 16px; right: 16px; bottom: 12px; justify-content: center; }
  .page-contact .mobile-cta { display: none; }
  .to-top { bottom: 72px; }
  .proof, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stage { min-height: 0; }
  .float-card { position: static; width: auto; margin-top: 10px; }
  .laptop { margin: 0 auto; }
}

@media (max-width: 720px) {
  .cards, .project-grid, .steps, .reason-list, .form, .hero__points, .stats { grid-template-columns: 1fr; display: grid; }
  .stats { gap: 14px; }
  .hero { text-align: left; }
  .hero h1 { max-width: none; }
  .header-cta .button { display: none; }
  .slider { grid-template-columns: 1fr; }
  .slider__btn { display: none; }
  .slider .project-card { flex-basis: 86%; }
  .contact-band { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
  .laptop img { height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
