:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(255, 255, 255, 0.04);
  --line: rgba(88, 167, 218, 0.34);
  --soft-line: rgba(242, 243, 244, 0.12);
  --blue: #58A7DA;
  --blue-bright: #8fd2ff;
  --text: #F2F3F4;
  --text-soft: rgba(242, 243, 244, 0.78);
  --detail-shell-inline: clamp(34px, 5vw, 60px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 14% 12%, rgba(88, 167, 218, 0.14), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(88, 167, 218, 0.08), transparent 18%),
    linear-gradient(180deg, #060708 0%, #050505 40%, #040404 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  padding: 18px 14px 28px;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 11, 14, 0.92), rgba(5, 5, 5, 0.84)),
    rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 0 0 1px rgba(88, 167, 218, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-default,
.brand-image-shell {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-default.is-hidden,
.brand-image-shell.is-hidden {
  display: none;
}

.brand-image {
  width: min(360px, 40vw);
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand img {
  width: 50px;
  height: auto;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: lowercase;
}

.brand-light {
  color: var(--text);
}

.brand-blue {
  color: var(--blue);
}

.brand-tag {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.topnav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

.topnav a,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.topnav a {
  color: rgba(242, 243, 244, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.topnav a:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(143, 210, 255, 0.28);
}

.hero-block,
.product-shell {
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(88, 167, 218, 0.08);
}

.hero-block {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  margin-bottom: 18px;
  padding: clamp(18px, 2vw, 26px) var(--detail-shell-inline) clamp(34px, 4vw, 42px);
  background:
    radial-gradient(circle at 72% 24%, rgba(88, 167, 218, 0.12), transparent 20%),
    radial-gradient(circle at 18% 78%, rgba(88, 167, 218, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-copy h1,
.product-head h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.1rem, 3.7vw, 3.85rem);
}

.hero-text,
.product-text {
  color: var(--text-soft);
  line-height: 1.9;
}

.hero-text {
  max-width: 64ch;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-primary {
  color: #041117;
  background: var(--blue);
  border: 1px solid rgba(143, 210, 255, 0.34);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--blue-bright);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-copy-balance {
  order: 2;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: clamp(10px, 1.8vw, 22px) clamp(18px, 3vw, 44px) clamp(10px, 1.4vw, 18px) clamp(10px, 1.6vw, 20px);
}

.hero-copy-balance .hero-text {
  text-align: right;
}

.hero-copy-balance .hero-actions {
  width: 100%;
  justify-content: center;
}

.hero-panel-balance {
  order: 1;
  justify-content: flex-start;
}

.hero-panel-shell {
  width: 100%;
  min-height: 440px;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 167, 218, 0.16), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(88, 167, 218, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.hero-panel-visual {
  background-image:
    linear-gradient(180deg, rgba(5, 8, 12, 0.10), rgba(5, 8, 12, 0.18)),
    url("../image/software-hero-it-tude.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.hero-panel-title,
.product-label {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-points {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.8;
}

.product-section {
  margin-bottom: 18px;
  scroll-margin-top: 104px;
}

.product-shell {
  min-height: calc(100vh - 36px);
  padding: clamp(24px, 2.6vw, 34px) var(--detail-shell-inline) clamp(30px, 4vw, 40px);
  background:
    radial-gradient(circle at 18% 20%, rgba(88, 167, 218, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-section-alt .product-shell {
  background:
    radial-gradient(circle at 84% 18%, rgba(88, 167, 218, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

.product-head {
  width: min(520px, 100%);
  margin: 0 0 18px auto;
  text-align: right;
}

.product-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.product-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--soft-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.012));
}

.product-card-main {
  background:
    radial-gradient(circle at 92% 10%, rgba(88, 167, 218, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014));
}

.product-card-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.product-icon-wrap {
  width: 100%;
  min-height: 170px;
  border: 1px solid rgba(88, 167, 218, 0.18);
  background:
    radial-gradient(circle at 50% 30%, rgba(88, 167, 218, 0.16), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(88, 167, 218, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-icon {
  width: min(170px, 72%);
  height: auto;
  color: var(--blue-bright);
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 6px rgba(88, 167, 218, 0.48)) drop-shadow(0 0 22px rgba(88, 167, 218, 0.16));
}

.product-text {
  margin: 0;
  font-size: 1rem;
}

.software-footer {
  margin-top: 18px;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(88, 167, 218, 0.08);
  background:
    radial-gradient(circle at 78% 18%, rgba(88, 167, 218, 0.10), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

.software-footer__shell {
  padding: 30px 24px 20px;
}

.software-footer__brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--soft-line);
}

.software-footer__brand img {
  width: 58px;
  height: auto;
  display: block;
}

.software-footer__title {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.software-footer__text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.software-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0;
}

.software-footer__section {
  padding: 18px;
  border: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.015);
}

.software-footer__section h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.software-footer__section a,
.software-footer__section p {
  display: block;
  margin: 0 0 10px;
  color: var(--text-soft);
  line-height: 1.8;
  text-decoration: none;
}

.software-footer__section a:hover {
  color: var(--blue-bright);
}

.software-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
  color: rgba(242, 243, 244, 0.58);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
  }

  .hero-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-copy-balance,
  .hero-copy-balance .hero-text {
    text-align: left;
    align-items: flex-start;
  }

  .hero-copy-balance {
    order: 1;
  }

  .hero-panel-balance {
    order: 2;
    justify-content: flex-start;
  }

  .product-head {
    margin: 0 0 18px;
    text-align: left;
  }

  .product-shell {
    min-height: auto;
  }

  .hero-panel-shell {
    min-height: 360px;
  }

  .software-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    padding: 10px 8px 18px;
  }

  .topbar {
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .topnav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .brand img {
    width: 38px;
  }

  .brand-image {
    width: min(240px, 68vw);
  }

  .brand-name {
    font-size: 1.72rem;
  }

  .topnav {
    display: none;
    width: 100%;
    padding-top: 12px;
    justify-content: flex-start;
    gap: 10px;
  }

  body.topnav-open .topnav {
    display: flex;
  }

  body.topnav-open .topnav-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  body.topnav-open .topnav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.topnav-open .topnav-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .topnav a,
  .btn-primary,
  .btn-ghost {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.68rem;
  }

  .hero-block {
    min-height: auto;
    padding: 28px 18px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-panel-balance {
    order: 1;
  }

  .hero-copy-balance {
    order: 2;
  }

  .hero-text {
    margin-top: 18px;
  }

  .product-shell {
    min-height: auto;
    padding: 24px 18px;
  }

  .product-card {
    padding: 20px;
  }

  .hero-panel-shell {
    min-height: 220px;
    padding: 0;
  }

  .hero-panel-visual {
    min-height: 220px;
    background-image:
      linear-gradient(180deg, rgba(5, 8, 12, 0.10), rgba(5, 8, 12, 0.18)),
      url("../image/software-hero-it-tude_mobile.png");
    background-size: contain;
    background-position: center center;
  }

  .product-icon-wrap {
    min-height: 136px;
  }

  .software-footer__shell {
    padding: 22px 16px 18px;
  }

  .software-footer__brand {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .software-footer__brand img {
    width: 42px;
  }
}
