:root {
  --primary: #071a3d;
  --primary-2: #0b2f66;
  --accent: #0b63f6;
  --accent-2: #12c9a7;
  --ink: #111827;
  --muted: #5d6b7b;
  --line: #dbe3ee;
  --soft: #f4f8fc;
  --paper: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 16%, rgba(11, 99, 246, .13), transparent 27rem),
    radial-gradient(circle at 0% 44%, rgba(18, 201, 167, .13), transparent 23rem),
    linear-gradient(180deg, #f7fbff 0%, #eef4fa 54%, #f8fafc 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body[data-theme="dark"] {
  --ink: #f8fbff;
  --muted: #a9b8cc;
  --line: rgba(120,153,190,.28);
  --soft: #101f35;
  --paper: #0b1628;
  --shadow: 0 22px 55px rgba(0, 0, 0, .35);
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 10%, rgba(34, 185, 223, .18), transparent 30rem),
    radial-gradient(circle at 0% 50%, rgba(18, 201, 167, .10), transparent 26rem),
    linear-gradient(180deg, #06111f 0%, #0b1628 58%, #07111f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 26, 61, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 61, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 76%);
}

a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 0 clamp(22px, 7vw, 120px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(219, 227, 238, .9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  position: relative;
  min-width: 190px;
  min-height: 54px;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 178px;
  max-height: 54px;
  object-fit: contain;
}

.brand-name {
  display: none;
  color: #050b18;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -.06em;
}

.brand-name span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.main-nav .nav-cta {
  padding: 11px 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(11, 99, 246, .26);
}

.theme-switch {
  position: relative;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--primary);
  background: #fff;
  box-shadow: none;
  font-size: 18px;
  line-height: 1;
}

.theme-switch span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity .2s ease, transform .2s ease;
}

.theme-switch .theme-moon {
  opacity: 0;
  transform: rotate(-28deg) scale(.85);
}

body[data-theme="dark"] .theme-switch .theme-sun {
  opacity: 0;
  transform: rotate(28deg) scale(.85);
}

body[data-theme="dark"] .theme-switch .theme-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(440px, .9fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  padding: clamp(56px, 9vw, 112px) clamp(22px, 7vw, 120px) 44px;
}

.hero-copy { position: relative; z-index: 1; }

.kicker,
.label {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 18px 0 14px;
  color: #07111f;
  font-size: clamp(42px, 6vw, 68px);
  line-height: .96;
  letter-spacing: -.055em;
}

.hero-copy p {
  max-width: 630px;
  color: #2f3c4b;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
button:hover {
  transform: translateY(-2px);
}

.btn.primary,
button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 26px rgba(11, 99, 246, .25);
}

.btn.secondary {
  color: var(--primary);
  background: #fff;
  border-color: var(--line);
}

.btn.slim { min-height: 42px; padding-inline: 18px; border-radius: 999px; }

.hero-art {
  position: relative;
  min-height: 430px;
  padding-right: 56px;
}

.cloud-map {
  position: absolute;
  inset: 12px 110px 86px 0;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(11, 99, 246, .12), rgba(18, 201, 167, .12));
  border: 1px solid rgba(219, 227, 238, .85);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cloud-map::before {
  content: "";
  position: absolute;
  inset: 36px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(11,99,246,.2) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(11,99,246,.2) 50%, transparent 51%);
  background-size: 92px 92px;
  opacity: .65;
}

.cloud-core,
.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(7, 26, 61, .12);
}

.cloud-core {
  left: 50%;
  top: 46%;
  width: 150px;
  height: 98px;
  transform: translate(-50%, -50%);
  border-radius: 46px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
}

.cloud-core span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cloud-core strong { color: var(--accent); font-size: 34px; line-height: 1; }

.node {
  width: 70px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.node-a { left: 52px; bottom: 70px; }
.node-b { right: 214px; bottom: 82px; background: linear-gradient(135deg, #0b63f6, #12c9a7); }
.node-c { right: 54px; top: 58px; }
.node-d { left: 74px; top: 74px; background: linear-gradient(135deg, #12c9a7, #0b63f6); }

.line {
  display: none;
}

.line-a { left: 118px; bottom: 122px; width: 190px; transform: rotate(-20deg); }
.line-b { right: 126px; bottom: 96px; width: 170px; transform: rotate(205deg); }
.line-c { right: 122px; top: 116px; width: 155px; transform: rotate(154deg); }
.line-d { left: 138px; top: 104px; width: 170px; transform: rotate(26deg); }

.why-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(292px, 82%);
  padding: 22px;
  border: 1px solid rgba(219, 227, 238, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.why-card span,
.modernize-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.why-card h2 {
  margin: 4px 0 14px;
  font-size: 24px;
  line-height: 1.05;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-grid article {
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--soft);
  text-align: center;
}

.mini-grid b,
.mini-grid small {
  display: block;
  font-size: 11px;
}

.mini-grid small { color: var(--muted); margin-top: 4px; }
.why-card a {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.solutions,
.about,
.system,
.contact-band {
  position: relative;
  z-index: 1;
  padding: clamp(54px, 7vw, 90px) clamp(22px, 7vw, 120px);
}

.centered { text-align: center; }
.section-title h2,
.about h2,
.modernize-card h2,
.contact-band h2 {
  margin: 8px 0 12px;
  color: #07111f;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.section-title p,
.about p,
.modernize-card p,
.contact-band p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 22px auto 0;
}

.solution-card {
  min-height: 200px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid #bfd4f4;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #e8fff9);
}

.card-icon::before {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.tools::before { content: "TI"; }
.strategy::before { content: "BI"; }
.devices::before { content: "PC"; }

.solution-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.solution-card ul {
  margin: 0;
  padding-left: 18px;
  color: #2f3c4b;
  line-height: 1.55;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .62fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 24px 0;
}

.benefits article {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 15px;
}

.benefits span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--accent-2) 0 34%, transparent 36%),
    #e4fbf6;
}

.modernize-card {
  min-height: 300px;
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 201, 167, .25), transparent 50%),
    linear-gradient(135deg, #152238, #071a3d);
  box-shadow: var(--shadow);
}

.modernize-card h2,
.modernize-card p { color: #fff; }
.modernize-card p { opacity: .78; }
.modernize-card a {
  display: inline-flex;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.system {
  background: rgba(255, 255, 255, .62);
  border-block: 1px solid rgba(219, 227, 238, .76);
}

.system-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.system-preview article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.system-preview small,
.system-preview strong,
.system-preview span { display: block; }
.system-preview small { color: var(--accent); font-weight: 900; }
.system-preview strong { margin: 26px 0 8px; font-size: 20px; }
.system-preview span { color: var(--muted); line-height: 1.45; }

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(360px, .56fr);
  gap: 34px;
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  padding: 34px clamp(22px, 7vw, 120px);
  color: #d8e2f2;
  background: #152238;
}

.site-footer span,
.site-footer a {
  display: block;
  margin-bottom: 7px;
}

.site-footer a {
  color: #d8e2f2;
  text-decoration: none;
}

address { font-style: normal; }

.floating-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 32px rgba(37, 211, 102, .32);
  font-weight: 900;
  text-decoration: none;
}

.floating-chat svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

body[data-theme="dark"] .site-header {
  background: rgba(6, 17, 31, .88);
  border-bottom-color: rgba(120,153,190,.22);
}

body[data-theme="dark"] .brand-name,
body[data-theme="dark"] .main-nav,
body[data-theme="dark"] h1,
body[data-theme="dark"] .section-title h2,
body[data-theme="dark"] .about h2,
body[data-theme="dark"] .contact-band h2,
body[data-theme="dark"] .why-card h2,
body[data-theme="dark"] .solution-card h3,
body[data-theme="dark"] .benefits article,
body[data-theme="dark"] .system-preview strong {
  color: #f8fbff;
}

body[data-theme="dark"] .hero-copy p,
body[data-theme="dark"] .section-title p,
body[data-theme="dark"] .about p,
body[data-theme="dark"] .contact-band p,
body[data-theme="dark"] .solution-card ul,
body[data-theme="dark"] .system-preview span {
  color: #a9b8cc;
}

body[data-theme="dark"] .theme-switch,
body[data-theme="dark"] .btn.secondary,
body[data-theme="dark"] .solution-card,
body[data-theme="dark"] .why-card,
body[data-theme="dark"] .system-preview article,
body[data-theme="dark"] .contact-form {
  color: #f8fbff;
  background: rgba(15, 30, 52, .92);
  border-color: rgba(120,153,190,.28);
}

body[data-theme="dark"] .cloud-map {
  background:
    linear-gradient(135deg, rgba(11, 99, 246, .18), rgba(18, 201, 167, .14));
}

body[data-theme="dark"] .cloud-core,
body[data-theme="dark"] input,
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
  color: #f8fbff;
  background: #0b1628;
  border-color: rgba(120,153,190,.28);
}

body[data-theme="dark"] .system {
  background: rgba(6, 17, 31, .52);
  border-block-color: rgba(120,153,190,.22);
}

@media (max-width: 1080px) {
  .hero,
  .about,
  .contact-band {
    grid-template-columns: 1fr;
  }
  .hero-art { min-height: 380px; }
  .system-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 14px;
  }
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0 4px;
  }
  .main-nav.open { display: grid; }
  .main-nav a {
    padding: 13px 4px;
    border-top: 1px solid var(--line);
  }
  .main-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
  }
  .theme-switch {
    width: 46px;
    margin: 12px 0 4px;
  }
  .hero { padding-top: 44px; }
  .cloud-map { inset: 0 0 72px; }
  .solution-grid,
  .system-preview,
  .benefits,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 { font-size: 38px; }
  .hero-art { min-height: 430px; }
  .mini-grid { grid-template-columns: 1fr; }
  .why-card { width: 100%; }
  .hero-actions .btn { width: 100%; }
}
