﻿/* MLM Website Analyser Custom Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #0B1120;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(49, 125, 185, 0.15);
    --primary: #317DB9;
    --primary-hover: #29689A;
    --secondary: #E43C42;
    --accent: #E43C42;
    --success: #25D366;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(49, 125, 185, 0.15);
}

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

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
}

body {
    background: linear-gradient(135deg, #070B14 0%, #0B1120 100%); background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

#scifi-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 30%, var(--bg-main) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Custom Navigation Layout */
.navbar-custom {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo span {
    color: var(--secondary);
    -webkit-text-fill-color: initial;
    background: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.brand-text-desktop {
    display: inline;
}

.brand-text-mobile {
    display: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Navbar Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    padding: 0.75rem !important;
    border-radius: 16px !important;
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(49, 125, 185,0.1);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover { display: block; }
.nav-dropdown-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem !important;
    border-radius: 10px;
    text-decoration: none !important;
    color: rgba(255,255,255,0.75) !important;
    transition: all 0.2s ease;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
}
.nav-dropdown-item:hover {
    background: rgba(255,255,255,0.06);
    color: #fff !important;
    text-shadow: none !important;
}
.nav-dropdown-item i { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.nav-dropdown-item strong { display: block; color: #fff; font-size: 0.88rem; font-weight: 600; }
.nav-dropdown-item small  { display: block; color: rgba(255,255,255,0.45); font-size: 0.75rem; margin-top: 1px; }
.nav-dropdown-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 0.4rem 0; }

/* Persona Section Styles */
.persona-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) { .persona-cards-grid { grid-template-columns: 1fr; gap: 1rem; } }

.persona-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}
.persona-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--pc-color, var(--primary));
}
.persona-card:hover {
    border-color: var(--pc-color, var(--primary));
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(49, 125, 185,0.1);
}
.persona-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    background: rgba(255,255,255,0.05);
}
.persona-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}
.persona-card h3 { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.persona-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; margin-bottom: 1rem; }
.persona-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--pc-color, var(--primary));
}

/* Story Timeline (Sasta Software section) */
.story-timeline {
    position: relative;
    padding-left: 2.5rem;
}
.story-timeline::before {
    content: '';
    position: absolute;
    left: 10px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #f59e0b, #ef4444, #8A2BE2);
}
.story-step {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
}
.story-step::before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 1.5rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--step-color, #f59e0b);
    box-shadow: 0 0 12px var(--step-color, #f59e0b);
}
.story-step-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--step-color, #f59e0b);
    margin-bottom: 0.4rem;
}
.story-step h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.35rem; }
.story-step p  { color: var(--text-secondary); font-size: 0.88rem; margin: 0; }

/* Comparison Table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.compare-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 800;
    font-family: var(--font-heading);
    border-bottom: 2px solid rgba(255,255,255,0.08);
}
.compare-table td {
    padding: 0.85rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.compare-table td:first-child { text-align: left; color: #fff; font-weight: 600; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.cmp-yes { color: #25D366; font-weight: 700; }
.cmp-no  { color: #ef4444; }
.cmp-maybe { color: #f59e0b; }
.cmp-highlight th { background: rgba(49, 125, 185,0.06); color: var(--primary); }

/* Scan Urgency Banner */
.scan-urgency-banner {
    background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(245,158,11,0.08) 100%);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.scan-urgency-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(239,68,68,0.04) 0%, transparent 60%);
    animation: scanPulse 3s ease-in-out infinite;
}
@keyframes scanPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Mobile responsive for new persona sections */
@media (max-width: 768px) {
    /* Section B - story grid */
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .story-timeline { padding-left: 1.75rem; }
    /* Section C - scan urgency grid */
    .scan-urgency-banner { margin-bottom: 1rem; }
    /* Section D - comparison table */
    .compare-table { font-size: 0.78rem; }
    .compare-table th, .compare-table td { padding: 0.6rem 0.5rem; }
}

.main-content {
    margin: 0 auto;
    padding: 0 0 5rem 0;
    min-height: calc(100vh - 200px);
    overflow-x: hidden;
}

/* Cards & Glassmorphism */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.glass-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow), var(--shadow-glow);
}

/* Typographical elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Gradients */
.text-gradient {
    background: linear-gradient(135deg, #fff 20%, var(--primary) 60%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-danger {
    background: linear-gradient(135deg, #ff9999 0%, var(--danger) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-success {
    background: linear-gradient(135deg, #99ffd5 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary-custom {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(49, 125, 185, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(49, 125, 185, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.btn-primary-custom > * {
    position: relative;
    z-index: 1;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(49, 125, 185, 0.5);
    filter: brightness(1.1);
}

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

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

.btn-secondary-custom {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-color);
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto 5rem auto;
}

.hero-section p {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

/* Form Styles */
.form-group-custom {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group-custom label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-custom {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.input-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

/* Landing Form Layout */
.url-check-card {
    max-width: 650px;
    margin: 0 auto;
}

/* Step Wizard styles */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.step-indicator {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s var(--transition);
}

.quiz-step.active {
    display: block;
}

.question-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

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

.option-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.option-card.selected {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.option-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: var(--transition);
}

.option-card.selected .option-radio {
    border-color: var(--primary);
}

.option-card.selected .option-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    display: block;
}

.option-content h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-content p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Compare Image Card specific */
.member-panel-question {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.panel-designs-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .panel-designs-container {
        grid-template-columns: 1fr 1fr;
    }
}

.panel-design-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.panel-design-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.panel-design-card-body {
    padding: 1.25rem;
}

.panel-design-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.panel-design-card-body p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Rating Sliders */
.rating-slider-container {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.slider-wrapper {
    position: relative;
}

.slider-custom {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition);
}

.slider-custom::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    transition: var(--transition);
}

.slider-custom::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.rating-value-display {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scan Animation Screen */
.scan-screen {
    text-align: center;
    padding: 3rem 1rem;
}

.radar-loader {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 70%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    position: relative;
    margin: 0 auto 3rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: radar-ping 2s infinite ease-out;
}

.radar-loader::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    animation: radar-ping 2s infinite ease-out 1s;
}

.radar-core {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.scan-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.scan-url {
    color: var(--primary);
    font-family: monospace;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.scan-steps-list {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.scan-step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.scan-step-item.pending i {
    color: var(--text-muted);
}

.scan-step-item.running {
    border-color: rgba(99, 102, 241, 0.4);
    color: #fff;
    background: rgba(99, 102, 241, 0.05);
}

.scan-step-item.running i {
    color: var(--primary);
    animation: spin 1s infinite linear;
}

.scan-step-item.completed {
    border-color: rgba(16, 185, 129, 0.2);
    color: #fff;
    background: rgba(16, 185, 129, 0.05);
}

.scan-step-item.completed i {
    color: var(--success);
}

/* Report Page UI */
.report-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .report-grid {
        grid-template-columns: 350px 1fr;
    }
}

.report-aside {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gauge-card {
    text-align: center;
    padding: 3rem 2rem;
}

/* Circular Score Gauge */
.circle-gauge {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem auto;
}

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

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 10px;
}

.circle-fill-danger {
    fill: none;
    stroke: var(--danger);
    stroke-width: 12px;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease-out;
}

.circle-fill-warning {
    fill: none;
    stroke: var(--warning);
    stroke-width: 12px;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease-out;
}

.circle-fill-success {
    fill: none;
    stroke: var(--success);
    stroke-width: 12px;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease-out;
}

.circle-score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.score-percent {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.score-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Category Scores */
.cat-score-item {
    margin-bottom: 1.25rem;
}

.cat-score-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.cat-score-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.cat-score-bar-fill {
    height: 100%;
    border-radius: 4px;
}

.cat-danger {
    background: var(--danger);
}

.cat-warning {
    background: var(--warning);
}

.cat-success {
    background: var(--success);
}

/* Audit Checklist Accordion */
.audit-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audit-group {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.audit-group-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--border-color);
}

.audit-group-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.audit-group-status {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audit-items-list {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.audit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.audit-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.audit-item-icon {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.audit-item-icon.danger {
    color: var(--danger);
}

.audit-item-icon.warning {
    color: var(--warning);
}

.audit-item-icon.success {
    color: var(--success);
}

.audit-item-details h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.audit-item-details p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.audit-item-solution {
    font-size: 0.8rem;
    background: rgba(99, 102, 241, 0.08);
    color: #a5b4fc;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

/* Subscription CTAs */
.subscription-section {
    margin: 5rem 0 2rem 0;
    text-align: center;
}

.sub-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1000px;
}

@media (min-width: 768px) {
    .sub-plans-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .sub-plans-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.plan-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
}

.plan-card.popular::after {
    content: 'POPULAR';
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.plan-card.popular:hover {
    border-color: var(--secondary);
    box-shadow: 0 15px 45px -10px rgba(217, 70, 239, 0.3);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    height: 45px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features li i {
    color: var(--success);
}

/* Consultation Lead Form */
.consult-lead-card {
    max-width: 600px;
    margin: 4rem auto 0 auto;
    text-align: center;
}

/* Before/After Dashboard Comparison Slider */
.slider-container-box {
    margin: 4rem auto;
    max-width: 900px;
}

.slider-comparison {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.image-before {
    /* Set mock style in HTML inline */
    background-color: #222;
}

.image-after {
    /* Set mock style in HTML inline */
    width: 0%;
    left: auto;
    right: 0;
}

.slider-comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fff;
    left: 50%;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-comparison-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    color: #333;
    font-weight: bold;
}

.label-before, .label-after {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 5;
}

.label-before {
    left: 1rem;
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
}

.label-after {
    right: 1rem;
    background: rgba(16, 185, 129, 0.85);
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes radar-ping {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Wizard Buttons Container */
.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.hidden { display: none; }
.align-center { display: flex; align-items: center; gap: 0.5rem; }
.justify-center { justify-content: center; }

/* FontAwesome shim helper */
.fa-spin-custom {
    animation: spin 1s infinite linear;
}

/* Locked Preview Overlay styles */
.locked-section {
    position: relative;
    overflow: hidden;
}

.locked-blur {
    filter: blur(8px) grayscale(30%);
    pointer-events: none;
    user-select: none;
    opacity: 0.35;
}

.lock-banner-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8), 0 0 30px rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--secondary);
}

.lock-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(217, 70, 239, 0.1);
    border: 2px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: var(--secondary);
    animation: pulse-glow-purple 2s infinite ease-in-out;
}

@keyframes pulse-glow-purple {
    0% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(217, 70, 239, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0); }
}

/* Modal Lead Form Layout */
.modal-custom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-custom-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-custom-box {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

.modal-custom-box:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(138, 43, 226, 0.15);
}

.modal-custom-backdrop.show .modal-custom-box {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: #fff;
}

/* Questionnaire Icons & Wrapper */
.question-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    transition: var(--transition);
}

.question-icon {
    font-size: 1.35rem;
    margin-right: 0 !important;
    vertical-align: middle;
    filter: drop-shadow(0 0 6px currentColor);
}

/* PDF Layout Stacking & solid color fixes */
.is-generating-pdf {
    background: #0B0F19 !important;
    background-color: #0B0F19 !important;
    color: #f3f4f6 !important;
    padding: 15px !important;
}

.is-generating-pdf .report-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.is-generating-pdf .report-aside {
    width: 100% !important;
}

.is-generating-pdf .glass-card {
    background: #161C2D !important;
    background-color: #161C2D !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.is-generating-pdf .gauge-card {
    background: #161C2D !important;
    background-color: #161C2D !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.is-generating-pdf .audit-group {
    background: #1A2236 !important;
    background-color: #1A2236 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 1.5rem !important;
}

.is-generating-pdf .audit-item {
    background: #212C47 !important;
    background-color: #212C47 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid var(--danger) !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 1rem !important;
}

.is-generating-pdf .text-gradient {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

.is-generating-pdf h1, 
.is-generating-pdf h2, 
.is-generating-pdf h3, 
.is-generating-pdf h4, 
.is-generating-pdf h5, 
.is-generating-pdf h6, 
.is-generating-pdf p,
.is-generating-pdf span,
.is-generating-pdf div,
.is-generating-pdf label {
    text-shadow: none !important;
}

.is-generating-pdf .glass-card,
.is-generating-pdf .gauge-card {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 1.5rem !important;
}

/* Comparative Report Layout */
.comp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.comp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transition: var(--transition);
}

.comp-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: var(--shadow-glow);
}

.comp-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.comp-card-title {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 600;
}

.comp-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.comp-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.comp-col.ideal {
    background: rgba(16, 185, 129, 0.02);
    border-color: rgba(16, 185, 129, 0.12);
}

.comp-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.comp-label.user-label {
    color: var(--danger);
}

.comp-label.ideal-label {
    color: var(--success);
}

.comp-val {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.comp-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.comp-advice {
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--primary);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* PDF Overrides for Comparison Layout */
.is-generating-pdf .comp-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.is-generating-pdf .comp-card {
    background: #161C2D !important;
    background-color: #161C2D !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.is-generating-pdf .comp-col {
    background: #1F2A40 !important;
    background-color: #1F2A40 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.is-generating-pdf .comp-col.ideal {
    background: #1A362B !important;
    background-color: #1A362B !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

.is-generating-pdf .comp-advice {
    background: #252F48 !important;
    background-color: #252F48 !important;
    border-left: 3px solid #6366f1 !important;
}

/* PDF print overrides for Contact CTA block */
.is-generating-pdf .print-cta-block {
    background: #161C2D !important;
    background-color: #161C2D !important;
    border: 2px dashed rgba(99, 102, 241, 0.5) !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

@keyframes consultGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(37, 211, 102, 0.2); 
        transform: scale(1); 
        background: rgba(37, 211, 102, 0.15);
    }
    50% { 
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.6); 
        transform: scale(1.05); 
        background: rgba(37, 211, 102, 0.3);
    }
}

/* ----------------- MOBILE RESPONSIVE & MOBILE-FIRST UPGRADES ----------------- */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    .brand-logo {
        font-size: 1.1rem;
    }
    .nav-links {
        gap: 0.5rem;
    }
    .nav-links li:nth-child(1),
    .nav-links li:nth-child(2) {
        display: none !important;
    }
    .main-content {
        margin: 0 auto;
        padding: 0 0 3rem 0;
    }
    .glass-card {
        padding: 1.25rem 1rem !important;
        border-radius: 14px !important;
    }
    h1 {
        font-size: 1.85rem !important;
    }
    h2 {
        font-size: 1.55rem !important;
    }
    h3 {
        font-size: 1.2rem !important;
    }
    p {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
    }
    .slider-comparison {
        height: 240px;
    }
    /* Section content padding on mobile */
    .new-hero-wrapper { padding: 1.75rem 0 2.5rem; }
    .new-hero-container { padding: 0 1rem; gap: 1.75rem; }
    .dual-path-grid { gap: 0.85rem; }
    .path-card { padding: 1rem 0.9rem; gap: 0.75rem; }
    .path-icon { font-size: 1.35rem; }
    .path-title { font-size: 0.95rem; }
    .path-desc { font-size: 0.78rem; }
    .scan-url-input { font-size: 0.82rem; padding: 0.55rem 0.75rem; }
    .scan-cta-btn, .build-cta-btn { font-size: 0.82rem; padding: 0.6rem 0.9rem; }
    .path-trust-row { font-size: 0.68rem; gap: 0.5rem; }
    .risk-estimator-card { padding: 1.25rem 1rem; border-radius: 16px; }
    .risk-card-title { font-size: 1.1rem; }
    .risk-items { gap: 0.4rem; }
    .risk-item { padding: 0.4rem 0.5rem; flex-wrap: wrap; }
    .risk-item-left strong { font-size: 0.75rem; }
    .risk-item-left small { font-size: 0.65rem; }
    .risk-badge { font-size: 0.6rem; padding: 0.2rem 0.4rem; }
    .risk-stat-num { font-size: 1.05rem; }
    .trust-row-inner { padding: 0 1rem; }
    .trust-badges { gap: 1rem; }
    .urgency-bar-inner { font-size: 0.75rem; gap: 0.4rem; }
    .urgency-badge { font-size: 0.65rem; padding: 0.15rem 0.45rem; }
}

@media (max-width: 576px) {
    .brand-text-desktop {
        display: none;
    }
    .brand-text-mobile {
        display: inline;
    }
    .navbar-custom {
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .slider-comparison {
        height: 180px;
    }
    .wizard-buttons {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    .wizard-buttons .btn-primary-custom, 
    .wizard-buttons .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }
    .option-card {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }
}

/* --- Search Card & Url Input Row Responsive styles --- */
.search-card-custom {
    padding: 1.75rem 2rem !important;
}

.url-input-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.url-input-row .input-custom {
    flex-grow: 1;
    min-width: 250px;
}

@media (max-width: 768px) {
    .search-card-custom {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 576px) {
    .url-input-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }
    .url-input-row .input-custom {
        width: 100% !important;
        min-width: 0 !important;
    }
    .url-input-row .btn-primary-custom {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --- Hologram Rings & Floating Badges Mobile Off --- */
@media (max-width: 992px) {
    .hologram-ring,
    .hologram-ring-2,
    .floating-badge-1,
    .floating-badge-2 {
        display: none !important;
    }
}

/* --- Responsive Sticky Bottom Consultation Bar Styles --- */
.sticky-bar-hidden {
    position: fixed !important;
    bottom: -350px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-bar-floating {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(11, 15, 25, 0.96);
    border-top: 2px solid #25D366;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sticky-bar-docked {
    position: relative !important;
    bottom: 0 !important;
    left: auto !important;
    right: auto !important;
    max-width: 1000px !important;
    margin: 3rem auto 1rem auto !important;
    border-radius: 16px !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    box-shadow: none !important;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sticky-consult-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-consult-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.sticky-consult-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.sticky-consult-close:hover {
    color: #fff;
}

.sticky-consult-text {
    text-align: left;
}

@media (max-width: 768px) {
    .sticky-bar-floating, 
    .sticky-bar-docked {
        padding: 1.25rem 1rem !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        align-items: stretch !important;
        text-align: center !important;
        border-radius: 0 !important;
    }
    
    .sticky-bar-docked {
        margin: 2rem 1rem !important;
        border-radius: 16px !important;
    }
    
    .sticky-consult-content {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .sticky-consult-content div {
        text-align: center !important;
    }
    
    .sticky-consult-text {
        text-align: center !important;
        width: 100% !important;
    }
    
    .sticky-consult-actions {
        width: 100% !important;
        justify-content: center !important;
        gap: 0.75rem !important;
    }
    
    .sticky-consult-actions a {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.7rem 1.25rem !important;
    }
    
    .sticky-consult-close {
        position: absolute !important;
        top: 0.5rem !important;
        right: 0.75rem !important;
        font-size: 1.35rem !important;
    }
}

/* --- Global HTML/Body Overflows Fixes --- */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* --- Clean Mobile-First Responsive Grids --- */
.grid-2col-responsive {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
}

.grid-3col-responsive {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
}

.grid-4col-responsive {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
}

.grid-5col-thematic {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
}

@media (min-width: 768px) {
    .grid-2col-responsive {
        grid-template-columns: 1fr 1fr !important;
    }
    .grid-3col-responsive {
        grid-template-columns: 1fr 1fr !important;
    }
    .grid-4col-responsive {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (min-width: 992px) {
    .grid-3col-responsive {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
    .grid-4col-responsive {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
    }
}


/* --- Badge & Hero Title Mobile Customizations --- */
.badge-status-custom {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: normal !important;
    text-align: left !important;
}

@media (max-width: 576px) {
    .badge-status-custom {
        font-size: 0.72rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

.hero-title-custom {
    font-size: 2.75rem;
}
@media (max-width: 768px) {
    .hero-title-custom {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }
}

/* --- Report View Responsive Tweaks --- */
.consultation-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
}

@media (max-width: 576px) {
    .consultation-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
}

@media (max-width: 768px) {
    .print-cta-block {
        padding: 1.5rem 1rem !important;
    }
}

/* --- REDESIGNED HERO SYSTEM & URGENCY STYLING --- */

.urgency-top-bar {
    background: linear-gradient(90deg, #100f1f 0%, #1d1b31 50%, #100f1f 100%);
    border-bottom: 2px solid #ef4444;
    padding: 0.55rem 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
}
.urgency-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 500;
}
@media (max-width: 768px) {
    .urgency-bar-inner {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.25rem 0;
    }
}
.urgency-badge {
    background: #ef4444;
    color: #fff;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.urgency-divider {
    color: rgba(255, 255, 255, 0.15);
}
@media (max-width: 768px) {
    .urgency-divider {
        display: none !important;
    }
}
.urgency-timer-text {
    color: #94a3b8;
}
.urgency-countdown {
    color: #ef4444;
    font-weight: 700;
}

.proof-ticker-wrap {
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    white-space: nowrap;
    padding: 0.65rem 0;
    position: relative;
    z-index: 10;
}
.proof-ticker {
    display: inline-block;
    padding-left: 100%;
    animation: tickerAnimation 80s linear infinite;
}
.proof-ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
@keyframes tickerAnimation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.new-hero-wrapper {
    position: relative;
    padding: 2.5rem 0 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
.new-hero-container {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
    position: relative;
    z-index: 10;
}
@media (min-width: 992px) {
    .new-hero-container {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 3rem;
        align-items: center;
    }
}
.new-hero-left {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}
.hero-badge-pill {
    align-self: flex-start;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.new-hero-title {
    font-size: clamp(1.65rem, 5vw, 3.25rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    word-break: break-word;
    overflow-wrap: break-word;
}
.new-hero-subtitle {
    font-size: clamp(0.88rem, 2vw, 1.12rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.75rem;
    max-width: 650px;
    word-break: break-word;
    overflow-wrap: break-word;
}
.hero-live-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 10px #25d366;
    animation: stickyPulse 2s infinite;
}
.live-sep {
    color: rgba(255,255,255,0.1);
}

.dual-path-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
}
@media (min-width: 1200px) {
    .dual-path-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.path-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
}
@media (max-width: 576px) {
    .path-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1.5rem 1.25rem !important;
    }
}

.path-scan {
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: default; /* Scanner has form elements */
}
.path-scan:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.path-build {
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.path-build:hover {
    transform: translateY(-4px);
    border-color: #f59e0b;
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.path-icon {
    font-size: 1.6rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
    line-height: 1;
}
.path-icon-build {
    color: #f59e0b;
}
.path-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}
.path-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: var(--font-heading);
    word-break: break-word;
    overflow-wrap: break-word;
}
.path-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
}
.scan-input-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.scan-url-input {
    background: rgba(10, 15, 25, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
    font-family: monospace;
    transition: var(--transition);
}
.scan-url-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}
.scan-cta-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.scan-cta-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}
.build-cta-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
    transition: var(--transition);
}
.build-cta-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.path-trust-row {
    display: flex;
    gap: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.risk-estimator-card {
    border: 1px solid rgba(239, 68, 68, 0.25);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.04) 0%, rgba(0,0,0,0) 100%);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(239, 68, 68, 0.1);
}
.risk-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.risk-alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.risk-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.3rem 0;
    font-family: var(--font-heading);
}
.risk-card-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}
.risk-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.risk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    gap: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    transform-style: preserve-3d;
}

.risk-item:hover {
    border-color: rgba(49, 125, 185, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(49, 125, 185, 0.1);
}
.risk-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.risk-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.risk-item-left strong {
    display: block;
    font-size: 0.85rem;
    color: #fff;
}
.risk-item-left small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 0.2rem;
}
.risk-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}
.risk-badge.danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.risk-badge.warning {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}
.risk-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}
.risk-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.risk-stat-num {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-heading);
}
.risk-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.risk-cta-btn {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: var(--transition);
}
.risk-cta-btn:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45);
}

.trust-row-wrap {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    margin-bottom: 3.5rem;
}
.trust-row-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) {
    .trust-row-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}
.trust-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.trust-badge i {
    font-size: 1.35rem;
}
.trust-badge strong {
    display: block;
    font-size: 0.82rem;
    color: #fff;
}
.trust-badge small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.trust-divider {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.08);
    display: none;
}
@media (min-width: 992px) {
    .trust-divider {
        display: block;
    }
}

.mobile-float-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    display: none;
}
@media (max-width: 768px) {
    .mobile-float-cta {
        display: block;
    }
}
.mobile-float-btn {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border: none;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.85rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

@media (max-width: 576px) {
    .risk-estimator-card {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
    }
    .new-hero-left, .new-hero-right {
        width: 100% !important;
    }
    .hero-badge-pill {
        font-size: 0.72rem !important;
        padding: 0.4rem 0.8rem !important;
        white-space: normal !important;
        text-align: center;
        align-self: center !important;
    }
    .live-sep {
        display: none !important;
    }
    .hero-live-row {
        flex-direction: column;
        gap: 0.4rem !important;
        align-items: center !important;
    }
    .glass-card {
        padding: 1.25rem !important;
        border-radius: 16px !important;
    }
    .upfront-modal-box {
        padding: 1.25rem !important;
    }
}

.nav-dd-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}



