:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --text: #f0f0f5;
  --text-muted: #9a9ab0;
  --blue: #3b9eff;
  --purple: #9b4dff;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(59, 158, 255, 0.15) 0%, rgba(155, 77, 255, 0.15) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --max-width: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--purple);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.logo-link span {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero__logo {
  width: 120px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(59, 158, 255, 0.3));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gradient-soft);
  border: 1px solid rgba(59, 158, 255, 0.25);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--blue);
  margin-bottom: 2rem;
}

/* Features */
.features {
  padding: 3rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features__grid {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(59, 158, 255, 0.3);
  transform: translateY(-2px);
}

.feature-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-card p strong {
  color: var(--text);
}

/* Screenshots */
.screenshots {
  padding: 3rem 0 4rem;
}

.screenshots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.screenshot-card {
  text-align: center;
}

.screenshot-card__frame {
  background: var(--bg-elevated);
  border-radius: 24px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-card__frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(59, 158, 255, 0.15);
}

.screenshot-card__frame img {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.screenshot-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.screenshot-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CTA */
.cta {
  padding: 3rem 0 4rem;
  text-align: center;
}

.cta__box {
  background: var(--gradient-soft);
  border: 1px solid rgba(155, 77, 255, 0.25);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}

.cta__box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta__box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59, 158, 255, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(155, 77, 255, 0.4);
  color: #fff;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer nav a:hover {
  color: var(--text);
}

/* Privacy page */
.privacy-page {
  padding: 3rem 0 4rem;
}

.privacy-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.privacy-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.privacy-content p,
.privacy-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.privacy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .screenshots__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (min-width: 769px) {
  .screenshots__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .screenshots__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
