@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('product-suite.css');

:root {
    --bg: #050816;
    --surface: #0f172a;
    --card: #111827;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --green: #10b981;
    --amber: #f59e0b;
    --red: #ef4444;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.12);
    --glass: rgba(15, 23, 42, 0.72);
    --radius: 1.25rem;
    --radius-lg: 1.75rem;
    --shadow-glow: 0 0 60px rgba(34, 211, 238, 0.12);
    --logo-zoom: 2;
    --logo-slot-nav: 72px;
    --logo-slot-dash: 64px;
    --logo-slot-footer: 72px;
    --logo-slot-auth: 100px;
    --logo-slot-cert: 180px;
    --logo-zoom-cert: 2.4;
    /* Legacy aliases */
    --logo-nav-height: var(--logo-slot-nav);
    --logo-sidebar-height: var(--logo-slot-dash);
    --logo-footer-height: var(--logo-slot-footer);
    --logo-auth-height: var(--logo-slot-auth);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.08), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.08), transparent 35%);
    pointer-events: none;
    z-index: -1;
}

a { color: inherit; text-decoration: none; }

img:not(.site-logo) {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.25rem;
    min-height: calc(var(--logo-slot-nav) + 1.25rem);
}

/* Logo display — oversized render inside slot zooms past PNG whitespace */
.site-logo-host {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 0;
}

.site-logo-host--nav {
    height: var(--logo-slot-nav);
    min-width: 160px;
    max-width: min(240px, 32vw);
}

.site-logo-host--dash {
    height: var(--logo-slot-dash);
    min-width: 140px;
    max-width: min(220px, 28vw);
}

.site-logo-host--footer {
    height: var(--logo-slot-footer);
    min-width: 140px;
    max-width: 200px;
}

.site-logo-host--auth {
    height: var(--logo-slot-auth);
    min-width: 180px;
    max-width: 260px;
    margin: 0 auto 1.5rem;
}

.nav-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    line-height: 0;
}

img.site-logo {
    width: auto !important;
    max-width: none !important;
    height: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
    flex-shrink: 0 !important;
}

.site-logo-host .site-logo {
    height: calc(var(--logo-slot, var(--logo-slot-nav)) * var(--logo-zoom)) !important;
    max-height: none !important;
}

.site-logo-host--nav { --logo-slot: var(--logo-slot-nav); }
.site-logo-host--dash { --logo-slot: var(--logo-slot-dash); }
.site-logo-host--footer { --logo-slot: var(--logo-slot-footer); }
.site-logo-host--auth { --logo-slot: var(--logo-slot-auth); }
.site-logo-host--cert {
    --logo-slot: var(--logo-slot-cert);
    height: var(--logo-slot-cert);
    min-width: 220px;
    max-width: min(360px, 70vw);
    margin: 0 auto;
    justify-content: center;
}

.site-logo-host--cert .site-logo {
    height: calc(var(--logo-slot-cert) * var(--logo-zoom-cert)) !important;
    object-position: center center;
}

img.site-logo.site-logo--nav,
img.site-logo.site-logo--dash,
img.site-logo.site-logo--footer,
img.site-logo.site-logo--auth,
img.site-logo.site-logo--cert {
    width: auto !important;
    max-width: none !important;
}

img.site-logo.site-logo--auth {
    margin: 0;
}

.footer-brand .site-logo-host {
    margin-bottom: 0.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.nav-actions .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.875rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #050816;
    box-shadow: 0 4px 24px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover { box-shadow: 0 8px 32px rgba(34, 211, 238, 0.4); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Hero */
.hero {
    padding: 11rem 0 6rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Trust Score Widget */
.trust-widget {
    background: var(--glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

.trust-widget-demo-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.trust-widget--live-badge .home-badge-showcase,
.home-badge-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

.home-badge-showcase .mp-cert-badge-host,
.trust-widget--live-badge .mp-cert-badge-host {
    display: flex;
    justify-content: center;
    width: 100%;
}

.home-badge-showcase-note {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.home-badge-showcase-note a {
    color: var(--cyan);
    text-decoration: none;
}

.home-badge-showcase-note a:hover {
    text-decoration: underline;
}

.home-badge-embed-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.home-badge-embed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.home-badge-embed-title {
    text-align: left;
    margin-bottom: 1rem;
}

.home-badge-embed-desc {
    text-align: left;
    margin: 0 0 1.5rem;
    max-width: none;
}

.home-badge-embed-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.home-badge-embed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.home-badge-embed-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.home-badge-embed-list i {
    color: var(--cyan);
    margin-top: 0.2rem;
}

.home-badge-embed-browser {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.home-badge-embed-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--border);
}

.home-badge-embed-browser-dots::before {
    content: "● ● ●";
    letter-spacing: 0.15em;
    font-size: 0.5rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.home-badge-embed-browser-url {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: ui-monospace, monospace;
}

.home-badge-embed-browser-body {
    padding: 1.25rem 1.25rem 0;
}

.home-badge-embed-browser-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text);
}

.home-badge-embed-browser-line {
    height: 10px;
    border-radius: 4px;
    background: rgba(148, 163, 184, 0.15);
    margin-bottom: 0.65rem;
}

.home-badge-embed-browser-line--short {
    width: 45%;
}

.home-badge-embed-browser-line--btn {
    width: 38%;
    height: 32px;
    margin-top: 0.5rem;
    background: rgba(34, 211, 238, 0.2);
}

.home-badge-embed-site-footer {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.2);
    text-align: center;
}

.home-badge-embed-footer-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

.home-badge-embed-browser-global-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.25rem;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--border);
}

.home-badge-embed-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.home-badge-showcase--footer {
    justify-content: flex-end;
    margin-left: auto;
}

.home-badge-showcase--footer .mp-cert-badge-host {
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .home-badge-embed-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-badge-embed-title,
    .home-badge-embed-desc {
        text-align: center;
    }

    .home-badge-embed-copy .section-label {
        text-align: center;
    }

    .home-badge-embed-list {
        align-items: center;
    }

    .home-badge-embed-actions {
        justify-content: center;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.trust-score-ring {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.trust-score-ring svg { transform: rotate(-90deg); }

.trust-score-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-score-value .score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
}

.trust-score-value .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.trust-metric {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 0.75rem;
    padding: 0.75rem;
    text-align: center;
}

.trust-metric .val { font-weight: 700; font-size: 1.25rem; }
.trust-metric .lbl { font-size: 0.75rem; color: var(--text-muted); }

/* Bento Grid */
.section { padding: 6rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
    color: var(--cyan);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.bento-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.25);
    box-shadow: var(--shadow-glow);
}

.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.bento-card p { color: var(--text-muted); margin: 0; font-size: 0.9375rem; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { color: var(--text-muted); font-size: 0.9375rem; margin-top: 0.5rem; }

/* Testimonials (legacy — prefer value-prop-grid) */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-stars { color: var(--amber); margin-bottom: 1rem; }

.testimonial-text { color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }

.testimonial-author { font-weight: 600; }
.testimonial-role { font-size: 0.875rem; color: var(--text-muted); }

.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-prop-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.85));
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.value-prop-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.value-prop-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.value-prop-card h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 0.75rem; }
.value-prop-card p { color: var(--text-muted); margin: 0; line-height: 1.7; font-size: 0.9375rem; }

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.premium-panel {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
}

.premium-impact-banner {
    margin-bottom: 2rem;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.35), rgba(37, 99, 235, 0.45));
    border: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.08);
}

.premium-impact-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(207, 250, 254, 0.9);
}

.premium-impact-title { font-size: 1.75rem; font-weight: 900; margin: 0.5rem 0 0.75rem; line-height: 1.25; }
.premium-impact-gain { color: rgba(207, 250, 254, 0.95); font-weight: 600; margin: 0; }

.premium-impact-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.premium-impact-meta-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(207, 250, 254, 0.75);
    margin-bottom: 0.25rem;
}

.premium-impact-meta strong { font-size: 1.125rem; font-weight: 800; }

.onboarding-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.06);
}

.onboarding-banner p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

.pro-trial-banner {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.06);
}

.pro-trial-banner--expired {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
}

.pro-trial-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pro-trial-banner-inner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    flex: 1;
    min-width: 200px;
}

.tool-locked-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
    vertical-align: middle;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--card);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-grid--5 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (min-width: 1200px) {
    .pricing-grid--5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100%;
}

.pricing-grid--5 .pricing-card {
    padding: 1.75rem 1.25rem;
}

.pricing-card--enterprise {
    border-color: rgba(167, 139, 250, 0.35);
    background: linear-gradient(160deg, rgba(167, 139, 250, 0.06), rgba(15, 23, 42, 0.5));
}

.pricing-popular-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.pricing-card-head {
    min-height: 4.5rem;
    margin-bottom: 0.25rem;
}

.pricing-emoji {
    display: inline-block;
    min-width: 1.35em;
    margin-right: 0.15rem;
}

.pricing-tagline {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
    min-height: 2.9em;
}

.pricing-tagline--empty {
    visibility: hidden;
}

.pricing-price-wrap {
    min-height: 5.5rem;
    margin-bottom: 0.25rem;
}

.pricing-price-sub {
    margin: 0;
    min-height: 2.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.pricing-price-sub--empty {
    visibility: hidden;
}

.pricing-card-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.pricing-card-btn {
    width: 100%;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pricing-footnote {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-footnote a { color: var(--cyan); }

.pricing-checkout-hint {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.pricing-billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.35rem;
    margin: 0 auto 1.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.45);
}

.pricing-billing-btn {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.pricing-billing-btn--active {
    background: rgba(34, 211, 238, 0.15);
    color: var(--cyan);
}

.pricing-billing-save {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green);
    margin-left: 0.25rem;
}

.pricing-card.featured {
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
    z-index: 1;
}

.pricing-name {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.35rem;
    min-height: 1.5rem;
}

.pricing-card.featured .pricing-name {
    padding-right: 4.75rem;
}

.pricing-grid--5 .pricing-name {
    font-size: 1.0625rem;
}

.pricing-grid--5 .pricing-card.featured .pricing-name {
    padding-right: 0;
    padding-top: 1.75rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0.75rem 0 0.25rem;
    line-height: 1.1;
}

.pricing-grid--5 .pricing-price {
    font-size: 2.125rem;
}

.pricing-price--enterprise {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.35rem;
    margin: 0.75rem 0 0.25rem;
}

.pricing-price-prefix {
    flex: 0 0 100%;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    line-height: 1.2;
}

.pricing-price--enterprise .pricing-price-amount {
    font-size: 2.5rem;
    font-weight: 900;
}

.pricing-price--enterprise .pricing-price-suffix {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-price span,
.pricing-price-suffix { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    flex: 1;
}

.pricing-grid--uniform .pricing-features {
    min-height: calc(var(--pricing-feature-rows, 7) * 2.125rem);
}

.pricing-features li {
    padding: 0.4375rem 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.35;
}

.pricing-grid--5 .pricing-features li {
    font-size: 0.875rem;
}

.pricing-feature-spacer {
    visibility: hidden;
    pointer-events: none;
}

.pricing-features li::before { content: '✓ '; color: var(--green); }

.pricing-feature-spacer::before {
    content: '';
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9375rem; margin-top: 1rem; }

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }

.footer-col li { margin-bottom: 0.625rem; }

.footer-col a { color: var(--text-muted); font-size: 0.9375rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-icons { display: flex; gap: 1rem; }
.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}
.social-icons a:hover { border-color: var(--cyan); color: var(--cyan); }

.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; align-items: flex-start; }
.newsletter-form input[type="email"] {
    flex: 1 1 180px;
    min-width: 0;
}
.newsletter-consent {
    flex: 1 1 100%;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0.25rem 0 0;
    cursor: pointer;
}
.newsletter-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.newsletter-consent a { color: var(--cyan); }
.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
}

.form-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 2rem;
}

.alert {
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }
.alert-success { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); color: #6ee7b7; }

/* Page hero (inner pages) */
.page-hero {
    padding: 9rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin: 0 0 1rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.25); }

.team-card.featured { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 2rem; text-align: left; align-items: start; }

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bg);
    margin: 0 auto 1.25rem;
}

.team-card.featured .team-avatar { margin: 0; width: 160px; height: 160px; font-size: 3rem; }

.team-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.skill-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    font-size: 0.8125rem;
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--border); }

.timeline-item { position: relative; padding-bottom: 2rem; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.timeline-year { color: var(--cyan); font-weight: 700; font-size: 0.875rem; }
.timeline-title { font-weight: 700; margin: 0.25rem 0; }
.timeline-desc { color: var(--text-muted); font-size: 0.9375rem; }

/* Dashboard — premium sidebar navigation */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--bg);
}

.dashboard-layout--solo {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-layout--solo > .dashboard-main {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
}

.dash-mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 250;
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(8, 12, 28, 0.92);
    backdrop-filter: blur(16px);
    color: var(--cyan);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.dash-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

body.dash-nav-open .dash-sidebar-backdrop {
    display: block;
}

.dash-sidebar {
    position: sticky;
    top: 0;
    z-index: 220;
    height: 100vh;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(180deg, rgba(34, 211, 238, 0.04) 0%, transparent 22%),
        linear-gradient(180deg, rgba(8, 12, 28, 0.98), rgba(5, 8, 22, 0.96));
    backdrop-filter: blur(24px);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.18);
}

.dash-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    flex-shrink: 0;
}

.dash-sidebar-brand {
    display: flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.dash-sidebar-brand .site-logo-host--dash {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

img.site-logo.site-logo--portal {
    height: 48px !important;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.dash-sidebar-portal-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    line-height: 1.2;
    text-align: center;
    max-width: 140px;
    word-break: break-word;
}

.dash-sidebar-close {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 0.625rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.dash-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0.75rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.25) transparent;
}

.dash-sidebar-section {
    margin-bottom: 1.25rem;
}

.dash-sidebar-section--admin {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.14);
}

.dash-sidebar-section--admin .dash-sidebar-label {
    color: var(--amber);
}

.dash-sidebar-label {
    margin: 0 0 0.5rem;
    padding: 0 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dash-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.dash-sidebar-item {
    margin: 0;
}

.dash-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.625rem;
    border-radius: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
    position: relative;
}

.dash-sidebar-link__icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.08);
    color: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dash-sidebar-link__icon i {
    font-size: 0.875rem;
}

.dash-sidebar-link__text {
    line-height: 1.25;
}

.dash-sidebar-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.1);
}

.dash-sidebar-link:hover .dash-sidebar-link__icon {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.18);
    color: var(--cyan);
}

.dash-sidebar-link.active {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.22);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.08);
}

.dash-sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--cyan), #6366f1);
}

.dash-sidebar-link.active .dash-sidebar-link__icon {
    background: rgba(34, 211, 238, 0.16);
    border-color: rgba(34, 211, 238, 0.35);
    color: var(--cyan);
}

.dash-sidebar-link--admin.active,
.dash-sidebar-link--admin:hover {
    color: var(--amber);
    border-color: rgba(245, 158, 11, 0.22);
    background: rgba(245, 158, 11, 0.1);
}

.dash-sidebar-link--admin.active .dash-sidebar-link__icon,
.dash-sidebar-link--admin:hover .dash-sidebar-link__icon {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.28);
    color: var(--amber);
}

.dash-sidebar-link--admin.active::before {
    background: linear-gradient(180deg, var(--amber), #f97316);
}

.dash-sidebar-link--ai {
    color: var(--cyan);
}

.dash-sidebar-link--ai .dash-sidebar-link__icon {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.22);
}

.dash-sidebar-link--logout {
    color: #f87171;
}

.dash-sidebar-link--logout:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.dash-sidebar-link--logout:hover .dash-sidebar-link__icon {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.dash-sidebar-footer {
    flex-shrink: 0;
    padding: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(0, 0, 0, 0.15);
}

.dash-sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem 0.875rem;
}

.dash-sidebar-user__avatar {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(99, 102, 241, 0.18));
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: var(--cyan);
}

.dash-sidebar-user__meta {
    min-width: 0;
}

.dash-sidebar-user__meta strong {
    display: block;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-sidebar-user__meta span {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: capitalize;
}

.dash-sidebar-list--compact .dash-sidebar-link {
    padding: 0.45rem 0.625rem;
    font-size: 0.8125rem;
}

.dash-sidebar-list--compact .dash-sidebar-link__icon {
    width: 30px;
    height: 30px;
}

.dashboard-main {
    min-width: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.75rem 2rem 2.5rem;
    box-sizing: border-box;
}

/* Legacy topnav hidden */
.dashboard-topnav { display: none !important; }

.sidebar-nav {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    overflow-y: auto;
    min-height: 0;
}

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.sidebar-link-logout {
    color: var(--red);
    margin-top: auto;
}

.sidebar-link-admin {
    font-size: 0.9375rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--amber);
}

.sidebar-link-admin:hover,
.sidebar-link-admin.active {
    background: rgba(245, 158, 11, 0.18);
    color: var(--amber);
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
}

.dashboard-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.dash-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.dash-card.span-3 { grid-column: span 3; }
.dash-card.span-4 { grid-column: span 4; }
.dash-card.span-6 { grid-column: span 6; }
.dash-card.span-8 { grid-column: span 8; }
.dash-card.span-12 { grid-column: span 12; }

.dash-score { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.dash-label { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 0.5rem; }

/* Action hub — grouped dashboard / report navigation */
.action-hub {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 0.98));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-glow);
    margin-bottom: 1.5rem;
}

.action-hub-intro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.action-hub-intro-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.action-hub-title {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.action-hub-subtitle {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.action-hub-picker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 0.875rem 1rem;
    background: rgba(5, 8, 22, 0.5);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
}

.action-hub-picker label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

.action-hub-picker select {
    flex: 1;
    min-width: 200px;
    padding: 0.625rem 0.875rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.625rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9375rem;
}

.action-hub-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-hub-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.action-hub-group-title {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-hub-group-title i {
    color: var(--cyan);
    font-size: 0.875rem;
}

.action-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.action-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.875rem 1rem;
    background: rgba(5, 8, 22, 0.45);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    position: relative;
    min-height: 4.5rem;
}

.action-tile:hover {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.06);
    transform: translateY(-2px);
}

.action-tile--hero {
    padding: 1.25rem;
    min-height: 8.5rem;
    justify-content: flex-end;
}

.action-tile--hero.action-tile--scan:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.08);
}

.action-tile--hero.action-tile--report:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.08);
}

.action-tile--hero:first-child {
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.14), rgba(59, 130, 246, 0.08));
    border-color: rgba(34, 211, 238, 0.45);
}

.action-tile--hero:first-child:hover {
    border-color: var(--cyan);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.2);
}

.action-tile-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.2);
    color: var(--cyan);
}

.action-tile-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.625rem;
    background: rgba(148, 163, 184, 0.1);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
}

.action-tile-icon--hero {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
    background: rgba(34, 211, 238, 0.15);
}

.action-tile-label {
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.action-tile--hero .action-tile-label {
    font-size: 1.0625rem;
}

.action-tile-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Website cards on dashboard */
.website-card {
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.website-card:hover {
    border-color: rgba(34, 211, 238, 0.25);
}

.website-card-title {
    margin: 0 0 0.25rem;
    font-size: 1.0625rem;
}

.website-card-title a:hover {
    color: var(--cyan);
}

.website-card-url {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0 1rem;
    word-break: break-all;
}

.website-card-score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.website-card-score-row span:last-child {
    font-weight: 700;
    color: var(--cyan);
}

.website-card-progress {
    width: 100%;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 999px;
    height: 6px;
    margin-bottom: 1rem;
}

.website-card-progress-bar {
    background: var(--cyan);
    height: 6px;
    border-radius: 999px;
}

.website-card-toolbar {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.website-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid var(--border);
    background: rgba(5, 8, 22, 0.4);
    color: var(--text);
    transition: all 0.2s;
}

.website-card-cta:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.website-card-cta--ai {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.15));
    border-color: rgba(34, 211, 238, 0.45);
    color: var(--cyan);
}

.website-card-cta--ai:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(59, 130, 246, 0.22));
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.2);
    color: #fff;
}

.website-card-cta--primary {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #050816;
}

.website-card-cta--primary:hover {
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.35);
    color: #050816;
}

.website-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    padding-top: 0.625rem;
    border-top: 1px solid var(--border);
}

.website-card-links a {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.website-card-links a:hover {
    color: var(--cyan);
}

.website-card-links form {
    margin-left: auto;
}

.website-card-links .link-danger {
    color: var(--red);
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 0;
}

.website-card-links .link-danger:hover {
    color: #f87171;
}

.sidebar-link-ai {
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: var(--cyan);
    font-weight: 600;
}

.sidebar-link-ai:hover,
.sidebar-link-ai.active {
    background: rgba(34, 211, 238, 0.16);
    color: var(--cyan);
}

.btn-ai {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(34, 211, 238, 0.5);
    color: var(--cyan);
    font-weight: 700;
}

.btn-ai:hover {
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.25);
    color: #fff;
}

.score-cyan { color: var(--cyan); }
.score-green { color: var(--green); }
.score-amber { color: var(--amber); }
.score-red { color: var(--red); }

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
}

.activity-item:last-child { border-bottom: none; }

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* AI content */
.ai-content h1, .ai-content h2, .ai-content h3 {
    color: var(--cyan);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ai-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--text-muted); }
.ai-content ol, .ai-content ul { margin-left: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); }
.ai-content li { margin-bottom: 0.5rem; }

.guide-article {
    max-width: 760px;
}

.guide-faq {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.guide-faq h2 {
    font-size: 1.35rem;
    margin: 0 0 1.25rem;
}

.guide-cta {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.guide-cta h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.guide-cta p {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}

.guide-cta .btn {
    margin: 0 0.35rem;
}

.ai-content pre, .ai-content code {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: var(--green);
}
.ai-content pre {
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

/* AI page layout */
.ai-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.ai-page-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

.ai-score-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.ai-score-pill {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 100px;
}
.ai-score-pill span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ai-score-pill strong { font-size: 1.5rem; font-weight: 900; color: var(--cyan); }

.ai-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ai-trend-banner {
    margin-bottom: 1rem;
    padding: 0.875rem 1.25rem;
    border-color: rgba(6, 182, 212, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.ai-trend-banner__icon--up { color: var(--green); }
.ai-trend-banner__icon--down { color: #f97316; }
.ai-trend-banner__text { font-size: 0.9375rem; }
.ai-assistant-overview { margin-bottom: 1.5rem; }

/* Interactive AI chat panel */
.ai-interactive-panel {
    background: var(--card);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.ai-panel-label {
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ai-panel-desc { color: var(--text-muted); font-size: 0.9375rem; margin: 0; }

.ai-suggested-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0;
}
.ai-suggest-btn {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--cyan);
    border-radius: 999px;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.2s;
}
.ai-suggest-btn:hover { background: rgba(6, 182, 212, 0.2); }

.ai-chat-messages {
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}
.ai-chat-msg {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.ai-chat-user { flex-direction: row-reverse; }
.ai-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}
.ai-chat-user .ai-chat-avatar { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.ai-chat-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    max-width: 85%;
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 0.9375rem;
}
.ai-chat-user .ai-chat-bubble {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.25);
    color: var(--text);
}
.ai-chat-bubble p { margin: 0 0 0.5rem; }
.ai-chat-bubble p:last-child { margin-bottom: 0; }
.ai-chat-bubble pre {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.75rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.8125rem;
    margin: 0.5rem 0;
}

.ai-chat-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.ai-chat-form .form-input { flex: 1; margin: 0; }
.ai-chat-form .btn { flex-shrink: 0; padding: 0.75rem 1rem; }

.scan-input-group {
    display: flex;
    gap: 0.75rem;
    max-width: 560px;
}

.scan-input-group input { flex: 1; }

/* Form layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-7 { grid-column: span 7; }

/* Pentest services */
.pentest-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.pentest-cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: var(--card);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 16px;
    padding: 2rem;
}
.pentest-cta-banner h2 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.pentest-cta-banner p { margin: 0; color: var(--text-muted); }
.pentest-auth-box {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 1rem;
}
.pentest-timeline { display: flex; flex-direction: column; gap: 1rem; }
.pentest-timeline-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 1rem;
    border-left: 2px solid var(--cyan);
}
.pentest-timeline-item strong { color: var(--cyan); font-size: 0.875rem; }
.pentest-timeline-item span { color: var(--text-muted); font-size: 0.9375rem; }
.pentest-status-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.status-submitted { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.status-quoted { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-scheduled { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.status-in-progress { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.status-completed { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.pentest-request-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.pentest-request-meta i { color: var(--cyan); margin-right: 0.25rem; }

/* Security health */
.readiness-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card);
}
.readiness-banner.readiness-green { border-color: rgba(16, 185, 129, 0.35); }
.readiness-banner.readiness-cyan { border-color: rgba(6, 182, 212, 0.35); }
.readiness-banner.readiness-amber { border-color: rgba(245, 158, 11, 0.35); }
.readiness-banner.readiness-red { border-color: rgba(239, 68, 68, 0.35); }
.readiness-banner-score { text-align: center; min-width: 80px; }
.readiness-score-num { font-size: 2.5rem; font-weight: 900; color: var(--cyan); line-height: 1; }
.readiness-score-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.readiness-level { font-weight: 700; font-size: 1.125rem; }
.readiness-banner p { color: var(--text-muted); margin: 0.5rem 0 0; font-size: 0.9375rem; }
.readiness-gaps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.readiness-gap-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.health-grid-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.health-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card);
}
.health-card-compact { padding: 1rem; flex-direction: column; gap: 0.5rem; }
.health-card-compact .health-card-body p { display: none; }
.health-good { border-color: rgba(16, 185, 129, 0.3); }
.health-warn { border-color: rgba(245, 158, 11, 0.35); }
.health-bad { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.04); }
.health-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}
.health-good .health-card-icon { background: rgba(16, 185, 129, 0.12); color: var(--green); }
.health-warn .health-card-icon { background: rgba(245, 158, 11, 0.12); color: var(--amber); }
.health-bad .health-card-icon { background: rgba(239, 68, 68, 0.12); color: var(--red); }
.health-card-title { font-weight: 700; margin-bottom: 0.25rem; }
.health-card-status { font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.5rem; }
.health-good .health-card-status { color: var(--green); }
.health-warn .health-card-status { color: var(--amber); }
.health-bad .health-card-status { color: var(--red); }
.health-card-body p { margin: 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.ssl-info-card .dash-label i { margin-right: 0.5rem; color: var(--cyan); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .bento-card.span-3, .bento-card.span-4, .bento-card.span-6, .bento-card.span-8 { grid-column: span 12; }
    .bento-card.span-5, .bento-card.span-7 { grid-column: span 12; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .value-prop-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    .team-card.featured { grid-column: span 1; grid-template-columns: 1fr; text-align: center; }
    .team-card.featured .team-avatar { margin: 0 auto 1.25rem; }
    .dash-card.span-3, .dash-card.span-4, .dash-card.span-6, .dash-card.span-8 { grid-column: span 12; }
    .action-hub-featured { grid-template-columns: 1fr; }
    .action-hub-groups { grid-template-columns: 1fr; }
    .website-card-toolbar { grid-template-columns: 1fr; }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dash-mobile-toggle {
        display: grid;
        place-items: center;
    }

    .dash-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: min(300px, 88vw);
        transform: translateX(-105%);
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: 8px 0 40px rgba(0, 0, 0, 0.45);
    }

    .dash-sidebar.open {
        transform: translateX(0);
    }

    .dash-sidebar-close {
        display: grid;
        place-items: center;
    }

    .dashboard-main {
        padding: 5rem 1.25rem 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --logo-zoom: 1.85;
        --logo-slot-nav: 60px;
        --logo-slot-dash: 56px;
        --logo-slot-footer: 64px;
        --logo-slot-auth: 88px;
    }

    .site-logo-host--nav { min-width: 130px; max-width: 48vw; }
    .site-logo-host--dash { min-width: 120px; max-width: 44vw; }

    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: block; }
    .nav.mobile-open .nav-links,
    .nav.mobile-open .nav-actions {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }
    .stats-grid, .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .website-score-grid { grid-template-columns: 1fr 1fr; }
    .ai-tool-header { flex-direction: column; align-items: flex-start; }
}

/* ─── Premium tools & points ─── */
.tool-points-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--green);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    white-space: nowrap;
}

.tool-points-badge--alert {
    color: var(--amber);
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
}

.action-tile .tool-points-badge {
    margin-top: 0.35rem;
}

.action-hub-points-total {
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
    color: var(--green);
}

.action-hub-points-total strong {
    font-size: 1.125rem;
}

.ai-tool-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.ai-tool-back { margin-bottom: 1rem; }

.ai-tool-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-tool-icon-wrap {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: var(--cyan);
    font-size: 1.35rem;
}

.ai-tool-title {
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.02em;
}

.ai-tool-subtitle {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.ai-tool-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ai-tool-points-card {
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.ai-tool-points-label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.ai-tool-points-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1.1;
}

.ai-tool-points-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ai-score-strip--compact { margin-bottom: 1.5rem; }

.ai-score-pill--gain strong { color: var(--green); }

.premium-card {
    border: 1px solid rgba(34, 211, 238, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.tool-card {
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.tool-card--link {
    display: block;
    color: inherit;
}

.tool-card--link:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 12px 40px rgba(34, 211, 238, 0.08);
}

.tool-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.tool-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
}

.tool-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.0625rem;
    font-weight: 700;
}

.tool-card-desc {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.tool-card-status {
    font-size: 0.8125rem;
    color: var(--cyan);
}

.tool-card-status--open { color: var(--amber); }

.section-card-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.section-card-title i { color: var(--cyan); margin-right: 0.35rem; }

.probe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.probe-card {
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
}

.probe-card--highlight {
    border-color: rgba(34, 211, 238, 0.35);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(59, 130, 246, 0.05));
}

.probe-card-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.probe-card-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--cyan);
}

.probe-card-value span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.probe-finding {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.probe-finding--critical { border-color: rgba(239, 68, 68, 0.4); }
.probe-finding--high { border-color: rgba(245, 158, 11, 0.35); }

.probe-script-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tool-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }

.api-key-reveal { margin-bottom: 1.5rem; }
.api-key-code {
    display: block;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 0.75rem;
    background: var(--bg);
    font-size: 0.875rem;
    word-break: break-all;
}

.api-code-block {
    padding: 1rem;
    border-radius: 0.75rem;
    background: var(--bg);
    font-size: 0.8125rem;
    overflow-x: auto;
    margin: 0;
}

.api-key-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.white-label-preview-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: #fff;
    color: #0f172a;
}

.white-label-preview-score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-accent, var(--cyan));
}

/* Website report (premium) */
.website-report { max-width: 1100px; }

/* Issue cards on trust report */
.issues-panel {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
}

.issues-panel-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 1.25rem;
}

.issues-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.issue-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.88));
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.issue-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.issue-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0.35rem 0 0;
    line-height: 1.3;
}

.issue-card-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0.35rem 0 0;
}

.issue-card-impact {
    color: var(--amber);
    font-weight: 700;
    font-size: 0.9375rem;
    margin: 0.75rem 0 0;
}

.issue-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.issue-card-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.issue-card-section h4 {
    margin: 0 0 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--cyan);
}

.issue-card-section p,
.issue-card-section ol {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.issue-card-section ol {
    padding-left: 1.25rem;
}

.issue-card-section ol li + li {
    margin-top: 0.35rem;
}

.issue-card-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.issue-card-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.issue-card-tools .btn-ai-doc {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

.report-chart-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1rem;
    margin-bottom: 2rem;
}

.report-chart-panel {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
}

.report-chart-panel h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1rem;
}

.report-trend-panel {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
    text-align: center;
}

.report-trend-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.report-trend-value {
    font-size: 2.75rem;
    font-weight: 900;
    margin: 0.75rem 0;
    line-height: 1;
}

.report-trend-value--up { color: var(--green); }
.report-trend-value--down { color: var(--red); }
.report-trend-value--flat { color: var(--text-muted); }

.report-settings-panel {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
}

.report-settings-panel h2 {
    font-size: 1.125rem;
    font-weight: 800;
    margin: 0 0 1rem;
}

.report-settings-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.report-settings-form .form-span-full {
    grid-column: 1 / -1;
}

.scan-history-list {
    margin-top: 1.5rem;
}

.scan-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.scan-history-item strong {
    color: var(--cyan);
    font-weight: 800;
}

@media (max-width: 768px) {
    .report-chart-grid {
        grid-template-columns: 1fr;
    }
    .report-settings-form {
        grid-template-columns: 1fr;
    }
}

.website-report-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.website-report-title {
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0.75rem 0 0.25rem;
}

.website-report-url { color: var(--text-muted); margin: 0; }

.website-report-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-danger-outline {
    border-color: var(--red) !important;
    color: var(--red) !important;
}

.website-report-banner {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.website-report-banner--warn {
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.08);
}

.website-report-banner--success {
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
    color: var(--green);
}

.website-score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.website-score-grid--sub { margin-bottom: 1.5rem; }

.score-card-premium {
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.score-card-premium--cyan .score-card-value { color: var(--cyan); }
.score-card-premium--green .score-card-value { color: var(--green); }

.score-card-premium--hero {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-color: rgba(34, 211, 238, 0.25);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(59, 130, 246, 0.04));
}

.score-card-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.score-card-value {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.score-card-value--xl { font-size: 3.5rem; color: var(--cyan); }

.score-card-level {
    color: var(--green);
    font-weight: 600;
    font-size: 1.125rem;
}

.score-card-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.website-score-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: -0.5rem 0 1.5rem;
    line-height: 1.5;
}

.progress-bar-premium {
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-bar-premium-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green), var(--cyan));
    transition: width 0.4s ease;
}

.ai-loader {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 22, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ai-loader.hidden { display: none !important; }

.ai-loader-inner { text-align: center; }

.ai-loader-icon {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.action-tile {
    position: relative;
}

.action-hub {
    border: 1px solid rgba(34, 211, 238, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* ─── Badge & visual polish ─── */
.score-card-premium {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.score-card-premium:hover {
    border-color: rgba(34, 211, 238, 0.2);
}

.score-card-value--of100::after {
    content: '/100';
    font-size: 0.42em;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 0.12em;
    vertical-align: baseline;
}

.score-card-value--xl.score-card-value--of100::after {
    font-size: 0.35em;
}

.score-card-level .badge-trust {
    font-size: 1rem;
}

/* Trust level badges */
.badge-trust,
.severity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}

.badge-trust i,
.severity-badge i {
    font-size: 0.6875rem;
    opacity: 0.9;
}

.badge-trust--verified {
    color: #86efac;
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.12);
}

.badge-trust--highly-trusted {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.12);
}

.badge-trust--trusted {
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
}

.badge-trust--building,
.badge-trust--improving {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.35);
}

.badge-trust--at-risk {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
}

.score-blue { color: #818cf8; }

/* Trust tier ladder (trust-badge page) */
.trust-tier-ladder {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.trust-tier-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.6);
}

.trust-tier-row--active {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.06);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
}

.trust-tier-row-preview {
    flex-shrink: 0;
}

.trust-tier-row-body {
    flex: 1;
    min-width: 0;
}

.trust-tier-row-body strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
}

.trust-tier-row-body span {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.trust-tier-range {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 3.5rem;
    text-align: right;
}

/* Severity badges */
.severity-badge--critical {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.4);
}

.severity-badge--high {
    color: #fdba74;
    background: rgba(249, 115, 22, 0.14);
    border-color: rgba(249, 115, 22, 0.35);
}

.severity-badge--medium {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.35);
}

.severity-badge--low {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.35);
}

/* Tool & action badges */
.tool-points-badge {
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.tool-points-badge i {
    font-size: 0.625rem;
}

.action-tile-badge {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(34, 211, 238, 0.45);
    box-shadow: 0 2px 12px rgba(34, 211, 238, 0.2);
    padding: 0.25rem 0.625rem;
}

.pentest-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid transparent;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.status-submitted { border-color: rgba(34, 211, 238, 0.3); }
.status-quoted { border-color: rgba(96, 165, 250, 0.3); }
.status-scheduled { border-color: rgba(192, 132, 252, 0.3); }
.status-in-progress { border-color: rgba(245, 158, 11, 0.3); }
.status-completed { border-color: rgba(16, 185, 129, 0.3); }
.status-cancelled { border-color: rgba(239, 68, 68, 0.3); }

.skill-tag {
    border: 1px solid rgba(34, 211, 238, 0.22);
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.skill-tag:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.4);
}

.hero-badge {
    box-shadow: 0 4px 24px rgba(34, 211, 238, 0.12);
    font-weight: 600;
}

/* Trust badge embed & verify pages */
.trust-badge-img {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.trust-badge-showcase {
    text-align: center;
    padding: 3rem 2rem !important;
    position: relative;
    overflow: hidden;
}

.trust-badge-showcase-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.12), transparent 55%);
    pointer-events: none;
}

.trust-badge-showcase .trust-badge-img {
    position: relative;
    margin-bottom: 1.25rem;
}

.trust-badge-score-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin: 1rem 0 0.5rem;
}

.trust-badge-score-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
}

.trust-badge-score-of {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 0;
}

.trust-badge-site-name {
    font-weight: 700;
    margin: 0.75rem 0 0.25rem;
}

.trust-badge-verified {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.trust-badge-verified i {
    color: var(--green);
    margin-right: 0.35rem;
}

.trust-badge-compact-preview {
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 0.75rem 0 1rem;
    display: inline-block;
}

.copy-field {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.copy-field code {
    flex: 1;
    word-break: break-all;
    font-size: 0.8125rem;
    color: var(--text-muted);
    align-self: center;
}

.embed-code {
    font-family: ui-monospace, monospace;
    font-size: 0.8125rem;
}

.verify-hero {
    padding-top: 8rem;
    padding-bottom: 2rem;
    text-align: center;
}

.verify-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.verify-container {
    max-width: 800px;
}

.verify-score-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
}

.verify-score-ring {
    width: 140px;
    height: 140px;
    margin: 1.5rem auto;
    position: relative;
}

.verify-score-ring svg {
    width: 100%;
    height: 100%;
}

.verify-score-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.verify-score-value span {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
}

.verify-score-value small {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.verify-score-card h2 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.5rem;
}

.verify-url {
    color: var(--text-muted);
    margin: 0;
    word-break: break-all;
}

.verify-scanned {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.verify-stats {
    margin-top: 0;
}

.stat-card--verify {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.85));
}

.stat-value--level {
    font-size: 1.25rem !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.verify-findings {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.verify-findings h3 {
    margin: 0 0 0.5rem;
}

.verify-findings > p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0 0 1rem;
}

.verify-findings-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.verify-findings-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.verify-findings-list li:last-child {
    border-bottom: none;
}

.verify-findings--clear {
    text-align: center;
}

.verify-findings--clear p {
    margin: 0;
    color: var(--green);
    font-weight: 600;
}

.verify-findings--clear i {
    margin-right: 0.35rem;
}

.verify-footer {
    margin-top: 0;
}

.ai-score-pill {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.85));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.625rem 1rem;
    min-width: 5.5rem;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.readiness-gap-tag {
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.bento-icon {
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.1);
}

.trust-metric {
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.trust-metric:hover {
    border-color: rgba(34, 211, 238, 0.25);
}

/* Onboarding — standalone full-page layout (no dashboard sidebar grid) */
.onboarding-body {
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
}

.onboarding-shell {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

.onboarding-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.onboarding-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.onboarding-hero h1 {
    font-size: 2.25rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
}

.onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.onboarding-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    opacity: 0.65;
}

.onboarding-step--active {
    opacity: 1;
    border-color: rgba(34, 211, 238, 0.35);
}

.onboarding-step--done {
    opacity: 1;
    border-color: rgba(16, 185, 129, 0.3);
}

.onboarding-step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.15);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.onboarding-step--done .onboarding-step-num {
    background: rgba(16, 185, 129, 0.2);
    color: var(--green);
}

.onboarding-step p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.onboarding-action-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(34, 211, 238, 0.2);
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.9));
}

.onboarding-top-issue {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
}

/* Client report & shares */
.client-share-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.client-share-row:last-child {
    border-bottom: none;
}

.client-report-body {
    min-height: 100vh;
}

.client-report-header {
    padding: 5rem 0 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.08), transparent);
    border-bottom: 1px solid var(--border);
}

.client-report-header h1 {
    margin: 0.75rem 0 0.25rem;
    font-size: 2rem;
    font-weight: 900;
}

.client-report-header p {
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.client-report-container {
    max-width: 900px;
}

.client-report-chart,
.client-report-findings {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.client-report-chart h3,
.client-report-findings h3 {
    margin: 0 0 1rem;
}

/* Skip link & cookie banner */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.75rem 1.25rem;
    background: var(--cyan);
    color: #050816;
    font-weight: 700;
    border-radius: 0 0 0.5rem 0;
}

.skip-to-content:focus {
    left: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(34, 211, 238, 0.25);
    backdrop-filter: blur(12px);
}

.cookie-banner-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 640px;
}

.cookie-banner a {
    color: var(--cyan);
}

/* Admin suite */
.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.admin-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.admin-nav-link:hover {
    border-color: rgba(34, 211, 238, 0.35);
    color: var(--cyan);
}

.admin-nav-link.active {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.admin-health-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-health-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.admin-health-list li:last-child {
    border-bottom: none;
}

.admin-health-ok { color: var(--green); font-weight: 600; }
.admin-health-warn { color: var(--amber); font-weight: 600; }
.admin-health-bad { color: var(--red); font-weight: 600; }

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-status-badge.status-new {
    background: rgba(251, 191, 36, 0.15);
    color: var(--amber);
}

.contact-status-badge.status-read {
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
}

.contact-status-badge.status-replied {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green);
}

.form-hint {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.password-strength {
    margin-top: 0.65rem;
    display: none;
}

.password-strength.visible {
    display: block;
}

.password-strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
}

.password-strength-title {
    color: var(--text-muted);
}

.password-strength-label {
    font-weight: 700;
}

.password-strength-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.password-strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    transition: width 0.2s ease, background 0.2s ease;
}

.password-strength-bar span.level-weak { width: 25%; background: var(--red); }
.password-strength-bar span.level-fair { width: 50%; background: var(--amber); }
.password-strength-bar span.level-good { width: 75%; background: var(--cyan); }
.password-strength-bar span.level-strong { width: 100%; background: var(--green); }

.password-strength-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.password-strength-checks li {
    color: var(--text-muted);
}

.password-strength-checks li.pass {
    color: var(--green);
}

.password-match-hint {
    margin: 0.4rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.password-match-hint.match-ok { color: var(--green); }
.password-match-hint.match-bad { color: var(--red); }

.admin-email-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    padding: 0.65rem;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.admin-email-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-email-nav-link:hover {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
}

.admin-email-nav-link.active {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.12);
}

.email-type-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
}

.admin-template-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.admin-template-list li {
    border-bottom: 1px solid var(--border);
}

.admin-template-list li:last-child {
    border-bottom: none;
}

.admin-template-list a {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: inherit;
}

.admin-template-list a strong {
    display: block;
    color: var(--cyan);
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
}

.admin-template-list a span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.admin-template-card {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.35);
}

.admin-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.65rem;
}

.admin-tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.45);
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.admin-tool-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.06);
}

.admin-tool-card.active {
    border-color: rgba(34, 211, 238, 0.45);
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

.admin-tool-icon {
    font-size: 1.15rem;
    color: var(--cyan);
}

.admin-tool-badge {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--amber);
    color: #0f172a;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.15rem;
}

.admin-hub-banner {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 0.98));
}

.admin-hub-banner-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-hub-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--cyan);
}

.admin-hub-subtitle {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Scan loading */
.scan-loading-card {
    max-width: 520px;
    margin: 3rem auto;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.55);
}

.scan-loading-card--public {
    margin: 2rem auto;
}

.scan-loading-spinner {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(34, 211, 238, 0.15);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: scan-spin 0.8s linear infinite;
}

@keyframes scan-spin {
    to { transform: rotate(360deg); }
}

.scan-loading-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.scan-loading-url {
    color: var(--cyan);
    font-size: 0.9375rem;
    word-break: break-all;
}

.scan-loading-status,
.scan-loading-hint {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0.75rem 0 0;
}

.scan-loading-error {
    color: #b45309;
    font-size: 0.9375rem;
    margin: 1rem 0 0;
    max-width: 32rem;
}

.scan-result-meta {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

.free-scan-score-note {
    max-width: 42rem;
    margin: 1.25rem auto 0;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
}

.free-scan-score-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.free-scan-score-note p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.free-scan-upsell-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius);
}

.free-scan-upsell-box p {
    color: var(--text-muted);
    margin: 0.5rem 0 0;
}

.free-scan-cta-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.free-scan-cta-block h3 {
    margin: 0 0 1rem;
}

.free-scan-cta-block ul {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Free tier fix tip on report */
.free-tier-fix-tip {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.18);
}

.free-tier-fix-tip p {
    margin: 0.5rem 0 1rem;
    color: var(--text-muted);
}

/* Dashboard empty state */
.dash-empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.35);
}

.dash-empty-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.dash-empty-state h3 {
    margin: 0 0 0.5rem;
}

.dash-empty-state p {
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.dash-empty-hint {
    margin-top: 1rem !important;
    font-size: 0.875rem;
}

/* Pricing comparison table */
.pricing-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.pricing-comparison-table th:first-child,
.pricing-comparison-table td:first-child {
    text-align: left;
    color: var(--text-muted);
}

.pricing-comparison-table .pricing-col-pro {
    color: var(--cyan);
}

/* Product showcase (homepage) */
.product-showcase-section {
    background: var(--surface);
}

.product-showcase {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.product-showcase-sidebar {
    padding: 1.25rem 0;
    background: rgba(2, 6, 23, 0.65);
    border-right: 1px solid var(--border);
}

.product-showcase-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.product-showcase-nav-item.active {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    border-right: 2px solid var(--cyan);
}

.product-showcase-main {
    padding: 1.75rem;
}

.product-showcase-scores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-showcase-score {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.product-showcase-score span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-showcase-score strong {
    font-size: 1.75rem;
    color: var(--cyan);
}

.product-showcase-issue {
    padding: 1.25rem;
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: var(--radius);
    background: rgba(34, 211, 238, 0.06);
    margin-bottom: 1.25rem;
}

.product-showcase-issue strong {
    display: block;
    margin: 0.35rem 0;
}

.product-showcase-issue p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.product-showcase-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
}

.product-showcase-progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    overflow: hidden;
}

.product-showcase-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    border-radius: 999px;
}

@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .product-showcase-sidebar {
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0.5rem;
    }

    .product-showcase-nav-item {
        white-space: nowrap;
        border-right: none;
    }

    .product-showcase-nav-item.active {
        border-right: none;
        border-bottom: 2px solid var(--cyan);
    }

    .product-showcase-scores {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mission Control 2.0 — Mission Briefing */
.mc-mission-control {
    max-width: 1280px;
}

.mc-page-header {
    margin-bottom: 1rem;
}

.mc-page-title {
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.mc-page-subtitle {
    color: var(--text-muted);
    margin: 0;
}

.mc-briefing {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.75rem;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.88));
    backdrop-filter: blur(12px);
    overflow: hidden;
    animation: mc-briefing-in 0.5s ease-out;
}

@keyframes mc-briefing-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mc-briefing-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mc-briefing-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.mc-briefing-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
}

.mc-briefing-greeting {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 900;
    line-height: 1.15;
}

.mc-briefing-subtitle {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.mc-briefing-period {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    opacity: 0.85;
}

.mc-briefing-health-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.55);
    min-width: 200px;
}

.mc-briefing-health-ring {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(
        var(--cyan) calc(var(--health-pct) * 1%),
        rgba(148, 163, 184, 0.15) 0
    );
}

.mc-briefing-health-ring::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: rgba(2, 6, 23, 0.95);
}

.mc-briefing-health-score,
.mc-briefing-health-pct {
    position: relative;
    z-index: 1;
    font-weight: 900;
    line-height: 1;
}

.mc-briefing-health-score {
    font-size: 1.375rem;
    color: var(--cyan);
}

.mc-briefing-health-pct {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 1px;
}

.mc-briefing-health-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mc-briefing-health-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.mc-briefing-health-meta strong {
    font-size: 1.125rem;
}

.mc-health-excellent .mc-briefing-health-score { color: var(--green); }
.mc-health-good .mc-briefing-health-score { color: var(--cyan); }
.mc-health-fair .mc-briefing-health-score { color: var(--amber); }
.mc-health-attention .mc-briefing-health-score { color: var(--red); }

.mc-briefing-launch-banner {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.08);
}

.mc-briefing-launch-banner--soft {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(148, 163, 184, 0.06);
}

.mc-briefing-launch-banner i {
    font-size: 1.25rem;
    color: var(--cyan);
    margin-top: 0.15rem;
}

.mc-briefing-launch-banner strong {
    display: block;
    margin-bottom: 0.25rem;
}

.mc-briefing-launch-banner p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.mc-briefing-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.mc-briefing-panel {
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.45);
}

.mc-briefing-panel--summary { grid-column: span 8; }
.mc-briefing-panel--health { grid-column: span 4; }
.mc-briefing-panel--trends { grid-column: span 8; }
.mc-briefing-panel--ai { grid-column: span 4; }
.mc-briefing-panel--growth { grid-column: span 4; }
.mc-briefing-panel--insights { grid-column: span 4; }
.mc-briefing-panel--actions { grid-column: span 4; }
.mc-briefing-panel--highlights { grid-column: span 12; }

.mc-briefing-panel-title {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.mc-briefing-panel-desc {
    margin: -0.65rem 0 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.mc-briefing-panel-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mc-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
}

.mc-summary-item {
    padding: 0.85rem;
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: border-color 0.15s, transform 0.15s;
}

.mc-summary-item:hover {
    border-color: rgba(34, 211, 238, 0.2);
    transform: translateY(-1px);
}

.mc-summary-item--warn {
    border-color: rgba(251, 191, 36, 0.25);
}

.mc-summary-icon {
    color: var(--cyan);
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
    opacity: 0.85;
}

.mc-summary-value {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
}

.mc-summary-prefix {
    font-size: 1rem;
    color: var(--text-muted);
    margin-right: 1px;
}

.mc-summary-label {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mc-health-indicators {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mc-health-indicator {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.65rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    font-size: 0.875rem;
}

.mc-health-indicator:last-child {
    border-bottom: none;
}

.mc-health-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.35rem;
    grid-row: span 2;
}

.mc-health-indicator--ok .mc-health-dot { background: var(--green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.mc-health-indicator--warn .mc-health-dot { background: var(--amber); }
.mc-health-indicator--bad .mc-health-dot { background: var(--red); }

.mc-health-name {
    font-weight: 600;
}

.mc-health-detail {
    grid-column: 2;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.mc-recent-errors {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.mc-error-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.mc-error-chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.mc-growth-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mc-growth-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.35);
}

.mc-growth-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.mc-growth-value {
    font-weight: 800;
    font-size: 0.9375rem;
}

.mc-growth-value--up { color: var(--green); }
.mc-growth-value--down { color: var(--red); }
.mc-growth-value--muted { color: var(--text-muted); font-weight: 600; font-size: 0.8125rem; }

.mc-insight-list,
.mc-action-list,
.mc-highlight-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mc-insight-list li {
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.mc-insight-list li i {
    color: var(--amber);
    margin-top: 0.15rem;
}

.mc-action-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.35rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    background: rgba(2, 6, 23, 0.35);
    border: 1px solid transparent;
    transition: border-color 0.15s, background 0.15s;
}

.mc-action-link:hover {
    border-color: rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.06);
    color: var(--cyan);
}

.mc-action-link i:first-child {
    color: var(--cyan);
    width: 1.1rem;
    text-align: center;
}

.mc-action-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    opacity: 0.5;
}

.mc-highlight-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mc-highlight-text {
    font-weight: 600;
}

.mc-highlight-time {
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.mc-briefing-empty {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.mc-briefing-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--cyan);
    font-size: 0.9375rem;
    text-decoration: none;
}

.mc-briefing-link:hover {
    text-decoration: underline;
}

/* Wave 6 — Platform trends & AI executive brief */
.mc-trends-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.mc-trends-kpi {
    padding: 0.75rem;
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.mc-trends-kpi-icon {
    display: block;
    color: var(--cyan);
    font-size: 0.8125rem;
    margin-bottom: 0.35rem;
}

.mc-trends-kpi-value {
    display: block;
    font-size: 1.375rem;
    font-weight: 900;
    line-height: 1.1;
}

.mc-trends-kpi-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.mc-trends-kpi-delta {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.mc-trends-kpi-delta--up {
    color: var(--green);
    background: rgba(34, 197, 94, 0.12);
}

.mc-trends-kpi-delta--down {
    color: var(--red);
    background: rgba(248, 113, 113, 0.12);
}

.mc-trends-kpi-delta--flat {
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.1);
}

.mc-trends-chart {
    margin-bottom: 1rem;
}

.mc-trends-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 88px;
    margin-top: 0.5rem;
}

.mc-trends-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 100%;
}

.mc-trends-bar-fill {
    width: 100%;
    max-width: 28px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.85), rgba(34, 211, 238, 0.25));
    min-height: 4px;
    transition: height 0.3s ease;
}

.mc-trends-bar-label {
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mc-trends-signals {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.mc-trends-signals li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    line-height: 1.45;
}

.mc-trends-signals li i {
    color: var(--cyan);
    margin-right: 0.35rem;
}

.mc-trends-findings {
    margin-top: 0.5rem;
}

.mc-trends-finding-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
}

.mc-trends-finding-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mc-trends-finding-list li span {
    color: var(--text-muted);
}

.mc-trends-finding-list li strong {
    color: var(--cyan);
    font-weight: 800;
}

.mc-ai-briefing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mc-ai-briefing-header .mc-briefing-panel-title {
    margin-bottom: 0;
}

.mc-ai-briefing-status {
    margin: 0.75rem 0;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.mc-ai-briefing-status.hidden {
    display: none;
}

.mc-ai-briefing-status--loading {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.mc-ai-briefing-status--success {
    color: var(--green);
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.mc-ai-briefing-status--error {
    color: var(--red);
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.mc-ai-briefing-headline {
    margin: 0 0 0.65rem;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1.35;
}

.mc-ai-briefing-summary {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.mc-ai-briefing-block {
    margin-bottom: 0.85rem;
}

.mc-ai-briefing-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
}

.mc-ai-briefing-list li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.mc-ai-briefing-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--cyan);
}

.mc-ai-briefing-list--risk li::before {
    color: var(--amber);
}

.mc-ai-briefing-list--opp li::before {
    color: var(--green);
}

.mc-ai-briefing-meta {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mc-tools-section {
    margin-bottom: 1.5rem;
}

.mc-legacy-stats {
    margin-bottom: 1.5rem;
}

.mc-stat-delta {
    font-size: 0.875rem;
    margin-top: 0.35rem;
}

.mc-stat-delta--up { color: var(--green); }

.mc-stat-attention { color: var(--amber); }

.mc-stat-meta,
.mc-health-list-detail {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

.mc-plan-label {
    font-weight: 700;
    color: var(--cyan);
}

.mc-plan-count {
    font-size: 1.25rem;
    font-weight: 800;
}

.mc-health-bullet {
    font-size: 0.5rem;
    vertical-align: middle;
    margin-right: 0.35rem;
}

.mc-briefing-link-wrap {
    margin: 1rem 0 0;
}

.mc-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mc-activity-title {
    margin: 0;
}

.mc-table-muted {
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.mc-table-code {
    font-size: 0.8125rem;
}

.mc-table-details {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .mc-briefing-panel--summary,
    .mc-briefing-panel--health,
    .mc-briefing-panel--trends,
    .mc-briefing-panel--ai,
    .mc-briefing-panel--growth,
    .mc-briefing-panel--insights,
    .mc-briefing-panel--actions,
    .mc-briefing-panel--highlights {
        grid-column: span 12;
    }
}

@media (max-width: 640px) {
    .mc-briefing {
        padding: 1.25rem;
    }

    .mc-briefing-header {
        flex-direction: column;
    }

    .mc-briefing-health-card {
        width: 100%;
    }

    .mc-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mc-highlight-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Honeypot — invisible to humans */
.hp-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Security Centre */
.sc-main { max-width: 1280px; }
.sc-page-title { font-size: 2rem; font-weight: 900; margin: 0 0 0.35rem; }
.sc-page-subtitle { color: var(--text-muted); margin: 0 0 1.25rem; }
.sc-page-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.5rem; }
.sc-migration-alert { margin: 0; max-width: 420px; }

.admin-security-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-security-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.admin-security-nav-link:hover,
.admin-security-nav-link.active {
    color: var(--cyan);
    border-color: rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.06);
}

.sc-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sc-score-card,
.sc-status-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(34, 211, 238, 0.15);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.88));
    backdrop-filter: blur(10px);
}

.sc-score-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--cyan) calc(var(--sc-pct) * 1%), rgba(148, 163, 184, 0.12) 0);
    flex-shrink: 0;
}

.sc-score-ring::before {
    content: '';
    position: absolute;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(2, 6, 23, 0.95);
}

.sc-score-card .sc-score-ring { position: relative; }
.sc-score-num { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 900; color: var(--cyan); }
.sc-score-suffix { position: relative; z-index: 1; font-size: 0.75rem; color: var(--text-muted); }
.sc-score-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.sc-score-rating { font-size: 1.25rem; display: block; margin-top: 0.15rem; }

.sc-threat-badge {
    display: inline-block;
    margin-top: 0.65rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.sec-threat-low { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.sec-threat-moderate { background: rgba(251, 191, 36, 0.12); color: var(--amber); }
.sec-threat-elevated { background: rgba(239, 68, 68, 0.12); color: #fca5a5; }

.sc-status-label { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.sc-status-value { font-size: 1.375rem; font-weight: 800; }
.sc-status-ok { color: var(--green); }
.sc-status-warn { color: var(--amber); }
.sc-status-bad { color: var(--red); }
.sc-suggestions { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.875rem; }

.sc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sc-metric-card {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(15, 23, 42, 0.45);
    transition: transform 0.15s, border-color 0.15s;
}

.sc-metric-card:hover { transform: translateY(-1px); border-color: rgba(34, 211, 238, 0.2); }
.sc-metric-warn { border-color: rgba(251, 191, 36, 0.25); }
.sc-metric-icon { color: var(--cyan); opacity: 0.85; margin-bottom: 0.35rem; }
.sc-metric-value { font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.sc-metric-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

.sc-check-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.sc-check-item { padding: 0.4rem 0; font-size: 0.875rem; color: var(--text-muted); }
.sc-check-ok { color: var(--green); }
.sc-check-off { color: var(--text-muted); opacity: 0.7; }

.sc-result { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: 4px; }
.sc-result-success { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.sc-result-failed, .sc-result-blocked { background: rgba(239, 68, 68, 0.12); color: #fca5a5; }

.sc-table-muted { color: var(--text-muted); font-size: 0.875rem; }
.sc-table-details { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; color: var(--text-muted); }
.sc-empty { color: var(--text-muted); margin: 0; }
.sc-link { color: var(--cyan); font-size: 0.9375rem; text-decoration: none; display: inline-block; margin-top: 0.75rem; }
.sc-link:hover { text-decoration: underline; }

.sc-alerts-banner {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(251, 191, 36, 0.25);
    background: rgba(251, 191, 36, 0.06);
}

.sc-alerts-title { font-weight: 800; margin-bottom: 0.75rem; color: var(--amber); }
.sc-alert-item { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.5rem 0; border-top: 1px solid rgba(148, 163, 184, 0.08); font-size: 0.9375rem; }
.sc-alert-time { color: var(--text-muted); font-size: 0.8125rem; margin-left: auto; }
.sc-alert-ack { margin-left: auto; }

.sc-block-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.sc-block-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }

.sc-toggle-list { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 0.75rem; }
.sc-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.08);
    cursor: pointer;
}

.sc-toggle-row input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--cyan); flex-shrink: 0; }
.sc-toggle-desc { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.15rem; font-weight: 400; }
.sc-limit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.sc-filter-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.sc-filter-bar .form-input { max-width: 280px; }

.sc-badge-current { font-size: 0.75rem; font-weight: 700; color: var(--cyan); }
.sc-badge-ok { color: var(--green); font-weight: 600; font-size: 0.875rem; }
.sc-badge-warn { color: var(--amber); font-weight: 600; font-size: 0.875rem; }
.sc-badge-muted { color: var(--text-muted); font-size: 0.875rem; }

.account-security-row { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.account-session-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.account-session-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.account-session-list strong { display: block; }

.cf-turnstile-wrap { margin: 1rem 0; }

@media (max-width: 768px) {
    .sc-hero-grid { grid-template-columns: 1fr; }
    .sc-limit-grid { grid-template-columns: 1fr; }
}

/* Phase 3 — Registration, Trust & Compliance */
.form-card--register { max-width: 480px; }
.auth-card-header { text-align: center; margin-bottom: 1.5rem; }
.auth-card-header h1 { font-size: 1.75rem; font-weight: 800; margin: 1rem 0 0.35rem; }
.auth-card-header p { color: var(--text-muted); margin: 0; }
.auth-card-footer { text-align: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.9375rem; }
.register-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}
.register-trust-badges li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(34, 211, 238, 0.04);
}
.register-trust-badges i { color: var(--cyan); margin-right: 0.35rem; }
.register-consent-fieldset { border: none; margin: 1.25rem 0; padding: 0; }
.register-consent-fieldset legend { margin-bottom: 0.65rem; }
.register-consent {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
    cursor: pointer;
}
.register-consent a { color: var(--cyan); }
.register-consent--optional { opacity: 0.92; }
.required-mark { color: var(--amber); }
.onboarding-progress-wrap { max-width: 420px; margin: 1.25rem auto 0; }
.onboarding-progress-label { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.onboarding-progress { height: 8px; border-radius: 999px; background: rgba(148, 163, 184, 0.15); overflow: hidden; }
.onboarding-progress-bar { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); transition: width 0.35s ease; }
.onboarding-steps--six { grid-template-columns: repeat(2, 1fr); }
.onboarding-copy { color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.onboarding-upgrade-tip { margin-top: 1rem; padding: 1rem; border-radius: var(--radius); border: 1px solid rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.06); font-size: 0.9375rem; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner-panel { width: 100%; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.cookie-banner-text p { margin: 0 0 0.35rem; }
.admin-trust-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.admin-trust-nav-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.875rem; text-decoration: none;
}
.admin-trust-nav-link.active { color: var(--cyan); border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.08); }
.privacy-accept-list, .privacy-legal-list, .privacy-request-list { list-style: none; margin: 0; padding: 0; }
.privacy-accept-list li, .privacy-request-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.privacy-accept-list li span { display: block; color: var(--text-muted); font-size: 0.8125rem; }
.privacy-legal-list li { padding: 0.35rem 0; }
.empty-state-text { color: var(--text-muted); font-size: 0.9375rem; margin: 0.75rem 0; }
.verify-tracking-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1rem; }
.page-title { font-size: 2rem; font-weight: 900; margin-bottom: 0.35rem; }
.page-desc { color: var(--text-muted); margin-bottom: 2rem; }

@media (max-width: 768px) {
    .register-trust-badges { grid-template-columns: 1fr; }
    .onboarding-steps--six { grid-template-columns: 1fr; }
}

/* Phase 4 — Trust Intelligence Engine */
.glass-panel {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(12px);
}
.ti-dashboard { margin-bottom: 2rem; }
.ti-dashboard-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.ti-eyebrow { font-size: 0.8125rem; color: var(--cyan); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 0.35rem; }
.ti-dashboard-title { font-size: 1.75rem; font-weight: 900; margin: 0; }
.ti-dashboard-head-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ti-section-title { font-size: 1.125rem; font-weight: 800; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.5rem; }
.ti-exec-summary { margin-bottom: 1.25rem; }
.ti-exec-body { color: var(--text-muted); line-height: 1.7; margin: 0; font-size: 1rem; }
.exec-structured { display: grid; gap: 0.85rem; }
.exec-narrative { color: var(--text); line-height: 1.7; margin-bottom: 0.25rem; }
.exec-section { border-top: 1px solid var(--border); padding-top: 0.75rem; }
.exec-section:first-child { border-top: 0; padding-top: 0; }
.exec-section-title { margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cyan); }
.exec-section-body, .exec-list { margin: 0; color: var(--text-muted); }
.exec-list { padding-left: 1.15rem; }
.exec-list li { margin-bottom: 0.25rem; }
.exec-fix-meta { margin: 0.35rem 0 0; font-size: 0.8125rem; color: var(--text-muted); }
.ti-report-header { margin-bottom: 1.25rem; padding: 1.15rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); background: rgba(15, 23, 42, 0.35); }
.ti-report-header-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ti-report-header-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.25rem; }
.ti-report-header-value { font-size: 2.25rem; font-weight: 900; line-height: 1; color: var(--cyan); }
.ti-report-header-value small { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.ti-report-header-tier { display: block; color: var(--text-muted); font-size: 0.875rem; margin-top: 0.15rem; }
.ti-report-header-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ti-report-header-trend { font-size: 0.8125rem; padding: 0.35rem 0.65rem; border-radius: 999px; border: 1px solid var(--border); }
.ti-report-header-trend--up { color: var(--green); border-color: rgba(34, 197, 94, 0.35); }
.ti-report-header-trend--down { color: #f97316; border-color: rgba(249, 115, 22, 0.35); }
.ti-report-header-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; margin-bottom: 1rem; }
.ti-report-header-stat { padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; background: rgba(0,0,0,0.15); }
.ti-report-header-stat span { display: block; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.2rem; }
.ti-report-header-stat strong { font-size: 1.125rem; font-weight: 800; }
.ti-report-header-priorities-label { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.5rem; }
.ti-report-header-priority-list { margin: 0; padding-left: 1.2rem; color: var(--text-muted); }
.ti-report-header-priority-list li { margin-bottom: 0.4rem; }
.ti-report-header-priority-meta { color: var(--text-muted); font-size: 0.8125rem; margin-left: 0.35rem; }
.ti-report-ask-ai { margin-bottom: 1.5rem; }
.ti-report-ask-ai-desc { color: var(--text-muted); margin: -0.5rem 0 1rem; font-size: 0.9375rem; line-height: 1.55; }
.ti-dashboard-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1.25rem;
}
.ti-dashboard-toolbar .ti-eyebrow { margin: 0; }
.exec-dashboard { display: grid; gap: 1rem; }
.exec-lead { color: var(--text); line-height: 1.65; margin: 0; font-size: 1rem; }
.exec-insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.exec-insight {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.12);
}
.exec-insight--positive { border-color: rgba(34, 197, 94, 0.25); }
.exec-insight--concern { border-color: rgba(245, 158, 11, 0.25); }
.exec-insight-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.exec-insight--positive .exec-insight-label { color: var(--green); }
.exec-insight--concern .exec-insight-label { color: var(--amber); }
.exec-insight ul { margin: 0; padding-left: 1.1rem; color: var(--text-muted); font-size: 0.9375rem; }
.exec-insight li { margin-bottom: 0.25rem; }
.exec-next-step {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.06);
}
.exec-next-step-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cyan);
    margin-bottom: 0.35rem;
}
.exec-next-step p { margin: 0; color: var(--text); line-height: 1.55; }
.ti-readiness-strip { margin-bottom: 1.25rem; }
.ti-readiness-body { flex: 1; min-width: 0; }
.ti-readiness-body p { margin: 0.5rem 0 0; color: var(--text-muted); font-size: 0.9375rem; }
.ti-readiness-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.ti-roadmap-step--primary {
    border: 1px solid rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.06);
    border-radius: var(--radius);
    padding: 0.65rem 0.75rem;
    margin: 0 -0.75rem;
}
.ti-roadmap-featured-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cyan);
    margin-bottom: 0.2rem;
}
.report-settings-alert { margin-bottom: 1rem; }
.report-settings-label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); }
.report-settings-select { width: 100%; }
.report-settings-checkbox-row { display: flex; align-items: center; padding-top: 1.75rem; }
.report-settings-checkbox { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); cursor: pointer; }
.report-settings-checkbox--block { margin-bottom: 0.75rem; }
.report-settings-checkbox--small { margin-top: 0.75rem; font-size: 0.875rem; }
.report-settings-subheading { font-size: 1rem; margin: 1.25rem 0 0.75rem; }
.report-settings-hint { color: var(--text-muted); font-size: 0.875rem; margin: 0 0 0.75rem; }
.issues-empty { margin: 0.75rem 0; }
.issues-empty--success { color: var(--green); }
.ti-dashboard-fallback { margin-bottom: 1.25rem; }

@media (max-width: 768px) {
    .ti-report-header-stats { grid-template-columns: 1fr 1fr; }
    .exec-insights-grid { grid-template-columns: 1fr; }
    .ti-readiness-strip { flex-direction: column; align-items: stretch; }
    .ti-readiness-actions { justify-content: flex-start; }
}
.ti-score-ring-grid { display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(5, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.ti-score-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.ti-ring-wrap { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.ti-progress-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.ti-ring-bg { fill: none; stroke: rgba(148, 163, 184, 0.15); stroke-width: 10; }
.ti-ring-fill { fill: none; stroke-width: 10; stroke-linecap: round; stroke: var(--cyan); transition: stroke-dashoffset 0.8s ease; }
.ti-ring-fill--trust { stroke: var(--cyan); }
.ti-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ti-ring-value { font-size: 2rem; font-weight: 900; line-height: 1; }
.ti-ring-label { font-size: 0.75rem; color: var(--text-muted); }
.ti-hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ti-grade-badge, .ti-risk-badge { font-size: 0.8125rem; padding: 0.35rem 0.65rem; border-radius: 999px; border: 1px solid var(--border); }
.ti-risk--critical { color: #ef4444; border-color: rgba(239, 68, 68, 0.35); }
.ti-risk--high { color: #f97316; border-color: rgba(249, 115, 22, 0.35); }
.ti-risk--moderate { color: #f59e0b; border-color: rgba(245, 158, 11, 0.35); }
.ti-risk--low { color: #6366f1; }
.ti-risk--minimal { color: #22c55e; }
.ti-pillar-card { padding: 1rem; }
.ti-pillar-icon { color: var(--cyan); margin-bottom: 0.35rem; }
.ti-pillar-label { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.ti-pillar-value { font-size: 1.25rem; font-weight: 800; }
.ti-pillar-value small { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.ti-pillar-bar { height: 4px; background: rgba(148, 163, 184, 0.15); border-radius: 999px; margin-top: 0.5rem; overflow: hidden; }
.ti-pillar-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); border-radius: 999px; }
.ti-kpi-grid, .ti-stats-row, .ti-compare-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.ti-kpi { text-align: center; }
.ti-kpi-label { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.ti-kpi-value { font-size: 1.5rem; font-weight: 900; display: block; }
.ti-kpi-value--cyan { color: var(--cyan); }
.ti-kpi-value--up { color: var(--green); }
.ti-kpi-value--down { color: #ef4444; }
.ti-kpi-meta { font-size: 0.8125rem; color: var(--text-muted); }
.ti-severity-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.65rem; margin-bottom: 1rem; }
.ti-severity-card { text-align: center; padding: 1rem 0.75rem; }
.ti-severity-icon { font-size: 1.25rem; margin-bottom: 0.35rem; display: block; }
.ti-severity-count { font-size: 1.5rem; font-weight: 900; display: block; }
.ti-severity-points { font-size: 0.75rem; color: var(--text-muted); }
.ti-severity--critical .ti-severity-icon { color: #ef4444; }
.ti-severity--high .ti-severity-icon { color: #f97316; }
.ti-severity--medium .ti-severity-icon { color: #f59e0b; }
.ti-severity--low .ti-severity-icon { color: #6366f1; }
.ti-severity--info .ti-severity-icon { color: #64748b; }
.ti-achievements { margin-bottom: 1rem; }
.ti-achievement-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ti-achievement { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border-radius: 999px; font-size: 0.8125rem; border: 1px solid var(--border); }
.ti-achievement--gold { border-color: rgba(234, 179, 8, 0.4); color: #fcd34d; }
.ti-achievement--platinum { border-color: rgba(167, 139, 250, 0.4); color: #c4b5fd; }
.ti-achievement--silver { border-color: rgba(148, 163, 184, 0.4); color: #cbd5e1; }
.ti-achievement--bronze { border-color: rgba(180, 83, 9, 0.4); color: #fdba74; }
.ti-roadmap { margin-bottom: 1rem; }
.ti-roadmap-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; align-items: center; }
.ti-roadmap-track { height: 8px; background: rgba(148, 163, 184, 0.12); border-radius: 999px; margin: 1rem 0; overflow: hidden; }
.ti-roadmap-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); border-radius: 999px; transition: width 0.5s ease; }
.ti-roadmap-list { list-style: none; margin: 0; padding: 0; }
.ti-roadmap-step { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.ti-roadmap-num { width: 28px; height: 28px; border-radius: 50%; background: rgba(34, 211, 238, 0.15); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.ti-roadmap-gain { color: var(--green); font-size: 0.875rem; margin-left: 0.5rem; }
.ti-roadmap-meta { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }
.ti-health-timeline { margin-bottom: 1rem; }
.ti-timeline-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.ti-period-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ti-period-tab { background: transparent; border: 1px solid var(--border); color: var(--text-muted); padding: 0.35rem 0.75rem; border-radius: 999px; cursor: pointer; font-size: 0.8125rem; }
.ti-period-tab--active { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }
.ti-trust-timeline-compact { margin-top: 1.5rem; }
.ti-timeline-vertical { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.ti-timeline-node { padding: 0.75rem 1rem; border-left: 3px solid var(--cyan); background: rgba(34, 211, 238, 0.06); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 0.25rem; animation: tiFadeIn 0.4s ease; }
.ti-timeline-node--up { border-left-color: var(--green); }
.ti-timeline-node--down { border-left-color: #ef4444; }
.ti-timeline-connector { color: var(--text-muted); padding-left: 1rem; font-size: 0.875rem; }
.ti-timeline-score { display: block; font-size: 1.125rem; }
.ti-timeline-delta { font-size: 0.875rem; color: var(--green); }
.ti-timeline-node--down .ti-timeline-delta { color: #ef4444; }
@keyframes tiFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.issue-card--ti { border: 1px solid rgba(148, 163, 184, 0.12); }
.ti-issue-status { font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 999px; margin-left: 0.35rem; border: 1px solid var(--border); }
.ti-issue-status--open { color: var(--cyan); }
.ti-issue-status--ignored { color: #64748b; }
.ti-issue-status--resolved, .ti-issue-status--verified { color: var(--green); }
.ti-issue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0; }
.ti-issue-priority { text-align: right; }
.ti-priority { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.ti-priority--critical { color: #ef4444; }
.ti-priority--high { color: #f97316; }
.ti-issue-actions { flex-wrap: wrap; align-items: center; }
.ti-issue-verification {
    margin: 0 0 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.ti-issue-verification h4 { color: var(--green); }
.ti-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.35);
    background: rgba(167, 139, 250, 0.08);
}
.btn-ii-enhance, .btn-ii-refresh { border-color: rgba(167, 139, 250, 0.35); color: #c4b5fd; }
.btn-ii-enhance:hover, .btn-ii-refresh:hover { border-color: #a78bfa; background: rgba(167, 139, 250, 0.1); }
.ti-issue-actions .btn.btn-outline.btn-ii-enhance,
.ti-issue-actions .btn.btn-outline.btn-ii-refresh {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}
.ti-issue-actions .btn.btn-outline.btn-ii-enhance:hover,
.ti-issue-actions .btn.btn-outline.btn-ii-refresh:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: transparent;
}
.ti-trust-journey { margin-bottom: 1.25rem; }
.ti-trust-journey-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.ti-subsection-title { margin: 0 0 0.65rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.ti-journey-tier-labels { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.45rem; }
.ti-journey-tier-bar { height: 8px; border-radius: 999px; background: rgba(148, 163, 184, 0.15); overflow: hidden; margin-bottom: 0.35rem; }
.ti-journey-tier-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), #22c55e); }
.ti-journey-tier-meta { margin: 0 0 1rem; font-size: 0.8125rem; color: var(--text-muted); }
.ti-journey-ai-insight { margin: 0 0 1rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-md); border: 1px solid rgba(167, 139, 250, 0.25); background: rgba(167, 139, 250, 0.06); font-size: 0.875rem; color: #c4b5fd; }
.ti-journey-status {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    animation: ti-journey-status-in 0.35s ease;
}
.ti-journey-status strong { font-weight: 700; }
.ti-journey-status span { font-size: 0.8125rem; opacity: 0.92; }
.ti-journey-status--success {
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
}
.ti-journey-status--error {
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.08);
    color: #fca5a5;
}
.ti-roadmap--highlighted {
    animation: ti-roadmap-pulse 0.9s ease 2;
    box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.45), 0 0 24px rgba(167, 139, 250, 0.15);
}
.btn-tj-optimise--done {
    border-color: rgba(16, 185, 129, 0.45) !important;
    color: #6ee7b7 !important;
    background: rgba(16, 185, 129, 0.08) !important;
}
@keyframes ti-journey-status-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ti-roadmap-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.35), 0 0 16px rgba(167, 139, 250, 0.1); }
    50% { box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.55), 0 0 28px rgba(167, 139, 250, 0.22); }
}
.ti-quick-wins-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; margin-bottom: 1rem; }
.ti-quick-win-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.75rem; background: rgba(15, 23, 42, 0.35); }
.ti-quick-win-card strong { display: block; font-size: 0.875rem; margin-bottom: 0.25rem; }
.ti-quick-win-card span { font-size: 0.78rem; color: var(--cyan); }
.ti-forecast-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.65rem; }
.ti-forecast-step { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.75rem; text-align: center; background: rgba(15, 23, 42, 0.25); }
.ti-forecast-step--current { border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08); }
.ti-forecast-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 0.25rem; }
.ti-forecast-score { display: block; font-size: 1.5rem; font-weight: 900; color: var(--cyan); line-height: 1.1; }
.ti-forecast-gain { display: block; font-size: 0.78rem; color: var(--green); margin-top: 0.15rem; }
.ti-forecast-eta { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.25rem; }
.btn-tj-optimise { border-color: rgba(167, 139, 250, 0.35); color: #c4b5fd; }
@media (max-width: 720px) {
    .ti-quick-wins-grid { grid-template-columns: 1fr; }
}
.ti-status-select { max-width: 140px; padding: 0.35rem 0.5rem; font-size: 0.8125rem; }
.ti-empty-hint { color: var(--text-muted); font-size: 0.9375rem; margin: 0; }
.ti-page-header { margin-bottom: 1.5rem; }
.ti-page-header h1 { font-size: 2rem; font-weight: 900; margin: 0.75rem 0 0.25rem; }
.ti-page-sub { color: var(--text-muted); margin: 0; }
.ti-history-table { overflow-x: auto; }
.ti-history-table table { width: 100%; border-collapse: collapse; }
.ti-history-table th, .ti-history-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.875rem; }
.ti-history-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ti-empty-state { text-align: center; padding: 3rem 1.5rem; }
.ti-empty-state i { font-size: 2.5rem; color: var(--cyan); margin-bottom: 1rem; }
.ti-search-form { display: flex; gap: 0.5rem; margin-bottom: 1rem; align-items: center; }
.ti-compare-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.ti-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.ti-compare-list { margin: 0; padding-left: 1.25rem; }
.ti-delta { font-size: 1.5rem; font-weight: 900; }
.ti-delta--up { color: var(--green); }
.ti-delta--down { color: #ef4444; }
.ti-compare-bar { display: flex; flex-direction: column; gap: 0.5rem; }
.ti-compare-bar-before, .ti-compare-bar-after { height: 36px; border-radius: 8px; display: flex; align-items: center; padding: 0 0.75rem; font-weight: 700; font-size: 0.875rem; min-width: 60px; transition: width 0.5s ease; }
.ti-compare-bar-before { background: rgba(148, 163, 184, 0.2); }
.ti-compare-bar-after { background: rgba(34, 211, 238, 0.25); color: var(--cyan); }

.ti-compare-ai { margin-top: 1rem; }
.ti-compare-ai-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.ti-compare-ai-header h3 { margin: 0; font-size: 1rem; }
.ti-compare-ai-headline { margin: 0 0 0.5rem; font-weight: 800; color: var(--cyan); }
.ti-compare-ai-summary { margin: 0 0 0.75rem; line-height: 1.55; }
.ti-compare-ai-list { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.ti-compare-ai-list--good li { color: var(--green); }
.ti-compare-ai-list--warn li { color: var(--amber); }
.ti-compare-ai-rec { margin: 0; font-size: 0.9375rem; }
.ti-compare-ai-status { margin-bottom: 0.75rem; padding: 0.5rem 0.75rem; border-radius: var(--radius); font-size: 0.875rem; }
.ti-compare-ai-status.hidden { display: none; }
.ti-compare-ai-status--loading { color: var(--cyan); background: rgba(34, 211, 238, 0.08); }
.ti-compare-ai-status--error { color: var(--red); background: rgba(248, 113, 113, 0.08); }

.ti-risk-assessment { margin-bottom: 1rem; }
.ti-risk-assessment-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ti-risk-score-row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.ti-risk-meter {
    width: 88px; height: 88px; border-radius: 50%;
    background: conic-gradient(var(--amber) calc(var(--risk-pct) * 1%), rgba(148,163,184,0.15) 0);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ti-risk-meter-value { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.ti-risk-meter-label { font-size: 0.625rem; color: var(--text-muted); text-transform: uppercase; }
.ti-risk-summary { margin: 0; color: var(--text-muted); line-height: 1.5; }
.ti-risk-dimensions { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.ti-risk-dimension { display: grid; grid-template-columns: 120px 1fr 48px; gap: 0.5rem; align-items: center; font-size: 0.8125rem; }
.ti-risk-dimension-bar { height: 6px; background: rgba(148,163,184,0.15); border-radius: 999px; overflow: hidden; }
.ti-risk-dimension-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--red)); border-radius: 999px; }
.ti-risk-dimension-meta { text-align: right; color: var(--text-muted); }
.ti-risk-top h4 { margin: 0 0 0.5rem; font-size: 0.875rem; }
.ti-risk-top-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.ti-risk-top-list li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.35rem 0; border-bottom: 1px solid rgba(148,163,184,0.08); font-size: 0.875rem; }
.ti-risk-top-meta { color: var(--cyan); font-weight: 700; white-space: nowrap; }
.ti-risk-ai-body { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(148,163,184,0.12); }
.ti-risk-ai-narrative { margin: 0 0 0.65rem; line-height: 1.55; }
.ti-risk-ai-actions { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.ti-risk-ai-status { margin-bottom: 0.5rem; font-size: 0.875rem; padding: 0.5rem 0.65rem; border-radius: var(--radius); }
.ti-risk-ai-status.hidden { display: none; }
.ti-risk-ai-status--loading { color: var(--cyan); background: rgba(34,211,238,0.08); }
.ti-risk-ai-status--error { color: var(--red); background: rgba(248,113,113,0.08); }

.ti-issue-knowledge { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(148,163,184,0.12); }
.ti-issue-knowledge h4 { margin: 0 0 0.65rem; font-size: 0.9375rem; }
.ti-knowledge-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.ti-knowledge-link {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.65rem; border-radius: var(--radius);
    background: rgba(15,23,42,0.45); border: 1px solid rgba(148,163,184,0.1);
    color: var(--text); text-decoration: none; font-size: 0.875rem;
    transition: border-color 0.15s, background 0.15s;
}
.ti-knowledge-link:hover { border-color: rgba(34,211,238,0.35); background: rgba(34,211,238,0.06); }
.ti-knowledge-link--official i:first-child { color: var(--cyan); }
.ti-knowledge-link--tool i:first-child { color: var(--green); }
.ti-knowledge-ext { margin-left: auto; font-size: 0.75rem; opacity: 0.5; }
.severity-badge--info { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }
.public-trust-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--bg, #0b1224); }
.public-trust-main { width: 100%; max-width: 520px; }
.public-trust-card { text-align: center; }
.public-trust-score-value { font-size: 4rem; font-weight: 900; color: var(--cyan); display: block; line-height: 1; }
.public-trust-disclaimer { font-size: 0.8125rem; color: var(--text-muted); margin-top: 1.5rem; }
.public-trust-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1.5rem; text-align: left; }
.ti-public-profile-settings { border-top: 1px solid var(--border); padding-top: 0.5rem; }
.ti-profile-link-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ti-profile-link-row .form-input { flex: 1; min-width: 200px; }
.ti-profile-link-url {
    flex: 1;
    min-width: 200px;
    font-size: 0.8125rem;
    color: var(--cyan);
    word-break: break-all;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ti-profile-link-url:hover { color: #67e8f9; }
@media (max-width: 1100px) {
    .ti-score-ring-grid { grid-template-columns: 1fr 1fr; }
    .ti-severity-grid { grid-template-columns: repeat(3, 1fr); }
    .ti-kpi-grid, .ti-stats-row, .ti-compare-scores { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ti-score-ring-grid, .ti-severity-grid, .ti-compare-grid, .ti-compare-form, .ti-issue-grid { grid-template-columns: 1fr; }
    .ti-risk-score-row { grid-template-columns: 1fr; }
    .ti-risk-dimension { grid-template-columns: 1fr; }
    .ti-kpi-grid, .ti-stats-row, .ti-compare-scores { grid-template-columns: 1fr; }
}

/* Phase 5 — Continuous Monitoring & Trust Automation */
.mc-monitor-centre { max-width: 1200px; }
.mc-monitor-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.mc-monitor-head-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.mc-monitor-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.mc-monitor-kpi { padding: 1rem 1.25rem; }
.mc-monitor-kpi strong { display: block; font-size: 1.5rem; font-weight: 900; margin-top: 0.35rem; }
.mc-kpi-label { font-size: 0.8125rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mc-monitor-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.25rem; align-items: start; }
.mc-monitor-list { padding: 1rem; position: sticky; top: 1rem; }
.mc-monitor-item { display: block; padding: 0.875rem; border-radius: 12px; margin-bottom: 0.5rem; text-decoration: none; color: inherit; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.mc-monitor-item:hover, .mc-monitor-item--active { background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.25); }
.mc-monitor-item-top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: center; margin-bottom: 0.35rem; }
.mc-monitor-item-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8125rem; color: var(--text-muted); }
.mc-status-pill { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 999px; }
.mc-status-pill--active { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.mc-status-pill--paused { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.mc-status-pill--completed { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.mc-status-pill--failed, .mc-status-pill--retry { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.mc-status-pill--queued, .mc-status-pill--running { background: rgba(34, 211, 238, 0.15); color: var(--cyan); }
.mc-badge-count { display: inline-block; background: var(--cyan); color: #0f172a; font-size: 0.75rem; font-weight: 800; padding: 0.15rem 0.45rem; border-radius: 999px; margin-left: 0.35rem; }
.mc-monitor-detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; margin-bottom: 1rem; }
.mc-monitor-status-card, .mc-monitor-trend-card { padding: 1.25rem; }
.mc-score-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.mc-score-block span { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.mc-score-block strong { font-size: 2rem; font-weight: 900; color: var(--cyan); }
.mc-monitor-dl { display: grid; gap: 0.5rem; margin: 1rem 0; }
.mc-monitor-dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.mc-monitor-dl dt { color: var(--text-muted); margin: 0; }
.mc-monitor-dl dd { margin: 0; font-weight: 600; text-align: right; }
.mc-monitor-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.mc-trend-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.mc-trend-badge { font-weight: 700; margin-bottom: 0.75rem; }
.mc-trend-badge--up { color: var(--green); }
.mc-trend-badge--down { color: #ef4444; }
.mc-muted { color: var(--text-muted); font-size: 0.875rem; }
.mc-empty-state { text-align: center; padding: 2.5rem 1.5rem; }
.mc-empty-state i { font-size: 2.5rem; color: var(--cyan); margin-bottom: 1rem; }
.mc-timeline-list { display: flex; flex-direction: column; gap: 0.75rem; }
.mc-timeline-card { display: flex; gap: 1rem; padding: 1rem; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.12); background: rgba(15, 23, 42, 0.4); }
.mc-timeline-card i { font-size: 1.25rem; color: var(--cyan); margin-top: 0.15rem; }
.mc-timeline-card time { font-size: 0.8125rem; color: var(--text-muted); }
.mc-rec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.mc-rec-item { padding: 0.875rem 1rem; border-radius: 10px; border-left: 4px solid var(--cyan); background: rgba(15, 23, 42, 0.45); }
.mc-rec-item--critical { border-left-color: #ef4444; }
.mc-rec-item--high { border-left-color: #f97316; }
.mc-rec-item p { margin: 0.35rem 0 0; color: var(--text-muted); font-size: 0.9375rem; }
.mc-notif-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1rem; margin-bottom: 1rem; }
.mc-notif-search { display: flex; gap: 0.5rem; flex: 1; min-width: 200px; }
.mc-notif-list { display: grid; gap: 0.75rem; }
.mc-notif-card { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.25rem; }
.mc-notif-card--unread { border-color: rgba(34, 211, 238, 0.35); }
.mc-notif-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-start; }
.mc-notif--success { border-left: 4px solid var(--green); }
.mc-notif--warning { border-left: 4px solid var(--amber); }
.mc-notif--critical { border-left: 4px solid #ef4444; }
.mc-notif--info { border-left: 4px solid var(--cyan); }
.mc-log-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 1rem; margin-bottom: 1rem; align-items: center; }
.mc-log-table-wrap { overflow-x: auto; padding: 0; }
.mc-log-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.mc-log-table th, .mc-log-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid rgba(148, 163, 184, 0.12); }
.mc-log-table th { color: var(--text-muted); font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; }
@media (max-width: 900px) {
    .mc-monitor-layout, .mc-monitor-detail-grid, .mc-monitor-kpi-grid { grid-template-columns: 1fr; }
    .mc-monitor-list { position: static; }
}

/* UI polish — export dropdown, action menus, collapsible panels */
.ui-dropdown { position: relative; display: inline-block; }
.ui-dropdown-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
.ui-dropdown-caret { font-size: 0.65rem; opacity: 0.7; transition: transform 0.15s ease; }
.ui-dropdown.is-open .ui-dropdown-caret { transform: rotate(180deg); }
.ui-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 13rem;
    padding: 0.35rem;
    background: var(--surface-elevated, #1e293b);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 40;
}
.ui-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.375rem;
    color: var(--text);
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
}
.ui-dropdown-item:hover { background: rgba(34, 211, 238, 0.1); color: var(--cyan); }

.ui-actions-menu { position: relative; display: inline-block; }
.ui-actions-menu-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 11rem;
    padding: 0.35rem;
    background: var(--surface-elevated, #1e293b);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 30;
}
.ui-actions-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--text);
    font-size: 0.875rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.ui-actions-menu-item:hover { background: rgba(34, 211, 238, 0.1); color: var(--cyan); }
.ti-issue-actions { flex-wrap: wrap; align-items: center; gap: 0.5rem; }

.ui-collapsible-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.ui-collapsible-trigger .ui-collapsible-caret {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.15s ease;
}
.ui-collapsible.is-collapsed .ui-collapsible-caret { transform: rotate(-90deg); }
.ui-collapsible-body { margin-top: 0.75rem; }

.ti-compare-default-note {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: -0.5rem 0 1.25rem;
}
.ti-compare-list-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.ti-compare-resolve-form { margin: 0; }
.ti-compare-panel--unchanged { margin-top: 1rem; }
