:root {
  color-scheme: dark;
  --bg: #08101a;
  --bg-elevated: rgba(18, 28, 43, 0.8);
  --bg-soft: rgba(15, 24, 38, 0.9);
  --surface-border: rgba(138, 178, 255, 0.16);
  --surface-strong: rgba(138, 178, 255, 0.28);
  --text-primary: #f4f7fb;
  --text-secondary: #b4bfd3;
  --text-muted: #8b97ae;
  --accent: #7ab7ff;
  --accent-strong: #a6d0ff;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.32);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top, rgba(76, 136, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(92, 174, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #09111b 0%, #060b13 100%);
  color: var(--text-primary);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding-top: 12px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0 -14px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  background: rgba(5, 10, 16, 0.48);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(166, 208, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand-text,
.footer-brand strong,
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-brand {
  align-items: stretch;
  gap: 16px;
}

.footer-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  flex-shrink: 0;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-brand-copy strong {
  font-size: 1.05rem;
  line-height: 1.08;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1;
}

.nav a {
  display: inline-flex;
  align-items: center;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text-primary);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.language-chip {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  min-width: 42px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.language-chip.is-active {
  background: rgba(166, 208, 255, 0.14);
  color: var(--text-primary);
}

.section {
  padding: 60px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding-top: 72px;
}

.eyebrow,
.panel-label,
.featured-label {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-text,
.value-card p,
.featured-text,
.footer-brand p,
.copyright {
  color: var(--text-secondary);
  line-height: 1.72;
}

.hero-text {
  margin: 26px 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions,
.store-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #8dc4ff 0%, #6caef7 100%);
  color: #06111d;
  box-shadow: 0 10px 28px rgba(82, 152, 255, 0.28);
}

.button-secondary {
  border-color: rgba(166, 208, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.hero-panel,
.value-card,
.featured-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(15, 24, 38, 0.96), rgba(10, 16, 26, 0.92));
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  min-height: 380px;
}

.panel-glow {
  position: absolute;
  inset: auto -20% 70% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 183, 255, 0.34), transparent 68%);
  pointer-events: none;
}

.signal-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.app-heading {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.app-heading-copy {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.app-link-minimal {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(166, 208, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.app-link-minimal:hover,
.app-link-minimal:focus-visible {
  border-color: rgba(166, 208, 255, 0.32);
  background: rgba(166, 208, 255, 0.08);
  color: var(--text-primary);
  transform: translateY(-1px);
}

@media (min-width: 1101px) {
  .app-heading {
    align-items: center;
  }

  .app-heading-copy {
    display: flex;
    flex-direction: row;
    width: auto;
    flex-wrap: nowrap;
    align-items: center;
  }

  .app-heading h2 {
    white-space: nowrap;
  }

  .app-link-minimal {
    margin-top: 0;
    align-self: center;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.value-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.value-card p {
  margin: 0;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 26px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-text {
  margin: 0 0 28px;
  max-width: 58ch;
}

.store-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.store-intro {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.store-actions {
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.store-divider {
  width: 1px;
  height: 34px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0)
  );
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 160ms ease, filter 160ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  opacity: 0.96;
  filter: brightness(1.03);
}

.store-link img {
  display: block;
  height: 54px;
  width: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.featured-visual {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    radial-gradient(circle at 50% 12%, rgba(122, 183, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(122, 183, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.screen-frame {
  position: absolute;
  overflow: hidden;
  width: 184px;
  aspect-ratio: 9 / 19;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 12, 19, 0.9);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-idle {
  z-index: 1;
  left: 3%;
  top: 84px;
  transform: rotate(-10deg);
  opacity: 0.78;
}

.screen-monitoring {
  z-index: 3;
  left: 31%;
  top: 30px;
  width: 204px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.screen-success {
  z-index: 2;
  right: 4%;
  top: 102px;
  transform: rotate(10deg);
  opacity: 0.84;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 40px;
}

.footer-brand p,
.copyright {
  margin: 8px 0 0;
}

.footer-links {
  justify-content: flex-end;
  color: var(--text-secondary);
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-primary);
}

.copyright {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .featured-card,
  .footer {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-visual {
    order: -1;
    min-height: 520px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    align-items: center;
    row-gap: 10px;
    column-gap: 12px;
    min-height: 88px;
    padding: 12px 8px;
    overflow-x: clip;
  }

  .topbar::before {
    inset: 0 -8px;
    border-radius: 28px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .nav {
    grid-area: nav;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    padding: 10px 2px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    white-space: normal;
    overflow: visible;
  }

  .language-switcher {
    grid-area: lang;
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--container));
    padding-top: 10px;
    overflow-x: clip;
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    align-items: center;
    row-gap: 10px;
    column-gap: 12px;
    min-height: 88px;
    padding: 12px 8px;
    overflow-x: clip;
  }

  .topbar::before {
    inset: 0 -8px;
    border-radius: 28px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .nav {
    grid-area: nav;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    padding: 10px 2px 0;
    border-top: 1px solid rgba(166, 208, 255, 0.12);
    font-size: 0.9rem;
    white-space: normal;
    overflow: visible;
  }

  .language-switcher {
    grid-area: lang;
    justify-self: end;
    padding: 3px;
  }

  .language-chip {
    min-width: 38px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    gap: 24px;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-text {
    margin-top: 20px;
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.74;
  }

  .hero-panel,
  .featured-card {
    padding: 22px;
  }

  .hero-panel {
    min-height: auto;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  h2 {
    max-width: 14ch;
    line-height: 1.08;
  }

  .app-heading {
    align-items: flex-start;
  }

  .app-heading-copy {
    gap: 8px;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 21px;
    flex-shrink: 0;
  }

  h2 {
    font-size: clamp(1.72rem, 6vw, 2.1rem);
  }

  .app-link-minimal {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .featured-text,
  .value-card p {
    line-height: 1.68;
  }

  .featured-text {
    margin-bottom: 22px;
    max-width: 34ch;
  }

  .store-panel {
    align-items: flex-start;
  }

  .store-intro {
    text-align: left;
  }

  .footer {
    gap: 18px;
    align-items: start;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 440px;
  }

  .screen-frame {
    width: 150px;
  }

  .screen-idle {
    left: 2%;
    top: 96px;
  }

  .screen-monitoring {
    left: 28%;
    top: 42px;
    width: 168px;
  }

  .screen-success {
    right: 2%;
    top: 118px;
  }
}

@media (max-width: 520px) {
  h1 {
    max-width: 9.5ch;
    font-size: clamp(2.35rem, 12vw, 3.3rem);
    line-height: 0.98;
  }

  .button,
  .store-link {
    width: 100%;
  }

  .topbar {
    min-height: 84px;
    row-gap: 8px;
    column-gap: 10px;
    padding: 12px 8px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 8px 2px 0 0;
    font-size: 0.78rem;
    white-space: normal;
  }

  .language-switcher {
    gap: 4px;
    padding: 2px;
  }

  .language-chip {
    min-width: 34px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .brand,
  .footer-brand {
    gap: 10px;
  }

  .brand {
    justify-content: flex-start;
    width: auto;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .brand-text {
    font-size: 0.94rem;
  }

  .app-heading {
    gap: 12px;
    align-items: center;
  }

  .app-heading-copy {
    gap: 7px;
  }

  .app-icon {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    flex-shrink: 0;
  }

  h2 {
    font-size: clamp(1.56rem, 7.6vw, 1.9rem);
  }

  .app-link-minimal {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .section {
    padding: 40px 0;
  }

  .eyebrow,
  .panel-label,
  .featured-label {
    margin-bottom: 14px;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
  }

  .hero-text,
  .featured-text,
  .value-card p,
  .footer-brand p,
  .copyright {
    font-size: 0.97rem;
    line-height: 1.66;
  }

  .hero-actions {
    margin-top: 26px;
    gap: 12px;
  }

  .button {
    min-height: 50px;
    padding: 0 18px;
  }

  .store-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .store-divider {
    width: 54px;
    height: 1px;
  }

  .featured-visual {
    min-height: 360px;
  }

  .signal-list {
    gap: 10px;
  }

  .signal-list li,
  .value-card {
    padding: 16px;
  }

  .screen-frame {
    width: 112px;
    border-radius: 26px;
  }

  .app-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .app-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .app-heading-copy {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .app-heading h2 {
    max-width: none;
    font-size: 1.34rem;
    line-height: 1.06;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }

  .app-link-minimal {
    margin-top: 2px;
    align-self: flex-start;
  }

  .screen-idle {
    left: 0;
    top: 98px;
  }

  .screen-monitoring {
    left: 32%;
    top: 42px;
    width: 124px;
  }

  .screen-success {
    right: 0;
    top: 118px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
  }

  .footer-brand p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .copyright {
    margin-top: 4px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
