/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0e1117;
  --color-surface: #161b22;
  --color-border: #21262d;
  --color-text: #e6edf3;
  --color-text-muted: #8b949e;
  --color-accent: #2dd4bf;
  --color-accent-hover: #5eead4;
  --color-highlight: #f97316;
  --font-stack:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-hover);
}

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

/* ── Layout ── */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, #111820 0%, var(--color-bg) 100%);
}

.hero-icon {
  border-radius: 22%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 24px rgba(45, 212, 191, 0.15);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.hero-sub {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.15s;
}

.cta-button:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-1px);
}

/* ── Problem ── */
.problem {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.problem p + p {
  margin-top: 0.75rem;
}

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

/* ── Features ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--color-accent);
}

.feature-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.feature-detail {
  margin-top: 0.5rem;
  font-size: 0.875rem !important;
  color: var(--color-text-muted);
}

/* ── Screenshots ── */
.screenshots {
  text-align: center;
  overflow: hidden;
}

.screenshot-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.screenshot {
  flex: 0 1 auto;
  max-height: 420px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.screenshot-watch {
  max-height: 180px;
  border-radius: 26%;
  background: #000;
  padding: 6px;
}

/* ── How It Works ── */
.how-it-works h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.how-it-works h2:first-child {
  margin-top: 0;
}

.flow-diagram {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.flow-arrow {
  color: var(--color-accent);
  font-size: 1.25rem;
}

.how-it-works p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

/* ── Privacy Brief ── */
.privacy-brief {
  text-align: center;
}

.privacy-brief p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.privacy-brief strong {
  color: var(--color-text);
}

/* ── Get Started ── */
.get-started h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.get-started ol {
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.get-started li {
  margin-bottom: 0.5rem;
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 0.75rem 0;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: #484f58;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.75rem;
  }

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

  .screenshot {
    max-width: 180px;
  }

  .flow-diagram {
    font-size: 0.9375rem;
  }
}
