/* =====================================================================
   seo_shared.css — shared styling for 3D Print Manager SEO helper pages
   Visual tokens copied from welcome.php (NOT extracted) so the homepage
   stays untouched. Helper pages are static and JS-free.
   ===================================================================== */

:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --bg-dark: #111317;
    --bg-card: #1a1d23;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    margin: 0;
}

a { color: var(--primary); }

/* --- NAVBAR (static, no collapse / no JS) --- */
.seo-navbar {
    background-color: rgba(17, 19, 23, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1050;
}
.seo-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.seo-navbar-brand img { height: 56px; width: auto; filter: invert(1) brightness(100%); }
.seo-nav-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.seo-nav-actions .nav-link { color: var(--text-main); padding: 0.4rem 0.6rem; text-decoration: none; font-size: 0.9rem; }
.seo-nav-actions .nav-link:hover { color: var(--primary); }

/* --- BREADCRUMBS --- */
.seo-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 1.25rem 0 0.25rem 0;
}
.seo-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.seo-breadcrumb a:hover { color: var(--primary); }
.seo-breadcrumb span { color: var(--text-main); }

/* --- HERO --- */
.seo-hero { padding: 2.5rem 0 1.5rem 0; }
.seo-kicker { color: #f59e0b; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.seo-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 1rem;
    filter: drop-shadow(0px 0px 20px rgba(59, 130, 246, 0.3));
}
.seo-hero .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 760px;
}

/* --- SECTIONS --- */
.seo-section { padding: 2.25rem 0; }
.seo-section h2 { font-weight: 700; font-size: 1.7rem; margin-bottom: 1rem; }
.seo-section h3 { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.seo-section p { color: var(--text-muted); line-height: 1.7; }
.seo-band {
    background-color: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- CARDS --- */
.who-card {
    background-color: var(--bg-card);
    border: 1px solid #2d3748;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}
.who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}
.who-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}
.who-card h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.who-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* --- EXAMPLE WORKFLOW BLOCK --- */
.seo-example {
    background-color: var(--bg-card);
    border: 1px solid #2d3748;
    border-radius: 16px;
    padding: 28px;
}
.seo-example ol { margin: 0; padding-left: 1.25rem; }
.seo-example li { color: var(--text-muted); line-height: 1.7; margin-bottom: 0.5rem; }
.seo-example li strong { color: var(--text-main); }

/* --- DISAMBIGUATION NOTE --- */
.seo-note {
    border-left: 3px solid var(--primary);
    background: rgba(59, 130, 246, 0.07);
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- FAQ (native <details>, no JS) --- */
.seo-faq details {
    background-color: var(--bg-card);
    border: 1px solid #2d3748;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.seo-faq summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.3rem;
    line-height: 1;
}
.seo-faq details[open] summary::after { content: "\2212"; }
.seo-faq .seo-faq-body {
    padding: 0 1.25rem 1.1rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- FABBALOO TRUST BLOCK --- */
.seo-fabbaloo {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
}
@media (min-width: 768px) {
    .seo-fabbaloo { flex-direction: row; text-align: left; justify-content: center; }
}
.seo-fab-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.seo-fabbaloo p { color: var(--text-muted); font-size: 0.9rem; margin: 0; max-width: 540px; }
.seo-fab-link {
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.seo-fab-link:hover { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

/* --- CTA SECTION --- */
.seo-cta {
    text-align: center;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), transparent);
    border-top: 1px solid rgba(59, 130, 246, 0.25);
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}
.seo-cta h2 { font-weight: 800; }
.seo-cta p { color: var(--text-muted); max-width: 620px; margin: 0 auto 1.5rem auto; }
.seo-cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* --- BUTTONS --- */
.seo-btn {
    display: inline-block;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.seo-btn-primary { background-color: var(--primary); color: #fff; }
.seo-btn-primary:hover { background-color: var(--primary-hover); color: #fff; }
.seo-btn-outline { border-color: rgba(255, 255, 255, 0.25); color: var(--text-main); }
.seo-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* --- FOOTER --- */
.seo-footer {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0 2rem 0;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-muted);
}
.seo-footer a { color: var(--text-muted); text-decoration: none; margin: 0 0.75rem; transition: color 0.2s; }
.seo-footer a:hover { color: var(--primary); }

/* --- BACK TO TOP --- */
#seo-back-to-top {
    position: fixed; bottom: 30px; right: 30px; display: none; z-index: 9999;
    width: 48px; height: 48px; border-radius: 50%;
    background-color: var(--primary); color: #fff; border: none;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); transition: all 0.3s ease;
    align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer;
}
#seo-back-to-top:hover { background-color: var(--primary-hover); transform: translateY(-4px); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .seo-hero h1 { font-size: 2.1rem; }
    .seo-hero .lead { font-size: 1.1rem; }
    .seo-section h2 { font-size: 1.45rem; }
    .seo-navbar-brand img { height: 44px; }
}

/* --- OFFER LINE + COMPARISON TABLE --- */
.seo-offer { color: #f59e0b; font-size: 0.95rem; margin: 1rem 0 0 0; }
.seo-table-wrap { overflow-x: auto; margin-top: 1rem; }
.seo-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.9rem; }
.seo-table th, .seo-table td { border: 1px solid #2a2f38; padding: 0.6rem 0.75rem; vertical-align: top; text-align: left; }
.seo-table thead th { background-color: var(--bg-card); color: var(--text-main); }
.seo-table tbody th { color: var(--text-main); font-weight: 600; }
.seo-table td { color: var(--text-muted); }
.seo-table td:last-child, .seo-table thead th:last-child { color: var(--text-main); background-color: rgba(59, 130, 246, 0.08); }
.seo-table sup { color: var(--text-muted); }
.seo-table-note { font-size: 0.8rem; margin-top: 0.75rem; }

/* --- SHARED LANDING TEMPLATE (design A, 04.10.2026) ---------------------------
   One layout for every SEO helper page: hero with a real product shot from the
   demo account, a proof strip, steps only where the content is a sequence, a
   feature grid, a comparison where one exists, "which one fits you", FAQ and a
   single closing CTA. Screens live in assets/img/shots/ (local demo, CDP). */
.seo-hero-split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .seo-hero-split { grid-template-columns: 5fr 6fr; } }
.seo-hero-split h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.02em; line-height: 1.1; }
.seo-shot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #262b34; box-shadow: 0 30px 60px -30px rgba(59,130,246,.35); background: #161a21; }
.seo-shot-cap { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; }
.seo-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; align-items: center; color: var(--text-muted); font-size: 0.85rem; padding: 1rem 0; border-top: 1px solid #1f232a; border-bottom: 1px solid #1f232a; }
.seo-trust i { color: var(--primary); margin-right: 0.4rem; }
.seo-trust a { color: var(--text-muted); text-decoration: none; }
.seo-trust a:hover { color: var(--primary); }
.seo-steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: seo-step; margin-top: 1rem; }
.seo-step { padding-top: 1rem; border-top: 2px solid var(--primary); }
.seo-step::before { counter-increment: seo-step; content: counter(seo-step); display: block; font-weight: 800; font-size: 1.5rem; color: var(--primary); margin-bottom: 0.25rem; }
.seo-step h3 { font-size: 1.05rem; }
.seo-step p { font-size: 0.92rem; margin: 0; }
.seo-feat { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1rem; }
.seo-feat h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.seo-feat h3 i { color: var(--primary); width: 1.5rem; }
.seo-feat p { font-size: 0.92rem; margin: 0; }
.seo-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; color: #f59e0b; border: 1px solid rgba(245,158,11,.4); border-radius: 4px; padding: 0 0.3rem; margin-left: 0.35rem; vertical-align: middle; }
.seo-split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .seo-split { grid-template-columns: 1fr 1fr; } }
.seo-choose { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1rem; }
.seo-choose > div { padding: 1.25rem; border: 1px solid #2a2f38; border-radius: 12px; }
.seo-choose > div.pick { border-color: var(--primary); }
.seo-choose h3 { font-size: 1rem; }
.seo-choose p { font-size: 0.9rem; margin: 0; }
.seo-table .yes { color: #22c55e; }
.seo-sources summary { cursor: pointer; color: var(--text-muted); font-size: 0.82rem; margin-top: 0.75rem; }
.seo-sources p { font-size: 0.8rem; }
/* A wide screen (a printer row, a dashboard strip) reads better under the text than beside it. */
@media (min-width: 992px) { .seo-hero-split.seo-hero-wide { grid-template-columns: 1fr; gap: 2rem; } .seo-hero-wide h1, .seo-hero-wide .lead { max-width: 48rem; } }
.seo-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.75rem; }
.seo-flow span { background: var(--bg-card); border: 1px solid #2a2f38; border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.85rem; color: var(--text-main); }
.seo-flow span.done { border-color: #22c55e; color: #86efac; }
.seo-flow i { color: var(--text-muted); font-size: 0.7rem; }
/* Two-column comparisons put 3D Print Manager first: highlight that column, not the last. */
.seo-table.seo-table-us-first td:last-child, .seo-table.seo-table-us-first thead th:last-child { color: var(--text-muted); background-color: transparent; }
.seo-table.seo-table-us-first thead th:last-child { color: var(--text-main); background-color: var(--bg-card); }
.seo-table.seo-table-us-first td:nth-child(2), .seo-table.seo-table-us-first thead th:nth-child(2) { color: var(--text-main); background-color: rgba(59, 130, 246, 0.08); }

/* --- COMPARISON TABLE v2 (NN/g: grouped rows, short cells, symbols with labels,
   one highlighted column, at most two options side by side on a phone).
   Lighter surface than the page, every cell top-aligned so the status icons of
   one row sit on one line, fixed column widths so the columns read as columns. --- */
.cmp { margin-top: 1.5rem; }
.cmp-wrap { overflow-x: auto; border: 1px solid #343b47; border-radius: 16px; background: #222833; box-shadow: 0 24px 48px -28px rgba(0,0,0,.6); }
.cmp-table { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 0.92rem; line-height: 1.45; }
.cmp-table col.cmp-label { width: 22%; }
.cmp-table th, .cmp-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid #2f3540; }
.cmp-table thead th { font-size: 0.9rem; font-weight: 700; color: #f3f4f6; background: #2a313d; border-bottom: 1px solid #3a4250; padding-top: 1rem; padding-bottom: 1rem; vertical-align: bottom; }
.cmp-table tbody th[scope="row"] { font-weight: 600; color: #f3f4f6; }
.cmp-table td { color: #c8ced8; }
.cmp-table tbody tr:not(.cmp-group):hover > * { background-color: rgba(255,255,255,0.025); }
.cmp-table tr:last-child > * { border-bottom: 0; }
.cmp-table .cmp-group th { background: #1d222b; color: #93c5fd; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.55rem 1rem; border-bottom: 1px solid #2f3540; }
.cmp-table .c-us { background: rgba(59,130,246,0.13); color: #f3f4f6; border-left: 1px solid rgba(96,165,250,0.35); border-right: 1px solid rgba(96,165,250,0.35); }
.cmp-table tbody tr:not(.cmp-group):hover > .c-us { background: rgba(59,130,246,0.18); }
.cmp-table thead .c-us { background: #1e3a66; color: #ffffff; box-shadow: inset 0 3px 0 #60a5fa; }
.cmp-table sup { color: #8b95a5; font-size: 0.65em; margin-left: 0.1em; }
.cmp-cell { display: flex; gap: 0.6rem; align-items: flex-start; }
.cmp-cell .st { margin-top: 0.05rem; }
.st { display: inline-flex; width: 1.3rem; height: 1.3rem; border-radius: 50%; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; }
.st-yes { background: rgba(34,197,94,0.2); color: #4ade80; }
.st-yes::before { content: "\2713"; }
.st-part { background: rgba(245,158,11,0.2); color: #fbbf24; }
.st-part::before { content: "\223C"; }
.st-no { background: rgba(148,163,184,0.16); color: #a3adbd; }
.st-no::before { content: "\2715"; }
.cmp-legend { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.6rem; align-items: center; }
.cmp-legend .st { margin-left: 0.5rem; }
.cmp-legend .st:first-child { margin-left: 0; }
.cmp-pick { display: none; }
@media (max-width: 767px) {
    .cmp-pick { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-bottom: 0.75rem; font-size: 0.85rem; color: var(--text-muted); }
    .cmp-pick input { position: absolute; opacity: 0; pointer-events: none; }
    .cmp-pick label { border: 1px solid #2a2f38; border-radius: 999px; padding: 0.3rem 0.8rem; color: var(--text-main); cursor: pointer; }
    .cmp-pick input:checked + label { border-color: var(--primary); background: rgba(59,130,246,0.15); }
    .cmp-pick input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
    /* Two options side by side on a phone: 3D Print Manager and the one picked. */
    .cmp:has(#vs-sheet:checked) .c-spool, .cmp:has(#vs-sheet:checked) .c-bambu,
    .cmp:has(#vs-spool:checked) .c-sheet, .cmp:has(#vs-spool:checked) .c-bambu,
    .cmp:has(#vs-bambu:checked) .c-sheet, .cmp:has(#vs-bambu:checked) .c-spool { display: none; }
    .cmp:has(.cmp-pick input:checked) .cmp-table { min-width: 0; }
    .cmp-table tbody th[scope="row"] { width: 32%; }
    .cmp-table th, .cmp-table td { padding: 0.65rem 0.6rem; font-size: 0.85rem; }
    .cmp-table { table-layout: auto; }
    .cmp-table col { width: auto; }
}
/* Two options only: no picker, the table fits a phone as it is. */
.cmp-table.cmp-two { min-width: 0; }
.cmp-table.cmp-two tbody th[scope="row"] { width: 30%; }
