/* PaidSurveys.icu — Master Stylesheet 2026
   Optimised for Core Web Vitals, accessibility, and conversion */

:root {
  --green: #166534;
  --green-mid: #16a34a;
  --green-light: #dcfce7;
  --green-pale: #f0fdf4;
  --ink: #111827;
  --ink2: #374151;
  --ink3: #6b7280;
  --ink4: #9ca3af;
  --bg: #ffffff;
  --bg2: #f9fafb;
  --bg3: #f3f4f6;
  --border: #e5e7eb;
  --border2: #d1d5db;
  --gold: #92400e;
  --gold-bg: #fef3c7;
  --red: #991b1b;
  --red-bg: #fee2e2;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
}

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

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.3; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
p { color: var(--ink2); margin-bottom: 1rem; }
a { color: var(--green-mid); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.2s; }
a:hover { text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; display: block; }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* NAV */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 24px;
}
.nav-logo {
  font-weight: 800; font-size: 1.1rem; color: var(--green); text-decoration: none;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav-logo span { color: var(--ink3); font-weight: 400; font-size: 0.85rem; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  padding: 6px 14px; border-radius: 6px; font-size: 0.9rem; font-weight: 500;
  color: var(--ink2); text-decoration: none; transition: all 0.15s;
}
.nav-links a:hover { background: var(--bg2); color: var(--ink); }
.nav-links a.active { background: var(--green-light); color: var(--green); }
.nav-cta {
  background: var(--green-mid); color: #fff !important; border-radius: 8px;
  padding: 8px 18px !important; font-weight: 600 !important; text-decoration: none;
  font-size: 0.875rem; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--green) !important; }
.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; color: var(--ink2); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, #14532d 100%);
  color: #fff; padding: 64px 0 56px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px; padding: 5px 14px; font-size: 0.8rem; font-weight: 500;
  margin-bottom: 20px; color: rgba(255,255,255,0.9);
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: #fff; color: var(--green); font-weight: 700; padding: 13px 28px;
  border-radius: var(--radius); text-decoration: none; font-size: 0.95rem;
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s; box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-secondary {
  background: rgba(255,255,255,0.15); color: #fff; font-weight: 600; padding: 13px 24px;
  border-radius: var(--radius); text-decoration: none; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* SECTION */
.section { padding: 64px 0; }
.section-alt { background: var(--bg2); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-header .eyebrow {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green-mid); margin-bottom: 10px;
}

/* SURVEY CARDS */
.survey-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.survey-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); padding: 24px; display: grid;
  grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.survey-card:hover { box-shadow: var(--shadow-md); border-color: var(--border2); }
.survey-card.featured { border-color: var(--green-mid); border-width: 2px; }
.survey-card.featured::before {
  content: 'Editor\'s Choice';
  display: block; grid-column: 1 / -1; background: var(--green-light);
  color: var(--green); font-size: 0.75rem; font-weight: 700; padding: 4px 12px;
  border-radius: 4px; width: fit-content; margin-bottom: 4px;
}
.survey-rank {
  width: 36px; height: 36px; border-radius: 8px; background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: var(--ink3); flex-shrink: 0;
}
.survey-rank.rank-1 { background: var(--green-light); color: var(--green); }
.survey-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.survey-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink3); }
.survey-meta span { display: flex; align-items: center; gap: 4px; }
.stars { color: #f59e0b; font-size: 0.9rem; }
.survey-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.btn-join {
  background: var(--green-mid); color: #fff; font-weight: 600; padding: 10px 20px;
  border-radius: 8px; text-decoration: none; font-size: 0.875rem; white-space: nowrap;
  transition: background 0.2s; display: inline-block;
}
.btn-join:hover { background: var(--green); }
.btn-review { font-size: 0.8rem; color: var(--ink3); text-decoration: none; }
.btn-review:hover { color: var(--green-mid); }

/* EMAIL CAPTURE */
.email-capture {
  background: linear-gradient(135deg, var(--green) 0%, #14532d 100%);
  border-radius: 16px; padding: 40px; color: #fff; text-align: center;
  margin: 40px 0;
}
.email-capture h2 { color: #fff; margin-bottom: 10px; }
.email-capture p { color: rgba(255,255,255,0.85); max-width: 460px; margin: 0 auto 24px; }
.email-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.email-input {
  flex: 1; min-width: 200px; padding: 12px 16px; border-radius: 8px;
  border: none; font-size: 0.95rem; outline: none;
}
.email-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }
.email-submit {
  background: #fff; color: var(--green); font-weight: 700; padding: 12px 22px;
  border-radius: 8px; border: none; cursor: pointer; font-size: 0.95rem;
  white-space: nowrap; transition: transform 0.15s;
}
.email-submit:hover { transform: scale(1.02); }
.email-trust { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 10px; }

/* COMPARISON TABLE */
.compare-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; min-width: 600px; }
.compare-table th {
  background: var(--bg3); padding: 12px 16px; text-align: left;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink3); white-space: nowrap; border-bottom: 1px solid var(--border);
}
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--ink2); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg2); }
.compare-table .check { color: var(--green-mid); font-weight: 700; }
.compare-table .cross { color: var(--red); }
.compare-table .best { background: var(--green-pale); }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gold { background: var(--gold-bg); color: var(--gold); }
.badge-red { background: var(--red-bg); color: var(--red); }

/* GEO SECTION */
.geo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.geo-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  background: var(--bg); transition: box-shadow 0.2s;
}
.geo-card:hover { box-shadow: var(--shadow-md); }
.geo-flag { font-size: 2rem; margin-bottom: 10px; }
.geo-card h3 { font-size: 1rem; margin-bottom: 8px; }
.geo-card ul { list-style: none; font-size: 0.85rem; color: var(--ink3); }
.geo-card ul li { padding: 3px 0; border-bottom: 1px solid var(--border); }
.geo-card ul li:last-child { border-bottom: none; }
.geo-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 12px;
  font-size: 0.8rem; font-weight: 600; color: var(--green-mid); text-decoration: none;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.faq-question {
  font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; list-style: none; color: var(--ink);
  font-size: 0.95rem;
}
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--green-mid); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding-top: 12px; color: var(--ink2); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* TRUST BAR */
.trust-bar {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-items { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink3); }
.trust-item strong { color: var(--ink2); }

/* BREADCRUMBS */
.breadcrumb {
  padding: 12px 0; font-size: 0.8rem; color: var(--ink3);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink3); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-mid); }
.breadcrumb-sep { color: var(--ink4); }

/* ARTICLE CONTENT */
.article-header { padding: 40px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink3); margin-top: 12px; }
.article-meta span { display: flex; align-items: center; gap: 5px; }
.verdict-box {
  background: var(--green-pale); border: 2px solid var(--green-light); border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0;
}
.verdict-box h4 { color: var(--green); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.rating-display { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rating-num { font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.at-glance {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 24px 0;
}
.at-glance-title {
  background: var(--bg3); padding: 10px 16px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink3);
}
.at-glance table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.at-glance td { padding: 10px 16px; border-bottom: 1px solid var(--border); }
.at-glance td:last-child { border-bottom: none; }
.at-glance td:first-child { color: var(--ink3); font-weight: 500; width: 45%; }
.at-glance td:last-child { color: var(--ink); font-weight: 500; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.pros, .cons { border-radius: var(--radius); padding: 18px; }
.pros { background: var(--green-pale); border: 1px solid var(--green-light); }
.cons { background: #fff5f5; border: 1px solid #fecaca; }
.pros h4 { color: var(--green); margin-bottom: 10px; }
.cons h4 { color: var(--red); margin-bottom: 10px; }
.pros ul, .cons ul { list-style: none; }
.pros ul li, .cons ul li { padding: 5px 0; font-size: 0.875rem; color: var(--ink2); border-bottom: 1px solid rgba(0,0,0,0.05); padding-left: 20px; position: relative; }
.pros ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green-mid); font-weight: 700; }
.cons ul li::before { content: '✗'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* TOC */
.toc {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0;
}
.toc-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink3); margin-bottom: 12px; }
.toc ol { padding-left: 20px; }
.toc ol li { padding: 4px 0; font-size: 0.875rem; }
.toc a { color: var(--green-mid); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* SIDEBAR */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; }
.sidebar-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px; position: sticky; top: 76px;
}
.sidebar-card h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink3); margin-bottom: 12px; }
.sidebar-join {
  background: var(--green-mid); color: #fff; display: block; text-align: center;
  padding: 12px; border-radius: 8px; font-weight: 700; text-decoration: none;
  font-size: 0.9rem; margin-top: 12px; transition: background 0.2s;
}
.sidebar-join:hover { background: var(--green); }

/* FOOTER */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* SCHEMA / SEO Helpers */
.affiliate-disclosure {
  background: var(--gold-bg); border: 1px solid #fde68a; border-radius: 8px;
  padding: 12px 16px; font-size: 0.8rem; color: var(--gold); margin: 16px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .survey-card { grid-template-columns: auto 1fr; }
  .survey-actions { flex-direction: row; align-items: center; grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .hero { padding: 40px 0; }
}

/* PRINT / LLM SEO — structured data hints */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
