@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Syne:wght@400;500;700;800;900&display=swap');

:root {
    --bg-dark: #0F1117;
    --primary-indigo: #6366F1;
    --primary-emerald: #10B981;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --white: #FFFFFF;

    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    height: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(15, 17, 23, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    flex-shrink: 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tagline {
    font-size: 10px;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -2px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--slate-500);
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

.lang-btn.active {
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    color: var(--slate-300);
}

.lang-divider {
    color: var(--slate-500);
    opacity: 0.3;
}

/* Main Layout */
.hero-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.hero-content {
    margin-bottom: 48px;
}

.overline {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-indigo);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-variant: small-caps;
    margin-bottom: 16px;
}

.main-title {
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1.1;
    max-width: 720px;
    margin: 0 auto 24px;
}

.subheadline {
    font-size: 20px;
    color: var(--slate-400);
    max-width: 560px;
    margin: 0 auto;
}

/* Tiles Grid */
.tiles-grid {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.tile {
    width: 340px;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tile-a {
    background: linear-gradient(135deg, #1A1D2E 0%, #1E2140 100%);
}

.tile-b {
    background: linear-gradient(135deg, #111D1A 0%, #152420 100%);
}

.tile:hover {
    transform: scale(1.02);
}

.tile-a:hover {
    border-color: var(--primary-indigo);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.tile-b:hover {
    border-color: var(--primary-emerald);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.tile-icon {
    margin-bottom: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tile-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
}

.tile-desc {
    font-size: 15px;
    color: var(--slate-300);
    line-height: 1.5;
    margin-bottom: 24px;
}

.tile:hover .tile-cta {
    transform: translateX(4px);
}

/* Premium Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    width: fit-content;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: 0.5s;
}

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

.btn-premium.btn-indigo {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.btn-premium.btn-indigo:hover {
    background: var(--primary-indigo);
    border-color: var(--primary-indigo);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn-premium.btn-emerald {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-premium.btn-emerald:hover {
    background: var(--primary-emerald);
    border-color: var(--primary-emerald);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-premium .btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-premium:hover .btn-arrow {
    transform: translateX(4px);
}

/* Globe Animation */
/* Audit Icon & Animation */
.audit-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    color: var(--primary-indigo);
}

.audit-svg {
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

.scan-line {
    position: absolute;
    top: 6px;
    left: 12px;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-indigo), transparent);
    box-shadow: 0 0 8px var(--primary-indigo);
    animation: scan-anim 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tile-a:hover .scan-line {
    opacity: 0.8;
}

@keyframes scan-anim {

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

    50% {
        transform: translateY(32px);
    }
}

/* Blueprint Icon Styling */
.blueprint-icon {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tile-b:hover .blueprint-icon {
    transform: rotate(-3deg) scale(1.1);
}

/* Social Proof */
.social-proof {
    height: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.proof-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proof-text {
    font-size: 14px;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon-svg {
    width: 18px;
    height: 18px;
    color: var(--primary-emerald);
    flex-shrink: 0;
}

.proof-logos {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-badge {
    display: none;
    /* Removed in favor of images */
}

.proof-logo {
    height: 32px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(1) invert(1);
    /* Invert if dark logos on dark bg, but grayscale is primary */
    transition: all 0.3s ease;
    max-width: 120px;
    object-fit: contain;
}

.proof-logo:hover {
    opacity: 1;
    filter: grayscale(0) invert(0);
    transform: scale(1.05);
}

.micro-copy {
    color: var(--slate-500);
    font-size: 13px;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-title {
        font-size: 40px;
    }

    .hero-container {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .hero-container {
        min-height: calc(100vh - 160px);
        justify-content: flex-start;
        padding-top: 40px;
    }

    .main-title {
        font-size: 28px;
        padding: 0 16px;
    }

    .subheadline {
        font-size: 18px;
        padding: 0 16px;
    }

    .tiles-grid {
        flex-direction: column;
        align-items: center;
    }

    .tile {
        width: 100%;
        max-width: 400px;
    }

    .proof-wrapper {
        flex-direction: column;
        gap: 16px;
        height: auto;
        padding: 24px 0;
    }

    .social-proof {
        height: auto;
    }
}

/* Wizard Overlay */
.wizard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1001;
}

.progress-bar-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #6366F1 0%, #818CF8 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 680px;
    padding-top: 80px;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    padding: 0 24px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--slate-400);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.step-counter {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--slate-500);
}

.steps-container {
    flex: 1;
    position: relative;
    width: 100%;
}

.wizard-step {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    padding: 0 24px;
}

.wizard-step.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-title {
    font-family: var(--font-display);
    font-size: 34px;
    color: var(--white);
    max-width: 500px;
    margin-bottom: 12px;
}

.step-subtext {
    color: var(--slate-400);
    font-size: 16px;
    margin-bottom: 32px;
}

/* Grids & Cards */
.tiles-grid-wizard {
    display: grid;
    gap: 16px;
    width: 100%;
}

.grid-2x3 {
    grid-template-columns: repeat(2, 1fr);
}

.answer-tile {
    background: #16192A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    height: 140px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.answer-tile:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.04);
    transform: translateY(-2px);
}

.answer-tile.selected {
    border: 2px solid var(--primary-indigo);
    background: rgba(99, 102, 241, 0.08);
}

.tile-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.tile-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    color: var(--white);
}

.tile-subtitle {
    font-size: 12px;
    color: var(--slate-400);
    margin-top: 4px;
}

.tile-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    background: var(--primary-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.tile-check::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.selected .tile-check {
    opacity: 1;
}

/* Step 2: Pills */
.pills-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.answer-pill {
    background: #16192A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    height: 80px;
    padding: 0 32px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.answer-pill:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.04);
}

.answer-pill.selected {
    border: 2px solid var(--primary-indigo);
    background: rgba(99, 102, 241, 0.08);
}

.pill-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--primary-indigo);
    flex-shrink: 0;
}

.pill-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 17px;
}

.pill-benefit {
    color: var(--slate-400);
    font-size: 13px;
}

/* Step 3: Budget Grid */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.budget-card {
    background: #16192A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.budget-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.04);
}

.budget-card.selected {
    border: 2px solid var(--primary-indigo);
    background: rgba(99, 102, 241, 0.08);
}

.budget-card.full-width {
    grid-column: span 2;
}

.budget-range {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--white);
}

.budget-desc {
    font-size: 14px;
    color: var(--slate-400);
}

.budget-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-indigo);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 4px;
    padding: 2px 7px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.budget-card.secondary {
    text-align: center;
}

/* Step 4: Timeline Grid */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.timeline-card {
    background: #16192A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.04);
}

.timeline-card.selected {
    border: 2px solid var(--primary-indigo);
    background: rgba(99, 102, 241, 0.08);
}

.time-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
}

.time-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    width: 100%;
    margin: 4px 0;
}

.time-bar {
    height: 100%;
    background: var(--primary-indigo);
    border-radius: 2px;
}

.time-bar.secondary {
    background: var(--slate-500);
}

.time-desc {
    font-size: 14px;
    color: var(--slate-400);
}

/* Final Form */
.step-content.narrow {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.step-content.narrow .step-title,
.step-content.narrow .step-subtext {
    text-align: center;
}

.step-content.narrow .step-subtext {
    margin-bottom: 32px;
}

.wizard-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.cta-generate {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    height: 58px;
    width: 100%;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.cta-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35);
}

.cta-note {
    font-size: 12px;
    color: var(--slate-500);
    text-align: center;
    margin-top: -10px;
}

/* --- Wizard Custom Open-Text Fields --- */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.wizard-custom-field {
    width: 100%;
    max-width: 680px;
    margin: 24px auto 0;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-custom-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.wizard-custom-input::placeholder {
    color: var(--slate-500);
}

.wizard-custom-input:focus {
    border-color: var(--primary-indigo);
    background: rgba(99, 102, 241, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.wizard-custom-input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
    animation: shake 0.4s ease;
}

.wizard-custom-hint {
    margin-top: 8px;
    font-size: 13px;
    color: var(--slate-500);
    text-align: left;
    padding: 0 4px;
}

.wizard-custom-action {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESULTS DASHBOARD --- */
.dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0F1117;
    z-index: 2000;
    overflow-y: auto;
    padding: 60px 24px;
}

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard-section {
    margin-bottom: 80px;
}

/* Section A: Hero Score */
.dashboard-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 24px;
    margin-bottom: 48px;
}

.top-info {
    display: flex;
    gap: 12px;
    color: var(--slate-400);
    font-size: 14px;
}

.info-item strong {
    color: var(--white);
    font-weight: 500;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.gen-date {
    font-size: 13px;
    color: var(--slate-500);
}

.btn-share {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-share:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-score-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    align-items: center;
}

.score-hero-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-overline {
    font-size: 14px;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.gauge-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 24px;
}

.score-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
}

.score-total {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--slate-400);
    margin-top: -8px;
}

.score-badge {
    background: #10B981;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    padding: 8px 24px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.score-tagline {
    font-size: 18px;
    color: var(--slate-300);
    text-align: center;
    max-width: 400px;
}

.benchmark-comparison {
    width: 100%;
    max-width: 440px;
    margin-top: 48px;
}

.benchmark-track {
    height: 6px;
    background: linear-gradient(90deg, #EF4444 0%, #F59E0B 50%, #10B981 100%);
    border-radius: 3px;
    position: relative;
}

.benchmark-marker {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 20px;
    background: white;
    transform: translateY(-50%);
}

.benchmark-marker::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 100px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

.marker-label {
    position: absolute;
    white-space: nowrap;
    font-size: 12px;
    color: var(--slate-400);
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.benchmark-marker.user {
    background: var(--white);
    height: 24px;
    z-index: 2;
}

.benchmark-marker.user .marker-label {
    color: var(--white);
    font-weight: 700;
    top: -28px;
}

/* CTA Card */
.cta-card {
    background: #1A1D2E;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-card-title {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.3;
}

.email-confirmation {
    font-size: 15px;
    color: var(--slate-400);
}

.btn-cta-primary {
    background: var(--primary-indigo);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-cta-primary:hover {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-cta-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.cta-footer-note {
    font-size: 13px;
    color: var(--slate-500);
    text-align: center;
}

/* Section B: Detailed Results */
.section-header {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 32px;
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.category-card {
    background: #141720;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

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

.card-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    font-size: 20px;
}

.category-name {
    font-weight: 500;
    font-size: 17px;
}

.weight-badge {
    font-size: 11px;
    color: var(--slate-500);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 8px;
    border-radius: 4px;
}

.card-score-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-score {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
}

.category-score.success {
    color: #10B981;
}

.category-score.warning {
    color: #F59E0B;
}

.category-score.critical {
    color: #EF4444;
}

.expand-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s;
}

.expand-toggle::before,
.expand-toggle::after {
    content: '';
    position: absolute;
    background: var(--slate-400);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.expand-toggle::before {
    width: 14px;
    height: 2px;
}

.expand-toggle::after {
    width: 2px;
    height: 14px;
    transition: opacity 0.3s;
}

.is-expanded .expand-toggle {
    transform: rotate(180deg);
}

.is-expanded .expand-toggle::after {
    opacity: 0;
}

.card-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.progress-fill.success {
    background: #10B981;
}

.progress-fill.warning {
    background: #F59E0B;
}

.progress-fill.critical {
    background: #EF4444;
}

.priority-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.priority-badge.good {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.priority-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.priority-badge.critical {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.is-expanded .card-details {
    max-height: 600px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.findings-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.finding {
    font-size: 14px;
    font-family: var(--font-body);
}

.item-check {
    color: #10B981;
}

.item-warning {
    color: #F59E0B;
}

.item-error {
    color: #EF4444;
}

/* Section C: Recommendations */
.section-subtext {
    color: var(--slate-400);
    margin-top: -24px;
    margin-bottom: 40px;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rec-card {
    background: #141720;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rec-impact {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.rec-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    margin-bottom: -20px;
}

.rec-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.rec-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--slate-400);
}

.rec-desc {
    font-size: 14px;
    color: var(--slate-300);
    line-height: 1.6;
}

.rec-link {
    color: var(--primary-indigo);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
}

/* Section D: Footer CTA & Calendar */
.dashboard-footer-cta {
    background: #0F1117;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 60px;
    margin-top: 40px;
}

.footer-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.footer-cta-text h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 12px;
}

.footer-cta-text p {
    color: var(--slate-400);
    margin-bottom: 32px;
}

.footer-cta-btns {
    display: flex;
    gap: 16px;
}

.calendar-preview {
    background: #141720;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-header {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.cal-day.active {
    background: var(--primary-indigo);
    color: white;
}

.cal-day.past {
    opacity: 0.2;
}

.cal-day.weekend {
    color: var(--slate-500);
}

.cal-slots {
    display: flex;
    gap: 8px;
}

.cal-slot {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-indigo);
    font-weight: 600;
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #141720;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    display: none;
    /* Mobile only */
    z-index: 2100;
}

.btn-cta-primary.full-width {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-score-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .category-cards-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .dashboard-overlay {
        padding-bottom: 100px;
    }

    .sticky-bottom-bar {
        display: block;
    }

    .dashboard-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .top-actions {
        width: 100%;
        justify-content: space-between;
    }

    .footer-cta-btns {
        flex-direction: column;
    }

    .score-number {
        font-size: 60px;
    }

    .score-total {
        font-size: 24px;
    }

    .gauge-container {
        width: 240px;
        height: 240px;
    }
}

/* Animations */
@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-40px);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(40px);
        opacity: 0;
    }

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

.slide-out {
    animation: slideOutLeft 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in {
    animation: slideInRight 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wizard-wrapper {
        padding: 40px 20px;
    }

    .grid-2x3,
    .budget-grid,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .answer-tile {
        height: 100px;
        padding: 16px;
    }

    .step-title {
        font-size: 28px;
    }

    .answer-pill {
        height: auto;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pill-benefit {
        margin-left: 40px;
    }
}

/* --- LEAD CAPTURE FORM OVERLAY --- */
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1000;
    display: none;
    /* Changed from display:flex to none as default, JS handles display */
    flex-direction: column;
    overflow-y: auto;
    padding: 60px 24px;
}

.form-overlay.active {
    display: flex;
}

.form-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-top: 40px;
}

.form-header-actions {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-bottom: 20px;
}

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

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

.step-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.step-dot.done {
    background: var(--primary-emerald);
}

.step-dot.active {
    background: var(--primary-indigo);
}

.step-label {
    font-size: 13px;
    color: var(--slate-400);
}

.form-card {
    background: #141720;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-header {
    margin-bottom: 32px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 8px;
}

.form-subtext {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.5;
}

.focused-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-300);
}

.label-with-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-tooltip-trigger {
    color: var(--slate-500);
    cursor: help;
    font-size: 12px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--slate-400);
    display: flex;
    align-items: center;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 14px 16px 14px 44px;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.input-wrapper textarea {
    padding: 14px 16px;
    /* No icon on textarea */
    resize: vertical;
    min-height: 80px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary-indigo);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.field-error {
    font-size: 12px;
    color: #EF4444;
    display: none;
}

.field-group.is-error .input-wrapper input {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}

.field-group.is-error .field-error {
    display: block;
}

.field-note {
    font-size: 12px;
    color: var(--slate-500);
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.selected-value {
    color: var(--slate-400);
    font-size: 15px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #1A1D2E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-search {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.dropdown-options {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px 0;
}

.dropdown-options li {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--slate-300);
    transition: background 0.2s;
}

.dropdown-options li:hover {
    background: rgba(99, 102, 241, 0.1);
    color: white;
}

/* Goal Pills */
.goal-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.pill-card {
    cursor: pointer;
    position: relative;
}

.pill-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.pill-content {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
    color: var(--slate-300);
    font-size: 14px;
    font-weight: 500;
}

.pill-card input:checked+.pill-content {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-emerald);
    color: var(--white);
}

.pill-content i {
    display: flex;
    color: var(--slate-400);
}

.pill-card input:checked+.pill-content i {
    color: var(--primary-emerald);
}

/* Checkbox */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
    margin-top: 8px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    min-width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.2s;
    margin-top: 2px;
}

.custom-checkbox:hover input~.checkmark {
    border-color: var(--slate-400);
}

.custom-checkbox input:checked~.checkmark {
    background: var(--primary-indigo);
    border-color: var(--primary-indigo);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.label-text {
    font-size: 13px;
    color: var(--slate-400);
    line-height: 1.5;
}

.label-text a {
    color: var(--primary-indigo);
    text-decoration: none;
}

/* Submit Button */
.cta-submit {
    background: var(--primary-indigo);
    color: white;
    border: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-submit:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.cta-submit.loading {
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.loader {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Trust Section */
.form-trust {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.trust-note {
    font-size: 13px;
    color: var(--slate-400);
    margin-bottom: 16px;
}

.trust-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.badge-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--slate-300);
}

/* Responsive for form-card */
@media (max-width: 600px) {
    .form-card {
        padding: 24px;
    }

    .goal-pills {
        grid-template-columns: 1fr;
    }
}

.analysis-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.analysis-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Header */
.analysis-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.analysis-label {
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.domain-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.domain-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    color: var(--white);
}

.domain-favicon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.analysis-warning {
    color: var(--slate-400);
    font-size: 13px;
}

/* Visual Progress */
.analysis-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-circle-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

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

#progress-ring {
    transition: stroke-dashoffset 0.45s linear;
}

.spinning-arc {
    animation: spin 2s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.counter-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
}

.counter-text {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
}

.counter-percent {
    font-size: 20px;
    color: var(--slate-400);
    margin-left: 2px;
}

.step-status-text {
    color: var(--white);
    font-size: 15px;
    min-height: 1.5em;
}

/* Steps List */
.analysis-steps {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-item.active {
    background: rgba(99, 102, 241, 0.08);
}

.step-item.active .step-label {
    color: var(--white);
    font-weight: 500;
}

.step-label {
    font-size: 15px;
    color: var(--slate-600);
    transition: color 0.3s ease;
}

.step-item.completed .step-label {
    color: var(--slate-300);
}

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

.pending-dot {
    width: 6px;
    height: 6px;
    background: var(--slate-600);
    border-radius: 50%;
}

.active-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-indigo);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-indigo);
    animation: pulseIndigo 1.5s infinite;
}

@keyframes pulseIndigo {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.check-icon {
    color: var(--primary-emerald);
    font-weight: bold;
}

/* Education Card */
.education-card {
    width: 100%;
    background: #1A1D2E;
    border-left: 2px solid #F59E0B;
    border-radius: 10px;
    padding: 20px;
    transition: opacity 0.5s ease;
}

.edu-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
}

.edu-icon {
    font-size: 20px;
}

.edu-text {
    font-size: 14px;
    color: var(--slate-300);
    line-height: 1.5;
}

/* Background Effects */
.analysis-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
}

.analysis-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(26, 29, 46, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 29, 46, 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.analysis-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Error State */
.analysis-error {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.error-icon {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #EF4444;
    color: #EF4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 8px;
}

.error-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
}

.error-msg {
    color: var(--slate-400);
    font-size: 14px;
    max-width: 320px;
}

.error-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-retry {
    background: var(--primary-indigo);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- BLUEPRINT LOADER --- */
.blueprint-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.blueprint-grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

.blueprint-container {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.blueprint-headline {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--white);
    font-weight: 500;
}

.blueprint-visual {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.blueprint-svg {
    width: 100%;
}

.draw-path {
    stroke: var(--primary-emerald);
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1.0s;
}

.delay-3 {
    animation-delay: 1.5s;
}

.delay-4 {
    animation-delay: 2.0s;
}

.delay-5 {
    animation-delay: 2.5s;
}

.delay-6 {
    animation-delay: 3.0s;
}

.delay-7 {
    animation-delay: 3.5s;
}

.delay-8 {
    animation-delay: 4.0s;
}

.delay-9 {
    animation-delay: 4.5s;
}

.delay-10 {
    animation-delay: 5.0s;
}

.blueprint-progress-wrapper {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blueprint-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.blueprint-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-emerald);
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.blueprint-step-label {
    font-size: 14px;
    color: var(--slate-400);
}

.personalization-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.8s ease;
    width: 100%;
}

.perso-label {
    font-size: 12px;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.perso-data {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.perso-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--slate-300);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* --- BLUEPRINT RESULTS SCREEN --- */
.blueprint-results-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 2500;
    /* Higher than other overlays */
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 80px 24px;
}

.blueprint-results-overlay.active {
    display: flex;
}

.blueprint-content-wrapper {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Section labels */
.section-label {
    display: block;
    color: var(--primary-emerald);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

/* SECTION A: Blueprint Header */
.blueprint-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.header-main {
    flex: 1;
}

.header-badge {
    display: inline-block;
    background: var(--primary-emerald);
    color: var(--bg-dark);
    padding: 6px 12px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.blueprint-title {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.blueprint-subtext {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--slate-400);
    margin-bottom: 24px;
}

.profile-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-pill {
    background: #1A2E25;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
}

.accent-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 24px;
    border-radius: 16px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accent-card p {
    font-size: 14px;
    color: var(--white);
}

.accent-card strong {
    color: var(--primary-emerald);
}

/* SECTION B: Rekomendowany type */
.recommendation-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--primary-emerald);
    padding: 40px;
    border-radius: 0 16px 16px 0;
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.rec-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-emerald);
}

.rec-type-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.rec-justification {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--slate-300);
    line-height: 1.7;
    margin-bottom: 32px;
}

.expandable-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.expand-btn svg {
    transition: transform 0.3s;
}

.expand-btn.active svg {
    transform: rotate(180deg);
}

.expand-content {
    display: none;
    padding-top: 16px;
}

.expand-content.active {
    display: block;
}

.rec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--slate-300);
}

.rec-list li::before {
    content: '→';
    color: var(--primary-emerald);
}

/* SECTION C: Kosztorys i harmonogram */
.budget-timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
}

.card-label {
    font-size: 14px;
    color: var(--slate-400);
    margin-bottom: 8px;
    display: block;
}

.primary-value {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 48px;
}

.primary-value.emerald {
    color: var(--primary-emerald);
}

.cost-table {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.cost-name {
    color: var(--slate-400);
}

.cost-price {
    color: var(--white);
    font-weight: 500;
}

.cost-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--slate-500);
}

.timeline-visual {
    margin-top: 24px;
}

.timeline-steps {
    display: flex;
    height: 8px;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}

.time-step {
    height: 100%;
}

.time-step.design {
    background: #34D399;
    width: 20%;
}

.time-step.dev {
    background: #10B981;
    width: 40%;
}

.time-step.content {
    background: #059669;
    width: 20%;
}

.time-step.launch {
    background: #064E3B;
    width: 20%;
}

.timeline-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 12px;
    color: var(--slate-400);
}

/* SECTION D: Funkcje */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    transition: all 0.3s;
    position: relative;
    cursor: default;
}

.feature-card:last-child {
    grid-column: span 2;
}

.feature-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.03);
}

.feat-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-emerald);
    flex-shrink: 0;
}

.feat-content h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    margin-bottom: 4px;
}

.feat-content p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.4;
}

/* Tooltip */
.feat-info-trigger {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--slate-500);
    font-size: 14px;
    cursor: help;
}

/* SECTION E: Checklist */
.checklist-section {
    background: rgba(16, 185, 129, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 24px;
    padding: 40px;
}

.checklist-header {
    margin-bottom: 32px;
}

.checklist-header h2 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 8px;
}

.checklist-subtext {
    font-size: 15px;
    color: var(--slate-400);
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.check-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.check-item input[type="checkbox"]:checked {
    background: var(--primary-emerald);
    border-color: var(--primary-emerald);
}

.check-item input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: bold;
}

.check-item span {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--slate-300);
    transition: color 0.2s;
}

.check-item input[type="checkbox"]:checked+span {
    color: var(--white);
    text-decoration: line-through;
    opacity: 0.6;
}

.how-to-link {
    font-size: 12px;
    color: var(--slate-500);
    margin-left: auto;
    text-decoration: none;
}

.how-to-link:hover {
    color: var(--primary-emerald);
}

.checklist-progress {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.progress-counter {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary-emerald);
}

/* SECTION F: CTA */
.cta-banner {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 100%), #16192A;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-banner h3 {
    font-family: var(--font-display);
    font-size: 32px;
    max-width: 500px;
}

.cta-subtext {
    color: var(--slate-400);
    font-size: 16px;
}

.cta-main-btn {
    background: var(--primary-emerald);
    color: var(--bg-dark);
    height: 60px;
    padding: 0 40px;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.cta-phone {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--slate-400);
}

.cta-testimonial {
    margin-top: 40px;
    font-style: italic;
    color: var(--slate-500);
    max-width: 480px;
    position: relative;
    padding: 0 20px;
}

.cta-testimonial::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.1;
}

/* Footer bottom padding */
.blueprint-footer-spacer {
    height: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .blueprint-header {
        flex-direction: column;
    }

    .budget-timeline-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card:last-child {
        grid-column: span 1;
    }

    .blueprint-title {
        font-size: 32px;
    }

    .primary-value {
        font-size: 36px;
    }
}

/* --- EXPANDED PANEL STYLES --- */
.category-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.category-card.is-expanded {
    background: rgba(30, 31, 46, 0.8);
    border-color: rgba(99, 102, 241, 0.3);
}

.expand-btn-trigger {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-indigo);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.expand-btn-trigger:hover {
    background: var(--primary-indigo);
    color: white;
}

.expanded-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease-out;
}

.category-card.is-expanded .expanded-panel {
    max-height: 1000px;
}

.panel-inner {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 15px;
}

.weight-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.weight-notice strong {
    color: var(--primary-indigo);
}

.parameter-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.param-row {
    display: grid;
    grid-template-columns: 1fr 120px 45px 25px;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .param-row {
        grid-template-columns: 1fr 200px 60px 30px;
    }
}

.param-name {
    color: var(--text-light);
}

.param-bar-wrapper {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.param-bar {
    height: 100%;
    background: var(--primary-indigo);
    border-radius: 3px;
}

.param-points {
    color: var(--text-muted);
    font-family: monospace;
    text-align: right;
}

.status-icon {
    font-weight: bold;
    text-align: center;
}

.status-icon.success {
    color: var(--primary-emerald);
}

.status-icon.error {
    color: var(--primary-red);
}

.status-icon.warning {
    color: var(--primary-amber);
}

.issue-box {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.issue-box.critical {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.issue-box.quick-win {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.issue-box-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.issue-box.critical .issue-box-title {
    color: #f87171;
}

.issue-box.quick-win .issue-box-title {
    color: #fbbf24;
}

.issue-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.issue-list li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding-left: 15px;
    position: relative;
}

.issue-list li::before {
    content: "·";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tutorial-link {
    color: var(--primary-indigo);
    text-decoration: none;
    font-weight: 500;
}

.tutorial-link:hover {
    text-decoration: underline;
}

.btn-collapse {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-collapse:hover {
    color: var(--white);
}

/* Animations */
.fade-in-stagger {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-out;
}

.is-expanded .fade-in-stagger {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.is-expanded .fade-in-stagger:nth-child(1) {
    transition-delay: 0.1s;
}

.is-expanded .fade-in-stagger:nth-child(2) {
    transition-delay: 0.15s;
}

.is-expanded .fade-in-stagger:nth-child(3) {
    transition-delay: 0.2s;
}

.is-expanded .fade-in-stagger:nth-child(4) {
    transition-delay: 0.25s;
}

.is-expanded .fade-in-stagger:nth-child(5) {
    transition-delay: 0.3s;
}

.is-expanded .fade-in-stagger:nth-child(6) {
    transition-delay: 0.35s;
}

/* --- BENCHMARK COMPARISON COMPONENT --- */
.benchmark-section {
    margin: 40px auto 0;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 900px;
}

.benchmark-container {
    width: 100%;
}

.benchmark-distribution {
    position: relative;
    height: 120px;
    margin: 60px 0 40px;
    padding: 0 10px;
}

.distribution-zones {
    display: flex;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
}

.zone {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.zone-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    white-space: nowrap;
}

.zone.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.zone.improvement {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.zone.good {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.zone.excellent {
    background: rgba(5, 150, 105, 0.25);
    color: #10B981;
}

.distribution-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 4px;
}

.distribution-axis span {
    font-size: 11px;
    color: var(--slate-500);
    font-weight: 500;
}

/* Markers / Pins */
.benchmark-markers {
    position: absolute;
    top: -45px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.marker-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    /* JS will trigger animation */
}

.pin-bubble {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.pin-bubble::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
}

.pin-head {
    width: 2px;
    height: 35px;
    background: currentColor;
    border-radius: 1px;
}

/* Marker Variants */
.marker-pin.indigo {
    color: var(--primary-indigo);
}

.marker-pin.indigo .pin-bubble {
    background: var(--primary-indigo);
    color: white;
}

.marker-pin.gray {
    color: #94A3B8;
}

.marker-pin.gray .pin-bubble {
    background: #334155;
    color: white;
}

.marker-pin.gold {
    color: #F59E0B;
}

.marker-pin.gold .pin-bubble {
    background: #F59E0B;
    color: #0F1117;
}

/* Footer & Insights */
.benchmark-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.stats-note {
    font-size: 12px;
    color: var(--slate-500);
    text-align: center;
}

.insight-box {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
}

.insight-text {
    font-size: 14px;
    color: var(--slate-300);
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

/* Animations */
@keyframes markerSlideInUp {
    0% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -10px);
        opacity: 1;
    }

    80% {
        transform: translate(-50%, 2px);
        opacity: 1;
    }

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

.marker-animate {
    animation: markerSlideInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .benchmark-distribution {
        height: auto;
        margin-top: 80px;
    }

    .distribution-zones {
        height: 60px;
        flex-direction: column;
    }

    .zone {
        width: 100%;
        flex: 1 !important;
    }

    .marker-pin .pin-bubble {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* --- BOTTOM NAVIGATION (Mobile-only) --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #141720;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    /* Desktop default */
    justify-content: space-around;
    align-items: center;
    z-index: 3000;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
    transition: all 0.2s ease;
    flex: 1;
}

.bottom-nav-item .nav-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.bottom-nav-item.active {
    color: var(--primary-indigo);
}

.bottom-nav-item:active .nav-icon {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    .dashboard-container {
        padding-bottom: 80px;
        /* Space for bottom nav */
    }
}

/* --- BOTTOM SHEET --- */
.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 4000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bottom-sheet-overlay.is-visible {
    display: block;
    opacity: 1;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #141720;
    border-radius: 24px 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 4001;
    transform: translateY(100%);
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: env(safe-area-inset-bottom);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.bottom-sheet.is-open {
    transform: translateY(0);
}

.sheet-handle {
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: none;
}

.sheet-handle:active {
    cursor: grabbing;
}

.handle-bar {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.sheet-content {
    padding: 0 24px 32px;
    overflow-y: auto;
}

.sheet-title {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 24px;
    text-align: center;
}

/* Share Options */
.share-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.share-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-text {
    display: flex;
    flex-direction: column;
}

.share-label {
    font-weight: 600;
    font-size: 15px;
}

.share-sub {
    font-size: 12px;
    color: var(--slate-500);
}

.btn-close-sheet {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 12px;
    color: var(--slate-400);
    font-weight: 600;
    cursor: pointer;
}

/* --- MAIN FOOTER --- */
.main-footer {
    background-color: #12141C;
    /* Slightly lighter than pure black for depth */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* More visible border */
    padding: 80px 0 40px;
    position: relative;
    z-index: 100;
    /* Higher z-index but below overlays */
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-creds {
    font-size: 15px;
    color: var(--slate-400);
    max-width: 300px;
    line-height: 1.6;
}

.copyright {
    font-size: 13px;
    color: var(--slate-500);
    margin-top: 20px;
}

.footer-links-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    width: fit-content;
}

.footer-link:hover {
    color: var(--primary-indigo);
    transform: translateX(4px);
}

.footer-info-text {
    font-size: 14px;
    color: var(--slate-400);
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-contact-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
}

.footer-contact-link:hover {
    color: var(--primary-emerald);
    border-color: var(--primary-emerald);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 100px;
        /* More bottom padding for mobile sticky bar */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .footer-brand,
    .footer-nav-links {
        align-items: center;
    }

    .footer-creds {
        max-width: 100%;
    }

    .footer-link:hover {
        transform: translateY(-2px);
    }
}