/* Organik Trafik GEO — UI v3 */

:root {
    --blue: #4168b1;
    --blue-dark: #2f4f8f;
    --blue-deep: #0b5394;
    --orange: #f7a400;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-hero: linear-gradient(180deg, #f0f5fc 0%, #ffffff 62%);
    --good: #059669;
    --warn: #d97706;
    --bad: #dc2626;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --font: "Inter", system-ui, sans-serif;
    --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Public page copy — black text for readability (code + buttons unchanged) */
.site-main p,
.site-main .hero-lead,
.site-main .form-note,
.site-main .hero-alt,
.site-main .showcase-copy p,
.site-main .showcase-bullets li,
.site-main .section-intro p,
.site-main .feature-card p,
.site-main .process-list li,
.site-main .info-panel p,
.site-main .compare-card p,
.site-main .guide-lead,
.site-main .guide-body p,
.site-main .price-card li,
.site-main .trust-inner span,
.site-main .faq-answer p {
    color: var(--ink);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.88em;
    background: #eef2ff;
    color: #3730a3;
    padding: 0.1em 0.35em;
    border-radius: 6px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container-wide {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

/* Buttons */
.btn, button[type="submit"], .btn-primary, .btn-secondary, .btn-outline, .btn-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 12px 20px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary, button[type="submit"] {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(65, 104, 177, 0.28);
}

.btn-primary:hover, button[type="submit"]:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    color: #fff;
}

.btn-outline, .btn-secondary {
    background: #fff;
    color: var(--blue);
    border: 1px solid var(--line);
}

.btn-outline:hover, .btn-secondary:hover {
    border-color: #cbd5e1;
    background: var(--bg-soft);
}

.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

button:disabled, .btn-primary.disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.topbar {
    background: var(--blue-deep);
    color: rgba(255,255,255,.88);
    font-size: 0.8rem;
}

.topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 48px;
}

.topbar-tagline {
    grid-column: 1;
    justify-self: start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-campaign {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: none;
    min-width: 0;
}

.topbar-campaign-text {
    color: var(--campaign-text, #fff);
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1.25;
    white-space: normal;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.topbar-countdown-box {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    border: 1px solid color-mix(in srgb, var(--campaign-countdown, var(--orange)) 50%, transparent);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.24);
    color: var(--campaign-countdown, var(--orange));
    font-variant-numeric: tabular-nums;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    flex: 0 0 auto;
}

.topbar-countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 2.35rem;
    text-align: center;
}

.topbar-countdown-segment + .topbar-countdown-segment {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 12px;
}

.topbar-countdown-value {
    display: block;
    min-width: 2ch;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    color: #fff;
}

.topbar-countdown-label {
    display: block;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    color: rgba(255, 255, 255, 0.72);
}

.topbar-links {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.92); }
.topbar a:hover { color: var(--orange); }

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    position: relative;
}

.brand-link { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 34px; width: auto; }
.brand-text { font-weight: 800; color: var(--ink); font-size: 1.1rem; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
}

.site-nav a:not(.btn):hover {
    color: var(--ink);
    background: var(--bg-soft);
}

.site-nav a.btn.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    border: 1px solid #111827;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.22);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.site-nav a.btn.btn-nav-cta:hover {
    background: #fff;
    color: #111827;
    border-color: #111827;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* Hero */
.hero-section {
    background: var(--bg-hero);
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.hero-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--ink);
    max-width: 14ch;
}

.hero-lead {
    margin: 0 0 24px;
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 52ch;
}

.hero-form { margin-bottom: 12px; }

.hero-input {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.hero-input input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 14px 16px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    min-width: 0;
    background: transparent;
}

.form-note {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.hero-alt {
    margin: 16px 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

/* Preview card */
.hero-preview { display: flex; justify-content: center; }

.preview-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    color: #fff;
    font-size: 0.88rem;
}

.preview-score {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
}

.preview-checks {
    list-style: none;
    margin: 0;
    padding: 16px 20px;
}

.preview-checks li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    position: relative;
    padding-left: 22px;
}

.preview-checks li:last-child { border-bottom: 0; }

.preview-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.preview-checks li.ok::before { background: var(--good); }
.preview-checks li.warn::before { background: var(--warn); }

.preview-foot {
    padding: 14px 20px;
    background: var(--bg-soft);
    font-size: 0.82rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

/* Notices */
.notice {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.notice-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.notice-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.notice-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.notice-link { font-weight: 700; margin-left: 8px; }

/* Trust strip */
.trust-strip {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 22px 0;
    text-align: center;
}

.trust-inner strong {
    display: block;
    font-size: 1.2rem;
    color: var(--blue);
}

.trust-inner span {
    font-size: 0.82rem;
    color: var(--muted);
}

/* Sections */
.content-section { padding: 72px 0; }
.bg-soft { background: var(--bg-soft); }

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-intro-left { text-align: left; margin-left: 0; }

.section-intro h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--ink);
}

.section-intro p {
    margin: 0;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(65, 104, 177, 0.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--ink);
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.process-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.process-list li {
    padding-left: 16px;
    border-left: 3px solid var(--blue);
    color: var(--muted);
}

.process-list strong { color: var(--ink); }

.info-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.info-panel h3 { margin: 0 0 10px; color: var(--ink); }
.info-panel p { margin: 0 0 18px; color: var(--muted); }

/* Pricing */
.pricing-block { margin-top: 8px; }

.pricing-block-compact .section-intro h2 { font-size: 1.35rem; }

.pricing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.price-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.price-card.is-featured {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.price-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--orange);
    color: #1a1200;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
}

.price-card header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--ink);
}

.price-card header p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.price-amount {
    margin: 22px 0;
    padding: 16px 0;
    border-block: 1px solid var(--line);
}

.price-amount strong {
    font-size: 2.2rem;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.price-amount span {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
}

.price-card ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}

.price-card li {
    font-size: 0.88rem;
    color: var(--muted);
    padding: 8px 0 8px 22px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.price-card li.ok::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--good);
    font-weight: 800;
}

.price-card li.no {
    opacity: .45;
    text-decoration: line-through;
}

.price-card li.no::before {
    content: "—";
    position: absolute;
    left: 0;
}

/* FAQ — Semrush-style accordion */
.faq-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid var(--line);
}

.faq-section--compact {
    padding: 48px 0;
}

.faq-section-title {
    margin: 0 0 28px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.15;
}

.faq-accordion {
    border-top: 1px solid #d1d5db;
}

.faq-accordion-item {
    border-bottom: 1px solid #d1d5db;
    background: transparent;
}

.faq-accordion-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.45;
}

.faq-accordion-item summary::-webkit-details-marker { display: none; }

.faq-question {
    flex: 1;
    padding-right: 8px;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
}

.faq-icon::before {
    content: "+";
}

.faq-accordion-item[open] .faq-icon::before {
    content: "−";
}

.faq-answer {
    padding: 0 0 22px;
    max-width: 920px;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
}

/* Legacy FAQ selectors (guide compact blocks) */
.faq-wrap {
    display: block;
}

.faq-grid { display: grid; gap: 10px; }

.faq-grid details,
details.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 18px;
}

.faq-grid summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
    padding: 16px 0;
    list-style: none;
}

.faq-grid summary::-webkit-details-marker { display: none; }

.faq-grid p {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 0.92rem;
}

/* Footer */
.site-footer {
    background: #003d6e;
    color: rgba(255,255,255,.85);
    padding: 48px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 32px;
}

.footer-brand p { margin: 8px 0 0; font-size: 0.88rem; opacity: .8; }

.site-footer h4 {
    margin: 0 0 12px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .65;
}

.site-footer a {
    display: block;
    color: rgba(255,255,255,.88);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.site-footer a:hover { color: var(--orange); }

.footer-copy {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 16px 0 20px;
    font-size: 0.8rem;
    opacity: .7;
}

/* ——— Landing showcases (Semrush-style zigzag) ——— */
.showcase-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--line);
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.showcase-row--reverse .showcase-copy { order: 2; }
.showcase-row--reverse .showcase-visual { order: 1; }

.showcase-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--ink);
    max-width: 22ch;
}

.showcase-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 48ch;
}

.showcase-bullets {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.showcase-bullets li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 0.92rem;
}

.showcase-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

.ui-mock {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.ui-mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
}

.ui-mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ui-mock-dot:first-child { background: #f87171; }
.ui-mock-dot:nth-child(2) { background: #fbbf24; }
.ui-mock-dot:nth-child(3) { background: #34d399; }

.ui-mock-body { padding: 16px; }

.ui-mock-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mock-gauge-card {
    background: linear-gradient(180deg, #fafbff, #fff);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 12px;
    overflow: hidden;
}

.mock-gauge-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.mock-gauge-wrap {
    position: relative;
    width: min(100%, 200px);
    margin-inline: auto;
    aspect-ratio: 200 / 108;
}

.mock-gauge-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mock-gauge-center {
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    pointer-events: none;
}

.mock-gauge-center strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.mock-gauge-center span { font-size: 0.75rem; color: var(--muted); font-weight: 600; }

.mock-gauge-center em {
    display: block;
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    color: #047857;
    margin-top: 2px;
}

.mock-gauge-note {
    margin-top: 6px;
    padding: 8px;
    border-radius: 8px;
    background: #f5f3ff;
    font-size: 0.65rem;
    color: #4338ca;
    line-height: 1.35;
}

.mock-kpis { display: grid; gap: 8px; }

.mock-kpi {
    border: none;
    border-radius: 8px;
    padding: 8px 10px;
}

.mock-kpi span {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mock-kpi strong { display: block; font-size: 1.1rem; line-height: 1.1; margin-top: 2px; }

.mock-kpi--pass {
    background: #10b981;
    color: #fff;
}

.mock-kpi--pass span,
.mock-kpi--pass strong { color: #fff; }

.mock-kpi--warn {
    background: #f59e0b;
    color: #0b1220;
}

.mock-kpi--warn span,
.mock-kpi--warn strong { color: #0b1220; }

.mock-kpi--fail {
    background: #ef4444;
    color: #fff;
}

.mock-kpi--fail span,
.mock-kpi--fail strong { color: #fff; }

.mock-cat-bars { margin-top: 4px; display: grid; gap: 6px; }

.mock-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.62rem;
    color: var(--muted);
}

.mock-cat i {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #4168b1);
    display: block;
}

.mock-bot-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 6px;
}

.mock-bot-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: var(--bg-soft);
    border-radius: 8px;
    font-size: 0.78rem;
}

.mock-bot-name { font-weight: 600; color: var(--ink); }

.mock-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
}

.mock-pill--ok { background: #ecfdf5; color: #047857; }
.mock-pill--warn { background: #fffbeb; color: #b45309; }
.mock-pill--fail { background: #fef2f2; color: #b91c1c; }

.mock-code {
    background: #0f172a;
    border-radius: 10px;
    padding: 12px;
    display: grid;
    gap: 4px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.45;
}

.mock-filter {
    padding: 4px 8px;
    border-radius: 6px;
    background: #fff;
    color: var(--muted);
}

.mock-filter.active {
    background: var(--blue);
    color: #fff;
}

.mock-table-wrap { padding: 0 !important; }

.mock-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.mock-table thead th {
    text-align: left;
    padding: 10px 14px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--line);
}

.mock-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text);
}

.mock-table-foot {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    background: #fafbff;
}

.mock-spark {
    flex: 1;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(239,68,68,.15), transparent);
    border-bottom: 2px solid #ef4444;
}

.mock-spark--warn {
    background: linear-gradient(180deg, rgba(245,158,11,.15), transparent);
    border-bottom-color: #f59e0b;
}

.mock-spark--ok {
    background: linear-gradient(180deg, rgba(99,102,241,.15), transparent);
    border-bottom-color: #6366f1;
}

.mock-pdf-doc { padding: 18px !important; }

.mock-pdf-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.mock-pdf-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.mock-pdf-head strong {
    display: block;
    font-size: 0.85rem;
    color: var(--ink);
}

.mock-pdf-head span {
    font-size: 0.72rem;
    color: var(--muted);
}

.mock-pdf-score {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.mock-pdf-score strong {
    font-size: 1.4rem;
    color: var(--blue);
}

.mock-pdf-lines {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.mock-pdf-lines i {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
}

.mock-pdf-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mock-pdf-checks span {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.mock-pdf-checks .ok { background: #ecfdf5; color: #047857; }
.mock-pdf-checks .warn { background: #fffbeb; color: #b45309; }

.showcase-cta {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #4f6eb5 100%);
    color: #fff;
}

.showcase-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.showcase-cta h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: #fff;
    letter-spacing: -0.02em;
}

.showcase-cta p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 0.95rem;
    max-width: 42ch;
}

.eyebrow-light { color: rgba(255,255,255,.75); }

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    white-space: nowrap;
}

.showcase-cta .btn-primary {
    background: #fff;
    color: var(--blue-deep);
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
}

.showcase-cta .btn-primary:hover {
    background: #f8fafc;
    color: var(--blue-dark);
}

/* Hero dashboard preview */
.preview-card--dashboard .preview-dash-head {
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
}

.preview-dash-domain {
    display: block;
    margin-top: 2px;
    color: var(--blue);
    font-size: 0.88rem;
}

.preview-card--dashboard .preview-head {
    display: none;
}

.preview-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 18px;
    background: #fafbff;
    border-bottom: 1px solid var(--line);
}

.preview-mini-gauge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-mini-score {
    position: absolute;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.preview-mini-score small {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 600;
}

.preview-mini-kpis {
    display: grid;
    gap: 6px;
}

.status-kpi {
    border: none;
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
}

.status-kpi strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}

.status-kpi span {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.status-kpi--pass {
    background: #10b981;
    color: #fff;
}

.status-kpi--pass strong,
.status-kpi--pass span { color: #fff; }

.status-kpi--warn {
    background: #f59e0b;
    color: #0b1220;
}

.status-kpi--warn strong,
.status-kpi--warn span { color: #0b1220; }

.status-kpi--fail {
    background: #ef4444;
    color: #fff;
}

.status-kpi--fail strong,
.status-kpi--fail span { color: #fff; }

.status-kpi--points {
    background: #6366f1;
    color: #fff;
}

.status-kpi--points strong,
.status-kpi--points span { color: #fff; }

.split-lead {
    margin: 0 0 24px;
    color: var(--muted);
    max-width: 52ch;
}

.compare-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.compare-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.compare-card--geo {
    border-color: rgba(65, 104, 177, 0.35);
    background: linear-gradient(180deg, #fafbff, #fff);
}

.compare-card h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: var(--ink);
}

.compare-card p {
    margin: 0 0 14px;
    font-size: 0.85rem;
    color: var(--muted);
}

.info-panel--stack .audience-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.audience-list li {
    font-size: 0.9rem;
    color: var(--muted);
    padding-left: 14px;
    border-left: 3px solid var(--blue);
}

.audience-list strong { color: var(--ink); }

/* ——— Result dashboard (Semrush-style) ——— */
.page-result {
    background: #eef2f6;
}

.page-result .site-main {
    padding: 0;
}

.dash {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.dash-back {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.dash-new-analysis {
    font-weight: 600;
    padding: 10px 18px;
    white-space: nowrap;
    border-width: 1.5px;
}

.dash-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.dash-header h1 {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.dash-domain { color: var(--blue); }

.dash-sub {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.dash-overview {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.gauge-card,
.metrics-card,
.dash-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.gauge-card {
    padding: 20px 20px 16px;
    background: linear-gradient(180deg, #fafbff 0%, #fff 55%);
    border-color: #e0e7ff;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}

.gauge-title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.gauge-wrap {
    position: relative;
    height: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-wrap--semrush {
    height: 168px;
}

.score-gauge {
    width: 100%;
    max-width: 280px;
    height: auto;
    overflow: visible;
}

.gauge-track {
    fill: none;
    stroke-linecap: round;
}

.gauge-track--bg {
    stroke: #eef2f7;
    stroke-width: 16;
}

.gauge-track--zone {
    stroke-width: 16;
    opacity: 0.85;
}

.gauge-track--progress {
    stroke-width: 10;
    transition: stroke-dasharray 0.85s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.gauge-marker {
    transition: transform 0.85s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.gauge-center--overlay {
    pointer-events: none;
    top: 54%;
}

.gauge-center {
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-score {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.gauge-score span {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 600;
}

.gauge-band {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.band-strong { background: #ecfdf5; color: #047857; }
.band-good { background: #eff6ff; color: #1d4ed8; }
.band-mid { background: #fffbeb; color: #b45309; }
.band-low { background: #fef2f2; color: #b91c1c; }

.gauge-insight {
    margin: 10px 0 0;
    padding: 12px;
    border-radius: 10px;
    background: #f5f3ff;
    border: 1px solid #e9e5ff;
    color: #4338ca;
    font-size: 0.84rem;
    line-height: 1.45;
}

.gauge-legend--compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    margin: 2px 0 10px;
}

.gauge-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

.gauge-legend-item i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.metrics-card { padding: 20px; }

.metrics-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.metrics-card-head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.metrics-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg-soft);
    padding: 4px 8px;
    border-radius: 6px;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.kpi {
    border: none;
    border-radius: 10px;
    padding: 12px;
}

.kpi-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kpi strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.1;
    margin-top: 4px;
    letter-spacing: -0.03em;
}

.kpi small {
    display: block;
    font-size: 0.75rem;
    margin-top: 2px;
    opacity: 0.88;
}

.kpi-pass {
    background: #10b981;
    color: #fff;
}

.kpi-pass .kpi-label,
.kpi-pass strong,
.kpi-pass small { color: #fff; }

.kpi-warn {
    background: #f59e0b;
    color: #0b1220;
}

.kpi-warn .kpi-label,
.kpi-warn strong,
.kpi-warn small { color: #0b1220; }

.kpi-fail {
    background: #ef4444;
    color: #fff;
}

.kpi-fail .kpi-label,
.kpi-fail strong,
.kpi-fail small { color: #fff; }

.kpi-points {
    background: #6366f1;
    color: #fff;
}

.kpi-points .kpi-label,
.kpi-points strong,
.kpi-points small { color: #fff; }

.category-bars h3 {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

.cat-bar-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.table-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    min-width: 220px;
    color: var(--muted);
}

.table-search input {
    border: 0;
    outline: none;
    font: inherit;
    font-size: 0.82rem;
    width: 100%;
    color: var(--ink);
    background: transparent;
}

.table-search input::placeholder { color: #94a3b8; }

.cat-bar-row + .cat-bar-row { margin-top: 10px; }

.cat-bar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--text);
}

.cat-bar-track {
    height: 8px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}

.cat-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.metrics-foot {
    margin: 14px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.dash-panel { padding: 18px 20px; margin-bottom: 16px; }

.dash-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.dash-panel-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.dash-panel-head p {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.dash-panel-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}

.filter-pill {
    border: 0;
    background: transparent;
    padding: 6px 10px;
    border-radius: 6px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.filter-pill.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

.btn-pro-toggle {
    background: #fff;
    color: var(--blue);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

#scorecard.show-pro-details .btn-pro-toggle {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.checks-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.checks-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.checks-table thead th {
    text-align: left;
    padding: 10px 12px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.checks-table tbody tr.check-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s ease;
}

.checks-table tbody tr.check-row:hover { background: #fafbff; }

.checks-table td {
    padding: 12px;
    vertical-align: middle;
}

.cell-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 220px;
}

.cell-label strong {
    display: block;
    color: var(--ink);
    font-size: 0.88rem;
}

.cell-msg {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
    max-width: 420px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.check-row.status-pass .status-dot { background: #10b981; }
.check-row.status-warn .status-dot { background: #f59e0b; }
.check-row.status-fail .status-dot { background: #ef4444; }

.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 6px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--cat-color, #64748b) 10%, #fff);
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.cat-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cat-color, #64748b);
    flex-shrink: 0;
}

.status-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-chip.status-pass { background: #ecfdf5; color: #047857; }
.status-chip.status-warn { background: #fffbeb; color: #b45309; }
.status-chip.status-fail { background: #fef2f2; color: #b91c1c; }

.cell-points { white-space: nowrap; }

.points-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.points-max {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.cell-spark { width: 96px; }

.row-sparkline {
    width: 80px;
    height: 22px;
    display: block;
}

.completion-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.completion-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    width: 34px;
    text-align: right;
}

.mini-bar {
    flex: 1;
    height: 8px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    border-radius: 999px;
}

.mini-bar-fill.status-pass { background: #10b981; }
.mini-bar-fill.status-warn { background: #f59e0b; }
.mini-bar-fill.status-fail { background: #ef4444; }

.row-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: #1e293b;
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}

.row-action:hover {
    background: #0f172a;
}

.row-action[aria-expanded="true"] {
    background: #4f46e5;
}

.check-detail-row td {
    padding: 0;
    background: #fafbff;
    border-bottom: 1px solid var(--line);
}

.check-detail-inner {
    padding: 14px 16px 16px 42px;
}

.detail-bullets {
    margin: 0 0 10px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.82rem;
}

.dash-grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

#scorecard:not(.show-pro-details) .page-issues-panel,
#scorecard:not(.show-pro-details) .pro-fix-panel { display: none; }

.check-row.is-hidden { display: none; }
.check-detail-row.is-hidden { display: none; }

/* Shared components */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.page-issues-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 8px; max-height: 240px; overflow: auto;
}

.page-issue {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.page-issue-url {
    display: block;
    color: var(--blue);
    font-size: 0.82rem;
    word-break: break-all;
    margin-bottom: 4px;
}

.page-issue-reason { display: block; color: var(--muted); font-size: 0.8rem; }

.pro-fix-intro { margin: 0 0 12px; color: var(--muted); font-size: 0.88rem; }
.pro-fix-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.pro-fix-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; }

.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tab {
    background: var(--bg-soft);
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
}
.tab.active { color: var(--blue); background: rgba(65,104,177,.08); border-color: rgba(65,104,177,.25); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.code-block {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    max-height: 320px;
    overflow: auto;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.upsell {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.88rem;
}

.pdf-form { display: grid; gap: 10px; }
.pdf-form label { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 600; }
.pdf-form input, .pdf-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font: inherit;
}

.checkbox-line { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.muted, .small { color: var(--muted); font-size: 0.84rem; }
.partner-plux-card {
    margin: 0 0 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #fecaca;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(185, 28, 28, 0.06);
}

.partner-plux-card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px 22px;
    background: linear-gradient(180deg, #fff5f5 0%, #fff 100%);
    border-bottom: 1px solid #fecaca;
}

.partner-plux-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.partner-plux-card-title {
    display: block;
    margin: 0 0 8px;
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
}

.partner-plux-card-lead {
    margin: 0;
    max-width: 58ch;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

.partner-plux-score-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 118px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
    border: 1px solid #374151;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.partner-plux-score-ring {
    --score-pct: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, #111827 62%, transparent 63%),
        conic-gradient(#ef4444 0deg, #ef4444 calc(var(--score-pct) * 1deg), #374151 calc(var(--score-pct) * 1deg), #374151 360deg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.partner-plux-score-ring-inner {
    text-align: center;
    line-height: 1;
}

.partner-plux-score-ring-inner strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
}

.partner-plux-score-ring-inner span {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.partner-plux-score-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.partner-plux-score-meta small {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.62);
}

.partner-plux-score-band {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.partner-plux-score-band--fail { color: #fca5a5; }
.partner-plux-score-band--medium { color: #fcd34d; }
.partner-plux-score-band--critical { color: #fca5a5; }
.partner-plux-score-band--good { color: #6ee7b7; }

.partner-plux-card--success {
    border-color: #bbf7d0;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.08);
}

.partner-plux-card--success .partner-plux-card-header {
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
    border-bottom-color: #bbf7d0;
}

.partner-plux-card--success .partner-plux-card-kicker {
    background: #d1fae5;
    border-color: #a7f3d0;
    color: #047857;
}

.partner-plux-card--success .partner-plux-score-panel {
    background: linear-gradient(180deg, #064e3b 0%, #065f46 100%);
    border-color: #047857;
}

.partner-plux-card--success .partner-plux-score-ring {
    background:
        radial-gradient(circle at center, #064e3b 62%, transparent 63%),
        conic-gradient(#10b981 0deg, #10b981 calc(var(--score-pct) * 1deg), #374151 calc(var(--score-pct) * 1deg), #374151 360deg);
}

.partner-plux-card--success .partner-plux-card-body {
    background: linear-gradient(180deg, #fff 0%, #ecfdf5 100%);
}

.partner-plux-card--success .partner-plux-progress-fill {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.partner-plux-grid--success {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.partner-plux-panel--pro {
    border-color: #c7d2fe;
    background: #f8fafc;
}

.partner-plux-panel--maintain {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.partner-plux-panel--wide {
    grid-column: 1 / -1;
}

.partner-plux-signals--maintain .partner-plux-signal-icon {
    background: #d1fae5;
    color: #047857;
}

.partner-plux-signal--maintain .partner-plux-signal-status {
    color: #047857;
    font-weight: 700;
}

.pdf-brand-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.pdf-brand-logo {
    max-height: 36px;
    width: auto;
}

.pdf-brand-name {
    font-weight: 700;
    color: var(--text);
}

.pdf-form--branded .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.partner-plux-card-body {
    padding: 18px 22px 20px;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.partner-plux-progress {
    margin-bottom: 14px;
}

.partner-plux-progress-labels {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

.partner-plux-progress-labels strong {
    color: #0f172a;
}

.partner-plux-progress-track {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.partner-plux-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
}

.partner-plux-progress-marker {
    position: absolute;
    top: -3px;
    width: 2px;
    height: 16px;
    margin-left: -1px;
    background: #111827;
    box-shadow: 0 0 0 2px #fff;
}

.partner-plux-card-text {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #334155;
}

.partner-plux-trust-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
    color: #1e40af;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.4;
}

.partner-plux-trust-note--panel {
    display: flex;
    width: 100%;
}

.partner-plux-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    flex-shrink: 0;
}

.partner-plux-card--success .partner-plux-trust-note {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f8fffb 0%, #ecfdf5 100%);
    color: #047857;
}

.partner-plux-card--success .partner-plux-trust-icon {
    background: #bbf7d0;
    color: #047857;
}

.partner-plux-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 14px;
}

.partner-plux-panel {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.partner-plux-panel--issues {
    border-color: #fecaca;
    background: #fffafa;
}

.partner-plux-panel--solution {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-plux-panel-title {
    margin: 0 0 10px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.partner-plux-signals {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.partner-plux-signal {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #fee2e2;
}

.partner-plux-signal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.78rem;
    font-weight: 800;
}

.partner-plux-signal-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
}

.partner-plux-signal-status {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
}

.partner-plux-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #047857;
}

.partner-plux-flow i {
    font-style: normal;
    color: #94a3b8;
}

.partner-plux-solution-copy {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
    color: #14532d;
}

.partner-plux-banner-cta {
    align-self: flex-start;
    margin-top: auto;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}

.partner-plux-disclaimer {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #64748b;
}

@media (max-width: 860px) {
    .partner-plux-card-header {
        grid-template-columns: 1fr;
    }

    .partner-plux-score-panel {
        flex-direction: row;
        justify-content: flex-start;
    }

    .partner-plux-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .partner-plux-card-header,
    .partner-plux-card-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .partner-plux-banner-cta {
        width: 100%;
        justify-content: center;
    }
}

.llms-pro-locked {
    position: relative;
    min-height: 240px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
}

.llms-pro-locked-faux {
    padding: 18px;
    filter: blur(7px);
    opacity: 0.55;
    user-select: none;
    pointer-events: none;
}

.llms-pro-locked-faux pre {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #64748b;
    white-space: pre-wrap;
}

.llms-pro-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(248, 250, 252, 0.88);
    text-align: center;
}

.llms-pro-locked-copy {
    max-width: 34ch;
}

.llms-pro-locked-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #0f172a;
}

.llms-pro-locked-copy p {
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
}

.partner-note { font-size: 0.88rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .feature-grid,
    .split-section,
    .pricing-row,
    .footer-grid,
    .trust-inner,
    .showcase-row,
    .showcase-row--reverse .showcase-copy,
    .showcase-row--reverse .showcase-visual,
    .showcase-cta-inner,
    .compare-cards,
    .ui-mock-split,
    .dash-overview,
    .dash-grid-2,
    .kpi-row { grid-template-columns: 1fr; }

    .showcase-row--reverse .showcase-copy,
    .showcase-row--reverse .showcase-visual { order: unset; }

    .showcase-section { padding: 56px 0; }

    .showcase-copy h2 { max-width: none; }

    .showcase-cta-inner { text-align: center; flex-direction: column; }

    .showcase-cta .btn-lg { width: 100%; }

    .showcase-row { gap: 36px; }

    .showcase-copy { position: relative; z-index: 1; }

    .showcase-visual {
        position: relative;
        z-index: 0;
        width: 100%;
    }

    .ui-mock-split { gap: 16px; }

    .mock-gauge-wrap {
        width: min(100%, 180px);
    }

    .mock-gauge-center strong { font-size: 1.25rem; }

    .preview-dash-grid { grid-template-columns: 1fr; }

    .dash-header { flex-direction: column; }

    .checks-table-wrap { overflow-x: auto; }

    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 20px 16px;
        box-shadow: var(--shadow-sm);
    }

    .site-nav.is-open { display: flex; }

    .header-main { flex-wrap: wrap; }

    .hero-input { flex-direction: column; border-radius: var(--radius); }
    .hero-input .btn { width: 100%; }

    .topbar-inner {
        grid-template-columns: 1fr;
        justify-items: stretch;
        padding: 8px 0;
    }

    .topbar-tagline,
    .topbar-campaign,
    .topbar-links {
        grid-column: 1;
        justify-self: stretch;
    }

    .topbar-campaign {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .topbar-campaign-text {
        text-align: right;
    }

    .topbar-countdown-box {
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }

    .topbar-links {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .content-section { padding: 48px 0; }

    .faq-section { padding: 56px 0; }

    .faq-accordion-item summary {
        font-size: 1rem;
        padding: 18px 0;
    }
    .hero-section { padding: 40px 0 32px; }
    .dash-panel-tools { flex-direction: column; align-items: stretch; }
}

/* Guide / static pages */
.page-guide .site-main { padding-bottom: 0; }

.guide-hero {
    padding: 48px 0 40px;
    background: var(--bg-hero);
    border-bottom: 1px solid var(--line);
}

.guide-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.guide-breadcrumb a { color: var(--blue); }
.guide-breadcrumb span:last-child { color: var(--text); }

.guide-hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.15;
    color: var(--ink);
    max-width: 18ch;
}

.guide-lead {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 62ch;
    margin: 0 0 24px;
}

.guide-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.guide-body { padding: 56px 0; }

.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}

.guide-prose h2 {
    margin: 2.2em 0 0.75em;
    font-size: 1.35rem;
    color: var(--ink);
}

.guide-prose h2:first-child { margin-top: 0; }

.guide-prose p,
.guide-prose li {
    color: var(--text);
    max-width: 68ch;
}

.guide-prose .code-block {
    margin: 16px 0 24px;
    padding: 16px 18px;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: var(--radius);
    font-size: 0.85rem;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.guide-table-wrap {
    overflow-x: auto;
    margin: 20px 0 28px;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.guide-table th,
.guide-table td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.guide-table th {
    background: var(--bg-soft);
    color: var(--ink);
    font-weight: 600;
}

.guide-checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}

.guide-checklist li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-bottom: 1px solid var(--line);
}

.guide-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--good);
    font-weight: 700;
}

.guide-checklist--warn li::before {
    content: "!";
    color: var(--warn);
}

.guide-bot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}

.guide-bot-list li {
    padding: 12px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.guide-steps {
    padding-left: 1.25rem;
    margin: 16px 0 24px;
}

.guide-steps li { margin-bottom: 8px; }

.guide-score-legend {
    display: grid;
    gap: 10px;
    margin: 20px 0 28px;
}

.guide-score-intro {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.guide-score-item {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    line-height: 1.5;
}

.guide-score-item strong {
    display: inline-block;
    min-width: 4.5rem;
    margin-right: 6px;
}

.guide-score-label {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
}

.guide-score-item--good { border-left: 4px solid var(--good); }
.guide-score-item--good .guide-score-label { background: #ecfdf5; color: #047857; }

.guide-score-item--near { border-left: 4px solid #2563eb; }
.guide-score-item--near .guide-score-label { background: #eff6ff; color: #1d4ed8; }

.guide-score-item--mid { border-left: 4px solid var(--warn); }
.guide-score-item--mid .guide-score-label { background: #fffbeb; color: #b45309; }

.guide-score-item--warn { border-left: 4px solid var(--warn); }
.guide-score-item--bad { border-left: 4px solid var(--bad); }
.guide-score-item--bad .guide-score-label { background: #fef2f2; color: #b91c1c; }

.guide-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 96px;
}

.guide-aside-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.guide-aside-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--ink);
}

.guide-aside-card p {
    margin: 0 0 14px;
    font-size: 0.925rem;
    color: var(--muted);
}

.guide-aside-card--muted {
    background: var(--bg-soft);
    box-shadow: none;
}

.guide-related {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-related li + li { margin-top: 8px; }

.guide-related a {
    font-size: 0.925rem;
    font-weight: 500;
}

.guide-cta-band {
    padding: 48px 0;
    background: linear-gradient(135deg, #0b5394 0%, #4168b1 100%);
    color: #fff;
}

.guide-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.guide-cta-band h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.5rem;
}

.guide-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    max-width: 48ch;
}

.guide-cta-band .btn-primary {
    background: var(--orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.guide-cta-band .btn-primary:hover { background: #e09400; color: #fff; }

.page-guide .pricing-block { margin-top: 32px; }

@media (max-width: 960px) {
    .guide-layout { grid-template-columns: 1fr; }
    .guide-aside { position: static; }
    .guide-hero h1 { max-width: none; }
    .guide-cta-inner { flex-direction: column; align-items: flex-start; }
    .guide-cta-band .btn-lg { width: 100%; }
}

/* ── Scan overlay (Rich Results tarzı tarama) ── */
body.is-scanning {
    overflow: hidden;
}

.scan-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(11, 18, 32, 0.72);
    backdrop-filter: blur(6px);
}

.scan-overlay[hidden] {
    display: none !important;
}

.scan-overlay-card {
    width: min(100%, 480px);
    padding: 32px 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.scan-overlay-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.scan-overlay-title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.scan-overlay-url {
    margin: 0 0 24px;
    font-size: 0.9rem;
    color: var(--muted);
    word-break: break-all;
}

.scan-progress {
    margin-bottom: 16px;
}

.scan-progress-track {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.scan-progress-bar {
    height: 100%;
    width: 36%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4168b1, #6366f1, #4168b1);
    background-size: 200% 100%;
    animation: scan-progress-slide 1.6s ease-in-out infinite;
}

@keyframes scan-progress-slide {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

.scan-overlay-step {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    min-height: 1.4em;
}

.scan-overlay-note {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

.hero-form.is-submitting .btn-primary {
    opacity: 0.72;
    pointer-events: none;
}

/* ── GEO Müşteri Paneli ── */
.page-panel {
    background: var(--bg-soft);
}

.panel-main {
    padding: 28px 0 48px;
}

.panel-topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.panel-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    flex-wrap: wrap;
}

.panel-brand {
    display: inline-flex;
    align-items: center;
}

.panel-brand-logo {
    height: 32px;
    width: auto;
}

.panel-brand-text {
    font-weight: 700;
    color: var(--ink);
}

.panel-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.panel-topbar-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.panel-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.panel-unified {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel-unified__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 28px 22px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.panel-unified__intro h1 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    letter-spacing: -0.02em;
}

.panel-unified__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
    background: #fafbfd;
}

.panel-unified__stat {
    padding: 18px 24px;
    border-right: 1px solid var(--line);
}

.panel-unified__stat:last-child {
    border-right: 0;
}

.panel-unified__alerts {
    padding: 16px 28px 0;
}

.panel-unified__alerts .notice {
    margin-bottom: 0;
}

.panel-divider {
    height: 0;
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

.panel-section {
    padding: 24px 28px;
}

.panel-section--soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.panel-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-section-head h2 {
    margin: 0 0 4px;
    font-size: 1.08rem;
}

.panel-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.panel-section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.panel-section-split > .panel-section:first-child {
    border-right: 1px solid var(--line);
}

.panel-table-wrap {
    border: 0;
    border-radius: 0;
}

.panel-tabs-nav {
    display: flex;
    gap: 4px;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: #fafbfd;
    overflow-x: auto;
}

.panel-tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 14px 16px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.panel-tab:hover { color: var(--ink); }

.panel-tab.is-active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.panel-tabpane { display: none; }
.panel-tabpane.is-active { display: block; }

.panel-report-wrap {
    padding: 24px 28px 8px;
}

.panel-report-wrap .dash {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.is-open-row {
    background: #eff6ff;
}

.panel-page-head h1 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}

.panel-page-lead {
    margin: 0;
    color: var(--muted);
    max-width: 58ch;
}

.panel-plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.panel-plan-badge--free { background: #ecfdf5; color: #047857; }
.panel-plan-badge--pro { background: #eff6ff; color: #1d4ed8; }
.panel-plan-badge--agency { background: #f5f3ff; color: #6d28d9; }

.panel-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.panel-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.panel-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.panel-stat strong {
    display: block;
    margin-top: 6px;
    font-size: 1.65rem;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.panel-stat small {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--muted);
}

.panel-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.panel-card--highlight {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.panel-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-card-head h2 {
    margin: 0 0 4px;
    font-size: 1.1rem;
}

.panel-card-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.panel-analyze-form { margin: 0; }

.panel-analyze-input {
    max-width: 760px;
}

.panel-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel-inline-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.panel-field {
    flex: 1;
    min-width: 140px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.panel-field:focus {
    outline: 2px solid rgba(65, 104, 177, 0.25);
    border-color: var(--blue);
}

.panel-field-hint {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}

.panel-field-hint code {
    font-size: 0.8em;
}

.panel-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.panel-domain-list,
.panel-usage-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.panel-domain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.panel-domain-item:last-child { border-bottom: 0; }

.panel-domain-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.panel-domain-label {
    color: var(--muted);
    font-size: 0.88rem;
}

.panel-domain-meta {
    color: var(--muted);
    font-size: 0.78rem;
}

.panel-usage-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.panel-usage-list li:last-child { border-bottom: 0; }

.panel-usage-list small {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.78rem;
}

.panel-score-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.panel-score-pill span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}

.panel-score-inline {
    display: inline-flex;
    min-width: 2.5rem;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.82rem;
}

.panel-result-summary {
    margin: 0;
    color: var(--text);
}

.panel-code-block {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 520px;
    overflow: auto;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--ink);
}

.panel-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.panel-access {
    padding: 48px 0 64px;
}

.panel-access-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.panel-access-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eff6ff;
    margin-bottom: 12px;
    position: relative;
}

.panel-access-icon::before {
    content: "";
    width: 18px;
    height: 14px;
    border: 2px solid #1d4ed8;
    border-radius: 3px;
    position: absolute;
    bottom: 18px;
}

.panel-access-icon::after {
    content: "";
    width: 12px;
    height: 10px;
    border: 2px solid #1d4ed8;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: 16px;
}

.panel-access-card h1 {
    margin: 0 0 12px;
    font-size: 1.65rem;
    letter-spacing: -0.02em;
}

.panel-access-lead {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

.panel-access-note {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.panel-access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.panel-access-foot {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

@media (max-width: 960px) {
    .panel-unified__stats { grid-template-columns: repeat(2, 1fr); }
    .panel-unified__stat:nth-child(2) { border-right: 0; }
    .panel-unified__stat:nth-child(1),
    .panel-unified__stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    .panel-section-split { grid-template-columns: 1fr; }
    .panel-section-split > .panel-section:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .panel-stats { grid-template-columns: repeat(2, 1fr); }
    .panel-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .panel-unified__head,
    .panel-section { padding-left: 18px; padding-right: 18px; }
    .panel-unified__stats { grid-template-columns: 1fr; }
    .panel-unified__stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .panel-unified__stat:last-child { border-bottom: 0; }
    .panel-stats { grid-template-columns: 1fr; }
    .panel-topbar-inner { flex-direction: column; align-items: flex-start; }
    .panel-access-actions .btn { width: 100%; }
    .panel-inline-form { flex-direction: column; }
    .panel-domain-item { flex-direction: column; align-items: flex-start; }
}
