:root {
    --primary: #4F46E5;
    --primary-light: #EEF2FF;
    --primary-dark: #3730A3;
    --accent: #10B981;
    --accent-light: #D1FAE5;
    --warning: #F59E0B;
    --danger: #EF4444;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --text-main: #0F172A;
    --text-sub: #64748B;
    --border: #E2E8F0;
    --divider: #F1F5F9;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(79, 70, 229, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ─── HEADER ─────────────────────────────────── */

header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 76px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

header.scrolled {
    height: 66px;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.pixel-logo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5px;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.px-box { width: 100%; height: 100%; border-radius: 2px; }
.c1 { background: #4F46E5; }
.c2 { background: #818CF8; }
.c3 { background: #C7D2FE; }
.c4 { background: #10B981; }
.c5 { background: #34D399; }

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

nav ul li a:hover { color: var(--primary); }

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

.nav-faq-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-sub);
    padding: 9px 14px;
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-faq-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 9px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-menu {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
}

/* ─── LAYOUT HELPERS ─────────────────────────── */

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 64px 0;
}

.section-white { background: #fff; }

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-header p {
    font-size: 18px;
    color: var(--text-sub);
    max-width: 560px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #818CF8 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── HERO ───────────────────────────────────── */

.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-photo {
    position: absolute;
    inset: 0;
    background-image: url('images/pixeltruth-hero-ai-image-detector-background-know-real-from-ai.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-blob {
    position: absolute;
    top: -200px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-text h1 {
    font-size: 68px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-main);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 15px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s, gap 0.2s;
}

.btn-ghost:hover {
    color: var(--primary);
    gap: 12px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 500;
}

.trust-item i { color: var(--accent); font-size: 13px; }

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

/* ─── HERO VISUAL / SCAN CARDS ───────────────── */

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.scan-card {
    background: #fff;
    border-radius: 20px 0 0 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.09);
    border: 1px solid var(--border);
    animation: floatCard 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    position: relative;
}

.scan-card-side-label {
    position: absolute;
    top: 0;
    right: -31px;
    bottom: 0;
    width: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-radius: 20px 0 0 20px;
}

.scan-card-side-label.ai {
    background: linear-gradient(180deg, #3730A3, #4F46E5);
    color: rgba(255,255,255,0.92);
}

.scan-card-side-label.real {
    background: linear-gradient(180deg, #059669, #10B981);
    color: rgba(255,255,255,0.92);
}

.scan-card.real {
    margin-left: 48px;
    animation-direction: alternate-reverse;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.scan-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.scan-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.scan-card-icon.ai { background: #FEF2F2; color: var(--danger); }
.scan-card-icon.real { background: var(--accent-light); color: var(--accent); }

.scan-card-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--text-main);
}

.scan-card-title.real { color: var(--accent); }
.scan-card-sub { font-size: 11px; color: var(--text-sub); }

.scan-badge-ai {
    margin-left: auto;
    background: #FEF2F2;
    color: var(--danger);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.scan-badge-real {
    margin-left: auto;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
}

.scan-thumb {
    height: 200px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.scan-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(239,68,68,0.15) 0%, transparent 60%);
}

.scan-thumb-overlay {
    position: absolute;
    bottom: 10px;
    right: 12px;
    color: var(--danger);
    font-size: 20px;
    opacity: 0.7;
}

.scan-metrics { display: flex; flex-direction: column; gap: 10px; }
.scan-metrics.compact { gap: 8px; }

.metric-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-label {
    font-size: 11px;
    color: var(--text-sub);
    width: 90px;
    flex-shrink: 0;
}

.metric-bar-wrap {
    flex: 1;
    height: 6px;
    background: var(--divider);
    border-radius: 100px;
    overflow: hidden;
}

.metric-bar {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease-out;
}

.metric-bar.danger { background: var(--danger); }
.metric-bar.warning { background: var(--warning); }
.metric-bar.accent { background: var(--accent); }

.metric-val {
    font-size: 12px;
    font-weight: 700;
    width: 32px;
    text-align: right;
}

.metric-val.danger { color: var(--danger); }
.metric-val.warning { color: var(--warning); }
.metric-val.accent { color: var(--accent); }

.scan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.scan-tag {
    font-size: 10px;
    background: var(--divider);
    color: var(--text-sub);
    padding: 3px 9px;
    border-radius: 100px;
    font-weight: 500;
}

/* ─── STATS BAR ──────────────────────────────── */

.stats-bar {
    background: var(--primary);
    padding: 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    padding: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 48px;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-pro-badge {
    font-size: 11px;
    font-weight: 800;
    background: rgba(255,255,255,0.18);
    color: #fff;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    border: 1px solid rgba(255,255,255,0.25);
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.15);
    margin: 16px 0;
    align-self: stretch;
}

/* ─── HOW IT WORKS ───────────────────────────── */

.steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.step-card {
    flex: 1;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    width: 52px;
    height: 52px;
    background: var(--divider);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-sub);
    margin-bottom: 20px;
}

.step-icon.primary { background: var(--primary-light); color: var(--primary); }
.step-icon.accent { background: var(--accent-light); color: var(--accent); }

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.step-card p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.65;
    flex-grow: 1;
}

.badge-coming-soon {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    background: #F1F5F9;
    color: #94A3B8;
    border: 1px solid #E2E8F0;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 4px;
}

.step-pro-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #1D4ED8, #3B82F6);
    color: #fff;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 6px;
    position: relative;
    top: -1px;
}

/* Step mini UI fragments */
.step-mini-upload {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 2px dashed var(--border);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
}

.step-mini-upload i {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.7;
}

.step-mini-upload span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.step-mini-hint {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: var(--text-sub) !important;
}

.step-mini-verdict {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-verdict-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: conic-gradient(#F59E0B 0% 91%, #FEF3C7 91% 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 0 4px #FEF3C7;
}

.step-verdict-circle::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: #fff;
}

.step-v-pct {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #D97706;
    line-height: 1;
}

.step-v-conf {
    position: relative;
    z-index: 1;
    font-size: 8px;
    color: #92400E;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.step-v-label {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #D97706;
    letter-spacing: 0.3px;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--border);
    font-size: 20px;
    flex-shrink: 0;
    align-self: center;
}

/* ─── FEATURE SLIDES ─────────────────────────── */

#features > .container > .section-header { margin-bottom: 48px; }

.feature-slide {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 56px;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-slide:nth-child(even) { flex-direction: row-reverse; }

.feature-content { flex: 1; }

.feature-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 14px;
}

.feature-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.feature-content p {
    font-size: 17px;
    color: var(--text-sub);
    margin-bottom: 24px;
    line-height: 1.75;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text-sub);
}

.feature-list li i {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.c2pa-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.c2pa-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    margin-left: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    transition: box-shadow 0.2s, color 0.2s;
    flex-shrink: 0;
}

.c2pa-tooltip-trigger:hover {
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(79,70,229,0.2);
}

.c2pa-popup {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 18px 20px;
    max-width: 320px;
    width: 320px;
    z-index: 999;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-sub);
    bottom: calc(100% + 8px);
    left: 100%;
    transform: translateX(-100%);
}

.c2pa-popup.visible { display: block; }

.c2pa-popup p { margin: 0 0 8px; }
.c2pa-popup p:last-child { margin-bottom: 0; }
.c2pa-popup strong { color: var(--text-main); }

.c2pa-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-sub);
    font-size: 13px;
    padding: 2px 4px;
    line-height: 1;
}

.c2pa-popup-close:hover { color: var(--text-main); }

.feature-list li.c2pa-note {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 4px;
    align-items: flex-start;
}

.feature-list li.c2pa-note i { color: #F97316; margin-top: 2px; }
.feature-list li.c2pa-note span { font-size: 13px; line-height: 1.6; color: #7C2D12; }
.feature-list li.c2pa-note strong { color: #C2410C; }

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-chips span {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 100px;
}

.feature-chips span i { font-size: 11px; color: var(--accent); }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.feature-grid-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-grid-item:hover {
    border-color: #c7d2fe;
    box-shadow: var(--shadow);
}

.fgi-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-grid-item b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3px;
}

.feature-grid-item p {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0;
}

.fgi-pro {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    background: linear-gradient(135deg, #1D4ED8, #3B82F6);
    color: #fff;
    padding: 1px 6px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
    top: -1px;
}

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

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-wrapper {
    position: relative;
    width: 300px;
    height: 620px;
    background: #0a0a0a;
    border-radius: 44px;
    padding: 10px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 36px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-glare {
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 45%);
    pointer-events: none;
    border-radius: 36px;
}

.phone-float-badge {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.phone-float-badge i { color: var(--primary); }

.phone-float-badge.top {
    top: 40px;
    right: -30px;
    animation: floatCard 3.5s ease-in-out infinite;
}

.phone-float-badge.bottom {
    bottom: 80px;
    left: -30px;
    animation: floatCard 4s ease-in-out infinite reverse;
}

/* ─── DETECTION COVERAGE ─────────────────────── */

.detects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.detect-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s;
    transition-delay: var(--delay, 0s);
}

.detect-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.detect-card:hover {
    box-shadow: var(--shadow);
    border-color: #c7d2fe;
    background: #fff;
}

.detect-card.more-card { opacity: 0.6; cursor: default; }
.detect-card.more-card:hover { box-shadow: none; border-color: var(--border); background: var(--bg); }

.detect-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

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

.detect-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detect-maker {
    display: block;
    font-size: 11px;
    color: var(--text-sub);
}

.detect-tier {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    flex-shrink: 0;
}

.detect-tier.free { background: var(--accent-light); color: var(--accent); }
.detect-tier.pro { background: var(--primary-light); color: var(--primary); }

.detects-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-sub);
    padding: 16px 24px;
    background: var(--divider);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.detects-note i { color: var(--primary); }

/* ─── ANALYTICS SECTION ──────────────────────── */

.analytics-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 96px 0;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.analytics-text .section-tag {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.analytics-text h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.analytics-text > p {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 32px;
    line-height: 1.75;
}

.analytics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.analytics-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

.analytics-list li i {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.analytics-list strong { color: #fff; }

/* report card */
.report-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    padding: 28px;
    backdrop-filter: blur(8px);
}

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

.report-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.report-verdict {
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.report-verdict.ai { background: rgba(239,68,68,0.2); color: #fca5a5; }

.report-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.report-row > span:first-child {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    width: 110px;
    flex-shrink: 0;
}

.report-bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    overflow: hidden;
}

.report-bar {
    height: 100%;
    border-radius: 100px;
}

.report-bar.danger { background: #f87171; }
.report-bar.warning { background: var(--warning); }
.report-bar.accent { background: var(--accent); }

.report-pct {
    font-size: 12px;
    font-weight: 700;
    width: 36px;
    text-align: right;
}

.report-pct.danger { color: #f87171; }
.report-pct.warning { color: var(--warning); }
.report-pct.accent { color: var(--accent); }

.report-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 0;
}

.report-engines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.engine-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.engine-row > span:first-child { width: 110px; flex-shrink: 0; }
.engine-row > span:last-child { width: 28px; text-align: right; color: rgba(255,255,255,0.8); font-weight: 600; }

.engine-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    overflow: hidden;
}

.engine-bar div {
    height: 100%;
    background: #818CF8;
    border-radius: 100px;
}

.report-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.report-meta span {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ─── PRICING ────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 44px 40px;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
    transition-delay: var(--delay, 0s);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    background: var(--accent);
}

.pricing-card:hover::after { transform: scaleY(1); }
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); transition: transform 0.25s ease, box-shadow 0.25s ease; }

/* PRO — light blue */
.pricing-card.pro-card {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.pricing-card.pro-card::after { background: #3B82F6; }
.pricing-card.pro-card:hover { box-shadow: 0 16px 40px rgba(59,130,246,0.2); }

/* ULTRA — strong indigo (featured) */
.pricing-card.featured {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 20px 48px rgba(79,70,229,0.28);
}

.pricing-card.featured.visible { transform: translateY(0); }
.pricing-card.featured::after  { background: rgba(255,255,255,0.5); }
.pricing-card.featured:hover,
.pricing-card.featured.visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px rgba(79,70,229,0.5), 0 0 0 1px rgba(255,255,255,0.12) inset;
}

.pricing-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.pricing-badge.free       { background: var(--accent-light); color: var(--accent); }
.pricing-badge.pro        { background: #DBEAFE; color: #1D4ED8; }
.pricing-badge.ultra      { background: rgba(255,255,255,0.2); color: #fff; }
.pricing-badge.enterprise { background: rgba(197,160,101,0.18); color: #C5A065; }

.pricing-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pricing-card.pro-card  .pricing-name { color: #1D4ED8; }
.pricing-card.featured  .pricing-name { color: #fff; }


.pricing-desc {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

.pricing-card.featured .pricing-desc {
    color: rgba(255,255,255,0.65);
    border-color: rgba(255,255,255,0.15);
}

.pricing-features {
    list-style: none;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-sub);
}

.pricing-features li i {
    font-size: 13px;
    color: var(--accent);
    width: 16px;
    flex-shrink: 0;
}

.pricing-features li.disabled { opacity: 0.4; }
.pricing-features li.disabled i { color: var(--text-sub); }

.pricing-card.pro-card .pricing-features li { color: #1e3a5f; }
.pricing-card.pro-card .pricing-features li i { color: #2563EB; }

.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .pricing-features li i { color: rgba(255,255,255,0.9); }
.pricing-card.featured .pricing-features li.disabled { opacity: 0.3; }

.pricing-card.enterprise {
    background: linear-gradient(160deg, #1a1508 0%, #2a1f0a 50%, #1a1508 100%);
    border-color: rgba(197,160,101,0.35);
    box-shadow: 0 8px 32px rgba(197,160,101,0.12);
}

.pricing-card.enterprise::after { background: #C5A065; }
.pricing-card.enterprise:hover,
.pricing-card.enterprise.visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(197,160,101,0.4), 0 0 0 1px rgba(197,160,101,0.3) inset;
    border-color: rgba(197,160,101,0.7);
}

.pricing-card.enterprise .pricing-name { color: #C5A065; }

.pricing-card.enterprise .pricing-desc {
    color: rgba(197,160,101,0.6);
    border-color: rgba(197,160,101,0.15);
}

.pricing-card.enterprise .pricing-features li { color: rgba(255,255,255,0.75); }
.pricing-card.enterprise .pricing-features li i { color: #C5A065; }
.pricing-card.enterprise .pricing-features li.disabled { opacity: 0.3; }

.pricing-btn.primary {
    background: #fff;
    color: var(--primary);
}

.pricing-btn.primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.pricing-btn.ghost {
    background: var(--primary-light);
    color: var(--primary);
}

.pricing-btn.ghost:hover {
    background: #dde4ff;
    transform: translateY(-2px);
}

/* ─── DOWNLOAD SECTION ───────────────────────── */

#download { padding: 60px 24px; }

.download-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 0 64px;
    overflow: hidden;
    position: relative;
    min-height: 360px;
}

.download-text {
    flex: 1.5;
    padding: 60px 0;
    z-index: 2;
}

.download-text h2 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.download-text > p {
    font-size: 18px;
    color: var(--text-sub);
    margin-bottom: 32px;
    max-width: 440px;
    line-height: 1.7;
}

.store-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0a0a0a;
    color: #fff;
    padding: 13px 28px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

.store-btn i { font-size: 28px; }
.btn-text span { display: block; font-size: 10px; text-transform: uppercase; opacity: 0.6; }
.btn-text strong { font-size: 17px; }

.download-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 40px 40px 0;
}

/* ─── HERO IMAGE FRAME (download section) ───── */

.dl-hero-frame {
    position: relative;
    width: 380px;
    height: 460px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(79,70,229,0.22), 0 8px 24px rgba(0,0,0,0.18);
}

.dl-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10,10,20,0.55) 0%, rgba(30,27,75,0.65) 100%);
}

.dl-hero-logo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
}

.dl-px-logo {
    width: 52px;
    height: 52px;
}

.dl-px-logo .px-box {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.dl-hero-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.dl-hero-tagline {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* responsive */
@media (max-width: 960px) {
    .download-image-side {
        padding: 0 0 40px;
        justify-content: center;
    }
    .dl-hero-frame { max-width: 320px; }
}

/* ─── DOWNLOAD REVIEWS ───────────────────────── */

.dl-reviews {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dl-reviews-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dl-rating-score {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

.dl-stars { color: #F59E0B; font-size: 15px; display: flex; gap: 2px; margin-bottom: 4px; }
.dl-rating-label { font-size: 12px; color: var(--text-sub); }

.dl-review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    max-width: 360px;
}

.dl-review-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dl-review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dl-review-name { font-size: 13px; font-weight: 600; color: var(--text-main); }
.dl-review-stars { color: #F59E0B; font-size: 11px; display: flex; gap: 2px; margin-top: 2px; }
.dl-review-text { font-size: 13px; color: var(--text-sub); line-height: 1.6; margin: 0; }

/* ─── FOOTER ─────────────────────────────────── */

footer {
    background: #fff;
    padding: 64px 8% 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--primary); }

.footer-trust {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-sub);
    background: var(--bg);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--divider);
    font-size: 13px;
    color: var(--text-sub);
}

/* ─── MOBILE MENU ────────────────────────────── */

.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    z-index: 2000;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active { transform: translateX(0); }

.close-menu {
    position: absolute;
    top: 24px; right: 24px;
    background: var(--divider);
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-nav-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 4px;
    text-decoration: none;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.mobile-nav-item:last-child { border-bottom: none; }

.mobile-nav-item:hover, .mobile-nav-item:active {
    color: var(--primary);
}

.mobile-nav-item i {
    width: 22px;
    text-align: center;
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.mobile-nav-item span {
    font-weight: 600;
    font-size: 15px;
    color: inherit;
    flex: 1;
}

/* ─── APP SCREEN MOCKUPS ─────────────────────── */

.app-screen {
    width: 100%;
    height: 100%;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
    font-size: 12px;
}

.as-statusbar {
    height: 26px;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 9.5px;
    font-weight: 700;
    color: #0F172A;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

.as-statusbar-icons {
    display: flex;
    gap: 4px;
    font-size: 9px;
    color: #0F172A;
}

.as-header {
    height: 50px;
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(226,232,240,0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    flex-shrink: 0;
}

.as-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #4F46E5;
    display: flex;
    align-items: center;
    gap: 7px;
}

.as-px-logo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.as-px-box { width: 100%; height: 100%; border-radius: 1.5px; }
.as-c1 { background: #4F46E5; }
.as-c2 { background: #06B6D4; }
.as-c3 { background: #A855F7; }
.as-c4 { background: #EC4899; }
.as-c5 { background: #F59E0B; }

.as-hdr-right {
    display: flex;
    gap: 7px;
    align-items: center;
}

.as-pro-badge {
    background: linear-gradient(135deg, #1D4ED8, #3B82F6);
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.as-hdr-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #64748B;
}

.as-content {
    flex: 1;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.as-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.as-welcome-name {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #0F172A;
}

.as-scan-counter {
    background: #EEF2FF;
    border: 1px solid #4F46E5;
    border-radius: 10px;
    padding: 5px 9px;
    text-align: center;
}

.as-scan-counter .cnt {
    font-size: 15px;
    font-weight: 800;
    color: #4F46E5;
    display: block;
    line-height: 1;
}

.as-scan-counter .lbl {
    font-size: 7.5px;
    font-weight: 700;
    color: #4F46E5;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.as-safety-card {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    border-radius: 18px;
    padding: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.32);
    flex-shrink: 0;
}

.as-safety-card::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    filter: blur(18px);
    pointer-events: none;
}

.as-safety-col { flex: 1; z-index: 1; }

.as-safety-label {
    font-size: 7.5px;
    font-weight: 800;
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.as-safety-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.as-safety-pct span {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

.as-safety-status {
    font-size: 7.5px;
    margin-top: 5px;
    padding: 2px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.1);
    color: #34D399;
}

.as-ring-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.as-ring-icon {
    position: absolute;
    color: #fff;
    font-size: 21px;
}

.as-stat-bars {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    border-left: 1px solid rgba(255,255,255,0.12);
    padding-left: 10px;
    flex-shrink: 0;
    z-index: 1;
}

.as-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.as-bar-item .as-bar-lbl {
    font-size: 6px;
    font-weight: 800;
    opacity: 0.55;
    text-transform: uppercase;
}

.as-bar-track {
    width: 3px;
    height: 22px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.as-bar-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 10px;
    background: rgba(255,255,255,0.8);
}

.as-bar-item .as-bar-val {
    font-size: 7px;
    font-weight: 800;
    opacity: 0.85;
}

.as-deep-scan {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.as-deep-scan .as-ds-text b {
    font-size: 12px;
    color: #0F172A;
    display: block;
}

.as-deep-scan .as-ds-text span {
    font-size: 9.5px;
    color: #64748B;
}

.as-toggle {
    width: 38px;
    height: 21px;
    background: #4F46E5;
    border-radius: 11px;
    position: relative;
}

.as-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 19px;
    width: 17px;
    height: 17px;
    background: #fff;
    border-radius: 50%;
}

.as-scan-zone {
    border: 2px dashed #E2E8F0;
    border-radius: 18px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.as-scan-icon {
    font-size: 30px;
    color: #4F46E5;
}

.as-scan-text {
    font-weight: 700;
    font-size: 13px;
    color: #0F172A;
}

.as-scan-hint {
    font-size: 10px;
    color: #64748B;
}

.as-engine-info {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    padding: 9px 12px;
    font-size: 9px;
    color: #4F46E5;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.as-nav {
    height: 54px;
    background: rgba(255,255,255,0.92);
    border-top: 1px solid rgba(226,232,240,0.7);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px 8px;
    flex-shrink: 0;
}

.as-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #94A3B8;
    font-size: 7.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.as-nav-btn i { font-size: 15px; }
.as-nav-btn.active { color: #4F46E5; }

.as-scan-fab {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    box-shadow: 0 5px 14px rgba(79, 70, 229, 0.38);
    margin-bottom: 10px;
}

/* RESULT SCREEN */
.as-result-header {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(226,232,240,0.8);
    flex-shrink: 0;
}

.as-result-header span {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
}

.as-back-btn {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #64748B;
}

.as-result-hero {
    background: #fff;
    padding: 16px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #F1F5F9;
    flex-shrink: 0;
}

.as-verdict-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 6px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.as-verdict-circle.ai { border-color: #FEF3C7; color: #F59E0B; }
.as-verdict-circle.real { border-color: #DCFCE7; color: #10B981; }

.as-v-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.as-v-label {
    font-size: 6.5px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.6;
    letter-spacing: 0.5px;
}

.as-v-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 3px;
}

.as-v-title.ai { color: #F59E0B; }
.as-v-title.real { color: #10B981; }

.as-v-sub { font-size: 10px; color: #64748B; margin-bottom: 5px; }

.as-scan-id {
    font-family: monospace;
    font-size: 9px;
    color: #94A3B8;
    letter-spacing: 0.8px;
}

.as-result-content {
    flex: 1;
    overflow: hidden;
    padding: 11px 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.as-section-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #64748B;
    margin-bottom: 6px;
}

.as-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.as-m-item {
    background: #F8FAFC;
    padding: 9px 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.as-m-item.high { background: rgba(239,68,68,0.05); }

.as-m-item .as-m-lbl {
    font-size: 8.5px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.as-m-item .as-m-val {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
}

.as-m-item.high .as-m-val { color: #EF4444; }

.as-m-bar {
    height: 4px;
    background: #E2E8F0;
    border-radius: 2px;
    overflow: hidden;
}

.as-m-bar div {
    height: 100%;
    background: #4F46E5;
    border-radius: 2px;
}

.as-m-item.high .as-m-bar div { background: #EF4444; }

.as-models-box {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.as-model-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 11px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 10.5px;
}

.as-model-row:last-child { border-bottom: none; }
.as-model-row span:first-child { color: #64748B; font-weight: 500; }
.as-model-row span:last-child { font-weight: 800; color: #0F172A; font-family: monospace; }
.as-model-row span.hot { color: #EF4444; }

.as-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    flex-shrink: 0;
    padding: 0 12px 12px;
}

.as-act-btn {
    height: 38px;
    border-radius: 11px;
    border: 1px solid #E2E8F0;
    background: #fff;
    font-size: 10.5px;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.as-act-btn.accent {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
}

/* HISTORY SCREEN */
.as-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
}

.as-search {
    margin: 9px 12px 0;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    color: #94A3B8;
    flex-shrink: 0;
}

.as-history-list {
    flex: 1;
    overflow: hidden;
    padding: 9px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.as-hist-item {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.as-hist-thumb {
    width: 42px; height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
}

.as-hist-thumb.t1 { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(239,68,68,0.15)); }
.as-hist-thumb.t2 { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(6,182,212,0.12)); }
.as-hist-thumb.t3 { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(251,191,36,0.2)); }
.as-hist-thumb.t4 { background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(79,70,229,0.08)); }
.as-hist-thumb.t5 { background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(245,158,11,0.12)); }

.as-hist-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.as-blur-text {
    font-size: 11.5px;
    font-weight: 700;
    color: #0F172A;
    filter: blur(3.5px);
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}

.as-hist-date { font-size: 9.5px; color: #94A3B8; }

.as-hist-status {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.as-hist-status.ai { background: rgba(245,158,11,0.1); color: #F59E0B; border: 1px solid rgba(245,158,11,0.2); }
.as-hist-status.real { background: rgba(16,185,129,0.1); color: #10B981; border: 1px solid rgba(16,185,129,0.2); }
.as-hist-status.suspicious { background: rgba(239,68,68,0.1); color: #EF4444; border: 1px solid rgba(239,68,68,0.2); }

/* ─── LEGAL PAGES ────────────────────────────── */

.legal-hero {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 120px 0 48px;
}

.legal-hero-inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

.legal-hero-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    border: 1px solid #c7d2fe;
}

.legal-hero h1 {
    font-size: 40px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.legal-hero p {
    font-size: 14px;
    color: var(--text-sub);
}

.legal-body {
    padding: 56px 0 80px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
}

/* Sidebar */
.legal-sidebar {
    position: sticky;
    top: 96px;
}

.legal-toc {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.toc-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-sub);
    margin-bottom: 12px;
}

.toc-link {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sub);
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 2px;
}

.toc-link:hover { background: var(--bg); color: var(--text-main); }

.toc-link.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.toc-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

/* Content */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.legal-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--accent-light);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
}

.legal-notice i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.legal-notice.warning {
    background: #FFFBEB;
    border-color: rgba(245, 158, 11, 0.3);
}

.legal-notice.warning i { color: var(--warning); }

.legal-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--divider);
    position: relative;
}

.legal-section:last-child { border-bottom: none; }

.legal-section-num { display: none; }

.legal-section h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.legal-section p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 12px;
}

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

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.legal-table thead tr {
    background: var(--primary-light);
}

.legal-table th {
    text-align: left;
    padding: 11px 16px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--border);
}

.legal-table td {
    padding: 12px 16px;
    color: var(--text-sub);
    line-height: 1.6;
    border-bottom: 1px solid var(--divider);
    vertical-align: top;
}

.legal-table td:first-child {
    white-space: nowrap;
    color: var(--text-main);
    width: 160px;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:hover td {
    background: var(--divider);
}

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

.legal-list li i {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 13px;
}

.legal-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.65;
}

.legal-highlight i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.legal-highlight.warning {
    background: #FFFBEB;
    border-color: var(--warning);
}

.legal-highlight.warning i { color: var(--warning); }

.legal-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.legal-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--divider);
    color: var(--text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.legal-card b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.legal-card p {
    font-size: 13px;
    color: var(--text-sub);
    margin: 0;
    line-height: 1.5;
}

.legal-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
    transition: background 0.2s, transform 0.2s;
}

.legal-contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; }
    .legal-toc { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; }
    .toc-label { width: 100%; }
    .toc-link { padding: 5px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; font-size: 12px; }
    .toc-link.active { background: var(--primary-light); }
    .toc-divider { display: none; }
    .legal-hero h1 { font-size: 28px; }
    .legal-hero-icon { width: 56px; height: 56px; font-size: 22px; }

    /* Tabele — scroll poziomy zamiast overflow */
    .legal-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
    .legal-table td:first-child { white-space: normal; width: auto; min-width: 100px; }
    .legal-table th, .legal-table td { padding: 10px 12px; font-size: 13px; }

    /* Treść bez wychodzenia poza ekran */
    .legal-content { overflow-x: hidden; word-break: break-word; }
    .legal-section p, .legal-section li { word-break: break-word; }
    .legal-body { padding: 32px 0 60px; }
    .legal-hero { padding: 90px 0 36px; }
}

/* ─── RESPONSIVE ─────────────────────────────── */

@media (max-width: 1100px) {
    header { padding: 0 5%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-text h1 { font-size: 56px; }
    .hero-visual { flex-direction: row; gap: 20px; }
    .scan-card.real { margin-left: 0; }
}

@media (max-width: 960px) {
    nav, .nav-cta, .nav-faq-link { display: none; }
    .btn-menu { display: block; margin-left: 10px; }
    /* Push Beta Test + hamburger to the right as a group */
    header { justify-content: flex-start; }
    .header-actions { margin-left: auto; gap: 6px; }

    .hero-text h1 { font-size: 52px; }

    .stats-grid { flex-wrap: wrap; }
    .stat-divider { display: none; }
    .stat-item { padding: 24px 32px; }

    .steps-grid { flex-direction: column; gap: 16px; }
    .step-arrow { display: none; }

    .feature-slide,
    .feature-slide:nth-child(even) {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .feature-chips { justify-content: center; }
    .feature-list li { justify-content: flex-start; text-align: left; }

    .phone-float-badge.top { right: 0; }
    .phone-float-badge.bottom { left: 0; }

    .analytics-grid { grid-template-columns: 1fr; gap: 40px; }
    .analytics-text { text-align: center; }
    .analytics-list li { justify-content: flex-start; text-align: left; }

    .pricing-card.featured { transform: none; }
    .pricing-card.featured.visible { transform: none; }

    .download-section {
        flex-direction: column;
        padding: 60px 24px 0;
        text-align: center;
        min-height: auto;
        margin: 0 0;
        border-radius: var(--radius-md);
    }

    .download-text { text-align: center; padding: 0 0 40px; }
    .download-text > p { max-width: 100%; }
    .store-buttons { justify-content: center; }
    .download-image-side { width: 100%; justify-content: center; }
    .download-image-side img { transform: none; max-width: 100%; margin-bottom: -40px; }
    .download-section:hover .download-image-side img { transform: translateY(-10px); }

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

@media (max-width: 600px) {
    .hero-text h1 { font-size: 42px; }
    .hero-visual { flex-direction: column; align-items: center; }
    .scan-card.real { margin-left: 0; width: 100%; }
    .scan-card { width: 100%; }

    .section-header h2 { font-size: 30px; }
    .feature-content h2 { font-size: 28px; }

    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 32px 24px; }

    .detects-grid { grid-template-columns: 1fr 1fr; }
    .detect-name { white-space: normal; }
    .detect-card { padding: 12px; gap: 10px; }
    .detect-tier { font-size: 9px; padding: 2px 6px; }

    .download-text h2 { font-size: 40px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .phone-wrapper { width: 260px; height: 540px; }
    .phone-float-badge { display: none; }

    .info-content { padding: 32px 24px; }
}

@media (max-width: 430px) {
    .detects-grid { grid-template-columns: 1fr; }
    .detect-card { padding: 14px 16px; gap: 12px; }
    .detect-name { white-space: normal; font-size: 14px; }

    /* Beta Test button scales down on small phones (390px etc.) */
    .btn-beta-header {
        padding: 8px 12px !important;
        font-size: 12px !important;
        gap: 5px !important;
    }
    .btn-beta-header i { display: none; }
    header { padding: 0 4%; }
}
