/* ============================================================
   UAE Golden Visa Property Guide — Main Stylesheet
   Font: Poppins | Accent: #059669 | Base: #111827
   ============================================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary:     #111827;
  --color-accent:      #059669;
  --color-accent-dark: #047857;
  --color-accent-light:#d1fae5;
  --color-accent-pale: #ecfdf5;
  --color-bg:          #F9FAFB;
  --color-surface:     #ffffff;
  --color-border:      #e5e7eb;
  --color-text:        #1f2937;
  --color-muted:       #6b7280;
  --color-muted-light: #9ca3af;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 32px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.05);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font: 'Poppins', system-ui, sans-serif;
  --transition: .22s cubic-bezier(.4,0,.2,1);
  --max-w: 860px;
  --max-w-wide: 1100px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.72;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover, a:focus-visible { color: var(--color-accent-dark); }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

/* ============================================================
   SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { width: 36px; height: 36px; }
.nav-logo-text {
  font-size: .92rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.nav-logo-text span { color: var(--color-accent); display: block; font-weight: 500; font-size: .78rem; }

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: .86rem;
  font-weight: 500;
  color: var(--color-muted);
  padding: .45rem .8rem;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--color-accent-pale);
  color: var(--color-accent);
}
.nav-links a.active { color: var(--color-accent); font-weight: 600; }

/* CTA pill */
.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: .45rem 1.1rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--color-accent-dark); color: #fff !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .35rem;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--color-bg); }
.nav-hamburger svg { width: 24px; height: 24px; }

/* Mobile Nav Drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: .75rem 1.5rem 1.2rem;
  gap: .15rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  color: var(--color-text);
  padding: .65rem .8rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-drawer a:hover { background: var(--color-accent-pale); color: var(--color-accent); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2b1e 50%, #111827 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(5,150,105,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(5,150,105,.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(5,150,105,.18);
  border: 1px solid rgba(5,150,105,.35);
  color: #6ee7b7;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .38rem .9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.4rem;
}
.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: #6ee7b7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.4rem;
  margin-bottom: 1.8rem;
  font-size: .83rem;
  color: rgba(255,255,255,.65);
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-meta-item svg { width: 15px; height: 15px; color: #6ee7b7; flex-shrink: 0; }

.hero-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.hero-intro a {
  color: #6ee7b7;
  font-weight: 600;
  text-decoration-color: rgba(110,231,183,.45);
}
.hero-intro a:hover { color: #a7f3d0; }

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #6ee7b7;
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat-label {
  font-size: .76rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .03em;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: .65rem 1.5rem;
}
.breadcrumb {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--color-muted);
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb a { color: var(--color-accent); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 12px; height: 12px; color: var(--color-muted-light); }

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.site-main {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

/* Article column */
.article-col { min-width: 0; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

/* ============================================================
   CARDS / SECTIONS
   ============================================================ */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 1.6rem;
}
.card:last-child { margin-bottom: 0; }

.card-header {
  padding: 1.4rem 1.8rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.card-header-icon {
  width: 40px; height: 40px;
  background: var(--color-accent-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-header-icon svg { width: 20px; height: 20px; color: var(--color-accent); }

.card-header-text h2 {
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}
.card-header-text .section-number {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.card-body { padding: 1.4rem 1.8rem 1.6rem; }
.card-body p { margin-bottom: .9rem; font-size: .96rem; }
.card-body p:last-child { margin-bottom: 0; }
.card-body ul, .card-body ol { font-size: .96rem; }
.card-body li { margin-bottom: .5rem; line-height: 1.65; }

/* Highlight box */
.highlight-box {
  background: var(--color-accent-pale);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  margin: 1.1rem 0;
}
.highlight-box p {
  font-size: .94rem;
  color: var(--color-primary);
  margin: 0;
  font-weight: 500;
}
.highlight-box .amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  line-height: 1.1;
  margin-bottom: .2rem;
}

/* Check list */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 1.65rem;
  position: relative;
  font-size: .95rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .38em;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-card .card-body { padding: 0; }
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
.comparison-table thead tr {
  background: var(--color-primary);
  color: #fff;
}
.comparison-table thead th {
  padding: 1rem 1.3rem;
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
}
.comparison-table thead th:last-child { text-align: right; }
.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--color-accent-pale); }
.comparison-table td {
  padding: .95rem 1.3rem;
  vertical-align: middle;
}
.comparison-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-accent);
}
.comparison-table td:first-child { font-weight: 500; color: var(--color-primary); }

.badge-yes {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  font-size: .8rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
}
.badge-yes svg { width: 12px; height: 12px; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: .96rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background var(--transition);
}
.faq-trigger:hover { background: var(--color-bg); }
.faq-item.open .faq-trigger { background: var(--color-accent-pale); color: var(--color-accent); }

.faq-trigger-q {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.faq-q-num {
  background: var(--color-accent-pale);
  color: var(--color-accent);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  margin-top: .05em;
  flex-shrink: 0;
}
.faq-item.open .faq-q-num {
  background: rgba(5,150,105,.2);
}

.faq-icon {
  width: 24px; height: 24px;
  background: var(--color-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  color: var(--color-muted);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: #fff;
}
.faq-icon svg { width: 14px; height: 14px; }

.faq-body {
  display: none;
  padding: 0 1.3rem 1.2rem 3.25rem;
  font-size: .93rem;
  color: var(--color-text);
  line-height: 1.7;
  animation: fadeDown .22s ease;
}
.faq-item.open .faq-body { display: block; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   AUTHOR BIO
   ============================================================ */
.author-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a2e1e 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 1.6rem;
}
.author-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--color-accent), #047857);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-avatar svg { width: 28px; height: 28px; color: #fff; }
.author-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .15rem;
}
.author-info .author-title {
  font-size: .8rem;
  color: #6ee7b7;
  font-weight: 500;
  margin-bottom: .6rem;
}
.author-info p {
  font-size: .86rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.widget {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.widget-header {
  padding: 1rem 1.2rem .8rem;
  border-bottom: 1px solid var(--color-border);
  font-size: .84rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.widget-header svg { width: 16px; height: 16px; color: var(--color-accent); }

/* Quick Facts widget */
.quick-facts { list-style: none; padding: .8rem 0; }
.quick-facts li {
  padding: .7rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .86rem;
  border-bottom: 1px solid var(--color-border);
  gap: .5rem;
}
.quick-facts li:last-child { border-bottom: none; }
.qf-label { color: var(--color-muted); font-weight: 500; }
.qf-value { font-weight: 700; color: var(--color-accent); text-align: right; }

/* ToC widget */
.toc-list { list-style: none; padding: .8rem 0; }
.toc-list li { border-bottom: 1px solid var(--color-border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.2rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.toc-list a:hover {
  background: var(--color-accent-pale);
  color: var(--color-accent);
  padding-left: 1.5rem;
}
.toc-num {
  width: 22px; height: 22px;
  background: var(--color-accent-pale);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Disclaimer widget */
.disclaimer-widget {
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
}
.disclaimer-widget p {
  font-size: .78rem;
  color: #78350f;
  line-height: 1.6;
  margin: 0;
}
.disclaimer-widget strong { color: #92400e; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, #047857 100%);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(5,150,105,.3);
  margin-bottom: 1.6rem;
}
.cta-banner h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: .5rem;
}
.cta-banner p {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.2rem;
}
.btn-cta {
  display: inline-block;
  background: #fff;
  color: var(--color-accent);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.btn-cta:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transform: translateY(-2px);
  color: var(--color-accent-dark);
}

/* ============================================================
   TRUST SIGNALS BAR
   ============================================================ */
.trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.2rem 1.5rem;
}
.trust-bar-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-muted);
}
.trust-item svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-bottom: .9rem;
}
.footer-logo img { width: 32px; height: 32px; }
.footer-logo-text { font-weight: 700; color: #fff; font-size: .95rem; }
.footer-brand p { font-size: .85rem; line-height: 1.7; }

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .9rem;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .86rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #6ee7b7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer-copy { color: rgba(255,255,255,.45); }
.footer-legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .8rem;
  transition: color var(--transition);
}
.footer-legal a:hover { color: #6ee7b7; }

/* ============================================================
   NON-INDEXED PAGE STYLES
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #111827 100%);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: .5rem;
}
.page-hero p { color: rgba(255,255,255,.65); font-size: .95rem; }

.page-content {
  max-width: var(--max-w);
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.page-content .card { margin-bottom: 1.8rem; }
.page-content h2 {
  font-size: 1.15rem;
  margin-bottom: .8rem;
  margin-top: 1.6rem;
  color: var(--color-primary);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { font-size: .95rem; margin-bottom: .8rem; color: var(--color-text); }
.page-content ul { font-size: .95rem; margin-bottom: .8rem; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .87rem; font-weight: 600; color: var(--color-primary); }
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font);
  font-size: .93rem;
  padding: .7rem .95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(5,150,105,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  padding: .8rem 2rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  align-self: flex-start;
}
.btn-submit:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 4px 14px rgba(5,150,105,.35);
  transform: translateY(-1px);
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-muted); }
.fw-700 { font-weight: 700; }

/* Focus Visible */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .site-main {
    grid-template-columns: 1fr 260px;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

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

  .site-main {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }
  .sidebar { order: -1; }

  .hero { padding: 3.5rem 1.2rem 2.8rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .card-body { padding: 1.2rem 1.3rem 1.4rem; }
  .card-header { padding: 1.1rem 1.3rem .85rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-brand { grid-column: auto; }

  .author-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .hero-stat-value { font-size: 1.3rem; }

  .comparison-table thead th,
  .comparison-table td { padding: .8rem .9rem; font-size: .86rem; }

  .faq-body { padding-left: 1.3rem; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* Scroll margin for anchor links */
[id] { scroll-margin-top: 80px; }
