/* ============================================================
   RETINAFACE — Single-Source Color & Design System
   ALL colors come from :root variables ONLY
   ============================================================ */

:root {
  /* Brand Colors */
  --primary:       #075E69;
  --primary-light: #0a7a88;
  --primary-dark:  #054a52;
  --secondary:     #A26EA6;
  --secondary-light: #b882bc;
  --accent:        #5C7EF3;
  --accent-light:  #7b97f5;
  --accent-dark:   #3d60e8;

  /* Neutral & Background */
  --bg:            #f8fafc;
  --surface:       #ffffff;
  --surface-2:     #f1f5f9;
  --border:        #e2e8f0;
  --border-light:  #f0f4f8;

  /* Text */
  --text:          #0f172a;
  --text-2:        #334155;
  --muted:         #64748b;
  --muted-light:   #94a3b8;

  /* Status */
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --info:          #3b82f6;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(7,94,105,.08), 0 1px 2px rgba(7,94,105,.04);
  --shadow:        0 4px 16px rgba(7,94,105,.10), 0 2px 6px rgba(7,94,105,.06);
  --shadow-lg:     0 10px 40px rgba(7,94,105,.14), 0 4px 12px rgba(7,94,105,.08);
  --shadow-xl:     0 20px 60px rgba(7,94,105,.16);

  /* Radius */
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     18px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Spacing */
  --section-py: 80px;
  --container:  1200px;

  /* Transitions */
  --trans:       all .2s ease;
  --trans-slow:  all .4s ease;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--primary-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 { color: var(--text); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem,4vw,3rem); }
h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
h3 { font-size: clamp(1.15rem,2vw,1.5rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-2); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title { margin-bottom: 14px; }
.section-desc  { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto 48px; }
.text-center   { text-align: center; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-py) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-size: 1.1rem;
}

.logo span { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-menu a:hover { color: var(--primary); background: var(--surface-2); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--trans);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-accent {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--surface);
  border-color: var(--surface);
}
.btn-outline-white:hover {
  background: var(--surface);
  color: var(--primary);
}

.btn-sm { padding: 7px 18px; font-size: .82rem; }
.btn-lg { padding: 14px 34px; font-size: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 6%, var(--bg)) 0%,
    color-mix(in srgb, var(--accent) 4%, var(--bg)) 100%);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  margin-bottom: 20px;
}

.hero h1 { font-size: clamp(2.2rem,4.5vw,3.4rem); margin-bottom: 18px; }
.hero h1 .highlight { color: var(--primary); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--muted);
}

.trust-item .check { color: var(--success); font-size: 1rem; }

/* Hero Info Cards */
.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.hero-card-title { font-size: 1rem; font-weight: 700; color: var(--text); }

.status-badge {
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }

.info-item { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px; }
.info-item .label { font-size: .75rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.info-item .value { font-size: .9rem; color: var(--text); font-weight: 700; }

/* Steps mini */
.mini-steps { display: flex; flex-direction: column; gap: 10px; }
.mini-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .85rem;
  color: var(--text-2);
}
.mini-step-num {
  width: 26px; height: 26px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 600;
}

.trust-bar-icon {
  width: 36px; height: 36px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* ============================================================
   CARDS (General)
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  transition: var(--trans);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--primary) 20%, transparent);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card-icon.accent  { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.card-icon.secondary { background: color-mix(in srgb, var(--secondary) 10%, transparent); color: var(--secondary); }

.card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card p  { font-size: .9rem; color: var(--muted); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--surface);
  box-shadow: var(--shadow-xl);
}
.about-visual h3 { color: var(--surface); margin-bottom: 24px; font-size: 1.3rem; }
.about-stat { margin-bottom: 18px; }
.about-stat .num  { font-size: 2.2rem; font-weight: 800; color: var(--surface); }
.about-stat .desc { font-size: .85rem; color: rgba(255,255,255,.75); }
.about-text p { margin-bottom: 16px; }
.about-text ul { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.about-text li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--text-2);
}
.about-text li::before { content: '✓'; color: var(--success); font-weight: 700; margin-top: 1px; }

/* ============================================================
   HOW TO USE
   ============================================================ */
.how-to-use { background: var(--surface-2); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--trans);
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step-num {
  position: absolute; top: -16px; left: 24px;
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 40%, transparent);
}
.step-icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--primary); }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p  { font-size: .88rem; color: var(--muted); }

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-section { background: var(--surface); }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.download-info { display: flex; flex-direction: column; gap: 14px; }
.download-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}
.download-item-icon {
  width: 42px; height: 42px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.download-item h4 { font-size: .88rem; margin-bottom: 3px; }
.download-item p  { font-size: .82rem; color: var(--muted); }

.download-cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.download-cta-box h3 { color: var(--surface); font-size: 1.6rem; margin-bottom: 12px; }
.download-cta-box p  { color: rgba(255,255,255,.8); margin-bottom: 28px; }
.download-meta { display: flex; justify-content: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.download-meta span { font-size: .82rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 5px; }

/* ============================================================
   COMPATIBILITY TABLE
   ============================================================ */
.compatibility { background: var(--surface-2); }
.compat-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
thead th {
  background: var(--primary);
  color: var(--surface);
  padding: 14px 20px;
  font-size: .85rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius) 0 0; }
tbody td { padding: 13px 20px; font-size: .88rem; color: var(--text-2); border-bottom: 1px solid var(--border-light); }
tbody tr:hover td { background: var(--surface-2); }
.compat-icon { font-size: 1.1rem; }
.compat-yes { color: var(--success); font-weight: 700; }
.compat-no  { color: var(--danger); font-weight: 700; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits { background: var(--surface); }
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.benefit-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--trans);
}
.benefit-card:hover { background: var(--surface); box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit-icon { font-size: 2rem; margin-bottom: 12px; }
.benefit-card h3 { font-size: 1rem; margin-bottom: 8px; }
.benefit-card p  { font-size: .88rem; color: var(--muted); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--surface-2); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--trans);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-stars { color: var(--warning); font-size: 1rem; margin-bottom: 12px; }
.review-text  { font-size: .9rem; color: var(--text-2); margin-bottom: 18px; font-style: italic; }
.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: var(--surface);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.reviewer-name { font-size: .88rem; font-weight: 700; color: var(--text); }
.reviewer-role { font-size: .78rem; color: var(--muted); }

/* ============================================================
   GUIDE PREVIEW
   ============================================================ */
.guide-preview { background: var(--surface); }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.post-image-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 15%, var(--bg)),
    color-mix(in srgb, var(--accent) 10%, var(--bg)));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
}
.post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-category {
  display: inline-block;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.post-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); line-height: 1.4; }
.post-title a:hover { color: var(--primary); }
.post-desc { font-size: .87rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.post-meta { font-size: .8rem; color: var(--muted-light); display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.faq-col-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.faq-col-icon {
  width: 42px; height: 42px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.faq-col-icon.accent-icon { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.faq-col-title { font-size: 1.05rem; font-weight: 700; }

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--trans);
}
.faq-item.open { border-color: color-mix(in srgb, var(--primary) 30%, transparent); box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: .93rem;
  color: var(--text);
  gap: 12px;
  -webkit-user-select: none;
  user-select: none;
}
.faq-q:hover { color: var(--primary); }

.faq-chevron {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: var(--trans);
}
.faq-item.open .faq-chevron { background: var(--primary); color: var(--surface); transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s ease;
}
.faq-a-inner {
  padding: 0 20px 18px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content:'';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
}
.final-cta .container { position: relative; }
.final-cta h2 { color: var(--surface); font-size: clamp(1.6rem,3vw,2.5rem); margin-bottom: 16px; }
.final-cta p  { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text);
  color: var(--muted);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--surface); margin-bottom: 14px; }
.footer-brand .logo span { color: color-mix(in srgb, var(--primary) 80%, white); }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--surface); font-size: .9rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--muted); font-size: .87rem; }
.footer-col a:hover { color: var(--surface); }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--surface) 10%, transparent);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .83rem;
}

/* ============================================================
   INNER PAGE LAYOUT
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 8%, var(--bg)),
    color-mix(in srgb, var(--accent) 5%, var(--bg)));
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p  { color: var(--muted); font-size: 1.05rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--muted-light); }

.page-content {
  max-width: 780px;
  margin: 0 auto;
}
.page-content h2 { margin: 40px 0 14px; }
.page-content h3 { margin: 28px 0 10px; }
.page-content p  { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 12px 0 20px 20px; color: var(--text-2); }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 6px; font-size: .95rem; }

/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */
.guide-page { padding: 60px 0; }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-page { padding: 56px 0; }
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }

.post-feature-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.post-content { line-height: 1.8; }
.post-content h2 { margin: 36px 0 14px; font-size: 1.5rem; }
.post-content h3 { margin: 28px 0 10px; font-size: 1.15rem; color: var(--text-2); }
.post-content p  { margin-bottom: 18px; font-size: 1rem; color: var(--text-2); }
.post-content ul { list-style: disc; margin: 10px 0 18px 22px; color: var(--text-2); }
.post-content ul li { margin-bottom: 6px; font-size: .95rem; }
.post-content pre {
  background: var(--text);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .85rem;
  margin: 20px 0;
  line-height: 1.7;
}
.post-content code {
  background: var(--surface-2);
  color: var(--primary);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .88em;
}
.post-content pre code { background: none; color: inherit; padding: 0; }

.media-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 28px 0;
}

/* Sidebar */
.post-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-widget-header {
  background: var(--primary);
  color: var(--surface);
  padding: 14px 20px;
  font-size: .9rem;
  font-weight: 700;
}
.sidebar-widget-body { padding: 20px; }

.sidebar-download-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--surface);
}
.sidebar-download-box h4 { color: var(--surface); margin-bottom: 8px; }
.sidebar-download-box p  { color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 18px; }
.sidebar-download-box .btn { width: 100%; justify-content: center; }

.related-post-item {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.related-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-post-img {
  width: 64px; height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.related-post-title { font-size: .83rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.related-post-title a:hover { color: var(--primary); }
.related-post-date { font-size: .75rem; color: var(--muted); margin-top: 4px; }

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

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--surface);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--trans);
  z-index: 999;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover   { background: var(--primary-light); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   SHOW MORE
   ============================================================ */
.show-more-btn { text-align: center; margin-top: 40px; }

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.download-page { padding: 60px 0; }
.download-main-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}
.download-card-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 48px 48px 36px;
  color: var(--surface);
  text-align: center;
}
.download-card-top h2 { color: var(--surface); margin-bottom: 10px; }
.download-card-top p  { color: rgba(255,255,255,.8); font-size: 1rem; }
.download-card-body { padding: 36px 48px; }
.download-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 32px;
}
.spec-item {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.spec-label { font-size: .75rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.spec-value { font-size: .95rem; font-weight: 700; color: var(--text); }
.download-btn-wrap { text-align: center; margin-bottom: 20px; }
.download-btn-wrap .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 15px 28px; }
.download-note { font-size: .82rem; color: var(--muted); text-align: center; }

/* ============================================================
   UTILITY
   ============================================================ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.text-primary   { color: var(--primary); }
.text-accent    { color: var(--accent); }
.text-muted     { color: var(--muted); }
.text-success   { color: var(--success); }

.bg-primary { background: var(--primary); }
.bg-surface { background: var(--surface); }

.hidden { display: none !important; }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .nav-menu, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .about-grid, .download-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --section-py: 52px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .features-grid, .steps-grid, .benefits-grid,
  .reviews-grid, .posts-grid, .guide-grid,
  .faq-grid, .contact-info-cards { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .download-card-top, .download-card-body { padding: 28px 24px; }
  .download-specs { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Mobile nav slide-in */
@media (max-width: 900px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 998;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: .95rem; }
  .nav-cta { gap: 8px; }
}
