:root {
  --bg: #e7efec;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(249, 255, 253, 0.92);
  --text: #102328;
  --muted: #527078;
  --line: rgba(29, 78, 86, 0.14);
  --accent: #5fd7c5;
  --accent-deep: #0e3f49;
  --accent-soft: #b8fff1;
  --shadow: 0 20px 60px rgba(16, 35, 40, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(95, 215, 197, 0.32), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(15, 112, 121, 0.24), transparent 22%),
    linear-gradient(180deg, #edf5f2 0%, #dde9e5 48%, #d4e2dd 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

img,
svg {
  max-width: 100%;
}

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 36px;
  animation: page-enter 900ms ease-out both;
}

.topbar,
.topnav,
.lang-switch,
.mobile-lang,
.hero-actions,
.device-pills,
.footer,
.contact-grid {
  display: flex;
  align-items: center;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  padding: 8px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  justify-self: start;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  border: 0;
  overflow: visible;
}

.brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(14, 63, 73, 0.18));
}

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

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

.brand-subtitle {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topnav {
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  justify-self: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 255, 241, 0.42);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 14px 28px rgba(14, 63, 73, 0.08);
}

.topnav a {
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topnav a:hover {
  background: linear-gradient(135deg, rgba(15, 91, 103, 0.95), rgba(95, 215, 197, 0.84));
  color: #f7fffe;
  transform: translateY(-1px);
}

.lang-switch {
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  justify-self: end;
}

.lang-button {
  min-width: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.lang-button.is-active {
  background: linear-gradient(135deg, #0f5b67, #5fd7c5);
  color: #f7fffe;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.menu-toggle {
  appearance: none;
  border: 1px solid rgba(184, 255, 241, 0.42);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  width: 56px;
  height: 56px;
  padding: 0;
  place-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 14px 28px rgba(14, 63, 73, 0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-deep);
  transition: transform 180ms ease, opacity 180ms ease;
}

.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);
}

.mobile-menu {
  width: 100%;
  max-width: 360px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(184, 255, 241, 0.42);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 22px 44px rgba(14, 63, 73, 0.12);
}

.mobile-menu.is-open {
  display: grid;
  gap: 14px;
  animation: rise-in 220ms ease-out both;
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 18px;
  text-align: center;
  color: var(--accent-deep);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.56);
}

.mobile-lang {
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}

.hero,
.about,
.downloads,
.contact {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 6.8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 12ch;
  animation: rise-in 800ms ease-out 120ms both;
}

.hero-text,
.hero-subtext,
.section-heading p,
.info-card p,
.contact-card,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow,
.hero-text,
.hero-actions,
.hero-stats,
.device-card,
.info-card,
.download-card,
.contact-card {
  animation: rise-in 800ms ease-out both;
}

.eyebrow {
  animation-delay: 40ms;
}

.hero-text {
  animation-delay: 220ms;
}

.hero-actions {
  animation-delay: 320ms;
}

.hero-stats {
  animation-delay: 420ms;
}

.device-card {
  animation-delay: 180ms;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  justify-content: center;
}

.hero-subtext {
  max-width: 34rem;
  margin-bottom: 0;
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.stat-chip {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(95, 215, 197, 0.18);
  backdrop-filter: blur(10px);
  text-align: center;
}

.stat-chip strong,
.stat-chip span {
  display: block;
}

.stat-chip strong {
  margin-bottom: 4px;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.stat-chip span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.download-card:hover,
.contact-card:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #0f5b67, #5fd7c5);
  color: #f7fffe;
  box-shadow: 0 12px 30px rgba(15, 91, 103, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, #0c4b55, #4bcbb8);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.hero-card {
  display: flex;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.device-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(235, 255, 250, 0.76)),
    linear-gradient(135deg, #f5fffd, #d7efea);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 24px 60px rgba(14, 63, 73, 0.12);
  min-height: 560px;
}

.device-card::before,
.device-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.device-card::before {
  width: 180px;
  height: 180px;
  background: rgba(95, 215, 197, 0.2);
  top: -50px;
  right: -50px;
}

.device-card::after {
  width: 120px;
  height: 120px;
  background: rgba(14, 63, 73, 0.16);
  bottom: -30px;
  left: -20px;
}

.hero-emblem {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.hero-emblem-ring {
  display: grid;
  place-items: center;
  width: 320px;
  height: 320px;
  border-radius: 48px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.12);
  filter:
    drop-shadow(0 22px 38px rgba(14, 63, 73, 0.18))
    drop-shadow(0 0 22px rgba(95, 215, 197, 0.22));
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.8;
  pointer-events: none;
}

.hero-orb-left {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(95, 215, 197, 0.26), transparent 68%);
  top: -60px;
  left: -80px;
  animation: float-orb 9s ease-in-out infinite;
}

.hero-orb-right {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(14, 63, 73, 0.18), transparent 72%);
  right: -80px;
  bottom: -90px;
  animation: float-orb 11s ease-in-out infinite reverse;
}

.device-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.device-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 340px;
  margin-top: 6px;
  width: 100%;
}

.device-card strong,
.download-card strong,
.info-card h3,
.contact-card strong {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.device-pills {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.device-pills span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.about,
.downloads,
.contact {
  padding: 32px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.about-grid,
.download-grid {
  display: grid;
  gap: 18px;
}

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

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

.info-card,
.download-card,
.contact-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  border: 1px solid rgba(53, 42, 30, 0.08);
}

.info-card {
  text-align: center;
}

.download-card,
.contact-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.download-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(95, 215, 197, 0.18), transparent 70%);
  transition: transform 240ms ease;
}

.download-card[aria-disabled="true"] {
  cursor: default;
}

.download-card:hover,
.contact-card:hover,
.info-card:hover {
  box-shadow: 0 18px 34px rgba(14, 63, 73, 0.08);
}

.download-card:hover::after {
  transform: scale(1.2);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(95, 215, 197, 0.2), rgba(14, 63, 73, 0.08));
}

.platform-icon {
  width: 32px;
  height: 32px;
  fill: var(--accent-deep);
}

.platform {
  display: inline-block;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card strong {
  max-width: 12ch;
}

.feature-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 10px;
  justify-content: center;
}

.feature-band span {
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 91, 103, 0.95), rgba(95, 215, 197, 0.82));
  color: #f7fffe;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(15, 91, 103, 0.16);
  animation: rise-in 800ms ease-out both;
}

.feature-band span:nth-child(1) {
  animation-delay: 40ms;
}

.feature-band span:nth-child(2) {
  animation-delay: 100ms;
}

.feature-band span:nth-child(3) {
  animation-delay: 160ms;
}

.feature-band span:nth-child(4) {
  animation-delay: 220ms;
}

.feature-band span:nth-child(5) {
  animation-delay: 280ms;
}

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

.check-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  border: 1px solid rgba(53, 42, 30, 0.08);
  text-align: center;
}

.check-card span {
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 1.1rem;
}

.check-card p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.final-cta {
  text-align: center;
}

.final-actions {
  justify-content: center;
}

.contact-grid {
  gap: 18px;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-label {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 0;
  font-size: 0.95rem;
  flex-wrap: wrap;
  text-align: center;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .device-card {
    min-height: 500px;
  }

  .hero-emblem-ring {
    width: 260px;
    height: 260px;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand,
  .lang-switch {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 16px;
  }

  .topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .topnav,
  .lang-switch {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .hero,
  .about,
  .downloads,
  .contact {
    padding: 22px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-text,
  .hero-subtext,
  .section-heading p,
  .info-card p,
  .check-card p,
  .contact-card {
    line-height: 1.55;
  }

  .hero-actions,
  .final-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .device-card {
    min-height: 420px;
    padding: 22px;
  }

  .hero-emblem-ring {
    width: min(100%, 200px);
    height: min(100%, 200px);
    border-radius: 34px;
  }

  .device-content {
    max-width: 250px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .footer,
  .contact-grid {
    flex-direction: column;
    align-items: center;
  }

  .footer {
    justify-content: center;
  }

  .feature-band span,
  .device-pills span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
