/* ============================================================
   KVtools LMS — Public Pages 2026 — Premium Light
   Blog, FAQ, Contact, Testimonials, Pricing, Legal, Landing
   Uses store.css design tokens (--st-*)
   ============================================================ */

/* ===== SHARED LAYOUT ===== */
.pub-container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.pub-page-title {
    font-size: 2rem; font-weight: 800; color: var(--st-carbon);
    letter-spacing: -0.5px; margin-bottom: 0.5rem;
}
.pub-page-sub {
    font-size: 1rem; color: var(--st-slate); line-height: 1.6; margin-bottom: 2rem;
}
.pub-section { padding: 3rem 0; }
.pub-section-alt { background: var(--st-bg-alt); }

/* ===== BREADCRUMB ===== */
.pub-breadcrumb {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.82rem; color: var(--st-muted); margin-bottom: 1.5rem;
}
.pub-breadcrumb a { color: var(--st-slate); text-decoration: none; }
.pub-breadcrumb a:hover { color: var(--st-amber); }
.pub-breadcrumb span { color: var(--st-muted); }

/* ============================================================
   BLOG
   ============================================================ */

/* ─ Category tabs ─ */
.blog-tabs {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    margin-bottom: 2rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--st-border);
}
.blog-tab {
    padding: 0.45rem 1rem; border-radius: 20px;
    font-size: 0.82rem; font-weight: 600;
    background: transparent; border: 1.5px solid var(--st-border);
    color: var(--st-slate); cursor: pointer;
    font-family: var(--st-font); transition: all var(--st-transition);
}
.blog-tab:hover { border-color: var(--st-amber); color: var(--st-amber); }
.blog-tab.active { background: var(--st-amber); border-color: var(--st-amber); color: #fff; }

/* ─ Post grid ─ */
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-card {
    background: var(--st-bg); border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg); overflow: hidden;
    transition: transform var(--st-transition), box-shadow var(--st-transition);
    text-decoration: none; color: inherit; display: block;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--st-shadow-md); }
.blog-card-img {
    width: 100%; height: 180px; object-fit: cover;
    background: var(--st-bg-alt);
}
.blog-card-body { padding: 1.25rem; }
.blog-card-meta {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.75rem; color: var(--st-muted); margin-bottom: 0.5rem;
}
.blog-card-cat {
    background: var(--st-amber-light); color: var(--st-amber);
    padding: 0.15rem 0.5rem; border-radius: 4px;
    font-weight: 600; font-size: 0.7rem;
}
.blog-card-title {
    font-size: 1rem; font-weight: 700; color: var(--st-carbon);
    margin-bottom: 0.4rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-excerpt {
    font-size: 0.85rem; color: var(--st-slate); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-pagination {
    display: flex; justify-content: center; gap: 0.5rem;
    margin-top: 2.5rem;
}
.blog-page-btn {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--st-radius); border: 1px solid var(--st-border);
    font-size: 0.85rem; font-weight: 600; color: var(--st-slate);
    background: var(--st-bg); cursor: pointer; font-family: var(--st-font);
    transition: all var(--st-transition);
}
.blog-page-btn:hover { border-color: var(--st-amber); color: var(--st-amber); }
.blog-page-btn.active { background: var(--st-amber); border-color: var(--st-amber); color: #fff; }

/* ─ Single post ─ */
.post-layout {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 3rem; padding: 2rem 0 3rem;
}
.post-header { margin-bottom: 2rem; }
.post-title {
    font-size: 2rem; font-weight: 800; color: var(--st-carbon);
    line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.5px;
}
.post-meta {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    font-size: 0.82rem; color: var(--st-slate);
}
.post-meta-item { display: flex; align-items: center; gap: 0.3rem; }
.post-cover {
    width: 100%; border-radius: var(--st-radius-lg);
    margin-bottom: 2rem; max-height: 420px; object-fit: cover;
}
.post-body {
    font-size: 0.95rem; line-height: 1.75; color: var(--st-carbon);
}
.post-body h2 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 0.75rem; scroll-margin-top: 80px; }
.post-body h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; scroll-margin-top: 80px; }
.post-body p { margin-bottom: 1rem; }
.post-body ul, .post-body ol { margin: 0.75rem 0 1rem 1.5rem; }
.post-body li { margin-bottom: 0.35rem; }
.post-body img { max-width: 100%; border-radius: var(--st-radius); margin: 1rem 0; }
.post-body blockquote {
    border-left: 3px solid var(--st-amber); padding: 0.75rem 1.25rem;
    margin: 1rem 0; background: var(--st-amber-light);
    font-style: italic; color: var(--st-slate);
}

/* ─ Share buttons ─ */
.post-share {
    display: flex; align-items: center; gap: 0.5rem;
    margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid var(--st-border);
}
.post-share-label { font-size: 0.82rem; font-weight: 600; color: var(--st-slate); margin-right: 0.25rem; }
.post-share a {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--st-bg-alt); color: var(--st-slate);
    text-decoration: none; transition: all var(--st-transition);
}
.post-share a:hover { background: var(--st-amber); color: #fff; }

/* ─ Sidebar ─ */
.post-sidebar { position: sticky; top: 80px; align-self: start; }

.post-toc {
    background: var(--st-bg-alt); border-radius: var(--st-radius-lg);
    padding: 1.25rem; margin-bottom: 1.5rem;
}
.post-toc-title {
    font-size: 0.82rem; font-weight: 700; color: var(--st-carbon);
    margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.post-toc a {
    display: block; font-size: 0.82rem; color: var(--st-slate);
    text-decoration: none; padding: 0.3rem 0 0.3rem 0.75rem;
    border-left: 2px solid transparent; transition: all var(--st-transition);
}
.post-toc a:hover, .post-toc a.active {
    color: var(--st-amber); border-left-color: var(--st-amber);
}

.post-related-course {
    background: var(--st-bg); border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg); overflow: hidden;
    margin-bottom: 1.5rem;
}
.post-related-course img { width: 100%; height: 140px; object-fit: cover; }
.post-related-course-body { padding: 1rem; }
.post-related-course-label {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    color: var(--st-amber); letter-spacing: 0.5px; margin-bottom: 0.35rem;
}
.post-related-course-title { font-size: 0.95rem; font-weight: 700; color: var(--st-carbon); margin-bottom: 0.5rem; }
.post-related-course-btn {
    display: block; text-align: center; padding: 0.5rem;
    background: var(--st-amber); color: #fff; border-radius: var(--st-radius);
    font-size: 0.82rem; font-weight: 600; text-decoration: none;
    transition: background var(--st-transition);
}
.post-related-course-btn:hover { background: var(--st-amber-hover); }

/* ─ Related posts ─ */
.post-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--st-border); }
.post-related h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.25rem; }
.post-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ─ Lead Magnet Popup ─ */
.lead-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 9000; opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.lead-overlay.show { opacity: 1; visibility: visible; }
.lead-popup {
    background: var(--st-bg); border-radius: var(--st-radius-lg);
    padding: 2.5rem; max-width: 440px; width: 90%;
    box-shadow: var(--st-shadow-lg); position: relative;
    transform: translateY(20px); transition: transform 0.3s;
}
.lead-overlay.show .lead-popup { transform: translateY(0); }
.lead-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none; font-size: 1.25rem;
    color: var(--st-muted); cursor: pointer; line-height: 1;
}
.lead-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--st-amber-light); color: var(--st-amber);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.lead-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.lead-desc { font-size: 0.88rem; color: var(--st-slate); margin-bottom: 1.25rem; line-height: 1.5; }
.lead-form { display: flex; gap: 0.5rem; }
.lead-form input {
    flex: 1; height: 44px; padding: 0 0.85rem;
    border: 1px solid var(--st-border); border-radius: var(--st-radius);
    font-size: 0.88rem; font-family: var(--st-font); outline: none;
}
.lead-form input:focus { border-color: var(--st-amber); box-shadow: 0 0 0 3px rgba(255,115,0,0.1); }
.lead-form button {
    height: 44px; padding: 0 1.25rem;
    background: var(--st-amber); color: #fff; border: none;
    border-radius: var(--st-radius); font-weight: 600;
    font-family: var(--st-font); cursor: pointer;
    transition: background var(--st-transition);
}
.lead-form button:hover { background: var(--st-amber-hover); }

/* ============================================================
   FAQ / HELP CENTER
   ============================================================ */
.faq-hero {
    background: linear-gradient(135deg, var(--st-navy) 0%, #0d2d5a 100%);
    color: #fff; text-align: center; padding: 3rem 2rem 2.5rem;
}
.faq-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.faq-hero p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 1.5rem; }
.faq-search-wrap {
    max-width: 520px; margin: 0 auto; position: relative;
}
.faq-search-wrap input {
    width: 100%; height: 50px; padding: 0 3rem 0 1.25rem;
    border: none; border-radius: var(--st-radius-lg);
    font-size: 0.95rem; font-family: var(--st-font);
    box-shadow: var(--st-shadow-md); outline: none;
}
.faq-search-wrap svg {
    position: absolute; right: 1rem; top: 50%;
    transform: translateY(-50%); color: var(--st-muted);
}
.faq-results {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: var(--st-bg); border: 1px solid var(--st-border);
    border-radius: var(--st-radius); box-shadow: var(--st-shadow-lg);
    max-height: 320px; overflow-y: auto; display: none; z-index: 100;
}
.faq-results.show { display: block; }
.faq-results-item {
    padding: 0.75rem 1.25rem; cursor: pointer;
    border-bottom: 1px solid var(--st-border);
    transition: background var(--st-transition);
}
.faq-results-item:last-child { border-bottom: none; }
.faq-results-item:hover { background: var(--st-bg-alt); }
.faq-results-item-q { font-size: 0.88rem; font-weight: 600; color: var(--st-carbon); }
.faq-results-item-cat { font-size: 0.75rem; color: var(--st-muted); margin-top: 0.15rem; }

.faq-cats {
    display: flex; gap: 0.75rem; flex-wrap: wrap;
    justify-content: center; margin: 2rem 0;
}
.faq-cat-btn {
    padding: 0.5rem 1.25rem; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    background: var(--st-bg); border: 1.5px solid var(--st-border);
    color: var(--st-slate); font-family: var(--st-font);
    transition: all var(--st-transition);
}
.faq-cat-btn:hover { border-color: var(--st-amber); color: var(--st-amber); }
.faq-cat-btn.active { background: var(--st-amber); border-color: var(--st-amber); color: #fff; }

.faq-group { margin-bottom: 2rem; }
.faq-group-title {
    font-size: 1.1rem; font-weight: 700; color: var(--st-carbon);
    margin-bottom: 0.75rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--st-amber);
    display: inline-block;
}
.faq-item {
    border: 1px solid var(--st-border); border-radius: var(--st-radius);
    margin-bottom: 0.5rem; overflow: hidden;
    transition: box-shadow var(--st-transition);
}
.faq-item:hover { box-shadow: var(--st-shadow-sm); }
.faq-q {
    padding: 1rem 1.25rem; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.92rem; font-weight: 600; color: var(--st-carbon);
    background: var(--st-bg); transition: background var(--st-transition);
}
.faq-q:hover { background: var(--st-bg-alt); }
.faq-q svg { flex-shrink: 0; color: var(--st-muted); transition: transform 0.2s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
    padding: 0 1.25rem 1rem; font-size: 0.88rem;
    color: var(--st-slate); line-height: 1.6;
}
.faq-contact-box {
    text-align: center; background: var(--st-bg-alt);
    border-radius: var(--st-radius-lg); padding: 2.5rem;
    margin-top: 2rem;
}
.faq-contact-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.faq-contact-box p { font-size: 0.88rem; color: var(--st-slate); margin-bottom: 1.25rem; }
.faq-contact-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid; grid-template-columns: 1fr 380px;
    gap: 3rem; padding: 2.5rem 0 3rem;
}
.contact-form-wrap {
    background: var(--st-bg); border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg); padding: 2rem;
}
.contact-field { margin-bottom: 1.1rem; }
.contact-field label {
    display: block; font-size: 0.82rem; font-weight: 600;
    color: var(--st-carbon); margin-bottom: 0.35rem;
}
.contact-field input,
.contact-field textarea,
.contact-field select {
    width: 100%; padding: 0.65rem 0.85rem;
    border: 1px solid var(--st-border); border-radius: var(--st-radius);
    font-size: 0.88rem; font-family: var(--st-font);
    color: var(--st-carbon); outline: none; background: var(--st-bg);
    transition: border-color var(--st-transition), box-shadow var(--st-transition);
}
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
    border-color: var(--st-amber);
    box-shadow: 0 0 0 3px rgba(255,115,0,0.1);
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-company { display: none; }
.contact-company.show { display: block; }
.contact-submit {
    width: 100%; height: 48px; background: var(--st-amber); color: #fff;
    border: none; border-radius: var(--st-radius); font-size: 0.92rem;
    font-weight: 600; font-family: var(--st-font); cursor: pointer;
    transition: background var(--st-transition);
}
.contact-submit:hover { background: var(--st-amber-hover); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-msg {
    display: none; padding: 0.75rem 1rem; border-radius: var(--st-radius);
    font-size: 0.85rem; margin-bottom: 1rem;
}
.contact-msg.success { display: block; background: rgba(34,197,94,0.08); color: #16A34A; border: 1px solid rgba(34,197,94,0.2); }
.contact-msg.error { display: block; background: rgba(239,68,68,0.08); color: #DC2626; border: 1px solid rgba(239,68,68,0.2); }

/* ─ Contact sidebar ─ */
.contact-sidebar { align-self: start; }
.contact-info-card {
    background: var(--st-bg-alt); border-radius: var(--st-radius-lg);
    padding: 1.5rem; margin-bottom: 1.25rem;
}
.contact-info-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.contact-info-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.5rem 0; font-size: 0.85rem; color: var(--st-slate);
}
.contact-info-icon {
    width: 32px; height: 32px; min-width: 32px;
    border-radius: 8px; background: var(--st-amber-light);
    color: var(--st-amber); display: flex;
    align-items: center; justify-content: center;
}
.contact-map {
    width: 100%; height: 220px; border-radius: var(--st-radius-lg);
    border: 1px solid var(--st-border); overflow: hidden;
    margin-bottom: 1.25rem;
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ─ WhatsApp float ─ */
.whatsapp-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 800;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    cursor: pointer; text-decoration: none;
    transition: transform var(--st-transition), box-shadow var(--st-transition);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-hero {
    text-align: center; padding: 3rem 2rem 2rem;
}
.test-stats {
    display: flex; justify-content: center; gap: 3rem;
    margin-top: 1.5rem; flex-wrap: wrap;
}
.test-stat-num { font-size: 2rem; font-weight: 800; color: var(--st-amber); }
.test-stat-label { font-size: 0.82rem; color: var(--st-slate); }

.test-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.test-card {
    background: var(--st-bg); border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg); padding: 1.75rem;
    transition: box-shadow var(--st-transition);
}
.test-card:hover { box-shadow: var(--st-shadow-md); }
.test-card.has-video { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.test-video {
    width: 100%; aspect-ratio: 16/9; border-radius: var(--st-radius);
    background: #000;
}
.test-quote {
    font-size: 0.95rem; color: var(--st-carbon); line-height: 1.6;
    font-style: italic; margin-bottom: 1rem; position: relative;
    padding-left: 1rem; border-left: 3px solid var(--st-amber);
}
.test-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.test-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--st-navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
}
.test-author-name { font-size: 0.92rem; font-weight: 700; color: var(--st-carbon); }
.test-author-role { font-size: 0.8rem; color: var(--st-slate); }

/* ─ Before/After metric ─ */
.test-metric {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--st-bg-alt); border-radius: var(--st-radius);
    padding: 0.75rem 1rem; margin-top: 0.75rem;
}
.test-metric-col { text-align: center; flex: 1; }
.test-metric-label { font-size: 0.7rem; color: var(--st-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.test-metric-val { font-size: 1.1rem; font-weight: 800; }
.test-metric-before { color: var(--st-slate); }
.test-metric-after { color: var(--st-amber); }
.test-metric-arrow { color: var(--st-amber); font-size: 1.25rem; }

/* ─ Company logos ─ */
.test-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 2.5rem; flex-wrap: wrap; padding: 2rem 0;
    opacity: 0.6;
}
.test-logo {
    font-size: 1rem; font-weight: 700; color: var(--st-slate);
    white-space: nowrap;
}

/* ============================================================
   PRICING
   ============================================================ */
.price-toggle-wrap {
    display: flex; align-items: center; justify-content: center;
    gap: 0.75rem; margin-bottom: 2.5rem;
}
.price-toggle-label { font-size: 0.88rem; font-weight: 600; color: var(--st-slate); }
.price-toggle-label.active { color: var(--st-carbon); }
.price-toggle {
    width: 48px; height: 26px; border-radius: 13px;
    background: var(--st-border); border: none; cursor: pointer;
    position: relative; transition: background 0.2s;
}
.price-toggle.on { background: var(--st-amber); }
.price-toggle::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.price-toggle.on::after { transform: translateX(22px); }
.price-save {
    font-size: 0.75rem; font-weight: 700;
    color: var(--st-amber); background: var(--st-amber-light);
    padding: 0.15rem 0.5rem; border-radius: 4px;
}

.price-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 960px; margin: 0 auto;
}
.price-card {
    background: var(--st-bg); border: 1.5px solid var(--st-border);
    border-radius: var(--st-radius-lg); padding: 2rem 1.5rem;
    text-align: center; position: relative;
    transition: transform var(--st-transition), box-shadow var(--st-transition);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--st-shadow-md); }
.price-card.highlighted {
    border-color: var(--st-amber);
    box-shadow: 0 0 0 2px var(--st-amber), var(--st-shadow-md);
}
.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--st-amber); color: #fff;
    font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.85rem;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.price-plan-name { font-size: 1.1rem; font-weight: 700; color: var(--st-carbon); margin-bottom: 0.75rem; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--st-navy); }
.price-amount sup { font-size: 1.1rem; vertical-align: super; }
.price-period { font-size: 0.82rem; color: var(--st-muted); margin-bottom: 1.5rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; }
.price-features li {
    font-size: 0.85rem; color: var(--st-slate); padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
}
.price-features li::before {
    content: ''; position: absolute; left: 0; top: 0.7rem;
    width: 8px; height: 8px; border-radius: 50%;
}
.price-card:not(.highlighted) .price-features li::before { background: var(--st-border); }
.price-card.highlighted .price-features li::before { background: var(--st-amber); }
.price-cta {
    display: block; width: 100%; padding: 0.75rem;
    border-radius: var(--st-radius); font-size: 0.92rem;
    font-weight: 600; text-align: center; text-decoration: none;
    transition: all var(--st-transition); cursor: pointer;
    font-family: var(--st-font); border: 1.5px solid var(--st-border);
    background: transparent; color: var(--st-carbon);
}
.price-cta:hover { border-color: var(--st-amber); color: var(--st-amber); }
.price-card.highlighted .price-cta {
    background: var(--st-amber); border-color: var(--st-amber); color: #fff;
}
.price-card.highlighted .price-cta:hover { background: var(--st-amber-hover); border-color: var(--st-amber-hover); }

.price-faq { max-width: 720px; margin: 3rem auto 0; }
.price-faq h3 { font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-body {
    max-width: 760px; margin: 0 auto; padding: 2.5rem 2rem 3rem;
}
.legal-body h1 {
    font-size: 1.75rem; font-weight: 800; color: var(--st-carbon);
    margin-bottom: 0.5rem;
}
.legal-version {
    font-size: 0.82rem; color: var(--st-muted); margin-bottom: 2rem;
}
.legal-content { font-size: 0.92rem; line-height: 1.75; color: var(--st-carbon); }
.legal-content h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--st-navy); }
.legal-content p { margin-bottom: 1rem; }
.legal-nav {
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 2rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--st-border);
}
.legal-nav a {
    font-size: 0.85rem; font-weight: 600; color: var(--st-slate);
    text-decoration: none; padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--st-transition);
}
.legal-nav a:hover, .legal-nav a.active { color: var(--st-amber); border-bottom-color: var(--st-amber); }

/* ============================================================
   LANDING PAGES (standalone, no nav/footer)
   ============================================================ */
.lp-page {
    font-family: var(--st-font); color: var(--st-carbon);
    background: var(--st-bg); min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
.lp-hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center; padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--st-navy) 0%, #0d2d5a 100%);
    color: #fff; position: relative; overflow: hidden;
}
.lp-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,115,0,0.1), transparent 50%);
    pointer-events: none;
}
.lp-hero-inner { position: relative; max-width: 640px; }
.lp-headline {
    font-size: 2.75rem; font-weight: 800; line-height: 1.1;
    letter-spacing: -1px; margin-bottom: 1rem;
}
.lp-headline span { color: var(--st-amber); }
.lp-subheadline {
    font-size: 1.1rem; color: rgba(255,255,255,0.8);
    line-height: 1.6; margin-bottom: 2rem;
}
.lp-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--st-amber); color: #fff;
    font-size: 1.1rem; font-weight: 700; padding: 1rem 2.5rem;
    border-radius: var(--st-radius-lg); border: none; cursor: pointer;
    text-decoration: none; font-family: var(--st-font);
    transition: background var(--st-transition), transform var(--st-transition);
}
.lp-cta:hover { background: var(--st-amber-hover); transform: translateY(-2px); }
.lp-video {
    width: 100%; max-width: 560px; aspect-ratio: 16/9;
    border-radius: var(--st-radius-lg); margin: 2rem auto 0;
    overflow: hidden; box-shadow: var(--st-shadow-lg);
}
.lp-video iframe { width: 100%; height: 100%; border: none; }

.lp-form-section {
    padding: 4rem 2rem; text-align: center;
    background: var(--st-bg-alt);
}
.lp-form-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.lp-form-sub { font-size: 0.95rem; color: var(--st-slate); margin-bottom: 1.5rem; }
.lp-form {
    display: flex; gap: 0.5rem; max-width: 480px;
    margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.lp-form input {
    flex: 1; min-width: 200px; height: 48px; padding: 0 1rem;
    border: 1px solid var(--st-border); border-radius: var(--st-radius);
    font-size: 0.92rem; font-family: var(--st-font); outline: none;
}
.lp-form input:focus { border-color: var(--st-amber); box-shadow: 0 0 0 3px rgba(255,115,0,0.1); }
.lp-form button {
    height: 48px; padding: 0 2rem;
    background: var(--st-amber); color: #fff; border: none;
    border-radius: var(--st-radius); font-size: 0.92rem;
    font-weight: 600; font-family: var(--st-font); cursor: pointer;
    transition: background var(--st-transition);
}
.lp-form button:hover { background: var(--st-amber-hover); }

.lp-ab-badge {
    position: fixed; bottom: 0.75rem; left: 0.75rem;
    background: rgba(0,0,0,0.7); color: #fff;
    font-size: 0.7rem; padding: 0.25rem 0.5rem;
    border-radius: 4px; z-index: 999;
    display: none; /* shown in admin/debug mode */
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--st-bg); border-top: 1px solid var(--st-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    padding: 1rem 2rem; display: flex;
    align-items: center; justify-content: space-between;
    gap: 1.5rem; z-index: 9000;
    transform: translateY(100%); transition: transform 0.3s;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 0.85rem; color: var(--st-slate); flex: 1; line-height: 1.4; }
.cookie-text a { color: var(--st-amber); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-btn {
    padding: 0.5rem 1.25rem; border-radius: var(--st-radius);
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    font-family: var(--st-font); transition: all var(--st-transition);
}
.cookie-accept {
    background: var(--st-amber); color: #fff; border: none;
}
.cookie-accept:hover { background: var(--st-amber-hover); }
.cookie-decline {
    background: transparent; color: var(--st-slate);
    border: 1px solid var(--st-border);
}
.cookie-decline:hover { border-color: var(--st-slate); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .test-card.has-video { grid-column: span 1; grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .post-related-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; max-width: 400px; }
    .test-grid { grid-template-columns: 1fr; }
    .pub-page-title { font-size: 1.5rem; }
    .post-title { font-size: 1.5rem; }
    .lp-headline { font-size: 2rem; }
    .cookie-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .pub-container { padding: 0 1.25rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .post-related-grid { grid-template-columns: 1fr; }
    .post-sidebar { grid-template-columns: 1fr; }
    .post-share { flex-wrap: wrap; }
    .lead-form { flex-direction: column; }
    .lp-form { flex-direction: column; }
    .lp-headline { font-size: 1.5rem; }
}
