@charset "UTF-8";

:root {
  --bg: #020817;
  --bg-soft: #061121;
  --surface: rgba(8, 22, 40, 0.84);
  --surface-solid: #08172a;
  --surface-hover: #0d2039;
  --primary: #2583ff;
  --primary-light: #69b0ff;
  --secondary: #24d66f;
  --text: #f4f7fb;
  --muted: #a8b3c5;
  --border: rgba(96, 151, 221, 0.27);
  --border-strong: rgba(56, 148, 255, 0.58);
  --green-border: rgba(36, 214, 111, 0.55);
  --shadow-blue: 0 0 30px rgba(37, 131, 255, 0.15);
  --shadow-green: 0 0 28px rgba(36, 214, 111, 0.17);
  --container: 1440px;
  --header-height: 86px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --ease: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #1e6bc7 #020817; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 73% 16%, rgba(18, 83, 164, 0.13), transparent 28%),
    radial-gradient(circle at 20% 72%, rgba(13, 74, 140, 0.10), transparent 30%),
    linear-gradient(180deg, #020817 0%, #020b18 58%, #020817 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
address { font-style: normal; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: rgba(37, 131, 255, 0.35); color: white; }
:focus-visible { outline: 3px solid rgba(86, 164, 255, 0.85); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 84px 0; scroll-margin-top: calc(var(--header-height) + 20px); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 12px; padding: 10px 16px; transform: translateY(-140%); background: white; color: #020817; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.network-canvas { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: .3; pointer-events: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-height); border-bottom: 1px solid transparent; transition: background var(--ease), border-color var(--ease), box-shadow var(--ease), backdrop-filter var(--ease); }
.site-header.is-scrolled { background: rgba(2, 8, 23, .86); border-color: rgba(89, 142, 206, .18); box-shadow: 0 16px 48px rgba(0,0,0,.25); backdrop-filter: blur(16px) saturate(130%); }
.header-inner { height: 100%; display: grid; grid-template-columns: 250px 1fr auto; gap: 32px; align-items: center; }
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { width: 217px; height: auto; }
.primary-nav { justify-self: center; display: flex; align-items: center; gap: 12px; }
.nav-link { padding: 11px 16px; border: 1px solid transparent; border-radius: 10px; color: rgba(255,255,255,.88); font-weight: 600; transition: color var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease); }
.nav-link:hover, .nav-link.is-active { color: white; border-color: rgba(37,131,255,.48); background: linear-gradient(180deg, rgba(25,74,138,.36), rgba(8,22,41,.48)); box-shadow: inset 0 -2px 0 rgba(37,131,255,.82), 0 0 20px rgba(37,131,255,.08); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; border-radius: 5px; background: white; transition: transform var(--ease), opacity var(--ease); }

/* Buttons */
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 23px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease); }
.button svg { width: 22px; height: 22px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #0d67d7 0%, #176ff0 45%, #1353d0 100%); border-color: rgba(83,164,255,.6); box-shadow: 0 10px 28px rgba(20,92,215,.26), inset 0 1px 0 rgba(255,255,255,.18); }
.button-primary:hover { box-shadow: 0 13px 34px rgba(20,101,238,.36), 0 0 24px rgba(37,131,255,.24); }
.button-support { color: #35e57e; background: rgba(4,18,21,.5); border-color: var(--green-border); }
.button-support:hover { background: rgba(9,43,28,.56); box-shadow: var(--shadow-green); }
.header-cta { min-height: 46px; padding-inline: 20px; }

/* Hero */
.hero { min-height: 610px; padding: 145px 0 48px; display: flex; align-items: center; scroll-margin-top: var(--header-height); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(520px, 1.02fr); gap: 35px; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 4.15vw, 70px); line-height: 1.13; letter-spacing: -.04em; text-wrap: balance; }
.gradient-text { background: linear-gradient(90deg, #2f7cf4 0%, #39a7ff 46%, #27d57b 100%); background-clip: text; color: transparent; }
.hero-topics { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 27px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.93); font-size: 16px; }
.hero-topics li { position: relative; }
.hero-topics li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 5px; height: 5px; border-radius: 50%; background: var(--secondary); transform: translateY(-50%); box-shadow: 0 0 8px rgba(36,214,111,.5); }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-actions .button { min-width: 190px; }
.hero-visual { position: relative; min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.hero-visual::before { content: ""; position: absolute; inset: 18% 10% 12% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(37,131,255,.14), rgba(16,36,72,.02) 58%, transparent 74%); filter: blur(42px); opacity: .85; pointer-events: none; }
.hero-visual picture { position: relative; display: block; width: 100%; max-width: 860px; margin-left: auto; }
.hero-visual img { display: block; width: 100%; height: auto; max-width: 860px; margin-left: auto; opacity: 1; filter: none; -webkit-mask-image: none; mask-image: none; image-rendering: auto; }

/* Trust bar */
.trust-wrap { position: relative; z-index: 2; padding: 0 0 16px; }
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 118px; border: 1px solid var(--border); border-radius: 13px; background: linear-gradient(180deg, rgba(7,20,37,.9), rgba(4,14,27,.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 18px 50px rgba(0,0,0,.18); overflow: hidden; }
.trust-item { position: relative; display: flex; align-items: center; gap: 21px; min-width: 0; padding: 23px 30px; }
.trust-item:not(:last-child)::after { content: ""; position: absolute; top: 22px; right: 0; bottom: 22px; width: 1px; background: linear-gradient(transparent, rgba(126,158,199,.4), transparent); }
.trust-item > svg { flex: 0 0 auto; width: 53px; height: 53px; color: #669eff; filter: drop-shadow(0 0 10px rgba(37,131,255,.15)); }
.trust-item div { min-width: 0; display: grid; gap: 1px; }
.trust-item strong { font-size: 27px; line-height: 1.2; color: #eff6ff; }
.trust-item .trust-title { font-size: 18px; }
.trust-item span { color: var(--muted); font-size: 14px; }

/* Section headings */
.section-heading { display: grid; grid-template-columns: minmax(30px, 140px) auto minmax(30px, 140px); gap: 20px; align-items: start; justify-content: center; margin: 0 auto 34px; text-align: center; }
.section-heading > div { max-width: 850px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 43px); line-height: 1.15; letter-spacing: -.025em; }
.section-heading p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.section-line { height: 1px; margin-top: 23px; background: linear-gradient(90deg, transparent, var(--secondary)); position: relative; }
.section-line:last-child { background: linear-gradient(90deg, var(--secondary), transparent); }
.section-line::after { content: ""; position: absolute; top: 50%; right: -5px; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); transform: translateY(-50%); box-shadow: 0 0 12px rgba(36,214,111,.45); }
.section-line:last-child::after { right: auto; left: -5px; }
.section-heading.compact { margin-bottom: 28px; }

/* Services */
.services { position: relative; padding-top: 70px; }
.services::before { content: ""; position: absolute; inset: 10px 0 auto; height: 520px; z-index: -1; background: linear-gradient(180deg, rgba(9,24,43,.56), rgba(3,10,21,.12)); border-top: 1px solid rgba(72,128,195,.16); border-bottom: 1px solid rgba(72,128,195,.09); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { display: grid; grid-template-columns: 62px 1fr; gap: 18px; min-height: 178px; padding: 25px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(145deg, rgba(9,24,43,.9), rgba(5,15,29,.88)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease); }
.service-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: linear-gradient(145deg, rgba(11,30,53,.96), rgba(6,17,32,.95)); box-shadow: var(--shadow-blue); }
.service-card > svg { width: 55px; height: 55px; color: #4c91ff; transition: color var(--ease), filter var(--ease); }
.service-card:hover > svg { color: #70adff; filter: drop-shadow(0 0 10px rgba(37,131,255,.28)); }
.service-card h3 { margin: 0 0 7px; font-size: 18px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Technology */
.technology { background: linear-gradient(180deg, rgba(9,24,44,.55), rgba(5,15,29,.6)); border-block: 1px solid rgba(87,142,208,.14); }
.technology-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.technology-card { min-height: 136px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 18px 14px; border: 1px solid var(--border); border-radius: 11px; background: linear-gradient(145deg, rgba(9,24,43,.86), rgba(5,15,29,.82)); overflow: hidden; transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease); }
.technology-card img { width: 62px; height: 54px; object-fit: contain; filter: grayscale(1) saturate(0) brightness(0) invert(.78); opacity: .82; transition: filter var(--ease), opacity var(--ease), transform var(--ease); }
.technology-card img.wordmark { width: 138px; height: 46px; }
.technology-card span { color: #eaf1fb; font-size: 14px; font-weight: 650; text-align: center; }
.technology-card:hover, .technology-card:focus-within, .technology-card:focus { transform: translateY(-3px); border-color: rgba(37,131,255,.78); background: linear-gradient(145deg, rgba(13,34,61,.96), rgba(7,19,36,.95)); box-shadow: 0 0 0 1px rgba(37,131,255,.15), 0 0 24px rgba(37,131,255,.18); outline: none; }
.technology-card:hover img, .technology-card:focus img, .technology-card:focus-within img { filter: none; opacity: 1; transform: scale(1.055); }
.technology-note { max-width: 920px; margin: 27px auto 0; color: var(--muted); text-align: center; }

/* Support */
.support { padding-top: 74px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.support-card { min-height: 270px; display: flex; flex-direction: column; padding: 26px; border: 1px solid rgba(62,139,104,.42); border-radius: 13px; background: linear-gradient(150deg, rgba(8,26,37,.94), rgba(5,17,29,.92)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease); }
.support-card:hover { transform: translateY(-4px); border-color: rgba(36,214,111,.72); background: linear-gradient(150deg, rgba(9,34,42,.98), rgba(5,19,31,.96)); box-shadow: var(--shadow-green); }
.support-brand { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.support-brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(37,131,255,.08)); transition: transform var(--ease), filter var(--ease); }
.support-card:hover .support-brand img { transform: scale(1.045); filter: drop-shadow(0 0 14px rgba(36,214,111,.16)); }
.support-brand h3 { margin: 0; font-size: 24px; }
.support-brand.icon-brand > svg { width: 50px; height: 50px; color: #67a5ff; }
.support-card > p { margin: 18px 0 23px; color: var(--muted); }
.button-download { margin-top: auto; color: #43ea86; background: linear-gradient(180deg, rgba(22,89,47,.58), rgba(10,52,31,.7)); border-color: rgba(36,214,111,.62); }
.button-download:hover { background: linear-gradient(180deg, rgba(29,119,62,.72), rgba(11,66,38,.82)); box-shadow: 0 0 28px rgba(36,214,111,.24); }
.button-download:hover svg { transform: translateY(2px); }
.support-contact address { display: grid; gap: 12px; margin-top: auto; }
.support-contact address a { display: flex; align-items: center; gap: 11px; color: #43ea86; font-weight: 700; }
.support-contact address svg { width: 21px; height: 21px; }

/* Contact */
.contact { padding-top: 72px; }
.contact-panel { display: grid; grid-template-columns: .88fr 1.12fr; gap: 60px; align-items: center; padding: 50px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(135deg, rgba(7,20,37,.96), rgba(5,15,28,.94)); box-shadow: 0 25px 70px rgba(0,0,0,.2); }
.contact-copy h2 { margin: 0; font-size: clamp(34px, 3.2vw, 50px); line-height: 1.12; letter-spacing: -.025em; }
.contact-copy h2 span { color: #69a9ff; }
.contact-copy > p { max-width: 570px; color: var(--muted); margin: 20px 0 27px; }
.contact-links { display: grid; gap: 12px; }
.contact-links a { display: flex; align-items: center; gap: 15px; max-width: 390px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: rgba(8,24,43,.6); transition: border-color var(--ease), background var(--ease); }
.contact-links a:hover { border-color: var(--border-strong); background: rgba(12,34,59,.76); }
.contact-links svg { width: 28px; height: 28px; color: #4f97ff; }
.contact-links span { display: grid; font-weight: 700; }
.contact-links small { color: var(--muted); font-weight: 500; }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 7px; color: #dbe7f5; font-size: 13px; }
.form-field em { color: var(--muted); font-style: normal; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid rgba(84,130,188,.28); border-radius: 8px; color: white; background: linear-gradient(180deg, rgba(14,34,58,.9), rgba(9,24,43,.92)); padding: 13px 14px; outline: none; transition: border-color var(--ease), box-shadow var(--ease), background var(--ease); }
.form-field input:focus, .form-field textarea:focus { border-color: rgba(37,131,255,.82); box-shadow: 0 0 0 3px rgba(37,131,255,.13); background: rgba(13,35,61,.98); }
.form-field textarea { min-height: 132px; resize: vertical; }
.field-error { min-height: 0; color: #ff9a9a; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #ff7676; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13px; }
.consent input { margin-top: 4px; accent-color: var(--primary); }
.form-submit { width: 100%; border: 0; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); font-size: 13px; text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid rgba(82,132,192,.18); background: rgba(1,6,14,.72); padding: 34px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 45px; align-items: start; }
.footer-brand img { width: 175px; }
.footer-brand p { max-width: 620px; margin: 14px 0 0; color: #8f9bad; font-size: 13px; }
.footer-company { color: #a6b2c4; font-size: 13px; }
.footer-company p { margin: 0 0 5px; }
.footer-company a { color: #69a9ff; }
.footer-nav { display: grid; justify-content: end; gap: 8px; color: #a8b3c5; font-size: 13px; }
.footer-nav a:hover { color: white; }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(82,132,192,.13); color: #7f8b9d; font-size: 12px; text-align: right; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 700; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; background: rgba(4,16,30,.86); box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--ease), visibility var(--ease), transform var(--ease); cursor: pointer; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 21px; height: 21px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease var(--reveal-delay,0ms), transform 600ms ease var(--reveal-delay,0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Legal pages */
.legal-page { min-height: 100vh; padding: 130px 0 80px; }
.legal-page article { max-width: 900px; margin: auto; padding: 35px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.legal-page h1 { font-size: 40px; }
.legal-page h2 { margin-top: 34px; }
.legal-page p, .legal-page li { color: var(--muted); }

/* Responsive */
@media (max-width: 1240px) {
  .header-inner { grid-template-columns: 220px 1fr auto; gap: 18px; }
  .brand img { width: 195px; }
  .primary-nav { gap: 3px; }
  .nav-link { padding-inline: 11px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding-inline: 22px; gap: 15px; }
  .trust-item > svg { width: 47px; height: 47px; }
}

@media (max-width: 1023px) {
  :root { --header-height: 76px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 185px; }
  .menu-toggle { display: block; grid-column: 2; }
  .primary-nav { position: fixed; top: var(--header-height); right: 16px; left: 16px; display: grid; gap: 5px; padding: 18px; border: 1px solid var(--border); border-radius: 15px; background: rgba(3,11,22,.97); box-shadow: 0 25px 60px rgba(0,0,0,.38); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity var(--ease), visibility var(--ease), transform var(--ease); }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { text-align: center; }
  .header-cta { display: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 125px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 800px; }
  .hero-visual { justify-content: center; margin-top: -18px; }
  .hero-visual picture { max-width: 840px; margin: 0 auto; }
  .hero-visual img { max-width: 840px; margin: auto; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2)::after { display: none; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(126,158,199,.18); }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .technology-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { justify-content: start; }
}

@media (max-width: 767px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 62px 0; }
  .hero { min-height: auto; padding: 112px 0 28px; }
  .hero h1 { font-size: clamp(37px, 11vw, 54px); }
  .hero-topics { font-size: 14px; }
  .hero-lead { font-size: 17px; }
  .hero-visual { margin-top: 8px; }
  .hero-visual picture { width: min(800px, 132vw); }
  .hero-visual img { width: 100%; max-width: 800px; transform: translateX(-1.5%); opacity: 1; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { min-height: 98px; }
  .trust-item:not(:last-child)::after { top: auto; right: 22px; bottom: 0; left: 22px; width: auto; height: 1px; }
  .trust-item:nth-child(-n+2) { border-bottom: 0; }
  .section-heading { grid-template-columns: 35px 1fr 35px; gap: 10px; }
  .section-heading p br { display: none; }
  .services-grid, .support-grid { grid-template-columns: 1fr; }
  .technology-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-panel { padding: 30px 22px; gap: 35px; }
  .contact-links { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { text-align: left; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 460px) {
  .brand img { width: 165px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .technology-grid { grid-template-columns: 1fr; }
  .technology-card { min-height: 112px; }
  .section-heading { display: block; }
  .section-line { display: none; }
}

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