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

:root {
  --bg: #1a1a2e;
  --bg-light: #16213e;
  --bg-card: #0f3460;
  --accent: #e94560;
  --accent-hover: #ff6b81;
  --text: #eee;
  --text-muted: #aab;
  --text-link: #7ec8e3;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Navigation */
header {
  background: var(--bg-light);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--text);
}

/* Main content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

section:last-child {
  border-bottom: none;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}

.tagline {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  color: var(--text);
}

.built-for {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.attribution {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.cta-button:hover {
  background: var(--accent-hover);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

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

.export-note {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

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

.screenshot-item {
  margin-bottom: 2.5rem;
}

.screenshot-item:last-child {
  margin-bottom: 0;
}

.screenshot-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.screenshot-item img {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.screenshot-description {
  text-align: left;
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Annotated screenshot with numbered callouts */
.annotated-screenshot {
  position: relative;
  display: inline-block;
}

.callout {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.9);
  pointer-events: none;
}

.callout-1 { top: 7%; right: 14%; }
.callout-2 { top: 42%; left: 15%; }
.callout-3 { top: 22%; left: 55%; }
.callout-4 { bottom: 12%; left: 15%; }
.callout-5 { bottom: 7%; left: 52%; }

.callout-legend {
  text-align: left;
  max-width: 520px;
  margin: 1.2rem auto 0;
  padding-left: 1.2rem;
  list-style: none;
  counter-reset: legend;
}

.callout-legend li {
  counter-increment: legend;
  padding: 0.3rem 0 0.3rem 2rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.callout-legend li::before {
  content: counter(legend);
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

@media (max-width: 600px) {
  .callout { width: 22px; height: 22px; font-size: 0.7rem; line-height: 22px; }
}

/* Audience */
.audience ul {
  list-style: none;
  padding: 0;
}

.audience li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.audience li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* How it works */
.how-it-works p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Requirements */
.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.requirements li::before {
  content: "\2022";
  position: absolute;
  left: 0.3rem;
  color: var(--accent);
}

/* Getting Started */
.getting-started {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.step {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  margin-bottom: 0.8rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Download */
.download {
  text-align: center;
}

.version-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.download-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.download > p {
  margin-bottom: 2rem;
}

.smartscreen-warning {
  background: var(--bg-card);
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  margin-top: 1rem;
}

.smartscreen-warning h3 {
  margin-bottom: 0.8rem;
}

.smartscreen-warning p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.smartscreen-screenshot {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin: 1rem 0;
}

/* FAQ */
details {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  padding: 1rem 1.5rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

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

details p {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

/* General links */
a {
  color: var(--text-link);
}

/* Responsive */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .tagline { font-size: 1.1rem; }
  nav { flex-wrap: wrap; }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding-top: 0.8rem;
  }
  .nav-links.open { display: flex; }
}
