/* ============================================================
   TimeWise Marketing Site — Shared Stylesheet
   ============================================================ */

/* Variables */
:root {
  --primary: #e11837;
  --primary-dark: #b31228;
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --max-w: 1100px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all .2s ease; border: none; line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225,24,55,.35);
}
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm  { padding: 8px 18px;  font-size: 14px; }
.btn-lg  { padding: 16px 32px; font-size: 16px; }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: #f3f4f6; }

/* ── Navigation ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.logo img { border-radius: 8px; width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  padding: 7px 13px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-links .btn { margin-left: 4px; }
.nav-links .btn-primary { color: #fff; }
.nav-links .btn-primary:hover { color: #fff; }
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 22px; cursor: pointer; padding: 4px; color: var(--text);
  line-height: 1;
}

/* ── Hero ── */
.hero {
  padding: 72px 0 80px;
  text-align: center;
  background: var(--primary);
}
.hero-icon {
  width: 72px; height: 72px; border-radius: 18px;
  margin: 0 auto 28px; display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: #fff;
}
.hero h1 .accent { color: rgba(255,255,255,.88); }
.hero-sub {
  margin: 20px auto 0; max-width: 520px;
  font-size: 18px; color: rgba(255,255,255,.8); line-height: 1.6;
}
.download-buttons {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 36px 0 24px; flex-wrap: wrap;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #111; color: #fff;
  padding: 11px 22px; border-radius: 12px;
  font-family: inherit; font-weight: 600; text-decoration: none;
  transition: background .18s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  line-height: 1.2;
}
.store-btn:hover { background: #222; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.22); }
.store-btn svg { flex-shrink: 0; }
.store-btn-label { display: flex; flex-direction: column; gap: 1px; }
.store-btn-label span:first-child { font-size: 10px; font-weight: 400; opacity: .75; text-transform: uppercase; letter-spacing: .04em; }
.store-btn-label span:last-child { font-size: 15px; font-weight: 700; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.scroll-hint {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: rgba(255,255,255,.75); font-size: 14px;
  cursor: pointer; padding: 8px 16px; border-radius: 20px;
  transition: background .2s; margin-bottom: 0;
  animation: bounce 1.8s ease-in-out infinite;
}
.scroll-hint:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats {
  display: flex; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 0 48px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 22px; font-weight: 700; color: var(--primary); }
.stat span { font-size: 13px; color: var(--text-muted); max-width: 160px; display: block; margin: 4px auto 0; }

/* ── Section helpers ── */
.section-label {
  text-transform: uppercase; letter-spacing: .1em;
  font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 12px;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-inline: auto; }
section h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800; color: var(--text); letter-spacing: -.025em;
}
.section-sub { margin-top: 12px; font-size: 17px; color: var(--text-muted); max-width: 560px; }

/* ── Features ── */
.features { padding: 100px 0; background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 56px;
}
.feature-card {
  padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; color: var(--primary); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ── Screenshots ── */
.screenshots { padding: 100px 0; background: var(--bg-alt); overflow: hidden; }
.carousel-outer { position: relative; margin-top: 48px; text-align: center; }
.carousel {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 44px 20px; overflow: visible;
}
.carousel-item {
  flex: 0 0 auto; text-align: center; position: relative;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s;
  opacity: 0.55; transform: scale(1); cursor: pointer;
}
.carousel-item.active { opacity: 1; transform: scale(1.28); z-index: 1; cursor: default; }
.carousel-item img {
  width: 128px; height: 256px; object-fit: cover;
  border-radius: 20px; box-shadow: 0 6px 20px rgba(0,0,0,.14);
  border: 6px solid #fff;
}
.carousel-item.active img { box-shadow: 0 16px 44px rgba(0,0,0,.26); }
.carousel-caption { margin-top: 10px; transition: opacity 0.4s; }
.carousel-item:not(.active) .carousel-caption { opacity: 0; pointer-events: none; }
.carousel-caption strong { display: block; font-size: 14px; font-weight: 600; }
.carousel-caption span { font-size: 12px; color: var(--text-muted); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: var(--primary); transform: scale(1.3); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s; box-shadow: var(--shadow);
}
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── How It Works ── */
.how { padding: 100px 0; background: var(--bg); }
.tabs {
  display: inline-flex; gap: 4px; margin: 40px 0 48px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px;
}
.tabs-center { display: flex; justify-content: center; }
.tab {
  padding: 10px 28px; border-radius: 9px; border: none;
  background: none; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .2s; color: var(--text-muted);
}
.tab.active {
  background: #fff; color: var(--text);
  font-weight: 600; box-shadow: var(--shadow);
}
.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  font-size: 16px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Pricing ── */
.pricing { padding: 100px 0; background: var(--bg-alt); }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px; margin-top: 48px; align-items: start;
}
.price-card {
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; transition: box-shadow .2s;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(225,24,55,.09);
}
.price-tier { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.price-tier.featured-label { color: var(--primary); }
.price-badge {
  display: inline-block; background: #fef2f2; color: var(--primary);
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 20px; margin-left: 6px; vertical-align: middle;
}
.price-amount { margin: 16px 0 4px; }
.price-amount .amount { font-size: 36px; font-weight: 800; line-height: 1; }
.price-amount .period { font-size: 14px; color: var(--text-muted); }
.price-was { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-bottom: 4px; height: 20px; }
.price-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 28px; }
.price-features li { font-size: 14px; display: flex; align-items: flex-start; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-card .btn { width: 100%; text-align: center; }

.comparison-wrap { margin-top: 56px; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 580px; }
.comparison-table th {
  padding: 12px 16px; text-align: center; font-weight: 700; font-size: 13px;
  border-bottom: 2px solid var(--border);
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td { padding: 11px 16px; border-top: 1px solid var(--border); text-align: center; }
.comparison-table td:first-child { text-align: left; color: var(--text-muted); }
.cat-row td {
  font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); background: var(--bg-alt);
  padding: 8px 16px;
}
.chk { color: var(--primary); font-size: 16px; font-weight: 700; }
.crs { color: #d1d5db; font-size: 16px; }

/* ── Download CTA ── */
.cta { padding: 100px 0; background: var(--text); text-align: center; }
.cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800; color: #fff; letter-spacing: -.025em; margin-bottom: 16px;
}
.cta p { font-size: 18px; color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 40px; }

/* ── Footer ── */
footer { background: var(--text); border-top: 1px solid rgba(255,255,255,.08); padding: 40px 0 32px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; }
.footer-logo img { border-radius: 6px; width: 28px; height: 28px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.55); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy {
  color: rgba(255,255,255,.35); font-size: 13px; width: 100%;
  text-align: center; margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
}

/* ── Inner page layout (privacy, terms, support, etc.) ── */
.page-hero {
  background: linear-gradient(180deg, #fff5f6 0%, #ffffff 100%);
  padding: 72px 0 56px; text-align: center; border-bottom: 1px solid var(--border);
}
.page-hero .page-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--primary); margin-bottom: 12px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; }
.page-hero p { margin-top: 12px; font-size: 16px; color: var(--text-muted); }
.page-hero .updated { margin-top: 20px; font-size: 13px; color: var(--text-muted); }

.page-body { padding: 64px 0 80px; }
.page-content { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.page-content h2 { font-size: 1.3rem; font-weight: 700; margin: 40px 0 12px; color: var(--text); }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.05rem; font-weight: 700; margin: 28px 0 8px; color: var(--text); }
.page-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.page-content ul { margin: 12px 0 20px 0; display: flex; flex-direction: column; gap: 8px; }
.page-content ul li { color: var(--text-muted); padding-left: 20px; position: relative; line-height: 1.6; font-size: 15px; }
.page-content ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.page-content a { color: var(--primary); }
.page-content a:hover { text-decoration: underline; }
.page-content .btn-primary { color: #fff; }
.page-content .btn-primary:hover { color: #fff; }
.notice-box {
  background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0;
}
.notice-box p { color: var(--text); margin: 0; }
.page-back { margin-top: 48px; }

/* Support page */
.support-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.support-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; text-align: center; transition: box-shadow .2s;
}
.support-card:hover { box-shadow: var(--shadow-lg); }
.support-card .icon { font-size: 36px; margin-bottom: 14px; color: var(--primary); }
.support-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.support-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 18px 0;
  font-size: 15px; font-weight: 600; cursor: pointer; display: flex;
  align-items: center; justify-content: space-between; color: var(--text);
  gap: 16px;
}
.faq-q .arrow { color: var(--text-muted); font-size: 12px; transition: transform .2s; flex-shrink: 0; }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding-bottom: 16px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.faq-a.open { display: block; }
.guides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.guide-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.guide-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.guide-card ul { margin: 0; }
.trouble-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.trouble-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.trouble-item .bullet { color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.contact-detail { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-item { font-size: 14px; color: var(--text-muted); }
.contact-detail-item strong { color: var(--text); display: block; margin-bottom: 2px; }
.contact-detail-item a { color: var(--primary); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 15px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; background: #fff; color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(225,24,55,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* Data deletion */
.del-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 16px; }
.del-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); }
.del-step-num {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 12px; color: var(--primary);
}
.section-icon { color: var(--primary); margin-right: 6px; font-size: 0.85em; vertical-align: middle; }
.del-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.del-step p { font-size: 13px; color: var(--text-muted); margin: 0; text-align: left; }
.method-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.method-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.method-card .icon { font-size: 28px; margin-bottom: 12px; color: var(--primary); }
.method-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.method-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* ── Knowledge Base Cards ── */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.kb-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s, border-color .2s, transform .15s; color: var(--text); text-decoration: none; }
.kb-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); transform: translateY(-2px); }
.kb-icon { font-size: 24px; color: var(--primary); }
.kb-title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.kb-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.kb-link { font-size: 12px; font-weight: 600; color: var(--primary); margin-top: 4px; }
.pro-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; vertical-align: middle; margin-left: 4px; }

/* ── Article Pages ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; justify-content: center; }
.breadcrumb a { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
.article-body { max-width: 720px; margin: 0 auto; }
.article-intro { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 40px; }
.article-section { margin-bottom: 40px; }
.article-section h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.article-step { display: flex; gap: 14px; margin-bottom: 14px; align-items: flex-start; }
.article-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.article-step-content p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.article-step-content strong { color: var(--text); }
.screenshot-placeholder { background: var(--bg-alt); border: 2px dashed var(--border); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 24px 0; }
.screenshot-placeholder i { font-size: 32px; opacity: 0.35; }
.screenshot-placeholder span { font-size: 13px; }
.screenshot-placeholder img { border-radius: var(--radius); box-shadow: var(--shadow-lg); margin: 0 auto; display: block; max-width: 100%; }
.screenshot-figure { margin: 24px 0; text-align: center; }
.screenshot-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 220px; width: 100%; margin: 0 auto; display: block; }
.screenshot-figure figcaption { font-size: 12px; color: var(--text-muted); margin-top: 8px; font-style: italic; }
.screenshot-row { display: flex; gap: 16px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.screenshot-row .screenshot-figure { margin: 0; }
.screenshot-row .screenshot-figure img { height: 480px; width: auto; max-width: 220px; object-fit: contain; }
.article-tip { background: #fef2f2; border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 20px 0; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.article-tip strong { color: var(--text); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.article-nav a { font-size: 14px; font-weight: 600; color: var(--primary); }
.related-articles { margin-top: 48px; }
.related-articles h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.related-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; font-size: 13px; font-weight: 600; color: var(--text); transition: background .2s, border-color .2s; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.related-card:hover { background: #fff; border-color: var(--primary); color: var(--primary); }
.related-card i { font-size: 15px; color: var(--primary); flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; }
  .nav-links {
    display: none; position: fixed; inset: 64px 0 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 12px; gap: 2px; border-top: 1px solid var(--border);
    z-index: 99; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; padding: 12px 16px; width: 100%; border-radius: 8px; color: var(--text-muted); }
  .nav-links .btn { width: 100%; margin-left: 0; margin-top: 8px; text-align: center; }
  .hero { padding: 48px 0 56px; }
  .hero-icon { width: 120px; height: 120px; border-radius: 26px; }
  .stats-bar { padding: 28px 0; }
  .stats { flex-direction: column; gap: 0; }
  .stat { padding: 16px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .features, .screenshots, .how, .pricing, .cta { padding: 64px 0; }
  .guides-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
