/* pages.css — shared layout for all OmeetChat SEO pages */

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

:root {
  --bg:       #0d0f18;
  --surface:  #161927;
  --border:   #2b2f4a;
  --text:     #e6e8f5;
  --muted:    #7a7da8;
  --accent:   #6c63ff;
  --acc-h:    #857af7;
  --green:    #6bbf6b;
  --red:      #e05555;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 20px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); text-decoration: none; }

.nav-cta {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--acc-h) !important; }

/* ── Breadcrumbs ─────────────────────────────────────────────────────────── */

.breadcrumbs {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); text-decoration: none; }
.breadcrumbs li[aria-current] { color: var(--text); }

/* ── Page content ────────────────────────────────────────────────────────── */

.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 20px 80px;
}

h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 680px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 18px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

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

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

ul, ol {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  padding-left: 22px;
  margin-bottom: 16px;
}
li { margin-bottom: 6px; }

.page-nav-links {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--surface);
  border-radius: 12px;
  padding: 22px 26px;
  border: 1px solid var(--border);
}
.faq-item h3 { margin-bottom: 9px; }
.faq-item p  { margin-bottom: 0; }

/* ── Rules ───────────────────────────────────────────────────────────────── */

.rules-block {
  background: var(--surface);
  border-radius: 12px;
  padding: 26px 30px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.rules-block h3 { margin-bottom: 12px; }
.rules-block p, .rules-block ul { margin-bottom: 0; }
.rules-block ul { margin-top: 8px; }

.badge-warn {
  display: inline-block;
  background: rgba(224, 85, 85, .12);
  color: #ff9898;
  border: 1px solid rgba(224, 85, 85, .22);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  margin-bottom: 28px;
}

/* ── About ───────────────────────────────────────────────────────────────── */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.value-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
}
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { margin-bottom: 0; font-size: 14px; }

/* ── Blog ────────────────────────────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.blog-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 26px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.blog-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.blog-card p  { font-size: 14px; flex: 1; margin-bottom: 16px; }
.blog-card .blog-meta { font-size: 12px; color: var(--muted); margin-top: auto; }
.coming-soon {
  display: inline-block;
  font-size: 12px;
  background: rgba(108,99,255,.12);
  color: var(--accent);
  border-radius: 4px;
  padding: 3px 8px;
  margin-top: 12px;
}

/* ── Comparison (omegle-alternative) ─────────────────────────────────────── */

.compare-wrap { overflow-x: auto; margin: 24px 0 44px; border-radius: 12px; border: 1px solid var(--border); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}
.compare-table th {
  background: var(--surface);
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .hl td { background: rgba(108,99,255,.06); }
.yes { color: var(--green); font-weight: 600; }
.no  { color: var(--red); }

.cta-block {
  background: linear-gradient(135deg, rgba(108,99,255,.15), rgba(108,99,255,.05));
  border: 1px solid rgba(108,99,255,.3);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  margin: 44px 0;
}
.cta-block h2 { border: none; margin-top: 0; padding-top: 0; font-size: 26px; }
.cta-block p { max-width: 480px; margin: 0 auto 24px; }
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: background .15s;
  text-decoration: none !important;
}
.btn-cta:hover { background: var(--acc-h); }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 13px; margin-bottom: 0; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 9px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 700px) {
  h1 { font-size: 26px; }
  .site-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .footer-inner { grid-template-columns: 1fr; }
}
