* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #4a9eff;
  --accent-hover: #6db3ff;
  --border: #2a2a2a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 1rem 2rem;
}

nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: var(--text-primary);
}

/* Hero */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.hero .badge:hover {
  opacity: 0.8;
}

.hero .badge img {
  height: 54px;
}

/* Section common */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

section .section-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: #3a3a3a;
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Screenshots */
.screenshots {
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.screenshots-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.screenshots-scroll img {
  height: 500px;
  border-radius: 16px;
  scroll-snap-align: center;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Legal sections */
.legal {
  background: var(--bg-secondary);
  padding: 5rem 2rem;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal h2 {
  text-align: left;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p, .legal ul {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 1.5rem;
}

.legal ul li {
  margin-bottom: 0.5rem;
}

.legal .effective-date {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* Support */
.support {
  text-align: center;
  padding: 6rem 2rem;
}

.support h2 {
  margin-bottom: 1rem;
}

.support p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.support a.email-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.support a.email-link:hover {
  background: var(--accent-hover);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  nav .nav-links {
    gap: 1rem;
    font-size: 0.8rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .screenshots-scroll img {
    height: 380px;
  }

  .legal {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  nav .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-scroll img {
    height: 320px;
  }
}
