/* ============================================================
   assets/css/site.css — ProfWiz
   ALL colors come from :root variables — never hardcode colors
   ============================================================ */

/* ── 1. VARIABLES (single source of truth) ─────────────────── */
:root {
  --primary:      #E75E69;
  --primary-dark: #c94b56;
  --secondary:    #A26EA6;
  --accent:       #5C7FE3;
  --accent-dark:  #4a6bd0;
  --text:         #1a1d23;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --bg:           #ffffff;
  --surface:      #f8f9fb;
  --surface2:     #f1f3f7;
  --success:      #22c55e;
  --warning:      #f59e0b;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.12);
  --transition:   .22s ease;
  --max-w:        1200px;
  --header-h:     68px;
  --font:         'Inter', system-ui, sans-serif;
}

/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* Prevent SVGs from inflating to 100% width when no size is set */
svg { overflow: hidden; vertical-align: middle; }

ul, ol { list-style: none; }

/* ── 3. CONTAINER ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 4. TYPOGRAPHY ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: .85rem; }
p:last-child { margin-bottom: 0; }

code {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .88em;
  font-family: 'Courier New', monospace;
  color: var(--primary);
}

pre {
  background: #1e2231;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: .88rem;
  line-height: 1.6;
}
pre code { background: none; border: none; color: inherit; padding: 0; }

/* ── 5. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231,94,105,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,127,227,.35);
}

.btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ── 6. SECTION HEADER ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.section-label {
  display: inline-block;
  background: rgba(231,94,105,.1);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ── 7. HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.logo:hover { color: var(--primary); }
.logo-icon svg { width: 36px; height: 36px; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: inherit;
  letter-spacing: -.01em;
}

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 6px 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  background: rgba(231,94,105,.07);
}

.header-cta { margin-left: auto; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-overlay.visible { display: block; opacity: 1; }

/* ── 8. HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 60%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(231,94,105,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(231,94,105,.1);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-content h1 { margin-bottom: 16px; }

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item svg { width: 16px; height: 16px; min-width: 16px; min-height: 16px; max-width: 16px; max-height: 16px; color: var(--success); flex-shrink: 0; display: inline-block; }

/* Hero visual / software info card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.software-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.software-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.software-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.software-card-icon svg { width: 26px; height: 26px; min-width: 26px; min-height: 26px; max-width: 26px; max-height: 26px; color: var(--bg); }
.software-card-header h3 { font-size: 1.1rem; margin-bottom: 2px; }
.software-card-header span { font-size: .8rem; color: var(--text-muted); }

.sw-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.sw-info-item label { display: block; font-size: .75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.sw-info-item span { font-weight: 600; font-size: .9rem; }

.version-badge {
  display: inline-block;
  background: rgba(92,127,227,.1);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
}

/* ── 9. TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .9rem;
}
.trust-bar-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(231,94,105,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ── 10. ABOUT SECTION ──────────────────────────────────────── */
.about-section {
  padding: 96px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder {
  font-size: 5rem;
  opacity: .4;
}
.about-content .section-label { text-align: left; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
}
.about-point::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── 11. FEATURES SECTION ───────────────────────────────────── */
.features-section {
  padding: 96px 0;
  background: var(--surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(231,94,105,.25);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(231,94,105,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1rem; }
.feature-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── 12. HOW TO USE ─────────────────────────────────────────── */
.how-to-section {
  padding: 96px 0;
  background: var(--bg);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-icon { font-size: 1.8rem; margin-bottom: 12px; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── 13. COMPATIBILITY ──────────────────────────────────────── */
.compat-section {
  padding: 96px 0;
  background: var(--surface);
}
.compat-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  font-size: .9rem;
}
th {
  background: var(--surface2);
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--surface); }
.compat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-yes { background: rgba(34,197,94,.12); color: #15803d; }
.badge-partial { background: rgba(245,158,11,.12); color: #92400e; }
.badge-no { background: rgba(231,94,105,.12); color: var(--primary); }

/* ── 14. BENEFITS ───────────────────────────────────────────── */
.benefits-section {
  padding: 96px 0;
  background: var(--bg);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit-icon { font-size: 2.2rem; margin-bottom: 14px; }
.benefit-card h3 { color: var(--primary); margin-bottom: 10px; }
.benefit-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── 15. REVIEWS ─────────────────────────────────────────────── */
.reviews-section {
  padding: 96px 0;
  background: var(--surface);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); }
.review-stars { color: var(--warning); font-size: 1.1rem; margin-bottom: 12px; }
.review-text { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: .9rem; }
.reviewer-role { font-size: .78rem; color: var(--text-muted); }

/* ── 16. GUIDE PREVIEW ─────────────────────────────────────── */
.guide-section {
  padding: 96px 0;
  background: var(--bg);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.post-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  overflow: hidden;
  position: relative;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
}
.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card-body h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.35; }
.post-card-body p { color: var(--text-muted); font-size: .87rem; margin-bottom: 16px; flex: 1; }
.post-card-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: 14px; }

/* Hidden cards */
.post-card.hidden { display: none; }
.show-more-wrap { text-align: center; }

/* ── 17. FAQ ─────────────────────────────────────────────────── */
.faq-section {
  padding: 96px 0;
  background: var(--surface);
}
.faq-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.faq-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.faq-category h3 span { font-size: 1.4rem; }

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover, .faq-item.open .faq-question {
  background: rgba(231,94,105,.05);
  color: var(--primary);
}
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
}
.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 18. FINAL CTA ──────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
  color: var(--bg);
}
.cta-section h2 { color: var(--bg); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.btn-white {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--bg);
}
.btn-white:hover {
  background: rgba(255,255,255,.92);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--bg);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--bg);
  color: var(--bg);
}

/* ── 19. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { color: var(--bg); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; margin-top: 14px; }
.footer-col h4 {
  color: var(--bg);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}
.footer-bottom a { color: var(--primary); }

/* ── 20. TOOL SECTION ────────────────────────────────────────── */
.tool-section {
  padding: 96px 0;
  background: var(--surface);
}
.tool-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.tool-meta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.tool-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.meta-icon { font-size: 1.8rem; }
.meta-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.meta-value { font-size: .9rem; font-weight: 600; }
.tool-cta { text-align: center; margin-bottom: 36px; }
.tool-note { color: var(--text-muted); font-size: .85rem; margin-top: 12px; }
.install-steps { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.install-steps h3 { margin-bottom: 16px; }
.steps-list { list-style: none; }
.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-muted);
}
.steps-list li:last-child { border-bottom: none; }
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── 21. DOWNLOAD PAGE ──────────────────────────────────────── */
.download-hero {
  padding: 64px 0 48px;
  background: var(--surface);
  text-align: center;
}
.download-hero h1 { margin-bottom: 12px; }
.download-hero p { color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; }
.download-main {
  padding: 48px 0 96px;
  background: var(--bg);
}
.download-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.download-card {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 8px 40px rgba(231,94,105,.15);
}
.download-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-card h4 { margin-bottom: 12px; font-size: .95rem; }

/* ── 22. INNER PAGES (about, contact, legal) ─────────────────── */
.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  text-align: center;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }

.page-content {
  padding: 64px 0 96px;
  background: var(--bg);
}
.page-content-inner { max-width: 780px; margin: 0 auto; }
.page-content h2 { margin: 36px 0 14px; color: var(--text); }
.page-content h3 { margin: 28px 0 10px; }
.page-content p { color: var(--text-muted); line-height: 1.8; }
.page-content ul { list-style: disc; padding-left: 20px; color: var(--text-muted); }
.page-content ul li { margin-bottom: 6px; line-height: 1.7; }
.page-content ol { list-style: decimal; padding-left: 20px; color: var(--text-muted); }
.page-content ol li { margin-bottom: 6px; }
.page-content a { color: var(--primary); }
.page-content a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ── 23. GUIDE (BLOG) LIST ──────────────────────────────────── */
.guide-hero {
  padding: 64px 0 48px;
  background: var(--surface);
  text-align: center;
}
.guide-archive {
  padding: 48px 0 96px;
  background: var(--bg);
}

/* ── 24. SINGLE POST ────────────────────────────────────────── */
.post-layout {
  padding: 48px 0 96px;
  background: var(--bg);
}
.post-layout-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.post-article {}
.post-feature-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  background: var(--surface2);
}
.post-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.post-article h1 { margin-bottom: 16px; }
.post-meta { display: flex; gap: 16px; color: var(--text-muted); font-size: .85rem; margin-bottom: 36px; flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 4px; }
.post-body h2 { margin: 36px 0 14px; }
.post-body h3 { margin: 24px 0 10px; }
.post-body p { color: var(--text-muted); line-height: 1.8; }
.post-body ul, .post-body ol { padding-left: 20px; color: var(--text-muted); margin: 1rem 0; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 6px; line-height: 1.7; }
.post-body a { color: var(--primary); }
.post-body table { margin: 1.5rem 0; }
.post-body pre { margin: 1.5rem 0; }

.post-media-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 2rem 0;
  background: var(--surface2);
}
.post-media-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sidebar */
.post-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 { font-size: .95rem; margin-bottom: 16px; color: var(--text); }
.sidebar-download-btn {
  display: block;
  background: var(--primary);
  color: var(--bg);
  text-align: center;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  transition: background var(--transition), transform var(--transition);
}
.sidebar-download-btn:hover {
  background: var(--primary-dark);
  color: var(--bg);
  transform: translateY(-2px);
}
.sidebar-posts { list-style: none; }
.sidebar-posts li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-posts li:last-child { border-bottom: none; }
.sidebar-posts a { color: var(--text); font-size: .87rem; font-weight: 500; line-height: 1.4; }
.sidebar-posts a:hover { color: var(--primary); }

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.post-nav-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.post-nav-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.post-nav-item label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.post-nav-item a { color: var(--text); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.post-nav-item a:hover { color: var(--primary); }
.post-nav-item.next { text-align: right; }

/* ── 25. CONTACT ─────────────────────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.contact-card .c-icon { font-size: 2.2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); font-size: .88rem; margin: 0; }
.contact-card a { color: var(--primary); font-weight: 600; }

/* ── 26. SCROLL TO TOP ──────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(231,94,105,.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 900;
}
.scroll-top svg { width: 20px; height: 20px; }
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dark); }

/* ── 27. REVEAL ANIMATION ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 28. MISC UTILITIES ─────────────────────────────────────── */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.gap-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 64px 20px;
}

/* ── 29. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .steps-grid, .benefits-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 40px; }
  .tool-meta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-img { max-width: 480px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-categories { grid-template-columns: 1fr; }
  .post-layout-inner { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .download-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .hamburger { display: flex; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    box-shadow: -4px 0 32px rgba(0,0,0,.12);
    z-index: 999;
    padding: 80px 24px 40px;
    transition: right var(--transition);
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 12px 16px; font-size: 1rem; }

  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }

  .features-grid, .steps-grid, .benefits-grid, .reviews-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-nav { grid-template-columns: 1fr; }
  .tool-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .about-points { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; align-items: center; gap: 16px; }
  .sw-info-grid { grid-template-columns: 1fr 1fr; }
  .tool-meta-grid { grid-template-columns: 1fr 1fr; }
}
