* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #229ED9;
  --primary-dark: #1a8ac4;
  --bg-dark: #0f0f0f;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border: #2a2a2a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  z-index: 1001;
  font-weight: 500;
}

.skip-link:focus {
  top: 8px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 20px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  line-height: 1.5;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(34, 158, 217, 0.1);
}

/* Main Content */
main {
  padding-top: 64px;
  outline: none;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #64d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin: 0 auto 40px;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
}

/* Problem Section */
.problem {
  padding: 60px 20px;
  background: var(--bg-card);
}

.problem h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.problem-list {
  max-width: 800px;
  margin: 0 auto;
}

.problem-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.problem-item:last-child {
  border-bottom: none;
}

.problem-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.problem-text {
  color: var(--text-secondary);
}

.problem-text strong {
  color: var(--text-primary);
}

/* Comparison */
.comparison {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 50%;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  width: 25%;
  text-align: center;
}

.status-good { color: #4ade80; }
.status-bad { color: #f87171; }
.status-ok { color: #fbbf24; }

/* Features */
.features {
  padding: 80px 20px;
  background: var(--bg-card);
}

.features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Audience */
.audience {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.audience h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

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

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.audience-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.audience-card h4 {
  margin-bottom: 8px;
}

.audience-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Privacy Banner */
.privacy-banner {
  padding: 60px 20px;
  background: var(--bg-card);
  text-align: center;
}

.privacy-banner h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.privacy-banner p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

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

footer a:hover {
  text-decoration: underline;
}

/* Privacy Page */
.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

.privacy-container h1 {
  font-size: 42px;
  margin-bottom: 8px;
  font-weight: 700;
}

.last-updated {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 14px;
}

.tldr {
  background: rgba(34, 158, 217, 0.1);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
}

.tldr strong {
  color: var(--primary);
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.privacy-section h3 {
  font-size: 18px;
  margin: 20px 0 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.privacy-section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.privacy-section ul {
  color: var(--text-secondary);
  margin-left: 20px;
  margin-bottom: 12px;
}

.privacy-section li {
  margin-bottom: 8px;
}

.permission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.permission-card h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 16px;
}

.permission-card p {
  margin-bottom: 0;
}

.contact-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 40px;
}

.contact-section h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-section p {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.contact-section a {
  color: var(--primary);
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .problem h2,
  .comparison h2,
  .features h2,
  .audience h2 {
    font-size: 24px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .privacy-container h1 {
    font-size: 32px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
