:root {
  color-scheme: dark;
  --bg: #0f1417;
  --bg-soft: #151c21;
  --surface: rgba(255, 255, 255, 0.06);
  --card: rgba(17, 22, 26, 0.88);
  --text: #f6f4f0;
  --muted: #b7c0c7;
  --accent: #98c948;
  --accent-strong: #b7e45d;
  --accent-warm: #f3c969;
  --stroke: rgba(255, 255, 255, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 12% -10%, rgba(152, 201, 72, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(243, 201, 105, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.45;
  z-index: -1;
}

body::before {
  top: -260px;
  right: 8%;
  background: radial-gradient(circle, rgba(152, 201, 72, 0.35), transparent 60%);
  animation: drift 14s ease-in-out infinite;
}

body::after {
  bottom: -260px;
  left: -120px;
  background: radial-gradient(circle, rgba(243, 201, 105, 0.28), transparent 60%);
  animation: drift 18s ease-in-out infinite reverse;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 64px 0 96px;
  position: relative;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 64px;
}

.logo {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  display: inline-flex;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(152, 201, 72, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav a:hover {
  border-color: var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.lang-switch a {
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.hero-text h1 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  font-size: 13px;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #0c140e;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(152, 201, 72, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(152, 201, 72, 0.3);
}

.cta.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: none;
}

.hero-card {
  background: transparent;
  border-radius: 22px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(152, 201, 72, 0.12), transparent 55%);
  opacity: 0.5;
}

.hero-shot {
  position: relative;
  z-index: 1;
  width: min(320px, 70vw);
  display: block;
  margin: 0 auto;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.section {
  margin-bottom: 84px;
}

.section h2 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 16px;
}

.section p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  min-height: 150px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.screens-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.screens-grid figure {
  margin: 0;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.screens-grid img {
  width: 100%;
  display: block;
}

.screens-grid figcaption {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: 14px;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(152, 201, 72, 0.15);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 13px;
}

.highlight {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: linear-gradient(140deg, rgba(152, 201, 72, 0.14), rgba(12, 18, 22, 0.4));
}

.highlight h3 {
  margin: 12px 0 10px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(17, 22, 26, 0.9);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.back-to-top:hover {
  box-shadow: var(--shadow);
}

footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

footer a {
  color: var(--text);
  text-decoration: none;
}

footer .links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

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

@keyframes drift {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(18px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    margin-bottom: 72px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

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

  .back-to-top {
    transition: none;
  }

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

  body::before,
  body::after {
    animation: none;
  }
}
