/* ═══════════════════════════════════════════════════════════════
   WVD Content Pages — Shared Stylesheet
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #07080c;
  --bg-card: #0c0e14;
  --border: #1a1e2c;
  --border-light: #252a3a;
  --text: #d8dce8;
  --text-dim: #6b7394;
  --text-muted: #3e4563;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ── Navigation ── */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 52px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo {
  width: 28px;
  height: 28px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.nav-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-family: 'Courier New', monospace;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── Language Selector ── */

.page-lang-select {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  margin-left: 8px;
  flex-shrink: 0;
}

.page-lang-select:hover {
  border-color: var(--accent);
  color: var(--text);
}

.page-lang-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim);
}

.page-lang-select option {
  background: var(--bg-card);
  color: var(--text);
}

/* ── Content Container ── */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  flex: 1;
}

/* ── Typography ── */

h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.subtitle {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text);
}

p, li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 12px;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

li { margin-bottom: 8px; }

strong { color: var(--accent); font-weight: 600; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Card ── */

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

/* ── Feature Grid ── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--accent);
}

.feature-item p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

/* ── FAQ ── */

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--text);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ── Contact Card ── */

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 12px 0;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 20px;
}

.contact-info h3 {
  font-size: 15px;
  margin: 0 0 2px;
  color: var(--text);
}

.contact-info p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

/* ── Format Badges ── */

.format-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}

.format-badge {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.15);
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

/* ── Responsive ── */

@media (max-width: 640px) {
  .site-nav {
    padding: 0 16px;
    height: 48px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    font-size: 12px;
    padding: 6px 8px;
  }

  .container {
    padding: 32px 16px;
  }

  h1 { font-size: 24px; }

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

  .footer-links {
    gap: 12px;
  }

  .ad-container iframe {
    max-width: 100% !important;
  }
}

/* ── Ad Container ── */

.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px auto;
  padding: 16px 0;
  max-width: 728px;
  overflow: hidden;
}
