/* =====================================================
   SEO Checker — styl spójny z tools.rejestracjadomen.pl
   ciemny hero + jasne karty wyników
   ===================================================== */

:root {
    --navy-950: #020617;
    --navy-900: #0f172a;
    --navy-850: #111827;
    --navy-800: #1e293b;
    --blue: #38bdf8;
    --blue-strong: #0ea5e9;
    --blue-soft: #e0f2fe;
    --yellow: #ffd84d;

    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --info: #06b6d4;
    --info-light: #cffafe;

    --bg: #f6f8fc;
    --card: #ffffff;
    --border: #dbe3ef;
    --border-strong: #b8c4d6;
    --text: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 12px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 60px rgba(2, 6, 23, .18);

    --radius: 14px;
    --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ----- SITE HEADER (biały pasek nad hero) ----- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6ecf4;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    position: sticky;
    top: 0;
    z-index: 200;
}
.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: .7rem 22px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.site-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.site-logo img { height: 38px; width: auto; display: block; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav a {
    display: block;
    padding: .45rem .85rem;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.site-nav a:hover,
.site-nav a.active {
    background: #e0f2fe;
    color: #0369a1;
}
.header-cta {
    background: #53bcee;
    color: #ffffff;
    font-weight: 700;
    font-size: .85rem;
    padding: .6rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(83, 188, 238, .4);
    transition: background .2s, transform .15s, box-shadow .2s;
}
.header-cta:hover {
    background: #0ea5e9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(83, 188, 238, .5);
}
@media (max-width: 900px) {
    .site-nav, .header-cta { display: none; }
    .site-header__inner { padding: .6rem 18px; justify-content: center; }
}

/* ----- HERO ----- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, .92) 0%, rgba(15, 23, 42, .84) 48%, rgba(15, 23, 42, .36) 100%),
        url("rejestracjadomen-seo-ai.png") center/cover no-repeat;
    padding: 28px 0 48px;
}
.hero .container.hero-grid { max-width: 1280px; }
.hero-bg {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}
.hero-nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 44px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    background: #ffd84d;
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
    gap: 38px;
    align-items: end;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 18px rgba(255,216,77,.85); }
.hero h1 {
    margin: 14px 0 12px;
    max-width: 900px;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 900;
}
.hero h1 span { color: var(--yellow); }
.lead {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: linear-gradient(135deg, #38bdf8, #0ea5e9); color: #031225; box-shadow: 0 18px 36px rgba(14,165,233,.28); }
.btn-primary:hover, .btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.045); }

.hero-visual {
    position: relative;
    margin: 0;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,.18);
}
.hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,6,23,.72), transparent 58%);
}
.hero-visual figcaption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-visual figcaption strong { font-size: 18px; }
.hero-visual figcaption span { color: rgba(255,255,255,.78); font-size: 13px; }
.hero-panel {
    position: absolute;
    z-index: 3;
    left: 22px;
    right: 22px;
    top: 22px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(15,23,42,.68);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 14px;
    backdrop-filter: blur(14px);
}
.panel-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-top strong { font-size: 15px; }
.panel-top span { color: rgba(255,255,255,.62); font-size: 12px; }
.mini-check {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 8px 0;
    padding: 10px;
    border-radius: 13px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.88);
}
.mini-check b { width: 28px; height: 25px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
.mini-check.ok b { background: var(--success); }
.mini-check.warn b { background: var(--warning); }
.mini-check.info b { background: var(--info); }
.mini-score { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.mini-score span { color: rgba(255,255,255,.62); }
.mini-score strong { font-size: 28px; color: var(--yellow); }

/* ----- MAIN / KARTY ----- */
.main-wrap { margin-top: 32px; position: relative; z-index: 3; }
.card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 26px;
    margin-bottom: 22px;
    border: 1px solid var(--border);
}
.form-card { border-top: 4px solid var(--blue); }
.hero-checker {
    max-width: 760px;
    margin: 28px 0 0;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(2, 6, 23, .24);
}
.form-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.form-head h2 { margin: 0 0 3px; font-size: 24px; letter-spacing: 0; }
.form-head p { margin: 0; color: var(--text-muted); }
.tool-badge { flex: 0 0 auto; background: #eef6ff; color: #0369a1; border: 1px solid #bae6fd; font-size: 12px; font-weight: 800; padding: 7px 11px; border-radius: 999px; }
.form-card label { display: block; font-weight: 800; margin-bottom: 8px; color: var(--text); font-size: 14px; }
.input-row { display: flex; gap: 10px; }
#url-input {
    flex: 1;
    padding: 15px 17px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    min-width: 0;
    transition: border-color .15s, box-shadow .15s;
}
#url-input:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 4px rgba(14,165,233,.15); }
#analyze-btn {
    padding: 0 26px;
    min-height: 55px;
    font-weight: 900;
    color: #031225;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(14,165,233,.20);
    transition: transform .1s, box-shadow .15s, opacity .15s;
}
#analyze-btn:hover { box-shadow: 0 18px 32px rgba(14,165,233,.26); }
#analyze-btn:active { transform: translateY(1px); }
#analyze-btn:disabled { opacity: .62; cursor: not-allowed; }
.btn-spinner svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hint { margin: 10px 0 0; font-size: 13px; color: var(--text-light); }
.hint strong { color: var(--text); }

.seo-article {
    margin-bottom: 26px;
}
.article-kicker {
    display: inline-flex;
    align-items: center;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.article-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin: 14px 0 18px;
}
.article-head h2 {
    margin: 0;
    max-width: 780px;
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: 0;
}
.article-author {
    margin: 8px 0 0;
    color: var(--text-muted);
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.article-card-wide {
    grid-column: span 2;
}
.article-card-accent {
    background: #fff7d6;
    border-color: #facc15;
}
.article-card span,
.feature span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 30px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0e7490;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}
.article-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}
.article-card p {
    margin: 0;
    color: var(--text-muted);
}

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-sm); }
.feature strong { display: block; margin-bottom: 5px; font-size: 15px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 13px; }

/* ----- BRAND / ZAUFANIE ----- */
.brand-trust {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
    margin: 0 0 24px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #eef9ff);
    box-shadow: var(--shadow-sm);
}
.trust-copy h2 {
    margin: 14px 0 10px;
    max-width: 520px;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: 0;
}
.trust-copy p {
    margin: 0;
    color: var(--text-muted);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.trust-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
}
.trust-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 28px;
    border-radius: 999px;
    background: #fff7d6;
    color: #854d0e;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 11px;
}
.trust-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}
.trust-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* ----- LOADING / BŁĄD ----- */
.loading-card { text-align: center; padding: 50px 20px; }
.spinner { width: 48px; height: 48px; border: 4px solid var(--blue-soft); border-top-color: var(--blue-strong); border-radius: 50%; margin: 0 auto 20px; animation: spin 1s linear infinite; }
.loading-card p { margin: 0 0 6px; font-weight: 800; }
.loading-card small { color: var(--text-light); }
.error-card { border-left: 5px solid var(--error); background: var(--error-light); }
.error-card h3 { margin: 0 0 8px; color: #991b1b; }
.error-card p { margin: 0; color: #7f1d1d; }

/* ----- TOOLBAR ----- */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.toolbar-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.toolbar-info strong { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.toolbar-info span { font-size: 12px; color: var(--text-light); }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s;
}
.btn-secondary:hover { background: #e0f2fe; border-color: var(--blue-strong); }

/* Wyróżnione przyciski pobierania — żółte (jak Ostrzeżenia) */
#download-html,
#download-json {
    color: #78350f;
    background: var(--warning-light);
    border-color: #fcd34d;
    box-shadow: 0 2px 6px rgba(245, 158, 11, .25);
}
#download-html:hover,
#download-json:hover {
    background: #fde68a;
    border-color: var(--warning);
    color: #5a2c08;
    box-shadow: 0 4px 12px rgba(245, 158, 11, .35);
    transform: translateY(-1px);
}
#download-html svg,
#download-json svg { stroke: #78350f; }

/* ----- REKOMENDACJE MARKI ----- */
.brand-recommendations {
    overflow: hidden;
    border-top: 4px solid var(--yellow);
}
.brand-rec-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.brand-rec-head h2 {
    margin: 3px 0 5px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
}
.brand-rec-head p {
    margin: 0;
    max-width: 720px;
    color: var(--text-muted);
}
.section-label {
    display: inline-flex;
    align-items: center;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}
.brand-contact {
    flex: 0 0 auto;
    text-decoration: none;
}
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.recommendation-card {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #f8fbff;
}
.recommendation-card span {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0e7490;
    font-size: 12px;
    font-weight: 900;
}
.recommendation-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.22;
}
.recommendation-card p {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 13px;
}
.recommendation-card a {
    margin-top: auto;
    color: #0369a1;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}
.recommendation-card a:hover {
    text-decoration: underline;
}

/* ----- SUMMARY ----- */
.summary-grid { display: grid; grid-template-columns: 280px 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.score-card { text-align: center; padding: 24px; }
.score-label, .stats-card h3, .page-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin: 0 0 16px; font-weight: 900; }
.score-circle { position: relative; width: 160px; height: 160px; margin: 0 auto 16px; }
.score-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-bg { fill: none; stroke: #e7edf6; stroke-width: 10; }
.score-fg { fill: none; stroke: var(--blue-strong); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292; transition: stroke-dashoffset 1s ease, stroke .3s; }
.score-value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 900; color: var(--text); letter-spacing: 0; }
.score-grade { font-size: 14px; font-weight: 900; padding: 7px 14px; border-radius: 999px; display: inline-block; }
.grade-excellent { background: var(--success-light); color: #065f46; }
.grade-good { background: var(--blue-soft); color: #0369a1; }
.grade-average { background: var(--warning-light); color: #92400e; }
.grade-poor { background: var(--error-light); color: #991b1b; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 16px; border-radius: 16px; text-align: center; }
.stat-value { font-size: 30px; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; color: var(--text-light); }
.stat-passed { background: var(--success-light); } .stat-passed .stat-value { color: #065f46; }
.stat-warning { background: var(--warning-light); } .stat-warning .stat-value { color: #92400e; }
.stat-error { background: var(--error-light); } .stat-error .stat-value { color: #991b1b; }
.stat-info { background: var(--info-light); } .stat-info .stat-value { color: #155e75; }
#page-info { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13px; }
#page-info dt { color: var(--text-light); font-weight: 700; }
#page-info dd { margin: 0; color: var(--text); word-break: break-word; }

/* ----- FILTERS / KATEGORIE ----- */
.filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn { padding: 8px 15px; font-size: 13px; font-weight: 800; color: var(--text-muted); background: white; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; transition: all .15s; }
.filter-btn:hover { border-color: var(--blue-strong); color: #0369a1; }
.filter-btn.active { background: var(--navy-900); color: white; border-color: var(--navy-900); }
.category { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 16px; border: 1px solid var(--border); overflow: hidden; }
.category-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; user-select: none; background: linear-gradient(135deg, #f8fbff, #eef7ff); border-bottom: 1px solid #d7ebff; transition: background .15s; }
.category-header:hover { background: #e8f5ff; }
.category-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 900; color: #0f3d67; }
.category-counts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cat-pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.cat-pill.passed { background: var(--success-light); color: #065f46; }
.cat-pill.warning { background: var(--warning-light); color: #92400e; }
.cat-pill.error { background: var(--error-light); color: #991b1b; }
.cat-pill.info { background: var(--info-light); color: #155e75; }
.category-toggle { color: #0f3d67; transition: transform .2s; }
.category.collapsed .category-toggle { transform: rotate(-90deg); }
.category.collapsed .category-body { display: none; }
.category-body { padding: 4px 0; }
.check { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.check:last-child { border-bottom: none; }
.check.hidden { display: none; }
.check-icon { flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; color: white; margin-top: 2px; }
.check-passed .check-icon { background: var(--success); }
.check-warning .check-icon { background: var(--warning); }
.check-error .check-icon { background: var(--error); }
.check-info .check-icon { background: var(--info); }
.check-body { flex: 1; min-width: 0; }
.check-name { font-weight: 900; color: var(--text); margin-bottom: 2px; font-size: 14px; }
.check-message { color: var(--text-muted); font-size: 14px; margin-bottom: 4px; }
.check-advice { margin-top: 7px; padding: 9px 12px; background: #f0f9ff; border-left: 4px solid var(--blue-strong); border-radius: 8px; font-size: 13px; color: var(--text-muted); }
.check-data { margin-top: 7px; padding: 9px 10px; background: #f3f6fb; border-radius: 8px; font-size: 12px; font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, monospace; color: var(--text-muted); overflow-x: auto; white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow-y: auto; }
.check-data strong { color: var(--text); }
.footer { text-align: center; padding: 30px 0; color: var(--text-light); font-size: 13px; }

@media print {
    .hero, .features-grid, .toolbar, .filters, .form-card, #loading, .footer { display: none !important; }
    .main-wrap { margin-top: 0; }
    .card, .category { box-shadow: none; break-inside: avoid; }
    body { background: white; }
}
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-nav { margin-bottom: 32px; }
    .hero h1 { font-size: 46px; }
    .hero-visual { min-height: 360px; }
    .hero-visual img { min-height: 360px; }
    .hero-panel { max-width: 460px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card-wide { grid-column: span 2; }
    .brand-trust { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .recommendation-grid { grid-template-columns: repeat(2, 1fr); }
    .summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .container { padding: 0 15px; }
    .hero { padding: 20px 0 48px; }
    .hero-nav { margin-bottom: 26px; }
    .brand { font-size: 14px; }
    .brand-mark { width: 36px; height: 36px; border-radius: 9px; }
    .hero h1 { font-size: 37px; line-height: 1.04; }
    .lead { font-size: 16px; }
    .hero-checker { margin-top: 22px; padding: 20px; border-radius: 18px; }
    .hero-visual { display: none; }
    .article-head { display: block; }
    .article-head h2 { font-size: 27px; }
    .article-grid { grid-template-columns: 1fr; }
    .article-card-wide { grid-column: span 1; }
    .brand-trust { padding: 20px; }
    .trust-copy h2 { font-size: 24px; }
    .brand-rec-head { flex-direction: column; }
    .brand-contact { width: 100%; justify-content: center; }
    .recommendation-grid { grid-template-columns: 1fr; }
    .recommendation-card { min-height: 0; }
    .input-row, .form-head { flex-direction: column; }
    #analyze-btn { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .toolbar-actions button { flex: 1; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .score-circle { width: 140px; height: 140px; }
    .score-value { font-size: 36px; }
    .check { padding: 12px 14px; }
    .category-header { padding: 14px; align-items: flex-start; }
}

/* =====================================================
   MODERN BRAND REDESIGN — only CSS layer
   RejestracjaDomen.pl / SEO Checker
   ===================================================== */
:root {
    --navy-950: #020617;
    --navy-925: #07111f;
    --navy-900: #0b1220;
    --navy-850: #101d33;
    --navy-800: #17304f;
    --brand-blue: #0878d8;
    --brand-blue-2: #0ea5e9;
    --brand-cyan: #67e8f9;
    --brand-yellow: #ffd84d;
    --brand-yellow-2: #ffef9c;
    --ink: #0f172a;
    --muted-ink: #516173;
    --page: #f3f7fb;
    --page-2: #eef6ff;
    --line: rgba(20, 66, 112, .12);
    --card: rgba(255,255,255,.86);
    --glass: rgba(255,255,255,.12);
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, .10);
    --shadow-deep: 0 34px 90px rgba(2, 6, 23, .28);
    --radius: 18px;
    --radius-lg: 28px;
}

html { background: var(--page); }
body {
    background:
        radial-gradient(circle at 12% 12%, rgba(14,165,233,.16), transparent 30vw),
        radial-gradient(circle at 86% 22%, rgba(255,216,77,.16), transparent 28vw),
        linear-gradient(180deg, #f7fbff 0%, #edf5ff 58%, #f7f9fc 100%);
    color: var(--ink);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(8,120,216,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8,120,216,.06) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.container { max-width: 1180px; }
[hidden] { display: none !important; }

/* HERO: nowoczesny, oryginalny, bez zmian HTML */
.hero {
    isolation: isolate;
    min-height: 760px;
    padding: 28px 0 104px;
    background:
        radial-gradient(circle at 74% 18%, rgba(103,232,249,.20), transparent 22vw),
        radial-gradient(circle at 10% 22%, rgba(255,216,77,.13), transparent 26vw),
        linear-gradient(135deg, #020617 0%, #07162a 42%, #0b3159 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(115deg, rgba(2,6,23,.78) 0%, rgba(2,6,23,.38) 54%, rgba(8,120,216,.08) 100%),
        url("rejestracjadomen-seo-ai.png") right center / cover no-repeat;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -130px -10%;
    height: 260px;
    z-index: -1;
    background: linear-gradient(180deg, transparent 0%, var(--page) 74%);
}
.hero-bg {
    opacity: .42;
    background-image:
        linear-gradient(rgba(103,232,249,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103,232,249,.13) 1px, transparent 1px),
        radial-gradient(circle at 22px 22px, rgba(255,216,77,.35) 1.5px, transparent 2px);
    background-size: 64px 64px, 64px 64px, 128px 128px;
    mask-image: linear-gradient(120deg, #000 0%, rgba(0,0,0,.88) 42%, transparent 86%);
}
.hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .74fr);
    gap: 46px;
    align-items: center;
}
.eyebrow {
    padding: 8px 15px;
    border-color: rgba(103,232,249,.26);
    background: linear-gradient(135deg, rgba(103,232,249,.14), rgba(255,255,255,.06));
    color: #e8fbff;
    font-weight: 900;
    letter-spacing: .02em;
}
.eyebrow span { background: var(--brand-yellow); }
.hero h1 {
    margin-top: 16px;
    max-width: 950px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, #fff3a6, var(--brand-yellow), #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
}
.lead {
    max-width: 790px;
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.58;
    color: rgba(239,248,255,.88);
}

/* Formularz w hero */
.card,
.article-card,
.feature,
.trust-card,
.toolbar,
.category {
    border-color: var(--line);
}
.hero-checker {
    position: relative;
    max-width: 860px;
    margin-top: 22px;
    padding: 22px 26px;
    border: 1px solid rgba(255,255,255,.52);
    border-top: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,250,255,.90));
    box-shadow: 0 34px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
    overflow: hidden;
}
.hero-checker::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-cyan), var(--brand-blue));
    z-index: 1;
}
.form-head h2 { font-size: 27px; letter-spacing: -.025em; color: #9a7800; }
.form-head p { color: #52677d; }
.tool-badge {
    background: #07162a;
    color: #dff7ff;
    border: 1px solid rgba(103,232,249,.25);
    box-shadow: 0 10px 24px rgba(2,6,23,.16);
}
.input-row {
    gap: 12px;
    padding: 7px;
    border: 1px solid rgba(14,165,233,.35);
    border-radius: 20px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 36px rgba(15,23,42,.08);
    transition: border-color .2s, box-shadow .2s;
}
.input-row:hover {
    border-color: rgba(14,165,233,.6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 36px rgba(14,165,233,.18);
}
.input-row:focus-within {
    border-color: rgba(14,165,233,.85);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 4px rgba(14,165,233,.18), 0 14px 36px rgba(14,165,233,.22);
}
#url-input {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fcff, #f5f9fd);
    padding: 16px 18px;
    box-shadow: inset 0 0 0 1.5px rgba(14,165,233,.28);
    transition: box-shadow .2s, background .2s;
}
#url-input:hover { box-shadow: inset 0 0 0 1.5px rgba(14,165,233,.5); background: #fbfdff; }
#url-input:focus { box-shadow: inset 0 0 0 2px rgba(14,165,233,.75), 0 0 0 5px rgba(14,165,233,.15); background: #ffffff; }
#analyze-btn {
    min-height: 56px;
    color: #061225;
    background: linear-gradient(135deg, var(--brand-yellow), #ffe878 48%, var(--brand-cyan));
    box-shadow: 0 18px 34px rgba(255,216,77,.25), 0 10px 30px rgba(14,165,233,.18);
}
#analyze-btn:hover { transform: translateY(-1px); box-shadow: 0 24px 46px rgba(255,216,77,.28), 0 14px 36px rgba(14,165,233,.22); }
.hint { color: #6b7c8f; }

/* Hero visual jako panel audytu */
.hero-visual {
    min-height: 460px;
    border-radius: 34px;
    transform: rotate(1.1deg);
    box-shadow: 0 44px 90px rgba(0,0,0,.34);
}
.hero-visual img {
    min-height: 460px;
    filter: saturate(1.05) contrast(1.03);
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    pointer-events: none;
}
.hero-panel {
    top: 24px;
    left: 24px;
    right: 24px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(4,14,29,.74);
    border: 1px solid rgba(103,232,249,.18);
    box-shadow: 0 24px 52px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.10);
}
.mini-check {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.08);
}
.mini-check b { height: 28px; width: 32px; }
.hero-visual figcaption { left: 28px; right: 28px; bottom: 28px; }
.hero-visual figcaption strong { font-size: 21px; }

/* Main: sekcje jak nowoczesny landing */
.main-wrap { margin-top: -42px; }
.card,
.article-card,
.feature,
.brand-trust,
.toolbar,
.category {
    background: rgba(255,255,255,.86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}
.seo-article {
    position: relative;
    padding: 30px;
    margin-bottom: 24px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(240,249,255,.88));
    border: 1px solid rgba(8,120,216,.12);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.seo-article::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,216,77,.34), transparent 68%);
}
.article-kicker,
.section-label {
    color: #064d7f;
    background: linear-gradient(135deg, #e0f7ff, #fff7cf);
    border-color: rgba(14,165,233,.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.article-head h2,
.trust-copy h2,
.brand-rec-head h2 {
    letter-spacing: -.04em;
    color: #09182a;
}
.article-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.article-grid,
.features-grid,
.trust-grid,
.recommendation-grid { gap: 18px; }
.article-card,
.feature,
.trust-card,
.recommendation-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-card::before,
.feature::before,
.trust-card::before,
.recommendation-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-cyan), transparent);
    opacity: .75;
}
.article-card:hover,
.feature:hover,
.trust-card:hover,
.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(15,23,42,.13);
    border-color: rgba(14,165,233,.25);
}
.article-card span,
.feature span,
.trust-card span {
    background: #061426;
    color: #fff7bd;
    box-shadow: 0 10px 24px rgba(2,6,23,.14);
}
.article-card h3,
.feature strong,
.trust-card strong,
.recommendation-card h3 { color: #0a1a2d; }
.article-card p,
.feature p,
.trust-card p,
.recommendation-card p,
.article-author,
.trust-copy p,
.brand-rec-head p { color: var(--muted-ink); }
.article-card-accent {
    background: linear-gradient(135deg, #fff6c7, #e7fbff);
    border-color: rgba(255,216,77,.44);
}
.features-grid { margin-bottom: 26px; }
.feature { padding: 22px; }

/* Sekcja zaufania */
.brand-trust {
    position: relative;
    overflow: hidden;
    grid-template-columns: .92fr 1.08fr;
    padding: 34px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(103,232,249,.22), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,247,255,.9));
}
.brand-trust::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--brand-yellow), var(--brand-cyan), var(--brand-blue));
}

/* Loading */
.loading-card {
    border-radius: 30px;
    background: linear-gradient(135deg, #fff, #eef9ff);
}
.spinner {
    width: 54px;
    height: 54px;
    border-color: rgba(14,165,233,.13);
    border-top-color: var(--brand-yellow);
    box-shadow: 0 0 0 8px rgba(255,216,77,.10);
}
.error-card {
    border-left: 0;
    border-top: 5px solid var(--error);
    border-radius: 24px;
}

/* Wyniki */
.toolbar {
    padding: 18px;
    border-radius: 24px;
}
.toolbar-info strong { font-size: 15px; }
.btn-secondary {
    color: #064d7f;
    background: rgba(240,249,255,.92);
    border-color: rgba(14,165,233,.20);
    border-radius: 14px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(14,165,233,.07);
}
.btn-secondary:hover {
    background: #06213c;
    color: #fff;
    border-color: #06213c;
    text-decoration: none;
    transform: translateY(-1px);
}
.summary-grid { grid-template-columns: 300px 1fr 1fr; gap: 22px; }
.score-card,
.stats-card,
.page-card { border-radius: 30px; }
.score-circle { width: 174px; height: 174px; }
.score-bg { stroke: #dceafa; }
.score-fg { stroke-width: 11; filter: drop-shadow(0 0 8px rgba(14,165,233,.23)); }
.score-value { font-size: 50px; letter-spacing: -.04em; }
.score-grade { border: 1px solid currentColor; border-color: rgba(255,255,255,.2); }
.stats-grid { gap: 14px; }
.stat {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.66);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.stat-passed { background: linear-gradient(135deg, #dcfce7, #f0fdf4); }
.stat-warning { background: linear-gradient(135deg, #fef3c7, #fffbea); }
.stat-error { background: linear-gradient(135deg, #fee2e2, #fff1f2); }
.stat-info { background: linear-gradient(135deg, #cffafe, #ecfeff); }
#page-info dt { color: #64748b; }
#page-info dd { font-weight: 650; }

/* Rekomendacje marki */
.brand-recommendations {
    position: relative;
    border-top: 0;
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,216,77,.22), transparent 26%),
        linear-gradient(135deg, #ffffff, #f0f9ff);
}
.brand-recommendations::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-cyan), var(--brand-blue));
}
.recommendation-card {
    min-height: 230px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}
.recommendation-card span {
    background: #07162a;
    color: #e8fbff;
}
.recommendation-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #075985;
}
.recommendation-card a::after { content: "→"; transition: transform .15s ease; }
.recommendation-card a:hover::after { transform: translateX(3px); }

/* Filtry i kategorie */
.filters { gap: 10px; margin: 26px 0 20px; }
.filter-btn {
    padding: 10px 17px;
    background: rgba(255,255,255,.86);
    border-color: rgba(8,120,216,.13);
    box-shadow: 0 8px 20px rgba(15,23,42,.05);
}
.filter-btn:hover { transform: translateY(-1px); }
.filter-btn.active {
    background: linear-gradient(135deg, #061426, #12345a);
    color: #fff;
    border-color: rgba(255,255,255,.08);
}
.category {
    border-radius: 26px;
    overflow: hidden;
}
.category-header {
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(242,249,255,.92));
}
.category-title span:last-child { font-weight: 950; }
.cat-pill {
    border-radius: 999px;
    font-weight: 900;
}
.check {
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,.07);
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}
.check:hover { transform: translateX(3px); box-shadow: 0 12px 30px rgba(15,23,42,.08); }
.check-icon {
    box-shadow: 0 10px 22px rgba(15,23,42,.10);
}
.check-advice {
    border-radius: 14px;
    border: 1px solid rgba(255,216,77,.32);
    background: #fff8d9;
}
.check-data {
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.08);
    background: #f7fafc;
}

.footer {
    margin: 46px 0 30px;
    padding: 24px;
    border-radius: 28px;
    color: #dcefff;
    text-align: center;
    background:
        radial-gradient(circle at 20% 0%, rgba(103,232,249,.18), transparent 30%),
        linear-gradient(135deg, #07162a, #0b3159);
    box-shadow: var(--shadow-soft);
}
.footer p { margin: 0; }

/* Mobile */
@media (max-width: 1020px) {
    .hero { min-height: auto; padding-bottom: 86px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 420px; transform: none; }
    .hero-visual img { min-height: 420px; }
    .summary-grid { grid-template-columns: 1fr; }
    .article-grid, .features-grid, .trust-grid, .recommendation-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-trust { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .container { padding: 0 16px; }
    .hero { padding-top: 18px; }
    .hero-nav { margin-bottom: 34px; }
    .brand { max-width: 100%; font-size: 14px; }
    .hero h1 { font-size: clamp(34px, 12vw, 48px); }
    .lead { font-size: 16px; }
    .hero-checker, .seo-article, .brand-trust { padding: 20px; border-radius: 26px; }
    .form-head, .brand-rec-head, .toolbar { flex-direction: column; align-items: stretch; }
    .tool-badge { align-self: flex-start; }
    .input-row { flex-direction: column; }
    #analyze-btn { width: 100%; justify-content: center; }
    .article-grid, .features-grid, .trust-grid, .recommendation-grid { grid-template-columns: 1fr; }
    .article-card-wide { grid-column: auto; }
    .hero-visual { min-height: 360px; }
    .hero-visual img { min-height: 360px; }
    .hero-panel { left: 16px; right: 16px; top: 16px; }
    .toolbar-actions { width: 100%; }
    .btn-secondary { justify-content: center; flex: 1 1 auto; }
}
@media (max-width: 460px) {
    .hero-visual { display: none; }
    .main-wrap { margin-top: -46px; }
    .article-head h2, .trust-copy h2 { font-size: 26px; }
    .card { padding: 20px; }
    .stat-value { font-size: 25px; }
}

/* ============================================================
   HERO: granatowe tło · ukośne fale · logo · przydymiona karta 3D
   ============================================================ */

/* --- tło hero: czysty granat, bez obrazka, bez fady na dole --- */
.hero {
    overflow: visible;
    background:
        radial-gradient(ellipse 58% 46% at 74% 0%,  rgba(8,120,216,.22), transparent),
        radial-gradient(ellipse 46% 38% at  4% 96%, rgba(103,232,249,.11), transparent),
        linear-gradient(158deg, #020b19 0%, #041326 44%, #071f3d 100%);
}
.hero::before,
.hero::after { display: none; }

/* --- ukośne fale trzema warstwami pod różnym kątem --- */
.hero-bg {
    opacity: 1;
    background-image:
        repeating-linear-gradient(
            -55deg,
            transparent 0px, transparent 18px,
            rgba(103,232,249,.065) 18px, rgba(103,232,249,.065) 19px
        ),
        repeating-linear-gradient(
            -35deg,
            transparent 0px, transparent 36px,
            rgba(14,165,233,.045) 36px, rgba(14,165,233,.045) 37px
        ),
        repeating-linear-gradient(
            -70deg,
            transparent 0px, transparent 74px,
            rgba(255,216,77,.022) 74px, rgba(255,216,77,.022) 75px
        );
    background-size: 140px 140px, 260px 260px, 380px 380px;
    mask-image: none;
}

/* --- logo zamiast "RD" --- */
.brand-mark {
    background: rgba(255,255,255,.94);
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 0;
}
.brand-mark img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* --- przydymiona karta 3D (brak obrazka) --- */
.hero-visual {
    overflow: visible;
    min-height: 440px;
    border-radius: 32px;
    background: rgba(3, 11, 28, 0.76);
    backdrop-filter: blur(26px) saturate(1.5);
    border: 1px solid rgba(103,232,249,.22);
    box-shadow:
        0 64px 120px rgba(0,0,0,.56),
        inset 0 1px 0 rgba(255,255,255,.10),
        0 0 90px rgba(8,120,216,.13);
    transform: perspective(1100px) rotateY(-9deg) rotateX(5deg) rotate(0.4deg);
}
.hero-visual img      { display: none; }
.hero-visual::before  { display: none; }
.hero-visual::after {
    background:
        radial-gradient(circle at 72% 78%, rgba(103,232,249,.13), transparent 42%),
        radial-gradient(circle at 18% 18%, rgba(255,216,77,.08),  transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,.04) 0%, transparent 55%);
    z-index: 1;
}

/* --- panel unosi się ponad kartą --- */
.hero-panel {
    top: -22px;
    left: -14px;
    right: 18px;
    z-index: 4;
    background: rgba(2, 9, 22, 0.90);
    border: 1px solid rgba(103,232,249,.28);
    border-radius: 22px;
    padding: 18px;
    box-shadow:
        0 38px 72px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(18px);
    transform: perspective(800px) rotateX(-2deg) rotateY(2deg);
}

/* --- mini-checks z subtelnym wyprzesunięciem głębi --- */
.mini-check:nth-child(1) {
    transform: translateX(-6px) rotate(-.7deg);
    box-shadow: 5px 8px 18px rgba(0,0,0,.38);
}
.mini-check:nth-child(2) {
    box-shadow: 4px 7px 16px rgba(0,0,0,.28);
}
.mini-check:nth-child(3) {
    transform: translateX(-3px) rotate(.4deg);
    box-shadow: 3px 6px 14px rgba(0,0,0,.22);
}

/* --- figcaption wysuwa się poniżej karty --- */
.hero-visual figcaption {
    bottom: -24px;
    left: 18px;
    right: -18px;
    padding: 14px 18px;
    background: rgba(2, 9, 24, 0.88);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow:
        0 24px 50px rgba(0,0,0,.50),
        inset 0 1px 0 rgba(255,255,255,.08);
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg);
}

/* --- żółta odznaka SEO wychodząca z górnego rogu karty --- */
.hero-deco-badge {
    position: absolute;
    top: -20px;
    right: -24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd84d, #ffe97a 52%, #fff3a6);
    color: #05111f;
    text-align: center;
    font-weight: 900;
    box-shadow:
        0 0 0 6px  rgba(255,216,77,.14),
        0 0 0 13px rgba(255,216,77,.06),
        0 24px 46px rgba(255,216,77,.38),
        0 8px 18px  rgba(0,0,0,.30);
    transform: perspective(600px) rotateX(8deg) rotateY(-14deg);
}
.hero-deco-badge strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.04em;
    display: block;
}
.hero-deco-badge span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .65;
}

/* --- responsywność: wyłącz 3D na małych ekranach --- */
@media (max-width: 1020px) {
    .hero-visual {
        overflow: hidden;
        transform: none;
        min-height: 360px;
    }
    .hero-panel   { top: 16px; left: 16px; right: 16px; transform: none; }
    .hero-visual figcaption { bottom: 18px; right: 18px; transform: none; }
    .hero-deco-badge { display: none; }
    .mini-check:nth-child(1),
    .mini-check:nth-child(2),
    .mini-check:nth-child(3) { transform: none; box-shadow: none; }
}
@media (max-width: 460px) {
    .hero-visual { display: none; }
}

/* --- logo: czyste białe tło, tylko logo --- */
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ffffff;
    padding: 6px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,.08),
        0 4px 14px rgba(0,0,0,.18);
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- karta "Sprawdź stronę": białe tło + głębia elementów --- */
.hero-checker {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,.7);
}
.hero-checker .input-row {
    background: #f4f8ff;
    border: 1px solid rgba(8,120,216,.13);
    box-shadow:
        0 6px 20px rgba(15,23,42,.09),
        inset 0 1px 0 rgba(255,255,255,.9);
}
.hero-checker #url-input {
    background: #ffffff;
    box-shadow:
        inset 0 1px 4px rgba(15,23,42,.07),
        0 1px 0 rgba(255,255,255,.8);
    border-radius: 13px;
}
.hero-checker #analyze-btn {
    box-shadow:
        0 10px 28px rgba(255,216,77,.30),
        0 6px 18px rgba(14,165,233,.20),
        0 2px 6px rgba(0,0,0,.12);
}
.hero-checker .form-head {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(15,23,42,.06);
    margin-bottom: 20px;
}
.hero-checker .tool-badge {
    box-shadow: 0 4px 12px rgba(2,6,23,.12);
}
