:root {
    --bg: #0b1020;
    --surface: #121a2f;
    --surface2: #1a2440;
    --text: #eef2ff;
    --muted: #9aa8c7;
    --accent: #6c8cff;
    --accent2: #3dd6b5;
    --danger: #ff6b8a;
    --ok: #3dd6b5;
    --app-a: #6c8cff;
    --app-b: #3dd6b5;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(0,0,0,.25);
    --page-gutter: clamp(1rem, 4vw, 1.5rem);
}
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: linear-gradient(180deg, #0a0f1e 0%, #0d1328 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}
main {
    overflow-x: hidden;
    max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 100%); max-width: 1120px; margin: 0 auto; padding-inline: var(--page-gutter); min-width: 0; }
.compare-page { min-width: 0; max-width: 100%; overflow-x: hidden; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(11,16,32,.92);
    border-bottom: 1px solid rgba(255,255,255,.06);
    overflow-x: hidden;
    max-width: 100%;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-block: .85rem; gap: 1rem; position: relative;
    flex-wrap: wrap;
}
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; flex-shrink: 0; }
.logo span { color: var(--accent2); }

.nav {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.nav-simple { gap: .25rem 1.25rem; }
.nav-link {
    color: var(--muted); font-weight: 500; font-size: .9rem;
    padding: .35rem .55rem; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-link.is-active { color: var(--accent2); background: rgba(61,214,181,.1); }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0;
    background: var(--surface2); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; cursor: pointer; flex-shrink: 0;
}
.nav-toggle-bar {
    display: block; width: 18px; height: 2px; margin: 0 auto;
    background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.site-header.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-toggle {
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    background: var(--surface2);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}
.header-search-desktop { flex: 1 1 280px; max-width: 420px; min-width: 0; }
.mobile-search-panel {
    flex: 1 1 100%;
    order: 2;
    width: 100%;
    padding-bottom: .25rem;
}
.mobile-search-panel[hidden] { display: none !important; }
.mobile-search-panel:not([hidden]) { display: block; }

/* Site search */
.site-search { position: relative; width: 100%; }
.site-search-form {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--surface2);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: .35rem .45rem .35rem .75rem;
    transition: border-color .2s, box-shadow .2s;
}
.site-search-form:focus-within {
    border-color: rgba(108,140,255,.45);
    box-shadow: 0 0 0 3px rgba(108,140,255,.12);
}
.site-search-icon { color: var(--muted); flex-shrink: 0; display: grid; place-items: center; }
.site-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .92rem;
    padding: .45rem 0;
    outline: none;
}
.site-search-input::placeholder { color: rgba(154,168,199,.7); }
.site-search-clear {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .25rem;
}
.site-search-submit {
    padding: .5rem .85rem;
    font-size: .82rem;
    flex-shrink: 0;
}
.site-search-hero .site-search-form {
    padding: .5rem .55rem .5rem 1rem;
    border-radius: 14px;
}
.site-search-hero .site-search-input { font-size: 1rem; }
.site-search-dropdown {
    position: absolute;
    top: calc(100% + .45rem);
    left: 0; right: 0;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 60;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    padding: .5rem;
}
.site-search-dropdown[hidden] { display: none !important; }
.search-group-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent2);
    padding: .5rem .65rem .35rem;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .75rem;
    border-radius: 10px;
    transition: background .15s;
}
.search-result-item:hover,
.search-result-item.is-active { background: rgba(108,140,255,.1); }
.search-result-icons { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.search-result-icons .app-icon-wrap { --icon-size: 28px; }
.search-result-icons .app-icon-img,
.search-result-icons .app-icon-skeleton { border-radius: 8px; }
.search-result-body { min-width: 0; }
.search-result-title {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result-meta { display: block; font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.search-empty-dropdown { padding: 1rem .75rem; color: var(--muted); font-size: .9rem; }
.search-view-all {
    display: block;
    text-align: center;
    padding: .75rem;
    margin-top: .25rem;
    border-top: 1px solid rgba(255,255,255,.06);
    color: var(--accent2);
    font-weight: 600;
    font-size: .88rem;
}
.search-view-all:hover { background: rgba(61,214,181,.08); border-radius: 0 0 10px 10px; }

/* Hero / Home */
.hero-upgraded {
    padding: 3rem 0 2.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(108,140,255,.18), transparent),
        radial-gradient(ellipse 50% 40% at 90% 20%, rgba(61,214,181,.08), transparent);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.hero-upgraded-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    align-items: center;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.25rem;
}
.hero-badge {
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent2);
    background: rgba(61,214,181,.1);
    border: 1px solid rgba(61,214,181,.2);
    padding: .35rem .7rem;
    border-radius: 999px;
}
.hero-search-wrap { min-width: 0; }
.category-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.search-page .site-search-hero { margin-bottom: 1.5rem; max-width: 720px; }
.search-count { color: var(--muted); margin: 0 0 1.5rem; }
.search-section { margin-bottom: 2rem; }
.search-section h2 { font-size: 1.15rem; margin: 0 0 1rem; }
.search-empty strong { color: var(--text); }

/* Hero / Home */
.hero { padding: 3.5rem 0 2rem; }
.eyebrow { color: var(--accent2); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 .5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: .5rem 0 1rem; }
.hero-sub { color: var(--muted); max-width: 620px; font-size: 1.05rem; }
.section { padding-block: 2rem 3rem; }
.section-block { margin: 2.5rem 0; }
.section-head h2 { margin: 0 0 .35rem; font-size: 1.6rem; }
.section-head p { margin: 0 0 1.5rem; color: var(--muted); }
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.section-head-row > div .section-head p,
.section-head-row > div p { margin-bottom: 0; }
.section-head-row h2 { margin: 0 0 .35rem; }
.section-head-cta { flex-shrink: 0; align-self: center; }
.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .25rem .6rem;
    border-radius: 999px;
    margin-bottom: .5rem;
}
.section-label-trending {
    color: #ffb86b;
    background: rgba(255,184,107,.12);
    border: 1px solid rgba(255,184,107,.25);
}
.card { position: relative; }
.card-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #ffb86b;
    background: rgba(255,184,107,.12);
    border: 1px solid rgba(255,184,107,.25);
    padding: .2rem .5rem;
    border-radius: 999px;
}
.card-trending:hover { border-color: rgba(255,184,107,.35); }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 1.1rem;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(108,140,255,.35);
    box-shadow: var(--shadow);
}
.card-icons { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.card-icons img { border-radius: 14px; background: #fff; }
.app-icon-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: var(--icon-size, 56px);
    height: var(--icon-size, 56px);
    flex-shrink: 0;
}
.app-icon-skeleton {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--surface2) 0%, #243052 50%, var(--surface2) 100%);
    background-size: 200% 100%;
    animation: icon-shimmer 1.4s ease-in-out infinite;
}
.app-icon-img {
    position: relative;
    z-index: 1;
    width: var(--icon-size, 56px);
    height: var(--icon-size, 56px);
    border-radius: 14px;
    background: #fff;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s ease;
}
.app-icon-img.is-loaded { opacity: 1; }
.app-icon-wrap:has(.app-icon-img.is-loaded) .app-icon-skeleton { opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.app-icon-wrap:has(.app-icon-img.is-error) .app-icon-skeleton { display: none; }
.app-icon-img.is-error { opacity: 1; background: var(--surface2); }
@keyframes icon-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .app-icon-skeleton { animation: none; background: var(--surface2); }
    .app-icon-img { transition: none; }
}
.vs {
    font-weight: 800; font-size: .75rem; color: var(--accent);
    background: rgba(108,140,255,.15); padding: .2rem .45rem; border-radius: 999px;
}
.card h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.card-meta { display: block; margin-top: .5rem; color: var(--muted); font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
    background: var(--surface2); border: 1px solid rgba(255,255,255,.08);
    padding: .45rem .8rem; border-radius: 999px; font-size: .9rem;
}
.chip:hover { border-color: var(--accent2); }
.section-cta { margin-top: 1.25rem; }
.section-cta .btn-outline { display: inline-block; }

/* Compare page */
.breadcrumb { color: var(--muted); font-size: .88rem; margin: 1.25rem 0 .75rem; line-height: 1.5; }
.breadcrumb .sep { margin: 0 .35rem; opacity: .45; }
.breadcrumb-current {
    display: inline-block;
    max-width: min(200px, 45vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    color: var(--muted);
}
@media (min-width: 640px) {
    .breadcrumb-current { max-width: 360px; }
}
@media (min-width: 900px) {
    .breadcrumb-current { max-width: none; white-space: normal; }
}

.compare-head {
    margin: 0 0 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.article-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
    margin-bottom: 1rem;
}
.meta-chip {
    display: inline-flex; align-items: center;
    font-size: .75rem; font-weight: 600;
    letter-spacing: .04em;
    padding: .3rem .7rem;
    border-radius: 999px;
    border: 1px solid transparent;
}
.meta-cat {
    color: var(--accent2);
    background: rgba(61,214,181,.1);
    border-color: rgba(61,214,181,.22);
    text-decoration: none;
    transition: background .15s;
}
.meta-cat:hover { background: rgba(61,214,181,.18); color: var(--accent2); }
.meta-date { color: var(--muted); background: var(--surface2); border-color: rgba(255,255,255,.08); }
.meta-page { color: var(--accent); background: rgba(108,140,255,.1); border-color: rgba(108,140,255,.2); }
.compare-head h1 {
    font-size: clamp(1.45rem, 4.5vw, 2.35rem);
    line-height: 1.22;
    margin: 0 0 .85rem;
    letter-spacing: -.02em;
}
.lead {
    color: #b8c5e0;
    font-size: clamp(.95rem, 2.5vw, 1.06rem);
    max-width: 780px;
    margin: 0;
    line-height: 1.65;
}

/* Stats cards */
.stats-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 2rem;
}
.stats-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
}
.stats-card.is-winner {
    border-color: rgba(61,214,181,.45);
    box-shadow: 0 0 0 1px rgba(61,214,181,.15), var(--shadow);
}
.stats-card img { margin: 0 auto .85rem; border-radius: 18px; background: #fff; width: 64px; height: 64px; }
.stats-card .app-icon-wrap { margin: 0 auto .85rem; }
.stats-card .col-head .app-icon-wrap,
.col-head .app-icon-wrap { margin: 0; }
.shots-header .app-icon-wrap { flex-shrink: 0; }
.stats-card h2 { margin: 0 0 .5rem; font-size: 1.1rem; line-height: 1.3; }
.winner-pill {
    display: inline-block;
    background: linear-gradient(135deg, rgba(61,214,181,.2), rgba(108,140,255,.2));
    color: var(--accent2);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .28rem .65rem;
    border-radius: 999px;
    margin-bottom: .75rem;
}
.stat-list { margin: 0 0 1rem; text-align: left; }
.stat-list div {
    display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .88rem;
}
.stat-list dt { color: var(--muted); margin: 0; flex-shrink: 0; }
.stat-list dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.stats-vs {
    align-self: center;
    font-weight: 800;
    font-size: .95rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #4d6bff);
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(108,140,255,.35);
    flex-shrink: 0;
}

/* Pros / Cons */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.compare-col {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.35rem;
    border: 1px solid rgba(255,255,255,.06);
}
.app-col-a { border-top: 3px solid var(--app-a); }
.app-col-b { border-top: 3px solid var(--app-b); }
.col-head { display: flex; align-items: center; gap: .65rem; margin-bottom: .75rem; }
.col-head img { border-radius: 10px; background: #fff; flex-shrink: 0; }
.col-head h3 { margin: 0; font-size: 1.05rem; }
.app-summary { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; line-height: 1.55; }
.label-ok, .label-bad { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin: 1rem 0 .5rem; }
.label-ok { color: var(--ok); }
.label-bad { color: var(--danger); }
.feature-list { list-style: none; margin: 0 0 .5rem; padding: 0; }
.feature-list li {
    position: relative;
    padding: .45rem 0 .45rem 1.6rem;
    font-size: .93rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.feature-list li::before {
    position: absolute; left: 0; top: .5rem;
    font-weight: 700; font-size: .85rem;
}
.feature-list.ok li::before { content: "✓"; color: var(--ok); }
.feature-list.bad li::before { content: "✕"; color: var(--danger); }

/* Verdict */
.verdict-inner {
    background: linear-gradient(135deg, rgba(61,214,181,.1), rgba(108,140,255,.1));
    border: 1px solid rgba(61,214,181,.22);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
}
.verdict h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.verdict-winner { color: var(--accent2); margin: 0 0 .75rem; font-size: 1rem; }
.verdict p:last-child { margin: 0; color: #d7e0f7; }

/* Screenshots — per app */
.screenshots-block {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 1.25rem 1.25rem 1rem;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    contain: inline-size;
}
.shots-header {
    display: flex; align-items: center; gap: .85rem;
    margin-bottom: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.shots-header img { border-radius: 12px; background: #fff; flex-shrink: 0; }
.shots-header h2 { margin: 0; font-size: 1.15rem; }
.shots-header .muted { margin: .15rem 0 0; font-size: .82rem; }
.shots-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.shots-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(156px, 38vw);
    gap: .85rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: .5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(108,140,255,.4) transparent;
}
.shots-scroll::-webkit-scrollbar { height: 6px; }
.shots-scroll::-webkit-scrollbar-thumb { background: rgba(108,140,255,.35); border-radius: 999px; }
.shot-item {
    position: relative;
    margin: 0;
    min-width: 0;
    scroll-snap-align: start;
}
.shot-item img {
    width: 100%;
    height: auto;
    max-height: 280px;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.1);
    background: #0a0f1e;
    object-fit: cover;
}

/* FAQ */
.faq h2 { margin: 0 0 1rem; font-size: 1.35rem; }
.faq-item {
    background: var(--surface);
    border-radius: 12px;
    margin-bottom: .65rem;
    border: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 1rem 1.1rem;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "›"; font-size: 1.2rem; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(90deg); }
.faq-answer { padding: 0 1.1rem 1rem; color: #c8d4f0; font-size: .95rem; }
.faq-answer p { margin: 0; }

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #4d6bff);
    color: #fff !important;
    text-decoration: none !important;
    padding: .7rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    transition: filter .15s, transform .15s;
    border: none;
    cursor: pointer;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-block { display: block; width: 100%; text-align: center; margin-top: auto; }
.btn-outline {
    background: transparent;
    border: 1px solid rgba(108,140,255,.5);
    color: var(--text) !important;
}
.btn-outline:hover { background: rgba(108,140,255,.12); filter: none; }

.muted { color: var(--muted); }
.related h2 { margin: 0 0 1rem; font-size: 1.35rem; }

/* Footer */
.site-footer {
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(8,12,24,.6);
    padding: 3rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem 1.5rem;
    padding-bottom: 2.5rem;
}
.footer-logo { display: inline-block; margin-bottom: .75rem; }
.footer-tagline { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0; max-width: 300px; }
.footer-col h3 {
    margin: 0 0 1rem; font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; color: var(--accent2);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: var(--muted); font-size: .9rem; transition: color .15s;
}
.footer-links a:hover { color: var(--text); }
.footer-links .count { color: rgba(154,168,199,.6); font-size: .82rem; }
.footer-view-all { margin-top: .75rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer-view-all a { color: var(--accent2); font-weight: 600; font-size: .88rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-block: 1.5rem 2.5rem;
    text-align: center;
}
.footer-bottom p { margin: 0 0 .5rem; color: var(--muted); font-size: .85rem; }
.footer-note { max-width: 640px; margin-left: auto !important; margin-right: auto !important; line-height: 1.5; }
.footer-email a { color: var(--accent2); font-weight: 600; }

/* Static pages */
.static-page { padding-block: 1.25rem 3rem; }
.static-head {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.static-head h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 0 0 .5rem;
    letter-spacing: -.02em;
}
.prose-page { max-width: 760px; }
.prose-page h2 { font-size: 1.15rem; margin: 2rem 0 .75rem; color: var(--text); }
.prose-page h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.prose-page p, .prose-page li { color: #c8d4f0; font-size: .96rem; line-height: 1.65; }
.prose-page ul, .prose-page ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose-page li { margin-bottom: .35rem; }
.prose-page a:not(.btn) { color: var(--accent2); text-decoration: underline; text-underline-offset: 2px; }

/* Contact page */
.contact-hero { margin-bottom: 1.75rem; }
.contact-lead {
    color: #b8c5e0;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.5rem 1.35rem;
    transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover {
    border-color: rgba(108,140,255,.3);
    box-shadow: var(--shadow);
}
.contact-card-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: rgba(108,140,255,.12);
    border-radius: 12px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}
.contact-card h2 { margin: 0 0 .5rem; font-size: 1.05rem; }
.contact-card p { margin: 0 0 1rem; font-size: .9rem; color: var(--muted); line-height: 1.55; flex-grow: 1; }
.contact-email-line {
    font-size: .88rem;
    font-weight: 600;
    color: var(--accent2);
    margin: 0 0 1rem !important;
    word-break: break-all;
}
.contact-info-box {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    max-width: 640px;
}
.contact-info-box h2 { margin: 0 0 .5rem; font-size: 1rem; }
.contact-info-box p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.contact-info-box strong { color: var(--text); }
.dmca-agent { margin: 1rem 0 1.5rem; }

.empty { padding: 2rem; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); }

/* Categories browse page */
.categories-page { padding-top: .5rem; }
.category-group { margin-bottom: 2.5rem; }
.category-group-title {
    font-size: 1.15rem; margin: 0 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: var(--accent2);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}
.category-tile {
    display: flex; flex-direction: column; gap: .35rem;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    transition: border-color .2s, transform .15s;
}
.category-tile:hover {
    border-color: rgba(108,140,255,.35);
    transform: translateY(-2px);
}
.category-tile-name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.category-tile-count { font-size: .78rem; color: var(--muted); }

.sitemap-section { margin-top: 2rem; }
.sitemap-section h2 { font-size: 1.05rem; margin-bottom: .75rem; color: var(--text); }
.sitemap-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.sitemap-links-cols { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sitemap-links a { color: var(--accent); text-decoration: none; }
.sitemap-links a:hover { text-decoration: underline; }
.sitemap-count { margin-left: .35rem; font-size: .78rem; color: var(--muted); }
.sitemap-xml-note { margin-top: 2.5rem; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-tagline { max-width: none; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 801px) {
    .nav-simple { flex-wrap: nowrap; }
    .mobile-search-panel { display: none !important; }
    .header-inner { flex-wrap: nowrap; }
}

@media (max-width: 800px) {
    .search-toggle { display: flex; }
    .header-search-desktop { display: none; }
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: .65rem;
    }
    .logo { grid-column: 1; grid-row: 1; }
    .search-toggle { grid-column: 2; grid-row: 1; margin-left: 0; }
    .nav-toggle { display: flex; grid-column: 3; grid-row: 1; margin-left: 0; }
    .mobile-search-panel { grid-column: 1 / -1; grid-row: 2; }
    .nav-simple {
        display: none;
        position: static;
        flex: 1 1 100%;
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 0;
        background: rgba(11,16,32,.98);
        flex-direction: column; align-items: stretch;
        gap: 0; padding: .75rem 0 1rem;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .site-header.is-open .nav-simple { display: flex; }
    .nav-simple { grid-column: 1 / -1; grid-row: 3; }
    .nav-simple .nav-link { padding: .65rem .5rem; font-size: .95rem; }

    .stats-compare { grid-template-columns: 1fr; gap: .75rem; }
    .stats-vs { justify-self: center; margin: .15rem auto; order: unset; z-index: 2; }
    .compare-grid { grid-template-columns: 1fr; }
    .shot-item img { max-height: 220px; }
    .compare-head h1,
    .lead,
    .stats-card h2,
    .col-head h3 { overflow-wrap: anywhere; word-break: break-word; }
    .hero-upgraded-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .site-search-submit { display: none; }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .grid {
        grid-template-columns: 1fr;
    }
}

/* 404 page */
.error-page { padding-bottom: 2rem; }
.error-hero {
    padding: 3rem 0 2rem;
    text-align: center;
}
.error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem 1rem;
    margin-bottom: 1.25rem;
}
.error-digit {
    font-size: clamp(4rem, 14vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error-icon {
    color: var(--accent);
    display: grid;
    place-items: center;
    animation: error-pulse 2.5s ease-in-out infinite;
}
@keyframes error-pulse {
    0%, 100% { opacity: .7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.error-hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    margin: 0 0 .75rem;
    letter-spacing: -.02em;
}
.error-path {
    color: var(--muted);
    font-size: .88rem;
    margin: 0 0 .75rem;
}
.error-path code {
    background: var(--surface2);
    border: 1px solid rgba(255,255,255,.08);
    padding: .15rem .5rem;
    border-radius: 6px;
    font-size: .85rem;
    color: var(--accent2);
    word-break: break-all;
}
.error-hero .hero-sub {
    margin: 0 auto 1.75rem;
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}
.error-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}
.error-help-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.error-help-card:hover {
    transform: translateY(-3px);
    border-color: rgba(108,140,255,.35);
    box-shadow: var(--shadow);
}
.error-help-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: rgba(108,140,255,.12);
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: .85rem;
}
.error-help-card h2 {
    margin: 0 0 .45rem;
    font-size: 1.05rem;
}
.error-help-card p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}
.error-section { padding-top: 1rem; }

@media (max-width: 768px) {
    .error-help-grid { grid-template-columns: 1fr; }
    .error-actions { flex-direction: column; align-items: stretch; }
    .error-actions .btn { text-align: center; }
}

/* FAQ page */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(61,214,181,.25); }
.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: .98rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--surface2);
    border-radius: 8px;
    color: var(--accent2);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform .2s, background .2s;
}
.faq-item[open] summary::after {
    content: '−';
    background: rgba(61,214,181,.15);
}
.faq-item summary:hover { background: rgba(255,255,255,.03); }
.faq-item p {
    margin: 0;
    padding: 0 1.25rem 1.15rem;
    color: #c8d4f0;
    font-size: .95rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255,255,255,.05);
    padding-top: .85rem;
}

/* How It Works page */
.how-lead {
    color: #b8c5e0;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 2rem;
    max-width: 680px;
}
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.how-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    transition: border-color .2s, box-shadow .2s;
}
.how-step:hover {
    border-color: rgba(108,140,255,.3);
    box-shadow: var(--shadow);
}
.how-step-num {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(108,140,255,.2), rgba(61,214,181,.15));
    border: 1px solid rgba(108,140,255,.25);
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent2);
    flex-shrink: 0;
}
.how-step-body h2 {
    margin: 0 0 .5rem;
    font-size: 1.1rem;
}
.how-step-body p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.6;
}
.how-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.how-trust-card {
    background: var(--surface2);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
}
.how-trust-icon {
    display: inline-block;
    font-size: 1.35rem;
    margin-bottom: .65rem;
}
.how-trust-card h3 {
    margin: 0 0 .4rem;
    font-size: 1rem;
}
.how-trust-card p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}
.how-trust-card a { color: var(--accent2); }
.how-cta {
    text-align: center;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem 1.5rem;
}
.how-cta h2 {
    margin: 0 0 .5rem;
    font-size: 1.35rem;
}
.how-cta > p {
    margin: 0 0 1.25rem;
    color: var(--muted);
}
.how-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}
.error-help-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Cookie Policy table */
.cookie-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.08);
}
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    min-width: 520px;
}
.cookie-table th,
.cookie-table td {
    padding: .85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.06);
    vertical-align: top;
}
.cookie-table th {
    background: var(--surface2);
    color: var(--accent2);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.cookie-table td { color: #c8d4f0; line-height: 1.55; }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table td strong { color: var(--text); }

@media (max-width: 900px) {
    .error-help-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .how-trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .error-help-grid-4 { grid-template-columns: 1fr; }
    .how-step { grid-template-columns: 1fr; }
    .how-step-num { width: 40px; height: 40px; font-size: 1rem; }
}


.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;
  left: 0;
  top: 0;
}

/* App profile pages */
.app-page { min-width: 0; max-width: 100%; overflow-x: hidden; }
.app-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1.5rem;
}
.app-hero-main {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    min-width: 0;
}
.app-hero-copy { min-width: 0; }
.app-hero-copy h1 { margin: .35rem 0 .75rem; line-height: 1.15; }
.app-stats { margin: 0; }
.app-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.app-feature-col {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 1.1rem;
}
.app-card .app-card-icon { margin-bottom: .8rem; }
.app-card h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.new-badge {
    color: #7dffb2;
    background: rgba(125,255,178,.1);
    border-color: rgba(125,255,178,.25);
}
.meta-chip.new-badge { display: inline-block; }
.compare-page .stats-card h2 a,
.compare-page .compare-col h3 a {
    color: inherit;
    text-decoration: none;
}
.compare-page .stats-card h2 a:hover,
.compare-page .compare-col h3 a:hover { color: var(--accent2); }
.section-head-link { align-self: center; white-space: nowrap; flex-shrink: 0; }
.search-result-app { align-items: center; }
@media (max-width: 800px) {
    .app-hero { grid-template-columns: 1fr; }
    .app-hero-main { flex-direction: column; align-items: flex-start; }
    .app-features { grid-template-columns: 1fr; }
    .section-head-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }
    .section-head-row > div {
        width: 100%;
        min-width: 0;
    }
    .section-head-link,
    .section-head-cta {
        align-self: stretch;
        width: 100%;
        text-align: center;
        margin: 0;
    }
    .section-head-row + .grid,
    .section-head-row + .category-grid {
        margin-top: 0;
    }
}

.home-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}
.home-seo-card {
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}
.home-seo-card h3 {
    margin: 0 0 .5rem;
    font-size: 1.05rem;
}
.home-seo-card p {
    margin: 0;
    color: #b8c5e0;
    font-size: .95rem;
    line-height: 1.6;
}
.home-faq-more {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .95rem;
}
.category-related { margin-top: 2rem; }
.app-about p {
    color: #c8d4f0;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 768px) {
    .home-seo-grid { grid-template-columns: 1fr; }
}
