:root {
  --bg: #06070b;
  --panel: rgba(15, 20, 30, 0.84);
  --text: #f2f6ff;
  --muted: #9da8ba;
  --line: rgba(255,255,255,0.12);
  --cyan: #63e6ff;
  --green: #72f0b7;
  --amber: #ffd36e;
  --pink: #ff6fb1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(99,230,255,0.17), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(255,111,177,0.14), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(114,240,183,0.12), transparent 34%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 20;
}

.product-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(6,7,11,0.62);
  backdrop-filter: blur(18px);
}

.brand-link,
.product-header a {
  color: var(--text);
  text-decoration: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 28px;
  font-weight: 850;
}

.brand-link img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(99,230,255,0.2));
}

.product-header nav {
  display: flex;
  gap: 32px;
}

.product-header nav a {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.lang-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
}

.lang-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.lang-toggle .active {
  color: #061017;
  background: var(--cyan);
}

.hero {
  min-height: 96svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  padding: 136px clamp(20px, 5vw, 72px) 78px;
}

.hero-copy {
  max-width: 800px;
}

.product-mark {
  width: 96px;
  height: 96px;
  margin-bottom: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(114,240,183,0.3));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 10vw, 124px);
  line-height: 0.88;
}

.lead {
  max-width: 720px;
  color: rgba(242,246,255,0.82);
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: #061017;
  background: var(--cyan);
  box-shadow: 0 0 36px rgba(99,230,255,0.24);
}

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

.button.disabled {
  color: rgba(242,246,255,0.46);
  background: rgba(255,255,255,0.055);
  cursor: not-allowed;
}

.hero-device {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-device > img {
  position: relative;
  z-index: 2;
  width: min(300px, 74%);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(0,0,0,0.38);
}

.filament-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: conic-gradient(from 160deg, var(--cyan), var(--green), var(--amber), var(--pink), var(--cyan));
  filter: blur(0.2px);
  opacity: 0.75;
}

.filament-ring.one {
  width: 300px;
  height: 300px;
  mask-image: radial-gradient(circle, transparent 52%, black 53%);
}

.filament-ring.two {
  width: 210px;
  height: 210px;
  transform: translate(96px, 106px);
  mask-image: radial-gradient(circle, transparent 56%, black 57%);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--line);
}

.stats-strip div {
  padding: 20px;
  background: rgba(15,20,30,0.82);
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  margin-bottom: 7px;
  font-size: 20px;
}

.stats-strip span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 100px clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 0.98;
}

.section-title p:not(.eyebrow) {
  color: rgba(242,246,255,0.72);
  font-size: 17px;
  line-height: 1.7;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 260px));
  justify-content: center;
  gap: 18px;
  align-items: start;
}

.phone-gallery figure,
.server-gallery figure {
  margin: 0;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 28px;
  background: rgba(255,255,255,0.035);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.26);
}

.phone-gallery img {
  display: block;
  width: 100%;
  max-height: 560px;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
}

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

.feature-grid article,
.download-card,
.sync-copy {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.024)),
    rgba(15,20,30,0.82);
}

.feature-grid article {
  padding: 22px;
}

.feature-grid span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 40px 0 12px;
  font-size: 21px;
}

.feature-grid p,
.sync-copy p,
.sync-copy li,
.download-card p {
  color: rgba(242,246,255,0.7);
  line-height: 1.62;
}

.sync-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.042));
}

.sync-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
}

.sync-copy {
  padding: 26px;
}

.sync-copy img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 24px;
}

.sync-copy h3 {
  font-size: 30px;
}

.sync-copy ul {
  padding-left: 19px;
}

.server-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  justify-self: center;
  gap: 14px;
}

.server-gallery .wide {
  grid-column: 1 / -1;
}

.server-gallery img {
  display: block;
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.download-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 22px;
}

.download-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 20px;
}

.download-card small {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 7px 0 10px;
  font-size: 23px;
}

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

.download-card.muted {
  opacity: 0.82;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 24px 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(242,246,255,0.54);
  text-align: center;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.home-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(99,230,255,0.4);
  border-radius: 999px;
  color: #061017;
  background: var(--cyan);
  box-shadow: 0 0 34px rgba(99,230,255,0.2);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 1060px) {
  .feature-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sync-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .product-header nav {
    display: none;
  }

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

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

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

@media (max-width: 560px) {
  .product-header {
    padding: 14px 16px;
  }

  .brand-link img {
    width: 64px;
    height: 64px;
  }

  .brand-link {
    font-size: 22px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
    margin-left: 16px;
    margin-right: 16px;
  }

  .feature-grid,
  .download-grid,
  .server-gallery {
    grid-template-columns: 1fr;
  }

  .actions,
  .button {
    width: 100%;
  }
}
