:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F6F5F4;
    --bg-tertiary: #FBFBFA;
    --text-primary: #37352F;
    --text-secondary: #787774;
    --text-tertiary: #9B9A97;
    --border-color: rgba(55, 53, 47, 0.09);
    --border-hover: rgba(55, 53, 47, 0.16);
    --accent-blue: #2383E2;
    --accent-blue-hover: #1A73D1;
    --accent-coral: #EB5757;
    --accent-orange: #D9730D;
    --accent-green: #2F9E44;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

body {
    font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 52px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.navbar-brand {
    font-weight: 700; font-size: 15px; color: var(--text-primary);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-weight: 500;
    font-size: 14px; padding: 6px 10px; border-radius: var(--radius-sm); transition: all 0.15s ease;
}
.nav-links a:hover { background: var(--bg-secondary); color: var(--text-primary); }
.nav-links .btn-nav {
    background: var(--accent-blue); color: #FFFFFF; padding: 6px 14px;
    border-radius: var(--radius-sm); font-weight: 500; font-size: 14px;
    text-decoration: none; transition: all 0.15s ease; margin-left: 8px;
}
.nav-links .btn-nav:hover { background: var(--accent-blue-hover); color: #FFFFFF; }
.btn-nav-outline {
    color: var(--text-primary); padding: 6px 10px; font-weight: 500;
    font-size: 14px; text-decoration: none; transition: all 0.15s ease;
}
.btn-nav-outline:hover { background: var(--bg-secondary); }

/* Breadcrumb */
.breadcrumb { padding-top: 76px; }
.breadcrumb ol {
    list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
    font-size: 13px; color: var(--text-tertiary);
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb li::after { content: '/'; margin-left: 6px; color: var(--text-tertiary); }
.breadcrumb li:last-child::after { content: ''; }

/* Hero */
.hero-section { padding: 32px 0 56px; text-align: center; background: var(--bg-primary); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
    background: rgba(35, 131, 226, 0.1); border-radius: 50px; font-size: 13px;
    font-weight: 500; color: var(--accent-blue); margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.15;
    margin-bottom: 16px; letter-spacing: -0.03em; color: var(--text-primary);
    max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero-subtitle {
    font-size: 18px; color: var(--text-secondary); margin-bottom: 28px;
    max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
    background: var(--accent-blue); color: white; padding: 10px 18px;
    border-radius: var(--radius-sm); font-weight: 500; font-size: 15px;
    text-decoration: none; transition: all 0.15s ease; display: inline-flex;
    align-items: center; gap: 6px; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-blue-hover); color: white; }
.btn-secondary {
    background: var(--bg-primary); color: var(--text-primary); padding: 10px 18px;
    border-radius: var(--radius-sm); font-weight: 500; font-size: 15px;
    text-decoration: none; border: 1px solid var(--border-hover); transition: all 0.15s ease;
    display: inline-flex; align-items: center; gap: 6px;
}
.btn-secondary:hover { background: var(--bg-secondary); color: var(--text-primary); }
.hero-note { font-size: 13px; color: var(--text-tertiary); margin-top: 4px; }

/* Section header */
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
    font-size: 11px; font-weight: 600; color: var(--accent-orange);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(26px, 4vw, 38px); font-weight: 700; margin-bottom: 12px;
    letter-spacing: -0.02em; color: var(--text-primary);
}
.section-subtitle {
    font-size: 16px; color: var(--text-secondary); max-width: 640px;
    margin: 0 auto; line-height: 1.6;
}

/* Intro prose */
.prose-section { padding: 56px 0; background: var(--bg-primary); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
    font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; letter-spacing: -0.02em;
    color: var(--text-primary); margin: 36px 0 14px; line-height: 1.25;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 600; color: var(--text-primary); margin: 28px 0 10px; }
.prose p { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.prose p strong { color: var(--text-primary); font-weight: 600; }
.prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.prose ul li {
    font-size: 15px; color: var(--text-primary); line-height: 1.6; padding: 6px 0;
    display: flex; align-items: flex-start; gap: 10px;
}
.prose ul li svg { width: 16px; height: 16px; color: var(--accent-green); flex-shrink: 0; margin-top: 4px; }

/* Comparison table */
.compare-section { padding: 72px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.compare-table-wrapper {
    overflow-x: auto; margin-top: 40px; border-radius: var(--radius-lg);
    border: 1px solid var(--border-color); box-shadow: var(--shadow-card); background: var(--bg-primary);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare-table th, .compare-table td {
    padding: 15px 20px; text-align: left; font-size: 14px;
    border-bottom: 1px solid var(--border-color); vertical-align: top;
}
.compare-table thead th {
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
    background: var(--bg-secondary); white-space: nowrap;
}
.compare-table thead th.zendux-col { color: var(--accent-blue); }
.compare-table td.feature-name { font-weight: 500; color: var(--text-primary); width: 32%; }
.compare-table td.zendux-col { background: rgba(35,131,226,0.05); color: var(--text-primary); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--accent-green); font-weight: 600; }
.compare-table .no { color: var(--accent-coral); font-weight: 500; }
.compare-table .partial { color: var(--accent-orange); font-weight: 500; }
.compare-disclaimer {
    font-size: 12px; color: var(--text-tertiary); text-align: center;
    margin-top: 16px; max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.5;
}

/* Verdict grid */
.verdict-section { padding: 72px 0; background: var(--bg-primary); }
.verdict-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px;
}
.verdict-card {
    border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border-color);
}
.verdict-card.zendux { background: #E8F4FD; border-color: rgba(35,131,226,0.2); }
.verdict-card.competitor { background: var(--bg-secondary); }
.verdict-card h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; letter-spacing: -0.01em; }
.verdict-card ul { list-style: none; padding: 0; margin: 0; }
.verdict-card ul li {
    font-size: 14px; color: var(--text-primary); line-height: 1.55; padding: 7px 0;
    display: flex; align-items: flex-start; gap: 10px;
}
.verdict-card ul li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.verdict-card.zendux ul li svg { color: var(--accent-blue); }
.verdict-card.competitor ul li svg { color: var(--text-secondary); }

/* Bento (shared features) */
.features-section { padding: 72px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.bento-card { background: var(--bg-primary); border-radius: var(--radius-lg); padding: 24px; transition: all 0.2s ease; }
.bento-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.bento-card.coral { background: #FFEBE5; }
.bento-card.blue { background: #E8F4FD; }
.bento-card.yellow { background: #FFF9E5; }
.bento-card.green { background: #E9F9EF; }
.bento-card.purple { background: #F3E8FF; }
.bento-icon { width: 36px; height: 36px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.bento-icon svg { width: 28px; height: 28px; color: var(--text-primary); }
.bento-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.bento-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.55; margin: 0; }

/* FAQ */
.faq-section { padding: 72px 0; background: var(--bg-primary); }
.faq-grid {
    max-width: 720px; margin: 40px auto 0; background: var(--bg-primary);
    border-radius: var(--radius-lg); padding: 8px; box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}
.faq-item { border-radius: var(--radius-md); }
.faq-item + .faq-item { border-top: 1px solid var(--border-color); }
.faq-question {
    width: 100%; background: none; border: none; padding: 18px 16px; text-align: left;
    color: var(--text-primary); font-size: 15px; font-weight: 500; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: all 0.15s ease; font-family: inherit; border-radius: var(--radius-md);
}
.faq-question:hover { background: var(--bg-secondary); }
.faq-question svg { width: 20px; height: 20px; color: var(--text-tertiary); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 16px 18px; }
.faq-answer p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* CTA */
.cta-section { padding: 72px 0; background: var(--bg-primary); text-align: center; }
.cta-card { background: var(--bg-secondary); border-radius: var(--radius-xl); padding: 56px 40px; max-width: 720px; margin: 0 auto; }
.cta-card h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 700; margin-bottom: 12px; color: var(--text-primary); letter-spacing: -0.02em; }
.cta-card p { color: var(--text-secondary); font-size: 16px; margin-bottom: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer { padding: 20px 0; background: var(--bg-primary); border-top: 1px solid var(--border-color); }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-logo { font-weight: 600; font-size: 14px; color: var(--text-primary); display: flex; align-items: center; gap: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 13px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { color: var(--text-tertiary); font-size: 13px; max-width: 360px; }

/* Responsive */
@media (max-width: 992px) {
    .bento-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .verdict-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .hero-ctas, .cta-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
    .cta-card { padding: 40px 24px; }
}

/* ============================================================
   COMPARISON-PAGE COMPONENTS
   Head-to-head hero, bottom-line verdict, and visual scorecard.
   ============================================================ */

/* VS hero */
.vs-hero { padding: 24px 0 56px; background: var(--bg-primary); }
.vs-hero-head { text-align: center; max-width: 840px; margin: 0 auto 36px; }
.vs-hero-head .hero-badge { margin-bottom: 18px; }
.vs-hero-head h1 {
    font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; line-height: 1.15;
    letter-spacing: -0.03em; color: var(--text-primary); margin-bottom: 14px;
}
.vs-hero-head p {
    font-size: 17px; color: var(--text-secondary); line-height: 1.6;
    max-width: 620px; margin: 0 auto;
}

.vs-cards {
    display: flex; align-items: stretch; justify-content: center;
    max-width: 800px; margin: 0 auto; position: relative;
}
.vs-card {
    flex: 1; background: var(--bg-secondary); border: 1px solid var(--border-color);
    padding: 28px 26px; text-align: left;
}
.vs-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); border-right: none; }
.vs-card:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.vs-card.zendux {
    background: #E8F4FD; border-color: rgba(35,131,226,0.28);
    box-shadow: 0 8px 30px rgba(35,131,226,0.10);
}
.vs-tag {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text-tertiary); margin-bottom: 10px;
}
.vs-card.zendux .vs-tag { color: var(--accent-blue); }
.vs-name { font-size: 23px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; letter-spacing: -0.02em; }
.vs-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 18px; }
.vs-price { font-size: 13px; color: var(--text-tertiary); }
.vs-price strong { display: block; font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; margin-top: 2px; }
.vs-divider {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 46px; height: 46px; border-radius: 50%; background: var(--text-primary);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; letter-spacing: 0.04em; z-index: 2;
    border: 4px solid var(--bg-primary);
}
.vs-hero-cta { text-align: center; margin-top: 32px; display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.vs-hero-cta .text-link {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.vs-hero-cta .text-link:hover { color: var(--text-primary); }

/* Bottom-line verdict */
.bottomline-section { padding: 8px 0 8px; background: var(--bg-primary); }
.bottomline {
    max-width: 760px; margin: 0 auto; background: var(--bg-secondary);
    border: 1px solid var(--border-color); border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-md); padding: 24px 28px;
}
.bottomline .bl-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--accent-blue); margin-bottom: 10px; display: flex; align-items: center; gap: 7px;
}
.bottomline .bl-label svg { width: 15px; height: 15px; }
.bottomline p { font-size: 16px; line-height: 1.7; color: var(--text-primary); margin: 0; }

/* Scorecard */
.scorecard-section { padding: 64px 0; background: var(--bg-primary); }
.scorecard {
    max-width: 760px; margin: 40px auto 0; border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card);
    background: var(--bg-primary);
}
.scorecard-head, .score-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; }
.scorecard-head { background: var(--bg-secondary); }
.scorecard-head > div { padding: 15px 20px; font-size: 13px; font-weight: 600; }
.scorecard-head .sc-cat { color: var(--text-secondary); }
.scorecard-head .sc-z { color: var(--accent-blue); text-align: center; }
.scorecard-head .sc-c { color: var(--text-secondary); text-align: center; }
.score-row { border-top: 1px solid var(--border-color); }
.score-label { padding: 16px 20px; font-size: 14px; font-weight: 500; color: var(--text-primary); display: flex; align-items: center; }
.score-cell { padding: 16px 12px; display: flex; gap: 5px; justify-content: center; align-items: center; }
.score-cell.zendux { background: rgba(35,131,226,0.05); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(55,53,47,0.14); }
.dot.on { background: var(--text-tertiary); }
.score-cell.zendux .dot.on { background: var(--accent-blue); }

@media (max-width: 768px) {
    .vs-cards { flex-direction: column; gap: 14px; }
    .vs-card, .vs-card:first-child, .vs-card:last-child { border-radius: var(--radius-lg); border-right: 1px solid var(--border-color); }
    .vs-card.zendux { border: 1px solid rgba(35,131,226,0.28); }
    .vs-divider { position: static; transform: none; margin: -2px auto; }
    .scorecard-head, .score-row { grid-template-columns: 1.6fr 1fr 1fr; }
    .scorecard-head > div, .score-label { padding-left: 14px; padding-right: 8px; }
    .score-cell { padding: 14px 6px; gap: 4px; }
    .dot { width: 9px; height: 9px; }
}

/* Article-body prose: links + markdown lists (comparison pages only) */
.prose a { color: var(--accent-blue); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.prose a:hover { text-decoration: none; }
.prose ul li:not(:has(svg))::before {
    content: "•"; color: var(--accent-blue); font-weight: 700; flex-shrink: 0; line-height: 1.6;
}
.prose ol { margin: 0 0 18px; padding-left: 20px; }
.prose ol li { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 8px; padding-left: 4px; }
.prose ol li::marker { color: var(--accent-blue); font-weight: 700; }
