@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --bg: #07080d;
  --bg-alt: #0f1220;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.68);
  --muted-strong: rgba(245, 247, 255, 0.84);
  --accent: #7df7d3;
  --accent-2: #7ea7ff;
  --accent-3: #f7c66b;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(126, 167, 255, 0.22), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(125, 247, 211, 0.16), transparent 20%),
    radial-gradient(circle at 50% 90%, rgba(247, 198, 107, 0.14), transparent 26%),
    linear-gradient(180deg, #05060b 0%, #090b14 40%, #0e1120 100%);
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
  opacity: 0.45;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at 10% 65%, rgba(125, 247, 211, 0.08), transparent 28%);
  filter: blur(10px);
  opacity: 0.85;
}

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

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 0 auto;
  max-width: 1240px;
  background: rgba(4, 5, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-title {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.locale-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch,
.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.84rem 1.2rem;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-switch {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-switch.is-active {
  color: #06110e;
  background: linear-gradient(135deg, var(--accent) 0%, #d8fff4 100%);
  border-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
}

.btn:hover,
.lang-switch:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #04110d;
  background: linear-gradient(135deg, var(--accent) 0%, #a6f9e4 55%, #e6fff8 100%);
  box-shadow: 0 16px 30px rgba(125, 247, 211, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.section,
.footer {
  width: min(1180px, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: 2.5rem;
  padding: 5rem 0 4rem;
}

.hero-copy {
  padding: 0.5rem 0;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 1rem 0 1rem;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.text-gradient {
  background: linear-gradient(90deg, #fefefe 0%, #b8c2ff 48%, #8ef8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle,
.section-description,
.platform-card p,
.feature-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.3rem;
}

.hero-pills {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-pills span {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-stack {
  position: relative;
  width: min(100%, 510px);
  min-height: 760px;
}

.device-card {
  position: absolute;
  width: min(300px, 60vw);
  margin: 0;
  padding: 0.9rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.device-card img {
  border-radius: 22px;
  background: #050816;
}

.device-card figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.device-card-ios {
  left: 0;
  top: 0;
  transform: rotate(-5deg);
}

.device-card-android {
  right: 0;
  bottom: 0;
  transform: rotate(6deg);
}

.section {
  padding: 1.75rem 0 4.5rem;
}

.section + .section {
  padding-top: 0;
}

.section-description {
  max-width: 780px;
  margin: 0.8rem 0 2rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.platform-card {
  padding: 1.35rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.platform-card-ios {
  outline: 1px solid rgba(126, 167, 255, 0.18);
}

.platform-card-android {
  outline: 1px solid rgba(125, 247, 211, 0.18);
}

.platform-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.platform-topline h3 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.8rem;
}

.platform-list {
  margin: 1rem 0 1.2rem;
  padding: 0 0 0 1.2rem;
  color: var(--muted-strong);
}

.platform-list li {
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.shot-grid figure,
.gallery-row img {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
}

.shot-grid figure {
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-grid img {
  width: 100%;
  border-radius: 16px;
  background: #050816;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.shot-grid figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

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

.feature-card {
  padding: 1.35rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(126, 167, 255, 0.22), rgba(125, 247, 211, 0.18));
  color: var(--text);
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.section-gallery .gallery-rows {
  display: grid;
  gap: 1rem;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
}

.gallery-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.footer {
  padding: 1rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted-strong);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero,
  .platform-grid,
  .feature-grid,
  .gallery-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .device-stack {
    min-height: 620px;
    width: min(100%, 460px);
  }

  .device-card-ios {
    left: 50%;
    transform: translateX(-54%) rotate(-5deg);
  }

  .device-card-android {
    right: 50%;
    transform: translateX(54%) rotate(6deg);
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 0.9rem 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .hero,
  .section,
  .footer {
    width: min(1180px, calc(100vw - 1.2rem));
  }

  .hero {
    gap: 1.8rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-pills {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-pills span {
    width: 100%;
  }

  .device-stack {
    min-height: 560px;
  }

  .device-card {
    width: min(290px, 82vw);
  }

  .platform-topline {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .gallery-row {
    gap: 0.8rem;
  }
}
