:root {
  --ink: #0b1118;
  --ink-2: #111b24;
  --steel: #d8e3ee;
  --muted: #6d7d8c;
  --line: #d7e0e8;
  --paper: #f5f7f9;
  --white: #ffffff;
  --cyan: #38bdf8;
  --teal: #0f766e;
  --green: #15803d;
  --amber: #b45309;
  --shadow: 0 20px 70px rgba(10, 18, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: var(--white);
  border-bottom: 1px solid rgba(216, 227, 238, 0.2);
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(10, 18, 26, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  font-size: 14px;
  font-weight: 800;
}

.logo-badge {
  --logo-size: 108px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--logo-size);
  height: calc(var(--logo-size) * 1.04);
  flex: 0 0 auto;
  overflow: visible;
  border-radius: 22%;
  transform: perspective(620px) rotateX(4deg) rotateY(-3deg);
  transform-style: preserve-3d;
}

.logo-badge::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -9%;
  z-index: -1;
  height: 16%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.24) 44%, transparent 74%);
  filter: blur(8px);
  opacity: 0.82;
  transform: translateZ(-16px);
}

.logo-badge img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    contrast(1.08)
    saturate(1.08)
    brightness(1.02)
    drop-shadow(0 2px 1px rgba(255, 255, 255, 0.08))
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 12px rgba(56, 189, 248, 0.16));
  transform: translateZ(12px);
  image-rendering: auto;
}

.brand-logo {
  --logo-size: 42px;
}

.brand-logo::after {
  left: 12%;
  right: 12%;
  bottom: -3px;
  height: 10px;
  filter: blur(6px);
  opacity: 0.58;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 88vh);
  display: grid;
  align-content: end;
  padding: 128px clamp(20px, 6vw, 78px) 40px;
  color: var(--white);
  overflow: hidden;
  background: #050a0f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("img/splash_full.png");
  background-size: cover;
  background-position: center 43%;
  opacity: 0.52;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 10, 15, 0.9) 0%, rgba(5, 10, 15, 0.68) 46%, rgba(5, 10, 15, 0.2) 100%);
}

.hero-content {
  width: min(760px, 100%);
}

.hero-logo {
  --logo-size: 116px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--teal);
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 140px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 25px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  white-space: nowrap;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: inherit;
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark,
.button.ghost {
  color: var(--ink);
  border-color: rgba(11, 17, 24, 0.34);
  background: rgba(255, 255, 255, 0.72);
}

.hero .button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  margin-top: 72px;
  border: 1px solid rgba(216, 227, 238, 0.24);
  background: rgba(216, 227, 238, 0.18);
}

.hero-metrics div {
  min-height: 104px;
  padding: 20px;
  background: rgba(7, 16, 24, 0.72);
}

.hero-metrics strong {
  display: block;
  color: var(--steel);
  font-size: 18px;
  letter-spacing: 0;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(56px, 8vw, 106px) clamp(20px, 6vw, 78px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  width: min(860px, 100%);
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-section,
.license-section {
  background: var(--white);
}

.download-section {
  background: #f8fafc;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.download-card h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.download-card p {
  margin: 0 0 24px;
  color: #334353;
}

.download-card .button {
  margin-top: auto;
}

.download-platform {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.announcement-card {
  color: var(--white);
  border-color: rgba(216, 227, 238, 0.18);
  background: #12312f;
}

.announcement-card .download-platform {
  color: #67e8f9;
}

.announcement-card p {
  color: rgba(255, 255, 255, 0.76);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 228px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card:nth-child(1) {
  border-top: 5px solid var(--cyan);
}

.feature-card:nth-child(2) {
  border-top: 5px solid var(--green);
}

.feature-card:nth-child(3) {
  border-top: 5px solid var(--amber);
}

.feature-code {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3,
.module-row h3 {
  margin: 14px 0 8px;
  font-size: 22px;
}

.feature-card p,
.product-copy p,
.license-section p,
.contact-section p {
  margin: 0;
  color: #334353;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(340px, 1.26fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  background: #e9eef3;
}

.product-copy p {
  margin-top: 18px;
  font-size: 17px;
}

.product-preview {
  margin: 0;
  border: 1px solid rgba(11, 17, 24, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.product-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-preview figcaption {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  border-top: 1px solid rgba(216, 227, 238, 0.18);
}

.modules-section {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: #071014;
  overflow: hidden;
}

.modules-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("img/splash_full.png");
  background-size: cover;
  background-position: center 64%;
  opacity: 0.13;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.module-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  min-height: 166px;
  padding: 22px;
  border: 1px solid rgba(216, 227, 238, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.module-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 42px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--steel);
  font-weight: 900;
}

.module-row h3 {
  color: var(--white);
}

.module-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.license-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.78fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.license-list {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.license-list div {
  padding: 20px;
  background: var(--paper);
}

.license-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-list dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.contact-section {
  color: var(--white);
  background: #12312f;
  align-items: start;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-section .button.secondary {
  color: var(--white);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  font-style: normal;
  font-weight: 800;
}

.contact-details a,
.contact-details span {
  color: rgba(255, 255, 255, 0.88);
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(216, 227, 238, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

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

.request-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.request-form label span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(216, 227, 238, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
}

.request-form textarea {
  min-height: 132px;
  resize: vertical;
}

.request-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.whatsapp-button {
  gap: 9px;
  color: var(--ink);
  border-color: rgba(103, 193, 94, 0.46);
  background: #e8f7e7;
}

.whatsapp-button img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.form-status.is-success {
  color: #a7f3d0;
}

.form-status.is-error {
  color: #fecaca;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 78px);
  color: #dbe7e5;
  background: #07100f;
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
  }

  .section-heading,
  .product-section,
  .license-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .module-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .hero::after {
    background: rgba(5, 10, 15, 0.76);
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
  }

  .brand {
    font-size: 15px;
  }

  .brand-logo {
    --logo-size: 32px;
  }

  .nav {
    gap: 8px;
    font-size: 11px;
  }

  .hero {
    min-height: 780px;
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .hero-metrics,
  .module-row,
  .form-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 42px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-card,
  .module-row {
    min-height: 0;
  }

  .contact-section {
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-section h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .contact-details {
    gap: 8px;
    margin-top: 20px;
    overflow-wrap: anywhere;
  }

  .request-form {
    gap: 12px;
    padding: 16px;
  }

  .request-form input,
  .request-form select,
  .request-form textarea {
    min-height: 46px;
    padding: 11px 12px;
    font-size: 16px;
  }

  .request-form textarea {
    min-height: 112px;
  }

  .site-footer {
    flex-direction: column;
  }
}
