:root {
  --bg: #0a0a0a;
  --bg-card: #151515;
  --bg-card-hover: #1e1e1e;
  --text: #e0e0e0;
  --text-muted: #888;
  --text-heading: #fff;
  --accent: #7cc82a;
  --tier-red: #e63946;
  --tier-orange: #f4a261;
  --tier-yellow: #e9c46a;
  --tier-green: #2d6a4f;
  --tier-blue: #00b4d8;
  --border: #222;
  --container: 960px;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.content-page p a,
.content-page li a,
.content-page td a,
.content-page blockquote a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 2px;
}
.content-page p a:hover,
.content-page li a:hover,
.content-page td a:hover,
.content-page blockquote a:hover {
  color: var(--accent);
  opacity: 1;
}

h1, h2, h3, h4 { color: var(--text-heading); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: 0.4rem; }

table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-heading); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

code {
  background: #1a1a1a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  color: var(--text-muted);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.5px;
}
.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--text-heading);
  opacity: 1;
}

.main-nav a.nav-cta {
  color: #000;
  background: var(--accent);
  padding: 5px 14px;
  border-radius: 6px;
  font-weight: 600;
}
.main-nav a.nav-cta:hover {
  opacity: 0.85;
  color: #000;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-inner { text-align: center; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-heading); }

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-badge {
  height: 32px;
  opacity: 0.45;
}
.eu-badge {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  height: auto;
}

.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* ── Hero ── */

.hero-wrapper {
  position: relative;
  background: url('/img/hero-bg.jpg') center center / cover no-repeat;
}
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.hero-wrapper > * {
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  padding: 100px 24px 60px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero .tagline {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.6); }

/* ── Stats Row ── */

.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 48px 24px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

/* ── Testimonials ── */

.testimonials {
  padding: 60px 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
}

.testimonial-card .author {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ── Highlights ── */

.highlights {
  padding: 60px 0 20px;
}
.highlights h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.highlights-list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.highlights-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.highlights-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.highlights-list li strong {
  color: var(--text-heading);
}

/* ── Pitch / SEO Block ── */

.pitch {
  padding: 50px 0 10px;
}
.pitch h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.pitch p {
  max-width: 860px;
  margin: 0 auto 1.25rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ── Screenshots ── */

.screenshots {
  padding: 60px 0;
  text-align: center;
}

.screenshots h2 { margin-bottom: 2rem; }

.screenshot-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-placeholder {
  width: 180px;
  height: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── Feature Cards ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}

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

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

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

/* ── Guide Cards ── */

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

.guide-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s, background 0.2s;
}

.guide-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  opacity: 1;
}

.guide-card h3 { margin: 0 0 4px; font-size: 1rem; color: var(--text-heading); }
.guide-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* ── Metric Cards (status badges) ── */

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 12px 0;
}

.metric-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.metric-red .metric-badge { background: var(--tier-red); color: #fff; }
.metric-orange .metric-badge { background: var(--tier-orange); color: #000; }
.metric-yellow .metric-badge { background: var(--tier-yellow); color: #000; }
.metric-green .metric-badge { background: var(--tier-green); color: #fff; }
.metric-blue .metric-badge { background: var(--tier-blue); color: #000; }

.metric-card p {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Content Page ── */

.content-page {
  padding: 60px 0 40px;
}

.content-page h1 {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

/* ── FAQ ── */

.faq-item {
  margin-bottom: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item[open] {
  background: var(--bg-card-hover);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.15s;
}

.faq-item summary:hover {
  background: var(--bg-card-hover);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ── Donate ── */

.donate-section { text-align: center; padding: 40px 0; }
.donate-section p { max-width: 600px; margin: 0 auto 1.5rem; }

/* ── Thank You ── */

.thankyou {
  text-align: center;
  padding: 100px 24px;
}

.thankyou h1 { font-size: 2.5rem; margin-bottom: 1rem; }

.thankyou p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.thankyou .cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 2rem;
}

/* ── Section dividers ── */

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.1rem; }

  .stats-row { gap: 32px; }
  .stat-number { font-size: 2rem; }

  .screenshot-placeholder { width: 140px; height: 250px; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 16px 40px; }
  .hero h1 { font-size: 1.6rem; }
  .stats-row { gap: 24px; }
}
