/* ═══════════════════════════════════════════════════════
   BRUTL v9 — Comprehensive Redesign
   Dark theme · Raycast/Linear aesthetic · Warm orange accent
   ═══════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Design Tokens ── */
:root {
    --bg: #050505;
    --bg-alt: #0A0A0A;
    --bg-warm: #080808;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.05);
    --surface-3: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.12);
    --accent: #FF512F;
    --accent-2: #D9F227;
    /* Acid Yellow / Volt */
    --accent-dim: rgba(255, 81, 47, 0.1);
    --accent-mid: rgba(217, 242, 39, 0.25);
    --green: #10B981;
    --yellow: #F59E0B;
    --red: #EF4444;
    --text: #F8FAFC;
    --text-2: #a1b0c5;
    --text-3: #8a99ad;
    --font-head: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Space Mono', monospace;
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --r: 12px;
    --r-lg: 20px;
}

@property --beam-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
}

::selection {
    background: rgba(255, 107, 43, .25);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--text-3);
    border-radius: 3px;
}

/* ── Noise texture overlay ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    border-radius: 0 0 var(--r) var(--r);
    text-decoration: none;
    transition: top .2s;
}

.skip-to-content:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--text);
}

/* ── Layout ── */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.wrap-sm {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 32px;
}

.tc {
    text-align: center;
}

/* ── Section labels (monospace) ── */
.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-heading {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}

.section-sub {
    font-size: .9rem;
    color: var(--text-2);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 640px;
}
.section-sub.tc {
    margin-left: auto;
    margin-right: auto;
}

/* ── Dot grid background utility ── */
.dot-grid {
    position: relative;
}

.dot-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* ── Decorative number ── */
.deco-num {
    position: absolute;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(10rem, 18vw, 22rem);
    line-height: 1;
    color: var(--text);
    opacity: .03;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #050505;
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow .3s var(--ease-out);
    line-height: 1;
    box-shadow: 0 4px 16px rgba(255, 81, 47, 0.2), 0 2px 8px rgba(217, 242, 39, 0.3);
    will-change: transform;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .2) 50%, transparent 100%);
    transition: left .55s var(--ease-out);
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(255, 81, 47, 0.3), 0 4px 12px rgba(217, 242, 39, 0.4);
    transform: translateY(-3px);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary .ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    animation: ripple-anim 0.6s linear;
}

@keyframes ripple-anim {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.5;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.btn-primary:disabled,
.btn-primary.loading {
    opacity: .6;
    pointer-events: none;
}

.btn-primary.loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(5, 5, 5, .3);
    border-top-color: #050505;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    flex-shrink: 0;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-2);
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 500;
    border: 1px solid var(--border-2);
    border-radius: 8px;
    cursor: pointer;
    transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
    line-height: 1;
}

.btn-ghost:hover {
    border-color: var(--accent-mid);
    color: var(--text);
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 0 15px rgba(217, 242, 39, 0.15);
    transform: scale(1.02);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: .78rem;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background .2s;
}

.btn-sm:hover {
    background: #ff7e4f;
    color: #fff;
}

/* ══════════════════════════════════════
   NAVBAR — Glassmorphism
   ══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    height: 60px;
    width: 90%;
    max-width: 1200px;
    border-radius: 100px;
    background: rgba(10, 10, 10, .4);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: background .3s, border-color .3s, box-shadow .3s, top .3s;
}

.navbar.scrolled {
    top: 12px;
    background: rgba(10, 10, 10, .8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .6);
    border-bottom-color: rgba(255, 255, 255, .1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -.04em;
    color: var(--text);
    margin-right: auto;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: 8px;
    transition: color .2s, background .2s;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Smooth page reveal — hide everything until auth resolves (prevents FOUC) */
body:not(.auth-resolved) .navbar,
body:not(.auth-resolved) main,
body:not(.auth-resolved) footer,
body:not(.auth-resolved) .mobile-nav {
    opacity: 0;
}
body.auth-resolved .navbar,
body.auth-resolved main,
body.auth-resolved footer,
body.auth-resolved .mobile-nav {
    opacity: 1;
    transition: opacity .4s var(--ease);
}

.nav-cta-btn {
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 500;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border-radius: 6px;
    border: 1px solid var(--border-2);
    transition: background .2s, border-color .2s;
    box-shadow: none;
}

.nav-cta-btn:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .15);
    box-shadow: none;
    transform: none;
}

.login-btn {
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-2);
    background: none;
    border: 1px solid var(--border-2);
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
}

.login-btn:hover {
    border-color: var(--accent-mid);
    color: var(--text);
}

.nav-user {
    display: none;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
}

.nav-user-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    object-fit: cover;
}

.nav-user-name {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-credit-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    color: var(--accent-2);
    background: rgba(217, 242, 39, 0.08);
    border: 1px solid rgba(217, 242, 39, 0.15);
    border-radius: 20px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.nav-credit-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
}

.nav-credit-badge.low {
    color: var(--red);
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
}

.nav-credit-badge.low::before {
    background: var(--red);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: #111113;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
    z-index: 1001;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
}

.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: .8rem;
    color: var(--text-2);
    border-radius: 6px;
    transition: color .15s, background .15s, border-color .15s, opacity .15s;
}

.user-dropdown-item:hover {
    background: var(--accent-dim);
    color: var(--text);
}

.user-dropdown-item.danger {
    color: var(--red);
}

.user-dropdown-item.danger:hover {
    background: rgba(239, 68, 68, .08);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 1001;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 999;
    padding: 100px 24px 40px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a,
.mobile-nav button {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: 6px;
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
    text-align: left;
}

.mobile-nav a:hover {
    background: var(--accent-dim);
    color: var(--text);
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* ══════════════════════════════════════
   HERO — Asymmetric Layout
   ══════════════════════════════════════ */


.hero {
    position: relative;
    padding: 160px 0 80px;
    /* Increased top padding from 100px to 160px to clear the floating navbar */
    overflow: hidden;
}

/* hero noise overlay for depth */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px;
    pointer-events: none;
}

/* background glows */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .4;
    will-change: transform;
}

.hero-blob--1 {
    width: 700px;
    height: 700px;
    top: -200px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 81, 47, 0.4) 0%, rgba(217, 242, 39, 0.2) 50%, transparent 70%);
    animation: blob1 14s ease-in-out infinite alternate;
}

.hero-blob--2 {
    width: 500px;
    height: 500px;
    top: 100px;
    right: -60px;
    background: radial-gradient(circle, rgba(217, 242, 39, 0.4) 0%, rgba(255, 81, 47, 0.3) 60%, transparent 75%);
    animation: blob2 18s ease-in-out infinite alternate;
}

.hero-blob--3 {
    width: 400px;
    height: 400px;
    bottom: 100px;
    left: 40%;
    background: radial-gradient(circle, rgba(255, 81, 47, 0.3) 0%, transparent 65%);
    animation: blob1 20s ease-in-out infinite alternate-reverse;
}

/* hero inner */
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* label */
.hero-label {
    margin-bottom: 20px;
}

/* H1 — full width, large, bold */
.hero-h1 {
    font-size: clamp(2.8rem, 7vw, 6.2rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.03em;
    margin-bottom: 48px;
    color: var(--text);
    max-width: 1000px;
}

.hero-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #FFa06a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

/* split: content left + demo right */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}


.hero-p {
    font-size: .95rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 32px;
}

/* Hero URL Input */
.hero-input-wrap {
    margin-bottom: 16px;
    width: 100%;
    max-width: 500px;
}

.hero-input-group {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-2);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color .2s;
}

.hero-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 81, 47, .08), 0 0 0 1px rgba(255, 81, 47, .1);
}

.hero-url-input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: .8rem;
    outline: none;
    min-width: 0;
}

.hero-url-input::placeholder {
    color: var(--text-3);
}

.hero-submit-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    border-radius: 0 11px 11px 0;
}

.hero-input-hint {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-3);
    letter-spacing: .03em;
    margin-top: 8px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* trust strip */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
}

.hero-trust-item {
    text-align: center;
    padding: 0 20px;
}

.hero-trust-item:first-child {
    padding-left: 0;
}

.hero-trust-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1;
    margin-bottom: 3px;
    font-variant-numeric: tabular-nums;
}

.hero-trust-label {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hero-trust-sep {
    width: 1px;
    height: 28px;
    background: var(--border-2);
    flex-shrink: 0;
}

.hero-free-note {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--green);
    letter-spacing: .03em;
    margin-top: 8px;
    opacity: .85;
}

/* ── Live Demo Card ── */
.hero-demo {
    position: relative;
}

.hero-demo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(ellipse, var(--accent-mid) 0%, transparent 55%);
    filter: blur(60px);
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.live-demo {
    background: #0E0E10;
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 40px 100px -20px rgba(0, 0, 0, .5);
    animation: floating 6s ease-in-out infinite;
}

.live-demo-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .015);
}

.live-demo-dots {
    display: flex;
    gap: 5px;
}

.live-demo-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: block;
    font-style: normal;
}

.live-demo-tag {
    font-family: var(--font-mono);
    font-size: .6rem;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-left: auto;
}

.live-demo-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: .6rem;
    color: var(--text-3);
}

.live-demo-status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-3);
    display: block;
    animation: pulse-dot 2s ease-in-out infinite;
}

.live-demo-body {
    padding: 20px;
    min-height: 280px;
}

.live-demo-url {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: .75rem;
    color: var(--text-2);
    font-family: var(--font-mono);
}

.live-demo-url svg {
    color: var(--green);
    flex-shrink: 0;
}

.live-demo-url-text {
    white-space: nowrap;
}

.live-demo-cursor {
    color: var(--accent);
    animation: cursor-blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.live-demo-scan {
    display: none;
}

.live-demo-scan-bar {
    height: 3px;
    background: rgba(255, 255, 255, .06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.live-demo-scan-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 2s ease-in-out;
}

.live-demo-scan-text {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-demo-result {
    display: none;
}

.live-demo-score-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.live-demo-info {
    flex: 1;
    min-width: 0;
}

.live-demo-info strong {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.live-demo-info>span {
    display: block;
    font-size: .7rem;
    color: var(--text-3);
    margin-bottom: 10px;
}

.live-demo-flags {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.live-demo-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: .72rem;
    color: var(--text-2);
    line-height: 1.3;
    border-top: 1px solid rgba(255, 255, 255, .03);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .4s ease, transform .4s ease;
}

.live-demo-flag:first-child {
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.live-demo-flag i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    display: block;
}

@media (max-width: 900px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-h1 {
        margin-bottom: 32px;
    }

    .live-demo {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-h1 {
        font-size: 2.4rem;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .hero-trust-sep {
        display: none;
    }

    .hero-trust-item {
        padding: 0;
    }

    .hero-trust-label {
        font-size: .72rem;
    }

    .hero-blob {
        display: none;
    }
}

/* ── Score ring ── */
.score-ring {
    width: 72px;
    height: 72px;
    position: relative;
    flex-shrink: 0;
}

.score-ring--lg {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
}

.score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .06);
    stroke-width: 5;
}

.score-ring-fill {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 326.726;
    stroke-dashoffset: 326.726;
    transition: stroke-dashoffset 1.2s var(--ease);
}

.score-ring-fill.green {
    stroke: var(--green);
}

.score-ring-fill.yellow {
    stroke: var(--yellow);
}

.score-ring-fill.red {
    stroke: var(--red);
}

.score-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
}

.score-ring--lg .score-num {
    font-size: 2.2rem;
}

.score-num small {
    font-size: .45em;
    font-weight: 500;
    color: var(--text-3);
    margin-left: 1px;
}

.score-num.green {
    color: var(--green);
}

.score-num.yellow {
    color: var(--yellow);
}

.score-num.red {
    color: var(--red);
}

/* ── Verdict badges ── */
.verdict-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.verdict-badge.warto {
    background: rgba(34, 197, 94, .1);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, .15);
}

.verdict-badge.ryzykowne {
    background: rgba(234, 179, 8, .1);
    color: var(--yellow);
    border: 1px solid rgba(234, 179, 8, .15);
}

.verdict-badge.omijaj {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, .15);
}

/* ══════════════════════════════════════
   MARQUEE / TICKER
   ══════════════════════════════════════ */
.marquee {
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-x 40s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 12px;
    padding-right: 12px;
}

.marquee-pill {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-2);
    white-space: nowrap;
}

.marquee-pill b {
    font-weight: 700;
}

.marquee-pill.red b {
    color: var(--red);
}

.marquee-pill.green b {
    color: var(--green);
}

.marquee-pill.yellow b {
    color: var(--yellow);
}

/* ══════════════════════════════════════
   EXPOSE — Bento Grid
   ══════════════════════════════════════ */
.expose {
    padding: 64px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.expose-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.expose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.expose-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .2s, background .2s;
}
.expose-card:hover {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
}
.expose-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    background: rgba(255, 81, 47, .08);
}
.expose-card-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

@media (max-width: 640px) {
    .expose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .expose-card {
        padding: 14px 16px;
        gap: 12px;
    }
    .expose-card-icon {
        width: 36px;
        height: 36px;
    }
    .expose-card-label {
        font-size: .8rem;
    }
}

/* Bento grid — irregular tiles */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.bento-item {
    padding: 28px 24px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: border-color .3s, background .3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .2);
    cursor: default;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(255, 81, 47, .1), rgba(217, 242, 39, .06));
    border: 1px solid rgba(255, 81, 47, .15);
}

.bento-item h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.bento-item p {
    font-size: .82rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 16px;
}

.bento-reveal {
    display: block;
    margin-top: 4px;
}

.bento-reveal>div {
    overflow: hidden;
}

.bento-reveal p {
    font-size: .8rem;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0;
}

.bento-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.bento-stat-val {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: .72rem;
    color: var(--accent);
    flex-shrink: 0;
    width: 36px;
    text-align: right;
}

.bento-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, .04);
    border-radius: 2px;
    overflow: hidden;
}

.bento-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    transition: width 1.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 540px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }
}

/* ══════════════════════════════════════
   AI PHOTO DETECTOR
   ══════════════════════════════════════ */
.detector-section {
    padding: 80px 0;
    background: var(--bg-alt);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.detector-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.detector-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(234, 179, 8, .06);
    color: var(--yellow);
    border: 1px solid rgba(234, 179, 8, .12);
    font-family: var(--font-mono);
    font-size: .65rem;
    border-radius: 6px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.detector-badge.live {
    background: rgba(34, 197, 94, .08);
    color: var(--green);
    border-color: rgba(34, 197, 94, .2);
}

.detector-text h2 {
    margin-bottom: 16px;
}

.detector-desc {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.detector-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.detector-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .84rem;
    color: var(--text-2);
}

.detector-features svg {
    flex-shrink: 0;
    color: var(--accent);
}

.detector-note {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-3);
    letter-spacing: .04em;
}

.detector-card {
    background: #0E0E10;
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 60px -12px rgba(0, 0, 0, .4);
}

.detector-card-img {
    position: relative;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .015);
    overflow: hidden;
}

.detector-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.detector-demo-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.detector-demo-placeholder {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3/4;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.06));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.detector-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scan-sweep 2.5s ease-in-out infinite;
    opacity: .6;
}

@keyframes scan-sweep {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: .6;
    }

    90% {
        opacity: .6;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.detector-result {
    padding: 18px 20px;
}

.detector-verdict-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.detector-verdict-badge {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: .62rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.detector-verdict-badge.ai {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, .15);
}

.detector-confidence {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--red);
}

.detector-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detector-detail {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .04);
}

.detector-detail span {
    display: block;
    font-family: var(--font-mono);
    font-size: .6rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.detector-detail b {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-2);
}

@media (max-width: 768px) {
    .detector-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ══════════════════════════════════════
   STATS
   ══════════════════════════════════════ */
.stats-section {
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-block {
    text-align: center;
    padding: 20px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
}

.stat-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-3);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

@media (max-width: 600px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ══════════════════════════════════════
   PROCESS / STEPS (SCROLLYTELLING)
   ══════════════════════════════════════ */
.process {
    padding: 80px 0;
    background: var(--bg-alt);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.scrolly-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.scrolly-text {
    padding-bottom: 20vh;
    /* gives room to scroll the last item, reduced from 40vh */
}

.scrolly-step {
    padding: 40px;
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin-bottom: 24px;
    opacity: 0.4;
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.scrolly-step.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 40px rgba(0, 0, 0, .4);
}

.scrolly-step .step-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--accent);
    opacity: .25;
    margin-bottom: 16px;
    transition: opacity 0.5s;
}

.scrolly-step.active .step-num {
    opacity: 1;
}

.scrolly-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.scrolly-step p {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.6;
}

.scrolly-visual {
    position: sticky;
    top: 120px;
    height: 400px;
    background: #0E0E10;
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 40px 100px -20px rgba(0, 0, 0, .5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .5s ease;
}

.scrolly-visual::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--r-lg);
    background: radial-gradient(ellipse at 50% 50%, var(--accent-dim), transparent 70%);
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
    z-index: 0;
}

.scrolly-visual.glow::before {
    opacity: 1;
}

.scrolly-visual.glow {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 40px 100px -20px rgba(0, 0, 0, .5), 0 0 60px -10px rgba(255, 81, 47, .15);
}

.scrolly-mac-header {
    display: flex;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .015);
}

.scrolly-mac-header i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.scrolly-state-wrap {
    position: relative;
    flex: 1;
}

.scrolly-state {
    position: absolute;
    inset: 0;
    padding: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}

.scrolly-state.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* State 1 */
.scrolly-mock-input {
    padding: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-2);
    margin-bottom: 16px;
}

.scrolly-mock-btn {
    padding: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    width: 120px;
    font-size: 0.85rem;
}

/* State 2 */
.scrolly-scan-line {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    width: 0%;
    animation: scrolly-scan 2s ease-in-out infinite alternate;
    margin-bottom: 24px;
}

@keyframes scrolly-scan {
    0% {
        width: 0%;
        opacity: 0.5;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

.scrolly-mock-code span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-3);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .4s ease, transform .4s ease;
}

.scrolly-state.active .scrolly-mock-code span {
    opacity: 1;
    transform: translateX(0);
}

.scrolly-state.active .scrolly-mock-code span:nth-child(1) {
    transition-delay: .1s;
}

.scrolly-state.active .scrolly-mock-code span:nth-child(2) {
    transition-delay: .4s;
}

.scrolly-state.active .scrolly-mock-code span:nth-child(3) {
    transition-delay: .7s;
}

.scrolly-state.active .scrolly-mock-code span:nth-child(4) {
    transition-delay: 1s;
}

.scrolly-mock-code span.red {
    color: var(--red);
}

/* State 3 */
.scrolly-score {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 8px;
}

.scrolly-score.red {
    color: var(--red);
}

.scrolly-verdict {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    background: rgba(239, 68, 68, .1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, .15);
    margin-bottom: 24px;
    width: fit-content;
}

.scrolly-flags span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-2);
    margin-bottom: 8px;
}

.scrolly-flags span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

@media (max-width: 900px) {
    .scrolly-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scrolly-visual {
        position: relative;
        top: 0;
        height: 300px;
        order: -1;
    }

    .scrolly-text {
        padding-bottom: 0;
    }
}

/* ══════════════════════════════════════
   ACTIVITY FEED
   ══════════════════════════════════════ */
.feed-section {
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.feed-layout {
    display: grid;
    grid-template-columns: .7fr 1fr;
    gap: 48px;
    align-items: start;
}

.feed-desc {
    font-size: .88rem;
    color: var(--text-2);
    margin-top: 8px;
    line-height: 1.6;
}

.feed-container {
    height: 340px;
    overflow: hidden;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 24px rgba(0, 0, 0, .25);
}

.feed-container::before,
.feed-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 2;
    pointer-events: none;
}

.feed-container::before {
    top: 0;
    background: linear-gradient(to bottom, var(--surface), transparent);
}

.feed-container::after {
    bottom: 0;
    background: linear-gradient(to top, var(--surface), transparent);
}

.feed-track {
    animation: feed-scroll 20s linear infinite;
}

@keyframes feed-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.feed-container:hover .feed-track {
    animation-play-state: paused;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    transition: background .4s, padding-left .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feed-item:hover {
    background: var(--surface-2);
    padding-left: 22px;
    border-radius: 8px;
}

.feed-score {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .85rem;
    flex-shrink: 0;
}

.feed-score.red {
    background: rgba(239, 68, 68, .08);
    color: var(--red);
}

.feed-score.green {
    background: rgba(34, 197, 94, .08);
    color: var(--green);
}

.feed-score.yellow {
    background: rgba(234, 179, 8, .08);
    color: var(--yellow);
}

.feed-info {
    flex: 1;
    min-width: 0;
}

.feed-info strong {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-info span {
    font-size: .68rem;
    color: var(--text-3);
}

.feed-time {
    font-family: var(--font-mono);
    font-size: .62rem;
    color: var(--text-3);
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .feed-layout {
        grid-template-columns: 1fr;
    }

    .feed-container {
        height: 280px;
    }
}

/* ══════════════════════════════════════
   RESULT CARD (check page)
   ══════════════════════════════════════ */
.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 32px 80px -16px rgba(0, 0, 0, .5);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.result-card[data-verdict="WARTO"]::before {
    background: var(--green);
}

.result-card[data-verdict="RYZYKOWNE"]::before {
    background: var(--yellow);
}

.result-card[data-verdict="OMIJAJ"]::before {
    background: var(--red);
}

.result-card-header {
    margin-bottom: 14px;
}

.result-card-logo {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.result-course-title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}

.result-course-creator {
    font-size: .72rem;
    color: var(--text-3);
}

.red-flags {
    text-align: left;
    margin: 14px 0;
}

.red-flags-title {
    font-family: var(--font-mono);
    font-size: .6rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.red-flag {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: .75rem;
    color: var(--text-2);
    line-height: 1.4;
}

.red-flag svg {
    flex-shrink: 0;
    color: var(--red);
    margin-top: 1px;
}

.red-flag+.red-flag {
    border-top: 1px solid rgba(255, 255, 255, .03);
}

.result-summary {
    font-size: .75rem;
    color: var(--text-2);
    line-height: 1.6;
    text-align: left;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: border-color .2s, transform .2s;
}

.testimonial-card:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: .9rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: .82rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .75rem;
    color: #000;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial-role {
    font-family: var(--font-mono);
    font-size: .62rem;
    color: var(--text-3);
    letter-spacing: .03em;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   DLA KOGO (FOR WHO)
   ══════════════════════════════════════ */
.for-who-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.for-who-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.for-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.for-who-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: border-color .2s;
}

.for-who-item:hover {
    border-color: var(--accent-mid);
}

.for-who-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 81, 47, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--accent);
}

.for-who-item h4 {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.for-who-item p {
    font-size: .78rem;
    color: var(--text-2);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .for-who-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   PRICING
   ══════════════════════════════════════ */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-alt);
    position: relative;
}

.pricing-card {
    position: relative;
    max-width: 420px;
    margin: 48px auto 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color .4s, box-shadow .4s, transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 24px rgba(0, 0, 0, .25);
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px) scale(1.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 40px -8px var(--accent-mid);
}

.pricing-card-inner {
    position: relative;
    z-index: 1;
    padding: 36px 28px;
    background: var(--surface);
}

.pricing-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.pricing-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: .6rem;
    border-radius: 6px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pricing-card-inner h3 {
    font-size: 1.15rem;
    font-weight: 800;
}

.pricing-price {
    margin: 16px 0;
}

.pricing-amount {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.8rem;
    letter-spacing: -.03em;
}

.pricing-period {
    font-size: .85rem;
    color: var(--text-3);
}

.pricing-note {
    font-size: .78rem;
    color: var(--text-3);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: .82rem;
    color: var(--text-2);
}

.pricing-features li+li {
    border-top: 1px solid var(--border);
}

.pricing-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 6px;
    flex-shrink: 0;
    background: rgba(34, 197, 94, .08);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ── Pricing Toggle ── */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 32px auto 0;
    padding: 4px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 280px;
    position: relative;
}

.pricing-toggle-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-3);
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 600;
    border-radius: 9px;
    transition: color .25s var(--ease);
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.pricing-toggle-btn.active {
    color: #fff;
}

.pricing-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--accent);
    border-radius: 9px;
    box-shadow: 0 2px 8px var(--accent-mid);
    transition: transform .3s var(--ease-out);
    z-index: 0;
}

.pricing-toggle-slider.right {
    transform: translateX(calc(100% + 4px));
}

.pricing-plan-card {
    display: none;
    animation: pricingCardIn .4s var(--ease) both;
}

.pricing-plan-card.active {
    display: block;
}

.pricing-grid.pricing-plan-card.active {
    display: grid;
}

.pack-grid.pricing-plan-card.active {
    display: grid;
}

@keyframes pricingCardIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ══════════════════════════════════════
   TRUST STRIP
   ══════════════════════════════════════ */
.trust-strip {
    padding: 32px 0;
    margin-top: -1px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-strip-inner {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--text-2);
    letter-spacing: .03em;
}

@media (max-width: 768px) {
    .trust-strip-inner {
        gap: 16px 24px;
        justify-content: flex-start;
    }

    .trust-strip-item {
        font-size: .62rem;
    }
}

/* ══════════════════════════════════════
   FAQ
   ══════════════════════════════════════ */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 700px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color .2s;
}

.faq-q:hover {
    color: var(--accent);
}

.faq-q svg {
    flex-shrink: 0;
    color: var(--text-3);
    transition: transform .3s var(--ease);
}

.faq-item.open .faq-q svg {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
}

.faq-item.open .faq-a {
    max-height: 400px;
}

.faq-a-inner {
    padding: 0 0 18px;
    font-size: .84rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ══════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════ */
.final-cta {
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background:
        radial-gradient(ellipse 300px 200px at 30% 40%, rgba(255, 81, 47, 0.15), transparent),
        radial-gradient(ellipse 250px 250px at 70% 60%, rgba(217, 242, 39, 0.1), transparent),
        radial-gradient(ellipse 400px 300px at 50% 50%, rgba(255, 81, 47, 0.06), transparent);
    filter: blur(60px);
    pointer-events: none;
    animation: cta-glow-pulse 5s ease-in-out infinite alternate;
}

@keyframes cta-glow-pulse {
    0% {
        opacity: .6;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

.final-cta-h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.final-cta-h2 span {
    background: linear-gradient(90deg, var(--accent), #ea580c, var(--accent-2));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

.final-cta p {
    font-size: .95rem;
    color: var(--text-2);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.final-cta .btn-primary {
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    border-image: linear-gradient(90deg, transparent, var(--border-2), transparent) 1;
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -.03em;
}

.footer-logo span {
    color: var(--accent);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: .6rem;
    color: var(--text-3);
    letter-spacing: .03em;
    margin-bottom: 8px;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-copy {
    font-size: .7rem;
    color: var(--text-3);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: .7rem;
    color: var(--text-3);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--text);
}

/* ══════════════════════════════════════
   AUTH MODAL
   ══════════════════════════════════════ */
/* ── Auth Modal — Premium Redesign ── */
.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal.open {
    display: flex;
    animation: modalOverlayIn .3s var(--ease);
}

@keyframes modalOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.auth-modal-content {
    background: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 40px 32px 32px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .03) inset,
        0 40px 100px -20px rgba(0, 0, 0, .8),
        0 0 60px -10px rgba(255, 81, 47, .08);
    animation: modalCardIn .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalCardIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Gradient top accent line */
.auth-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
    border-radius: 0 0 2px 2px;
    opacity: .6;
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    cursor: pointer;
    color: var(--text-3);
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.auth-modal-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
}

.auth-modal-content h3 {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -.01em;
    text-align: center;
}

.auth-modal-content>p {
    text-align: center;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--text-3);
    font-size: .7rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.auth-field {
    margin-bottom: 14px;
    position: relative;
}

.auth-field input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .9rem;
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
}

.auth-field input:hover {
    border-color: rgba(255, 255, 255, .14);
}

.auth-field input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 81, 47, .12);
    background: rgba(255, 255, 255, .05);
}

.auth-field input::placeholder {
    color: rgba(255, 255, 255, .25);
}

.auth-error {
    font-size: .75rem;
    color: var(--red);
    min-height: 20px;
    margin-bottom: 4px;
    text-align: center;
    transition: opacity .2s;
}

/* Auth submit button */
.auth-modal-content .btn-accent,
.auth-modal-content button[type="submit"] {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent), #ff7e4f);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
    position: relative;
    overflow: hidden;
}

.auth-modal-content .btn-accent:hover,
.auth-modal-content button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -4px rgba(255, 81, 47, .35);
}

.auth-modal-content .btn-accent:active,
.auth-modal-content button[type="submit"]:active {
    transform: translateY(0);
}

.auth-modal-content .btn-accent:disabled,
.auth-modal-content button[type="submit"]:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-switch {
    text-align: center;
    font-size: .78rem;
    color: var(--text-3);
    margin-top: 18px;
}

.auth-switch a,
.auth-switch-link {
    color: var(--accent);
    font-weight: 600;
    transition: color .2s;
}

.auth-switch a:hover {
    color: #ff7e4f;
    text-decoration: none;
}

/* Google OAuth button — premium */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    font-weight: 600;
    font-size: .88rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
}

.btn-google:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.btn-google:active {
    transform: translateY(0);
}

.btn-google svg {
    flex-shrink: 0;
}

/* Forgot password link */
.auth-modal-content a[style*="font-size:0.8rem"] {
    transition: color .2s;
}

.auth-modal-content a[style*="font-size:0.8rem"]:hover {
    color: var(--text-2) !important;
}

/* Password strength */
.password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.password-strength-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, .06);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width .3s, background .3s;
}

.password-strength-text {
    font-size: .65rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Mobile auth adjustments */
@media (max-width: 480px) {
    .auth-modal-content {
        padding: 32px 20px 24px;
        border-radius: 16px;
    }

    .auth-modal-content h3 {
        font-size: 1.2rem;
    }

    .auth-plans {
        flex-direction: column;
    }
}

/* ══════════════════════════════════════
   TOAST + COOKIE
   ══════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--r);
    font-size: .8rem;
    font-weight: 500;
    color: var(--text);
    z-index: 3000;
    transition: transform .3s var(--ease-out);
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
}

.toast.toast-error {
    border-color: var(--red);
    color: var(--red);
}

.toast.toast-success {
    border-color: var(--green);
    color: var(--green);
}
.toast.toast-info {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.cookie-bar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: calc(100% - 32px);
    z-index: 1500;
    padding: 14px 24px;
    background: rgba(15, 15, 15, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-2);
    border-radius: var(--r);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cookie-bar.visible {
    display: flex;
}

.cookie-bar p {
    font-size: .75rem;
    color: var(--text-2);
}

.cookie-bar p a {
    color: var(--accent);
    text-decoration: underline;
}

/* ══════════════════════════════════════
   CHECK PAGE
   ══════════════════════════════════════ */
.check-container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 80px;
}

.check-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 4px;
}

.check-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: var(--text-3);
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
}

.check-tab.active {
    background: var(--surface);
    color: var(--text);
}

.check-tab:hover:not(.active) {
    color: var(--text-2);
}

.check-input-wrap {
    display: none;
}

.check-input-wrap.active {
    display: block;
}

.url-input-group {
    display: flex;
    gap: 8px;
}

.url-input {
    flex: 1;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: var(--r);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .88rem;
    transition: border-color .2s;
}

.url-input:focus {
    border-color: var(--accent-mid);
    outline: none;
}

.url-input::placeholder {
    color: var(--text-3);
}

.upload-zone {
    border: 2px dashed var(--border-2);
    border-radius: var(--r-lg);
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
    position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent-mid);
    background: var(--accent-dim);
}

.upload-zone-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    opacity: .6;
}

.upload-zone-text {
    font-size: .85rem;
    color: var(--text-2);
    margin-bottom: 4px;
}

.upload-zone-hint {
    font-size: .7rem;
    color: var(--text-3);
}

.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-preview {
    margin-top: 16px;
    display: none;
}

.upload-preview.visible {
    display: block;
}

.upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--r);
    border: 1px solid var(--border);
}

.processing {
    text-align: center;
    padding: 48px 0;
    display: none;
}

.processing.visible {
    display: block;
}

.processing-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-2);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 18px;
    animation: spin .8s linear infinite;
}

.processing-text {
    font-size: .88rem;
    color: var(--text-2);
    margin-bottom: 4px;
}

.processing-sub {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--text-3);
    letter-spacing: .02em;
}

/* Processing Steps */
.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 260px;
    margin: 0 auto 20px;
    text-align: left;
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .78rem;
    color: var(--text-3);
    opacity: .35;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.processing-step.active {
    opacity: 1;
    color: var(--accent);
    background: rgba(255, 81, 47, .06);
}

.processing-step.active .processing-step-icon {
    animation: pulse-step 1.2s ease infinite;
}

.processing-step.done {
    opacity: .7;
    color: var(--green);
}

.processing-step.done .processing-step-icon svg {
    display: none;
}

.processing-step.done .processing-step-icon::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.processing-step-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processing-step-text {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .02em;
}

@keyframes pulse-step {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* Demo CTA */
.demo-cta {
    text-align: center;
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 81, 47, .06), rgba(217, 242, 39, .04));
    border: 1px solid rgba(255, 81, 47, .15);
    border-radius: var(--r-lg);
}

.demo-cta-text {
    font-size: .9rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 16px;
}

.demo-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Result Actions */
.result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.result-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Result Credits Info */
.result-credits {
    text-align: center;
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-3);
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    letter-spacing: .03em;
}

.report-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: .78rem;
    color: var(--text-3);
    line-height: 1.5;
}
.report-hint svg {
    flex-shrink: 0;
    opacity: .5;
}
.report-hint a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.report-hint a:hover {
    color: var(--accent-2);
}

.result-area {
    display: none;
    margin-top: 32px;
}

.result-area.visible {
    display: block;
    animation: resultAreaIn .5s var(--ease-out) forwards;
}

@keyframes resultAreaIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.paywall {
    text-align: center;
    padding: 48px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    display: none;
}

.paywall.visible {
    display: block;
}

.paywall-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.paywall h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.paywall p {
    font-size: .85rem;
    color: var(--text-2);
    margin-bottom: 24px;
}

.paywall-pack-btn {
    background: var(--accent-2) !important;
    color: #000 !important;
}

/* ══════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════ */
.dashboard-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 32px 80px;
}

/* Welcome Section */
.dash-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.dash-welcome h1 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.dash-welcome-sub {
    font-size: .85rem;
    color: var(--text-2);
    margin-top: 2px;
}

.dash-check-btn {
    flex-shrink: 0;
    gap: 8px;
    font-size: .82rem;
    padding: 10px 20px;
}

/* Plan Card */
.dash-plan-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: border-color .2s;
}

.dash-plan-card:hover {
    border-color: var(--border-2);
}

.dash-plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-3);
    transition: color .3s;
}

.dash-plan-info {
    flex: 1;
    min-width: 0;
}

.dash-plan-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
}

.dash-plan-detail {
    font-size: .72rem;
    color: var(--text-3);
    margin-top: 1px;
}

.dash-plan-action {
    flex-shrink: 0;
}

/* Stats Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.dash-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-stat-label {
    font-family: var(--font-mono);
    font-size: .62rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.dash-stat-value {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.2;
}

/* No Access CTA */
.dashboard-no-access {
    margin-bottom: 28px;
}

.no-access-card {
    background: linear-gradient(135deg, rgba(255, 81, 47, .06), rgba(217, 242, 39, .04));
    border: 1px solid rgba(255, 81, 47, .15);
    border-radius: var(--r-lg);
    padding: 32px;
    text-align: center;
}

.no-access-card h3 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.no-access-card p {
    font-size: .82rem;
    color: var(--text-2);
    max-width: 420px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.no-access-plans {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.no-access-plans .subscribe-btn {
    min-width: 260px;
}

/* History Header */
.dash-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-top: 8px;
}

.dash-history-header h2 {
    font-size: 1rem;
    font-weight: 700;
}

.dash-history-link {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 500;
    transition: opacity .2s;
}

.dash-history-link:hover {
    opacity: .8;
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-stats .dash-stat:nth-child(3) {
        grid-column: span 2;
    }

    .dash-welcome {
        flex-direction: column;
        align-items: flex-start;
    }

    .no-access-plans .subscribe-btn {
        min-width: 100%;
    }
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.history-item:hover {
    border-color: var(--accent);
    transform: scale(1.01);
}

.history-score {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.history-score.green {
    background: rgba(34, 197, 94, .08);
    color: var(--green);
}

.history-score.yellow {
    background: rgba(234, 179, 8, .08);
    color: var(--yellow);
}

.history-score.red {
    background: rgba(239, 68, 68, .08);
    color: var(--red);
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-title {
    font-size: .82rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-meta {
    font-size: .68rem;
    color: var(--text-3);
    margin-top: 2px;
}

.history-verdict {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.history-verdict.warto {
    background: rgba(34, 197, 94, .08);
    color: var(--green);
}

.history-verdict.ryzykowne {
    background: rgba(234, 179, 8, .08);
    color: var(--yellow);
}

.history-verdict.omijaj {
    background: rgba(239, 68, 68, .08);
    color: var(--red);
}

/* ══════════════════════════════════════
   LEGAL + 404 + EMPTY
   ══════════════════════════════════════ */
.legal {
    max-width: 680px;
    margin: 0 auto;
    padding: 120px 32px 80px;
}

.legal h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 28px;
}

.legal h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 32px 0 14px;
}

.legal p,
.legal li {
    font-size: .88rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal li+li {
    margin-top: 6px;
}

.legal a {
    color: var(--accent);
}

.legal a:hover {
    text-decoration: underline;
}

.error-page {
    text-align: center;
    padding: 120px 20px;
}

.error-code {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 8rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
    opacity: .15;
}

.error-msg {
    font-size: 1.1rem;
    color: var(--text-2);
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-3);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: .7;
}

.empty-state h3 {
    font-size: 1.1rem;
    color: var(--text-2);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: .82rem;
    margin-bottom: 24px;
}

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */

/* scroll reveal — per spec: translateY(24px), 0.5s, cubic-bezier(0.16, 1, 0.3, 1) */
[data-anim="fade"] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1);
}

[data-anim="fade"].visible {
    opacity: 1;
    transform: none;
}

[data-anim="fade"][data-delay="1"] {
    transition-delay: .08s;
}

[data-anim="fade"][data-delay="2"] {
    transition-delay: .16s;
}

[data-anim="fade"][data-delay="3"] {
    transition-delay: .24s;
}

[data-anim="fade"][data-delay="4"] {
    transition-delay: .32s;
}

[data-anim="fade"][data-delay="5"] {
    transition-delay: .4s;
}

/* 3D tilt */
[data-anim="tilt3d"] {
    opacity: 0;
    transform: perspective(800px) rotateX(10deg) translateY(24px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

[data-anim="tilt3d"].visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0) translateY(0);
}

[data-anim="tilt3d"][data-delay="1"] {
    transition-delay: .08s;
}

[data-anim="tilt3d"][data-delay="2"] {
    transition-delay: .16s;
}

[data-anim="tilt3d"][data-delay="3"] {
    transition-delay: .24s;
}

[data-anim="tilt3d"][data-delay="4"] {
    transition-delay: .32s;
}

/* word-by-word blur reveal */
[data-word-reveal] .wr {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(14px);
    transition: opacity .55s var(--ease-out),
        filter .55s var(--ease-out),
        transform .55s var(--ease-out);
    transition-delay: calc(var(--i) * 65ms);
}

[data-word-reveal].visible .wr {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

[data-word-reveal] .wr+.wr {
    margin-left: .28em;
}

[data-word-reveal] .wr-break {
    display: block;
    width: 100%;
    height: 0;
}

/* scramble char */
.scramble-char {
    color: var(--accent);
    opacity: .65;
    font-weight: 700;
}

/* border beam */
.border-beam {
    position: relative;
}

.border-beam::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--r-lg);
    background: conic-gradient(from var(--beam-angle),
            transparent 0%, transparent 75%,
            var(--accent-2) 85%, var(--accent) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: beam-spin 3.5s linear infinite;
    pointer-events: none;
    z-index: 2;
}

/* aurora text */
.aurora-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-2), #f59e0b, var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aurora-flow 4s linear infinite;
}

/* ══════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════ */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes scroll-x {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

@keyframes glow-pulse {
    0% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blob1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.05);
    }

    100% {
        transform: translate(-15px, 10px) scale(.97);
    }
}

@keyframes blob2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 30px) scale(1.08);
    }

    100% {
        transform: translate(10px, -10px) scale(.95);
    }
}

@keyframes beam-spin {
    to {
        --beam-angle: 360deg;
    }
}

@keyframes aurora-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

/* page entrance */
main {
    animation: page-in .4s var(--ease-out) both;
}

@keyframes page-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 480px) {

    .wrap,
    .wrap-sm {
        padding: 0 16px;
    }

    .result-card {
        padding: 20px 16px;
    }

    .pricing-card-inner {
        padding: 28px 20px;
    }

    .url-input-group {
        flex-direction: column;
    }

    .check-tab {
        font-size: .72rem;
        padding: 10px 8px;
    }

    .processing-steps {
        max-width: 220px;
    }

    .processing-step-text {
        font-size: .65rem;
    }

    .demo-cta {
        padding: 20px 16px;
    }

    .demo-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .result-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .inline-paywall-plans {
        flex-direction: column;
    }
}

@supports (-webkit-touch-callout: none) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ══════════════════════════════════════
   ACCESS BADGE (check page)
   ══════════════════════════════════════ */
.access-badge-wrap {
    text-align: center;
    margin-bottom: 20px;
    overflow: hidden;
    transition: opacity .3s var(--ease), max-height .3s var(--ease);
    max-height: 60px;
    opacity: 1;
}

.access-badge-wrap.hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

.access-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}

.access-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.access-badge.loading .access-dot {
    background: var(--text-3);
    animation: pulse-dot 1.2s ease-in-out infinite;
}

.access-badge.has-sub {
    border-color: rgba(16, 185, 129, .3);
    background: rgba(16, 185, 129, .06);
    color: var(--green);
}

.access-badge.has-sub .access-dot {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}

.access-badge.has-credits {
    border-color: rgba(217, 242, 39, .3);
    background: rgba(217, 242, 39, .06);
    color: var(--accent-2);
}

.access-badge.has-credits .access-dot {
    background: var(--accent-2);
    box-shadow: 0 0 6px var(--accent-2);
}

.access-badge.no-access {
    border-color: rgba(239, 68, 68, .2);
    background: rgba(239, 68, 68, .04);
    color: var(--red);
}

.access-badge.no-access .access-dot {
    background: var(--red);
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }
}

/* ══════════════════════════════════════
   INLINE PAYWALL (check page overlay)
   ══════════════════════════════════════ */
.inline-paywall {
    display: none;
    margin-bottom: 24px;
}

.inline-paywall.visible {
    display: block;
    animation: fadeSlideUp .4s var(--ease);
}

.inline-paywall-content {
    text-align: center;
    padding: 36px 24px;
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.inline-paywall-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px 2px 0 0;
}

.inline-paywall-icon {
    margin-bottom: 12px;
    color: var(--text-3);
}

.inline-paywall-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.inline-paywall-content p {
    font-size: .82rem;
    color: var(--text-2);
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.6;
}

.inline-paywall-plans {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Paywall plans layout — subs row + packs row */
.paywall-plans-layout {
    margin-top: 16px;
    text-align: left;
}
.paywall-section-label {
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-3);
    margin-bottom: 8px;
}
.paywall-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
@media (max-width: 480px) {
    .paywall-row { gap: 6px; }
    .paywall-plan { padding: 12px 10px; min-width: 0; }
    .paywall-plan-name { font-size: .78rem; }
    .paywall-plan-price { font-size: .82rem; }
}

/* Legacy carousel (still used in auth modal) */
.paywall-carousel {
    margin-top: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.paywall-carousel::-webkit-scrollbar { display: none; }
.paywall-carousel-track {
    display: flex;
    gap: 10px;
    min-width: max-content;
    padding: 0 4px;
}
.paywall-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 18px;
    min-width: 120px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
    position: relative;
    font-family: var(--font-body);
    color: var(--text);
}
.paywall-plan:hover {
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .07);
}
.paywall-plan.recommended {
    border-color: var(--accent);
    background: rgba(255, 81, 47, .08);
}
.paywall-plan.recommended:hover {
    background: rgba(255, 81, 47, .14);
}
.paywall-plan-badge {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .58rem;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 2px 10px;
    background: var(--accent);
    color: #050505;
    border-radius: 20px;
    white-space: nowrap;
}
.paywall-plan-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
}
.paywall-plan-price {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .95rem;
    color: var(--text);
}
.paywall-plan-price small {
    font-size: .65rem;
    font-weight: 400;
    color: var(--text-3);
}
.paywall-plan-credits {
    font-size: .7rem;
    color: var(--text-3);
}
.paywall-plan--pack {
    border-style: dashed;
}
.paywall-plan--pack .paywall-plan-name::before {
    content: '';
}

.inline-paywall-plans {
}

.inline-plan-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
    min-width: 140px;
}

.inline-plan-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, .4);
}

.inline-plan-btn.primary {
    background: linear-gradient(135deg, var(--accent), #ff7e4f);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px -4px rgba(255, 81, 47, .3);
}

.inline-plan-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px var(--accent-mid);
}

.inline-plan-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
}

.inline-plan-price {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
}

.inline-plan-desc {
    font-size: .7rem;
    opacity: .7;
}

.inline-paywall-note {
    font-size: .68rem !important;
    color: var(--text-3) !important;
    margin-top: 12px !important;
}

/* Locked input area (blurred when no access) */
.check-input-area.locked {
    opacity: .35;
    pointer-events: none;
    filter: blur(2px);
    user-select: none;
}

/* ══════════════════════════════════════
   AUTH SUCCESS SCREENS
   ══════════════════════════════════════ */
.auth-success-screen {
    text-align: center;
    padding: 8px 0;
}

.auth-success-icon {
    margin-bottom: 16px;
    animation: scaleIn .4s var(--ease);
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.auth-success-screen h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-plans {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.auth-plan-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: var(--r);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
    position: relative;
}

.auth-plan-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.auth-plan-btn.recommended {
    border-color: var(--accent);
    background: rgba(255, 81, 47, .06);
}

.auth-plan-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 10px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: .55rem;
    border-radius: 4px;
    letter-spacing: .06em;
    white-space: nowrap;
}

.auth-plan-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
}

.auth-plan-price {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
}

.auth-plan-price span {
    font-size: .7rem;
    font-weight: 400;
    color: var(--text-3);
}

.auth-plan-desc {
    font-size: .68rem;
    color: var(--text-3);
}

.btn-link {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color .2s;
}

.btn-link:hover {
    color: var(--text) !important;
}

/* no-access-card styles moved to dashboard section */

/* ══════════════════════════════════════
   RESULT CARD ANIMATION
   ══════════════════════════════════════ */
.result-card-enter {
    animation: resultCardEntrance .6s var(--ease);
}

@keyframes resultCardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Red flag stagger animation */
.red-flag {
    animation: fadeSlideUp .3s var(--ease) both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════
   PROCESSING ANIMATION UPGRADE
   ══════════════════════════════════════ */
.processing-text {
    transition: opacity .2s;
}

.processing-sub {
    transition: opacity .2s;
}

/* History items entrance animation */
.history-item {
    animation: fadeSlideUp .3s var(--ease) both;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state-icon {
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.empty-state p {
    font-size: .82rem;
    color: var(--text-2);
    margin-bottom: 16px;
}

/* ══════════════════════════════════════
   MULTI-SECTION REPORT CARD
   ══════════════════════════════════════ */
.result-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sub-scores {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.sub-score {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-score-label {
    font-family: var(--font-mono);
    font-size: .65rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sub-score-val {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .75rem;
}

.sub-score-val.green {
    color: var(--green);
}

.sub-score-val.yellow {
    color: var(--yellow);
}

.sub-score-val.red {
    color: var(--red);
}

.sub-score-track {
    height: 4px;
    background: rgba(255, 255, 255, .06);
    border-radius: 2px;
    overflow: hidden;
}

.sub-score-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sub-score-fill.green {
    background: var(--green);
}

.sub-score-fill.yellow {
    background: var(--yellow);
}

.sub-score-fill.red {
    background: var(--red);
}

.report-section {
    margin-bottom: 16px;
    text-align: left;
}

.report-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .65rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.report-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(239, 68, 68, .12);
    color: var(--red);
    font-size: .6rem;
    font-weight: 700;
}

.report-count.green {
    background: rgba(34, 197, 94, .12);
    color: var(--green);
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.report-grid-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(255, 255, 255, .02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .04);
}

.report-grid-label {
    font-size: .72rem;
    color: var(--text-2);
}

.report-grid-value {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
}

.report-grid-value.green {
    color: var(--green);
}

.report-grid-value.yellow {
    color: var(--yellow);
}

.report-grid-value.red {
    color: var(--red);
}

.report-flag {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: .75rem;
    color: var(--text-2);
    line-height: 1.4;
    animation: fadeSlideUp .3s var(--ease) both;
}

.report-flag+.report-flag {
    border-top: 1px solid rgba(255, 255, 255, .03);
}

.report-flag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    margin-top: 5px;
}

.report-flag-dot.green {
    background: var(--green);
}

@media (max-width: 480px) {
    .report-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   AI TEXT DETECTOR (check page)
   ══════════════════════════════════════ */
.aitext-input {
    width: 100%;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: var(--r);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .85rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    transition: border-color .2s;
}

.aitext-input:focus {
    border-color: var(--accent-mid);
    outline: none;
}

.aitext-input::placeholder {
    color: var(--text-3);
}

.aitext-counter {
    text-align: right;
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-3);
    margin-top: 6px;
    transition: color .2s;
}

/* AI Detection Result Card */
.ai-detect-result .result-card-logo {
    letter-spacing: .15em;
}

.ai-detect-ring {
    width: 110px;
    height: 110px;
    position: relative;
    margin: 0 auto 8px;
}

.ai-detect-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ai-detect-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
}

.ai-detect-ring-pct {
    font-size: .5em;
    font-weight: 500;
    opacity: .6;
    margin-left: 1px;
}

.ai-detect-ring-label {
    font-family: var(--font-mono);
    font-size: .65rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.ai-detect-signals {
    text-align: left;
    margin: 14px 0;
}

.ai-detect-signals-title {
    font-family: var(--font-mono);
    font-size: .6rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.ai-detect-signal {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: .75rem;
    color: var(--text-2);
    line-height: 1.4;
    animation: fadeSlideUp .3s var(--ease) both;
}

.ai-detect-signal+.ai-detect-signal {
    border-top: 1px solid rgba(255, 255, 255, .03);
}

.ai-detect-signal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 5px;
}

.ai-detect-confidence {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-3);
    text-align: center;
    letter-spacing: .04em;
}

/* ── Interactive elements must have cursor pointer + transitions ── */
a,
button,
[role="button"],
.faq-q,
.check-tab,
.bento-item,
.step,
.pricing-card,
.history-item,
.feed-item,
.inline-plan-btn,
.auth-plan-btn,
.btn-link,
.cookie-accept,
.upload-zone,
.check-nav-tab,
.pricing-toggle-btn,
.pricing-card-v2,
.pack-card {
    cursor: pointer;
    transition-property: transform, box-shadow, border-color, color, background, opacity;
    transition-duration: .2s;
    transition-timing-function: var(--ease);
}

/* ── Min touch targets (44px) on mobile ── */
@media (max-width: 768px) {
    button,
    [role="button"],
    .btn-primary,
    .btn-ghost,
    .btn-sm,
    .login-btn,
    .check-tab,
    .check-nav-tab,
    .faq-q,
    .inline-plan-btn,
    .auth-plan-btn,
    .cookie-accept,
    .pricing-toggle-btn {
        min-height: 44px;
    }

    .mobile-nav a,
    .mobile-nav button {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .user-dropdown-item {
        min-height: 44px;
    }
}

/* ══════════════════════════════════════
   SOCIAL PROOF TOAST (FOMO)
   ══════════════════════════════════════ */
.social-proof-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.social-proof-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
    max-width: 340px;
    opacity: 0;
    transform: translateY(16px) translateX(-16px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    pointer-events: auto;
}

.social-proof-toast.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.spt-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .7rem;
    color: #000;
    flex-shrink: 0;
}

.spt-text {
    flex: 1;
    font-size: .7rem;
    color: var(--text-2);
    line-height: 1.4;
}

.spt-text strong {
    color: var(--text);
    display: block;
    font-size: .72rem;
}

.spt-verdict {
    display: inline-block;
    margin-top: 3px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .62rem;
    letter-spacing: .04em;
}

.spt-verdict.green {
    color: var(--green);
}

.spt-verdict.yellow {
    color: var(--yellow);
}

.spt-verdict.red {
    color: var(--red);
}

.spt-time {
    font-family: var(--font-mono);
    font-size: .58rem;
    color: var(--text-3);
    flex-shrink: 0;
}

.spt-close {
    background: none;
    border: none;
    color: var(--text-3);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
}

.spt-close:hover {
    color: var(--text);
}

@media (max-width: 480px) {
    .social-proof-container {
        left: 12px;
        right: 12px;
        bottom: 80px;
    }

    .social-proof-toast {
        max-width: none;
    }

    .hero-input-group {
        flex-direction: column;
    }

    .hero-submit-btn {
        border-radius: 0 0 11px 11px;
        justify-content: center;
    }
}

/* ══════════════════════════════════════
   TYPEWRITER EFFECT (AI Summary)
   ══════════════════════════════════════ */
.result-summary.typewriting {
    border-right: 2px solid var(--accent);
    padding-right: 2px;
}

.result-summary.typewriting-done {
    border-right: none;
}

/* ══════════════════════════════════════
   PROBLEM / MANIFESTO SECTION
   ══════════════════════════════════════ */
.problem-section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 68, 68, .06), transparent 70%);
    pointer-events: none;
}

.problem-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.problem-heading {
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 48px;
    color: var(--text);
}

.problem-accent {
    color: var(--red);
    position: relative;
}

.problem-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    opacity: .4;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.problem-stat {
    text-align: center;
}

.problem-stat-num {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 8px;
}

.problem-stat-label {
    font-size: .78rem;
    color: var(--text-2);
    line-height: 1.5;
}

.problem-manifesto {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    text-align: left;
}

.problem-manifesto strong {
    color: var(--text);
}

@media (max-width: 640px) {
    .problem-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .problem-section {
        padding: 60px 0 50px;
    }
}

/* ══════════════════════════════════════
   SAMPLE REPORT PREVIEW
   ══════════════════════════════════════ */
.report-preview-section {
    padding: 100px 0;
    position: relative;
}

.sample-report {
    max-width: 600px;
    margin: 0 auto;
}

.sample-report-card {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.sample-report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--accent));
}

.sample-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sample-report-logo {
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text-3);
}

.sample-report-date {
    font-family: var(--font-mono);
    font-size: .58rem;
    color: var(--text-3);
}

.sample-report-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 4px;
}

.sample-report-creator {
    font-size: .75rem;
    color: var(--text-3);
    margin-bottom: 24px;
}

.sample-report-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.sample-score-ring {
    width: 100px;
    height: 100px;
    position: relative;
}

.sample-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sample-score-ring .score-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
}

.sample-score-ring .score-num small {
    font-size: .45em;
    font-weight: 500;
    opacity: .5;
}

.sample-ring-animate {
    stroke-dasharray: 326.726;
    stroke-dashoffset: 228.708;
    transition: stroke-dashoffset 1.5s var(--ease);
}

.sample-verdict-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .08em;
}

.sample-verdict-badge.omijaj {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, .15);
}

/* Sub-scores in sample report */
.sample-sub-scores {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(0, 0, 0, .2);
    border-radius: var(--r);
}

.sample-sub-header {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    margin-bottom: 6px;
}

.sample-sub-header span:first-child {
    color: var(--text-2);
}

.sample-sub-track {
    height: 6px;
    background: rgba(255, 255, 255, .05);
    border-radius: 3px;
    overflow: hidden;
}

.sample-sub-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 1.2s var(--ease);
}

.sample-sub-fill.red {
    background: var(--red);
}

.sample-sub-fill.yellow {
    background: var(--yellow);
}

.sample-sub-fill.green {
    background: var(--green);
}

/* Sample sections */
.sample-section {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sample-section:last-child {
    margin-bottom: 0;
}

.sample-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 14px;
}

.sample-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.sample-grid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .72rem;
    padding: 6px 0;
}

.sample-grid-item span {
    color: var(--text-3);
}

.sample-grid-item b {
    font-weight: 600;
    font-size: .7rem;
}

.sample-grid-item b.red {
    color: var(--red);
}

.sample-grid-item b.yellow {
    color: var(--yellow);
}

.sample-grid-item b.green {
    color: var(--green);
}

.sample-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(239, 68, 68, .1);
    color: var(--red);
    font-family: var(--font-mono);
    font-size: .58rem;
    font-weight: 700;
}

.sample-count.green {
    background: rgba(16, 185, 129, .1);
    color: var(--green);
}

.sample-flags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sample-flag {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .72rem;
    color: var(--text-2);
    line-height: 1.5;
}

.sample-flag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.sample-flag-dot.red {
    background: var(--red);
}

.sample-flag-dot.green {
    background: var(--green);
}

.sample-summary {
    font-size: .78rem;
    color: var(--text-2);
    line-height: 1.7;
}

.sample-summary strong {
    color: var(--text);
}

.sample-report-cta {
    text-align: center;
    margin-top: 40px;
}

.sample-report-cta p {
    font-size: .9rem;
    color: var(--text-2);
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .sample-report-card {
        padding: 20px;
    }

    .sample-grid {
        grid-template-columns: 1fr;
    }

    .report-preview-section {
        padding: 60px 0;
    }
}

/* ══════════════════════════════════════
   SAVINGS / PRICE ANCHORING
   ══════════════════════════════════════ */
.savings-section {
    padding: 80px 0 40px;
}

.savings-inner {
    max-width: 800px;
    margin: 0 auto;
}

.savings-comparison {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.savings-bad,
.savings-good {
    flex: 1;
    padding: 28px;
    border-radius: var(--r-lg);
    text-align: center;
}

.savings-bad {
    background: rgba(239, 68, 68, .04);
    border: 1px solid rgba(239, 68, 68, .1);
}

.savings-good {
    background: rgba(16, 185, 129, .04);
    border: 1px solid rgba(16, 185, 129, .1);
}

.savings-label {
    font-family: var(--font-mono);
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-3);
    margin-bottom: 12px;
}

.savings-price-big {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--red);
    line-height: 1.1;
    margin-bottom: 8px;
}

.savings-price-big span {
    font-size: .4em;
    font-weight: 500;
    opacity: .7;
}

.savings-price-big.accent {
    color: var(--green);
}

.savings-desc {
    font-size: .75rem;
    color: var(--text-3);
    line-height: 1.5;
}

.savings-vs {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-3);
    flex-shrink: 0;
    opacity: .5;
}

.savings-counter {
    text-align: center;
    padding: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}

.savings-counter-label {
    font-family: var(--font-mono);
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-3);
    margin-bottom: 8px;
}

.savings-counter-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--green);
    line-height: 1.1;
    margin-bottom: 8px;
}

.savings-counter-sub {
    font-size: .78rem;
    color: var(--text-3);
}

@media (max-width: 640px) {
    .savings-comparison {
        flex-direction: column;
        gap: 16px;
    }

    .savings-vs {
        transform: rotate(90deg);
    }

    .savings-bad,
    .savings-good {
        padding: 20px;
    }
}

/* ══════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════ */
.compare-section {
    padding: 100px 0 80px;
}

.compare-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
}

.compare-col {
    padding: 28px;
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
}

.compare-bad {
    background: rgba(239, 68, 68, .03);
    border: 1px solid rgba(239, 68, 68, .08);
}

.compare-good {
    background: rgba(16, 185, 129, .03);
    border: 1px solid rgba(16, 185, 129, .08);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.compare-header h4 {
    font-size: .9rem;
    font-weight: 700;
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .8rem;
    color: var(--text-2);
    line-height: 1.5;
}

.compare-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .compare-table {
        grid-template-columns: 1fr;
    }

    .compare-section {
        padding: 60px 0 50px;
    }
}

/* ══════════════════════════════════════
   HALL OF SHAME
   ══════════════════════════════════════ */
.shame-section {
    padding: 100px 0 80px;
}

.shame-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shame-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color .2s, background .2s;
}

.shame-item:hover {
    border-color: var(--border-2);
    background: var(--surface-2);
}

.shame-item:first-child {
    border-color: rgba(239, 68, 68, .15);
    background: rgba(239, 68, 68, .03);
}

.shame-rank {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-3);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.shame-item:first-child .shame-rank {
    color: var(--red);
}

.shame-score {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    width: 42px;
    text-align: center;
}

.shame-score small {
    font-size: .5em;
    font-weight: 500;
    opacity: .4;
}

.shame-score.red {
    color: var(--red);
}

.shame-score.yellow {
    color: var(--yellow);
}

.shame-info {
    flex: 1;
    min-width: 0;
}

.shame-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shame-meta {
    font-size: .68rem;
    color: var(--text-3);
    margin-top: 2px;
}

.shame-verdict {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .62rem;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 100px;
    flex-shrink: 0;
}

.shame-verdict.omijaj {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, .12);
}

.shame-verdict.ryzykowne {
    background: rgba(245, 158, 11, .1);
    color: var(--yellow);
    border: 1px solid rgba(245, 158, 11, .12);
}

.shame-note {
    font-size: .65rem;
    color: var(--text-3);
    text-align: center;
    margin-top: 16px;
    font-style: italic;
}

@media (max-width: 480px) {
    .shame-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 14px;
    }

    .shame-info {
        flex-basis: calc(100% - 100px);
    }

    .shame-verdict {
        margin-left: auto;
    }
}

/* ══════════════════════════════════════
   LIVE DOT (pulsing)
   ══════════════════════════════════════ */
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 6px;
    vertical-align: middle;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(16, 185, 129, .5);
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.8);
    }
}

/* ══════════════════════════════════════
   HERO SUBMIT BUTTON — pulsing glow
   ══════════════════════════════════════ */
.hero-submit-btn {
    animation: heroButtonPulse 3s ease-in-out infinite;
}

@keyframes heroButtonPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 81, 47, .3);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(255, 81, 47, .15);
    }
}

.hero-submit-btn:hover {
    animation: none;
    box-shadow: 0 4px 20px rgba(255, 81, 47, .25);
}

/* ══════════════════════════════════════
   SCROLL-TO-TOP BUTTON
   ══════════════════════════════════════ */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 800;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--surface-3);
    color: var(--text);
    border-color: var(--border-2);
}

/* ══════════════════════════════════════
   SCROLL DOWN INDICATOR (hero)
   ══════════════════════════════════════ */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-3);
    font-family: var(--font-mono);
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: scrollBounce 2.5s ease-in-out infinite;
    opacity: .6;
}

.scroll-indicator svg {
    animation: scrollArrow 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

@keyframes scrollArrow {

    0%,
    100% {
        opacity: .4;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(4px);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .scroll-top-btn {
        bottom: 80px;
        right: 16px;
    }
}

/* ══════════════════════════════════════
   CHECK PAGE TIPS
   ══════════════════════════════════════ */
.check-tips {
    margin-top: 24px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
}

.check-tips-title {
    font-family: var(--font-mono);
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-3);
    margin-bottom: 12px;
}

.check-tips-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .72rem;
    color: var(--text-2);
    line-height: 1.5;
}

.check-tip svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.check-tip strong {
    color: var(--text);
}

/* ══════════════════════════════════════
   MOBILE POLISH — new sections
   ══════════════════════════════════════ */
@media (max-width: 480px) {
    .shame-section {
        padding: 60px 0 50px;
    }

    .shame-score {
        font-size: 1.1rem;
    }

    .shame-name {
        font-size: .75rem;
    }

    .shame-meta {
        font-size: .6rem;
    }

    .savings-counter {
        padding: 24px;
    }

    .savings-counter-num {
        font-size: 2rem;
    }

    .check-tips {
        padding: 14px;
    }

    .check-tip {
        font-size: .65rem;
    }
}

/* ══════════════════════════════════════
   CHECK PAGE — Platform Layout
   ══════════════════════════════════════ */

/* ── Check Hero ── */
.check-hero {
    text-align: center;
    margin-bottom: 32px;
}

.check-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}

.check-hero p {
    font-size: .9rem;
    color: var(--text-2);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Check Nav Tabs ── */
.check-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 28px;
}

.check-nav-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    color: var(--text-3);
    font-family: var(--font-body);
    text-align: left;
    transition: color .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
    position: relative;
}

.check-nav-tab:hover {
    color: var(--text-2);
    border-color: var(--border-2);
    background: var(--surface-2);
}

.check-nav-tab.active {
    color: var(--text);
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.check-nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .25s;
}

.check-nav-tab.active .check-nav-icon {
    background: rgba(255, 81, 47, .12);
}

.check-nav-text {
    flex: 1;
    min-width: 0;
}

.check-nav-label {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.check-nav-desc {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.check-nav-tab.active .check-nav-desc {
    color: var(--text-2);
}

.check-nav-badge {
    font-size: .62rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    letter-spacing: .04em;
    flex-shrink: 0;
    text-transform: uppercase;
}

.check-nav-badge.paid {
    background: rgba(255, 81, 47, .12);
    color: var(--accent);
}

.check-nav-badge.free {
    background: rgba(16, 185, 129, .15);
    color: var(--green);
}

/* ── Tool Card Wrap (rich panel wrapper) ── */
.tool-card-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
}

.tool-card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.tool-card-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-card-header-icon.accent {
    background: rgba(255, 81, 47, .1);
    color: var(--accent);
}

.tool-card-header-icon.green {
    background: rgba(16, 185, 129, .1);
    color: var(--green);
}

.tool-card-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.tool-card-header p {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.55;
}

/* ── Tool Features (what we check) ── */
.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.tool-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-2);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
}

/* ── Tool Models (AI generators) ── */
.tool-models {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.tool-model {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-2);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    letter-spacing: .02em;
}

/* ── Tool Use Cases (card grid) ── */
.tool-usecases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.tool-usecase-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-2);
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
}

.tool-usecase-card:hover {
    border-color: var(--border-2);
    color: var(--text);
}

/* ── Free banner ── */
.tool-free-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .76rem;
    font-weight: 500;
    color: var(--green);
    background: rgba(16, 185, 129, .06);
    border: 1px solid rgba(16, 185, 129, .12);
}

/* ── Tool Hint ── */
.tool-hint {
    font-size: .75rem;
    color: var(--text-3);
    margin-top: 8px;
    text-align: center;
}

.upload-zone-svg {
    display: block;
    margin: 0 auto 12px;
    opacity: .4;
}

/* ── Tool Panel ── */
.tool-panel {
    display: none;
}

.tool-panel.active {
    display: block;
    animation: panelFadeIn .4s var(--ease-out) forwards;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Course input area */
.course-input-area {
    margin-top: 0;
}

.course-input-area .check-tabs {
    justify-content: center;
    margin-bottom: 16px;
}

/* Inline paywall */
#course-paywall {
    display: none;
    margin-bottom: 24px;
}

#course-paywall.visible {
    display: block;
}

/* Access badge inside card */
.tool-card-wrap .access-badge-wrap {
    margin-bottom: 16px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .check-hero h1 {
        font-size: 1.5rem;
    }

    .check-nav-tab {
        padding: 14px 16px;
        gap: 12px;
    }

    .check-nav-icon {
        width: 44px;
        height: 44px;
    }

    .check-nav-label {
        font-size: .84rem;
    }

    .check-nav-desc {
        display: none;
    }

    .tool-card-wrap {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .tool-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .tool-usecases {
        grid-template-columns: 1fr;
    }

    .tool-features {
        gap: 6px;
    }

    .tool-feature {
        font-size: .7rem;
        padding: 5px 10px;
    }
}

/* ══════════════════════════════════════
   AI TEXT DETECTOR — Textarea Styles
   ══════════════════════════════════════ */
.aitext-textarea-wrap {
    border: 1px solid var(--border-2);
    border-radius: 12px;
    background: var(--bg);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.aitext-textarea-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 81, 47, .08);
}

.aitext-textarea-wrap .aitext-input {
    border: none;
    border-radius: 12px 12px 0 0;
    background: transparent;
}

.aitext-textarea-wrap .aitext-input:focus {
    border-color: transparent;
    outline: none;
    box-shadow: none;
}

.aitext-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .01);
}

.aitext-free-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    color: var(--green);
    opacity: .85;
}

/* ══════════════════════════════════════
   FOCUS-VISIBLE ENHANCEMENTS
   ══════════════════════════════════════ */
.aitext-input:focus-visible,
.url-input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.check-nav-tab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.check-tab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

/* ══════════════════════════════════════
   SKELETON LOADING
   ══════════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--r);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-plan {
    height: 72px;
    border-radius: var(--r-lg);
    margin-bottom: 24px;
}

.skeleton-stat {
    height: 72px;
    border-radius: var(--r-lg);
}

.skeleton-history-item {
    height: 56px;
    border-radius: var(--r);
    margin-bottom: 8px;
}

.skeleton-history-item:nth-child(2) {
    opacity: .7;
}

.skeleton-history-item:nth-child(3) {
    opacity: .4;
}

/* ══════════════════════════════════════
   PRICING V2 — 3-Tier Grid
   ══════════════════════════════════════ */

/* .pricing-grid visibility controlled by .pricing-plan-card.active */
.pricing-grid.pricing-plan-card.active {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.pricing-card-v2 {
    position: relative;
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .4s, box-shadow .4s, transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.pricing-card-v2:hover {
    border-color: var(--border-2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .5);
}

.pricing-card-v2.recommended {
    border-color: var(--accent);
    box-shadow: 0 0 40px -12px rgba(255, 81, 47, .2), 0 0 80px -20px rgba(217, 242, 39, .08);
    transform: scale(1.03);
    z-index: 1;
}

.pricing-card-v2.recommended:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 0 48px -10px rgba(255, 81, 47, .3), 0 16px 40px -8px rgba(0, 0, 0, .4);
}

.pricing-card-v2-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    background: linear-gradient(135deg, var(--accent), #ff7e4f);
    color: #fff;
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    z-index: 2;
}

.pricing-card-v2-inner {
    padding: 36px 28px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pricing-card-v2.recommended .pricing-card-v2-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.pricing-card-v2-name {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-card-v2-desc {
    font-size: .78rem;
    color: var(--text-3);
    margin-bottom: 24px;
}

.pricing-card-v2-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
}

.pricing-card-v2-amount {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--text);
}

.pricing-card-v2.recommended .pricing-card-v2-amount {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card-v2-currency {
    display: flex;
    flex-direction: column;
    font-size: .78rem;
    color: var(--text-3);
    line-height: 1.3;
}

.pricing-card-v2-currency span:first-child {
    font-weight: 600;
    color: var(--text-2);
}

.pricing-card-v2-credits {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(217, 242, 39, 0.06);
    border: 1px solid rgba(217, 242, 39, 0.1);
    border-radius: 10px;
    font-size: .82rem;
    color: var(--text-2);
    margin-bottom: 24px;
}

.pricing-card-v2-credits strong {
    color: var(--accent-2);
    font-family: var(--font-mono);
    font-weight: 700;
}

.pricing-card-v2-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-card-v2-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .8rem;
    color: var(--text-2);
}

.pricing-card-v2-features li + li {
    border-top: 1px solid var(--border);
}

.pricing-card-v2-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 5px;
    flex-shrink: 0;
    background: rgba(34, 197, 94, .08);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-card-v2-cta {
    margin-top: auto;
}

.pricing-card-v2.recommended .pricing-card-v2-cta {
    background: linear-gradient(135deg, var(--accent), #ff7e4f);
    box-shadow: 0 4px 16px -4px rgba(255, 81, 47, .35);
}

.pricing-card-v2.recommended .pricing-card-v2-cta:hover {
    box-shadow: 0 8px 24px -4px rgba(255, 81, 47, .45);
}

/* ── Pack Grid (jednorazowe) ── */
/* Note: .pack-grid visibility is controlled by .pricing-plan-card / .pricing-plan-card.active */
/* Do NOT set display:grid here — it overrides the toggle hide/show logic */

.pack-grid.pricing-plan-card.active {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.pack-card {
    position: relative;
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .4s, box-shadow .4s, transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pack-card:hover {
    border-color: var(--border-2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .5);
}

.pack-card.pack-best-value {
    border-color: var(--accent-2);
    box-shadow: 0 0 40px -12px rgba(217, 242, 39, .15);
}

.pack-card.pack-best-value:hover {
    box-shadow: 0 0 48px -10px rgba(217, 242, 39, .25), 0 16px 40px -8px rgba(0, 0, 0, .4);
    transform: translateY(-4px);
}

.pack-card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    background: var(--accent-2);
    color: #000;
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    z-index: 2;
}

.pack-card-inner {
    padding: 32px 24px 24px;
    text-align: center;
}

.pack-card-name {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.pack-card-credits {
    font-size: .82rem;
    color: var(--accent-2);
    font-family: var(--font-mono);
    font-weight: 500;
    margin-bottom: 16px;
}

.pack-card-price {
    margin-bottom: 4px;
}

.pack-card-amount {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: -.03em;
    line-height: 1;
}

.pack-card-currency {
    font-size: .9rem;
    color: var(--text-3);
    margin-left: 2px;
}

.pack-card-unit {
    font-size: .72rem;
    color: var(--text-3);
    font-family: var(--font-mono);
    margin-bottom: 20px;
}

.pack-card-cta {
    width: 100%;
}

/* ── Pricing credit note ── */

.pricing-credit-note {
    text-align: center;
    font-size: .75rem;
    color: var(--text-3);
    margin-top: 24px;
    font-family: var(--font-mono);
    letter-spacing: .02em;
}

/* ══════════════════════════════════════
   CREDIT BAR (Dashboard)
   ══════════════════════════════════════ */

.credit-bar-wrap {
    margin-top: -8px;
    margin-bottom: 24px;
    padding: 18px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}

.credit-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.credit-bar-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-2);
    font-family: var(--font-head);
}

.credit-bar-count {
    font-family: var(--font-mono);
    font-size: .85rem;
    font-weight: 500;
    color: var(--accent-2);
}

.credit-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.credit-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 4px;
    transition: width 0.6s ease;
    min-width: 0;
}

.credit-bar-sub {
    font-size: .72rem;
    color: var(--text-3);
    margin-top: 6px;
}

/* ══════════════════════════════════════
   RESPONSIVE — Pricing V2 + Pack + Credit Bar
   ══════════════════════════════════════ */

@media (max-width: 900px) {
    .pricing-grid.pricing-plan-card.active {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card-v2.recommended {
        transform: none;
    }

    .pricing-card-v2.recommended:hover {
        transform: translateY(-4px);
    }

    .pack-grid.pricing-plan-card.active {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .pricing-card-v2-inner {
        padding: 28px 20px 20px;
    }

    .pricing-card-v2-amount {
        font-size: 2.4rem;
    }

    .pack-card-inner {
        padding: 24px 18px 18px;
    }

    .pack-card-amount {
        font-size: 2rem;
    }

    .credit-bar-wrap {
        padding: 14px 18px;
    }
}

/* ══════════════════════════════════════
   PRODUCTION UI/UX POLISH — v29
   Contrast, spacing, transitions, visual hierarchy
   ══════════════════════════════════════ */

/* ── 1. CONTRAST & ACCESSIBILITY ── */

/* Ensure hero hint text is readable */
.hero-input-hint {
    color: var(--text-3);
    font-size: .68rem;
}

/* Ensure hero trust labels are readable */
.hero-trust-label {
    color: var(--text-3);
    font-size: .72rem;
}

/* Footer links must be accessible — contrast bump */
.footer-links a {
    color: var(--text-3);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    color: var(--text-3);
}

/* Cookie bar link — ensure visible */
.cookie-bar p a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Focus rings on all buttons — consistent 2-3px */
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-sm:focus-visible,
.login-btn:focus-visible,
.inline-plan-btn:focus-visible,
.auth-plan-btn:focus-visible,
.btn-google:focus-visible,
.pricing-toggle-btn:focus-visible,
.hamburger:focus-visible,
.scroll-top-btn:focus-visible,
.cookie-accept:focus-visible,
.upload-zone:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── 2. TYPOGRAPHY & SPACING ── */

/* Body text minimum 16px on small screens */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
}

/* Max line width for readability */
.hero-p,
.problem-manifesto,
.expose-desc,
.detector-desc,
.section-sub,
.faq-a-inner,
.legal p {
    max-width: 65ch;
}

/* Monospace/tabular figures for all price and number displays */
.pricing-card-v2-amount,
.pack-card-amount,
.pricing-amount,
.inline-plan-price,
.auth-plan-price,
.stat-num,
.dash-stat-value,
.credit-bar-count,
.savings-price-big,
.savings-counter-num,
.shame-score,
.detector-confidence {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* ── 3. PRICING SECTION POLISH ── */

/* Recommended card visible glow */
.pricing-card-v2.recommended {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 81, 47, 0.15), 0 0 60px -20px rgba(217, 242, 39, 0.1);
    transform: scale(1.03);
}

.pricing-card-v2.recommended:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 0 40px rgba(255, 81, 47, 0.25), 0 16px 40px -8px rgba(0, 0, 0, .4);
}

/* Non-recommended cards subtle hover */
.pricing-card-v2:not(.recommended):hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .5);
}

/* Feature checkmarks — green colored */
.pricing-card-v2-features li::before {
    background-color: rgba(34, 197, 94, .1);
}

.pricing-features li::before {
    background-color: rgba(34, 197, 94, .1);
}

/* Pack cards — visually distinct from subscription cards */
.pack-card {
    background: #090910;
}

.pack-card:not(.pack-best-value) {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Pack best-value badge uses accent-2 */
.pack-card.pack-best-value {
    border-color: var(--accent-2);
    box-shadow: 0 0 30px -12px rgba(217, 242, 39, .18);
}

/* Pricing credit note — clearly visible */
.pricing-credit-note {
    font-size: .78rem;
    color: var(--text-2);
    margin-top: 28px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* Pricing toggle — smooth slider animation */
.pricing-toggle-slider {
    transition: transform .35s var(--ease-out);
}

.pricing-toggle-btn {
    transition: color .25s var(--ease), font-weight .15s;
}

/* ── 4. DASHBOARD POLISH ── */

/* Credit bar — smooth gradient fill with proper transition */
.credit-bar-fill {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 4px;
    transition: width 0.6s ease;
    min-width: 0;
}

.credit-bar-track {
    height: 8px;
    border-radius: 4px;
}

/* Stats grid — even spacing */
.dashboard-stats {
    gap: 16px;
}

/* Plan card — tier badge coloring */
.dash-plan-card.plan-pro .dash-plan-icon {
    color: var(--accent);
    background: rgba(255, 81, 47, .1);
}

.dash-plan-card.plan-starter .dash-plan-icon {
    color: var(--accent-2);
    background: rgba(217, 242, 39, .08);
}

.dash-plan-card.plan-power .dash-plan-icon {
    color: var(--green);
    background: rgba(16, 185, 129, .08);
}

.dash-plan-card.plan-credits .dash-plan-icon {
    color: var(--accent-2);
    background: rgba(217, 242, 39, .08);
}

/* History items — visual hierarchy */
.history-item {
    border-radius: 12px;
}

.history-title {
    font-size: .85rem;
}

.history-meta {
    font-size: .72rem;
    color: var(--text-3);
}

/* Empty state — helpful text */
.empty-state {
    padding: 56px 24px;
}

.empty-state-icon {
    font-size: 2.5rem;
    opacity: .5;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-2);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: .85rem;
    color: var(--text-3);
    max-width: 360px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* ── 5. CHECK PAGE POLISH ── */

/* Active tab — clear state with left accent border */
.check-nav-tab.active {
    border-left: 3px solid var(--accent);
}

.check-nav-tab.active .check-nav-icon {
    background: rgba(255, 81, 47, .12);
    color: var(--accent);
}

/* Make tabs scrollable on very small screens */
@media (max-width: 400px) {
    .check-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .check-nav::-webkit-scrollbar {
        display: none;
    }
}

/* CTA hierarchy in paywall */
.inline-plan-btn:not(.primary) {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Processing overlay — centered with backdrop blur */
.processing {
    padding: 56px 24px;
    border-radius: 16px;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.processing.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Processing step icons aligned */
.processing-step {
    gap: 12px;
    padding: 10px 16px;
}

.processing-step-icon {
    width: 24px;
    height: 24px;
}

/* Result card — proper spacing between sections */
.result-card {
    padding: 28px 24px;
}

/* Report sections — visual hierarchy */
.report-section {
    margin-bottom: 20px;
    padding-top: 16px;
}

.report-section + .report-section {
    border-top: 1px solid var(--border);
}

.report-section-title {
    font-size: .68rem;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

/* ── 6. ACCESS BADGE STATES ── */

/* Green for subscription */
.access-badge.has-sub {
    border-color: rgba(16, 185, 129, .3);
    background: rgba(16, 185, 129, .06);
    color: #22c55e;
}

/* Accent-2 for credits */
.access-badge.has-credits {
    border-color: rgba(217, 242, 39, .3);
    background: rgba(217, 242, 39, .06);
    color: var(--accent-2);
}

/* Red for no access */
.access-badge.no-access {
    border-color: rgba(239, 68, 68, .2);
    background: rgba(239, 68, 68, .04);
    color: var(--red);
}

/* ── 7. NAVBAR & FOOTER CONSISTENCY ── */

/* User dropdown — smooth transition */
.user-dropdown {
    border-radius: 12px;
}

/* Mobile nav gap between items */
.mobile-nav {
    gap: 8px;
}

/* Footer — min touch on links */
.footer-inner {
    min-height: 48px;
}

/* ── 8. ANIMATIONS — 150-300ms, ease-out ── */

/* Ensure all hover transitions are in safe range */
.bento-item {
    transition: transform .25s var(--ease-out), box-shadow .25s ease-out, border-color .25s;
}

.pricing-card-v2 {
    transition: border-color .25s, box-shadow .3s, transform .3s var(--ease-out);
}

.pack-card {
    transition: border-color .25s, box-shadow .3s, transform .3s var(--ease-out);
}

.history-item {
    transition: border-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}

.testimonial-card {
    transition: border-color .2s, transform .25s var(--ease-out);
}

/* ── 9. DARK MODE SPECIFICS ── */

/* Card backgrounds distinguishable from page bg */
.tool-card-wrap {
    background: #0a0a0c;
    border-color: rgba(255, 255, 255, 0.06);
}

.pricing-card-v2 {
    background: #0a0a0c;
}

.pack-card {
    background: #090910;
}

.dash-plan-card {
    background: #0a0a0c;
}

.dash-stat {
    background: #0a0a0c;
}

.history-item {
    background: #0a0a0c;
}

/* Subtle borders on dark cards */
.check-tips {
    background: #0a0a0c;
    border-color: rgba(255, 255, 255, 0.06);
}

/* ── 10. CONSISTENT BORDER-RADIUS ── */
/* 8px small, 12px medium, 16px large cards */

.btn-sm {
    border-radius: 8px;
}

.check-tab {
    border-radius: 8px;
}

.tool-feature {
    border-radius: 8px;
}

.tool-model {
    border-radius: 8px;
}

.check-tips {
    border-radius: 12px;
}

.result-card {
    border-radius: 16px;
}

.tool-card-wrap {
    border-radius: 16px;
}

/* ── 11. NO HORIZONTAL SCROLL ON MOBILE ── */
html, body {
    overflow-x: hidden;
}

/* ── 12. COOKIE BANNER NOT OVERLAPPING CONTENT ── */
.cookie-bar {
    padding: 14px 24px;
}

.cookie-bar.visible ~ .social-proof-container {
    bottom: 64px;
}

.cookie-bar.visible ~ .scroll-top-btn {
    bottom: 80px;
}

/* ── 13. TOAST PROPERLY POSITIONED ── */
.toast {
    z-index: 3000;
    bottom: 24px;
    max-width: calc(100vw - 48px);
    white-space: normal;
    text-align: center;
}

/* ── 14. SKELETON LOADERS POLISH ── */
.skeleton {
    border-radius: 12px;
}

.skeleton-plan {
    border-radius: 16px;
}

.skeleton-stat {
    border-radius: 16px;
}

.skeleton-history-item {
    border-radius: 12px;
}

/* ── 15. LOADING BUTTON SPINNER STATE ── */
.btn-primary.loading {
    opacity: .7;
    pointer-events: none;
    position: relative;
}

.btn-primary.loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(5, 5, 5, .3);
    border-top-color: #050505;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    flex-shrink: 0;
}

.btn-ghost.loading {
    opacity: .6;
    pointer-events: none;
}

.btn-ghost.loading::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, .2);
    border-top-color: var(--text-2);
    border-radius: 50%;
    animation: spin .6s linear infinite;
    flex-shrink: 0;
}

/* ═══ Report Modal ═══ */
.report-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}
.report-modal.open {
    pointer-events: auto;
    opacity: 1;
}
.report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(4px);
}
.report-modal-content {
    position: relative;
    background: var(--card-bg, #0c0c0e);
    border: 1px solid var(--border, rgba(255,255,255,.06));
    border-radius: 16px;
    padding: 32px;
    max-width: 560px;
    width: calc(100% - 32px);
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform .25s var(--ease-out, cubic-bezier(.16,1,.3,1));
}
.report-modal.open .report-modal-content {
    transform: translateY(0);
}
.report-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    color: var(--text-3);
    transition: color .2s;
    z-index: 1;
}
.report-modal-close:hover { color: var(--text); }
.report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.report-modal-logo {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--accent);
    text-transform: uppercase;
}
.report-modal-date {
    font-size: .72rem;
    color: var(--text-3);
}
.report-modal-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.report-modal-creator {
    font-size: .82rem;
    color: var(--text-3);
    margin-bottom: 20px;
}
.report-modal-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* ═══ Clickable History Items ═══ */
.history-item.clickable {
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.history-item.clickable:hover {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .1);
}
.history-item.clickable:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.history-arrow {
    color: var(--text-3);
    flex-shrink: 0;
    transition: transform .2s, color .2s;
}
.history-item.clickable:hover .history-arrow {
    color: var(--accent);
    transform: translateX(2px);
}

/* ═══ Credit Used Toast Enhancement ═══ */
.toast.toast-credit {
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(99,102,241,.05));
    border: 1px solid rgba(99,102,241,.3);
    color: var(--text);
}

/* ═══ Social Proof Stats ═══ */
.stats-section {
    padding: 64px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stats-item {
    padding: 28px 16px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 12px;
    transition: border-color .3s;
}
.stats-item:hover {
    border-color: rgba(255, 255, 255, .1);
}
.stats-num {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 800;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent, #FF512F), var(--accent-2, #D9F227));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stats-label {
    font-size: .78rem;
    color: var(--text-3);
    margin-top: 4px;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stats-num { font-size: 1.5rem; }
}

/* ═══ History Filters ═══ */
.dash-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.dash-history-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.history-filters {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, .03);
    border-radius: 8px;
    padding: 3px;
}
.history-filter {
    padding: 8px 14px;
    min-height: 36px;
    border: none;
    background: transparent;
    color: var(--text-3);
    font-size: .75rem;
    font-family: var(--font-body, 'Inter', sans-serif);
    border-radius: 6px;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
}
.history-filter:hover {
    color: var(--text-2);
}
.history-filter.active {
    background: rgba(255, 255, 255, .08);
    color: var(--text);
}

/* ═══ Credit Bar Transition ═══ */
.credit-bar-fill {
    transition: width .6s cubic-bezier(.16,1,.3,1), background .3s;
}

/* ═══ Stat Value Animation ═══ */
.dash-stat-value {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    .dash-history-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .dash-history-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 540px) {
    .report-modal-content {
        padding: 20px;
        max-height: 90vh;
        border-radius: 12px;
    }
    .score-ring--lg { width: 100px; height: 100px; }
    .sub-scores { gap: 10px; }
}

/* ═══ Active Nav Link ═══ */
.nav-links a.nav-link-active {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
}
.nav-link-active {
    color: var(--text) !important;
    position: relative;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 1px;
}

/* ═══ Print styles ═══ */
@media print {
    .navbar, .mobile-nav, .footer, .cookie-bar, .auth-modal,
    .report-modal, .toast, .scroll-top-btn, .hero-bg, .hero-blob,
    .scroll-indicator, .marquee, .btn-primary, .btn-ghost { display: none !important; }
    body { background: #fff; color: #000; }
    .result-card, .report-modal-content { box-shadow: none; border: 1px solid #ccc; }
    a { color: #000; text-decoration: underline; }
}

/* ═══ Mobile 375px polish ═══ */
@media (max-width: 380px) {
    .report-modal-content { padding: 16px; }
    .inline-paywall-plans { flex-direction: column; }
    .inline-plan-btn { width: 100%; }
    .pricing-card-v2-amount { font-size: 2rem; }
    .hero-url-input { font-size: 14px; }
    .check-hero h1 { font-size: 1.3rem; }
    .check-nav-desc { display: none; }
    .history-filters { gap: 2px; }
    .history-filter { padding: 4px 10px; font-size: .7rem; }
}

/* ══════════════════════════════════════
   CHECKOUT OVERLAY (Stripe popup)
   ══════════════════════════════════════ */
.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.checkout-overlay.open {
    display: flex;
}
/* Embedded Checkout wrapper */
.checkout-embed-wrap {
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    background: #0c0c0e;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
    animation: stripeModalIn .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
@keyframes stripeModalIn {
    from { opacity: 0; transform: scale(.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.checkout-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.checkout-embed-header h3 {
    font-size: 1rem;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.checkout-embed-header p {
    font-size: .8rem;
    font-family: var(--font-body);
    color: var(--text-3);
    margin: 2px 0 0;
}
.checkout-embed-close {
    background: none;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color .2s;
}
.checkout-embed-close:hover { color: var(--text); }
.checkout-embed-target {
    flex: 1;
    overflow-y: auto;
    min-height: 400px;
}
.checkout-embed-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--text-3);
    font-size: .85rem;
}
.checkout-overlay-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,.08);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile credit badge in hamburger menu */
.mobile-credit-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: .85rem;
    color: var(--accent-2);
    border-top: 1px solid var(--border);
    margin-top: 8px;
}
.mobile-credit-badge strong {
    font-family: var(--font-mono);
    font-weight: 700;
}

/* Dashboard Quick Actions */
.dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.dash-quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.dash-quick-action:hover {
    border-color: var(--accent);
    color: var(--text);
    background: var(--surface-2);
    transform: translateY(-2px);
}
.dash-quick-action svg {
    color: var(--accent);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .dash-quick-actions {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   SETTINGS MODAL SECTIONS
   ══════════════════════════════════════ */
.settings-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.settings-section:last-child {
    border-bottom: none;
}
.settings-section-title {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.settings-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}
.settings-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    object-fit: cover;
    flex-shrink: 0;
}
.settings-name {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
}
.settings-email {
    font-size: .78rem;
    color: var(--text-3);
    word-break: break-all;
}
.settings-plan-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    margin-bottom: 12px;
}
.settings-plan-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.settings-plan-credits {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--accent-2);
    margin-top: 2px;
}
.settings-plan-renewal {
    font-size: .72rem;
    color: var(--text-3);
    margin-top: 2px;
}

/* Settings danger zone buttons */
.settings-danger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(239, 68, 68, .06);
    border: 1px solid rgba(239, 68, 68, .15);
    border-radius: 10px;
    color: var(--text);
    font-size: .82rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s, opacity .2s, transform .2s;
}
.settings-danger-btn svg {
    color: var(--red);
    flex-shrink: 0;
}
.settings-danger-btn:hover {
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .3);
}
.settings-danger-btn--delete {
    color: var(--red);
}
.settings-danger-btn--delete:hover {
    background: rgba(239, 68, 68, .18);
}

/* ══════════════════════════════════════
   MOBILE OPTIMIZATION (v45)
   ══════════════════════════════════════ */

/* -- iOS zoom prevention for inputs -- */
@supports (-webkit-touch-callout: none) {
    .url-input,
    .aitext-input,
    .auth-input {
        font-size: 16px !important;
    }
}

/* -- Touch targets 44px minimum -- */
.btn-primary,
.btn-outline,
.subscribe-btn,
.paywall-plan,
.check-tab,
.check-nav-tab {
    min-height: 44px;
}

/* -- 640px breakpoint fixes -- */
@media (max-width: 640px) {
    .wrap,
    .wrap-sm {
        padding: 0 20px;
    }

    .check-container {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .auth-modal-content {
        max-width: 92vw;
        padding: 32px 20px 24px;
    }

    .paywall-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .inline-paywall-content {
        padding: 24px 16px;
    }

    .paywall-plan {
        min-width: 100%;
        white-space: normal;
    }

    .navbar {
        width: 95%;
    }
}

/* -- 480px breakpoint fixes -- */
@media (max-width: 480px) {
    .check-hero h1 {
        font-size: 1.3rem;
    }

    .check-hero p {
        font-size: .85rem;
    }

    .check-nav-tab {
        padding: 10px 12px;
        gap: 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .check-nav-label {
        font-size: .8rem;
    }

    .tool-card-wrap {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .tool-card-header p {
        font-size: .9rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-stats .dash-stat:nth-child(3) {
        grid-column: auto;
    }

    .dash-welcome h1 {
        font-size: 1.3rem;
    }

    .check-container {
        padding-top: 85px;
    }

    .report-modal-inner {
        padding: 24px 16px;
        max-width: 95vw;
    }
}

/* ══════════════════════════════════════
   WEB INTERFACE GUIDELINES FIXES (v46)
   ══════════════════════════════════════ */

/* -- Reduced motion: honor user preference -- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -- Touch action: eliminate 300ms tap delay -- */
button,
a,
[role="tab"],
.check-nav-tab,
.paywall-plan,
.subscribe-btn,
.pricing-card-cta,
.btn-primary,
.btn-ghost,
.btn-sm,
.login-btn,
.hamburger {
    touch-action: manipulation;
}

/* -- Overscroll: prevent background scroll on modals -- */
.auth-modal,
.checkout-overlay,
.mobile-nav.open {
    overscroll-behavior: contain;
}

/* -- Scroll margin for anchored headings (fixed navbar) -- */
[id] {
    scroll-margin-top: 100px;
}

/* -- Text wrap balance on headings -- */
h1, h2, h3 {
    text-wrap: balance;
}

/* -- Tap highlight -- */
button,
a {
    -webkit-tap-highlight-color: rgba(255, 81, 47, .15);
}