:root {
    --progress-bar-bg: #e2e8f0;
    --progress-bar-fill: #10b981;
}

body {
    background-color: var(--bg-light);
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 64px;
    /* Hauteur de la navbar */
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
}

/* Sidebar Automatisée (Aceternity Style) */
.sidebar {
    width: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 1px 0 10px rgba(0,0,0,0.02);
}

.sidebar:hover {
    width: 250px;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.08);
    background: white;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 10px;
    margin-bottom: 20px;
    text-decoration: none;
    overflow: hidden;
    height: 40px;
}

.sidebar-logo-img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    object-fit: contain;
    border-radius: 10px;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.sidebar:hover .sidebar-logo-img {
    filter: grayscale(0);
}

.sidebar-brand-text {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    letter-spacing: -0.02em;
}

.sidebar:hover .sidebar-brand-text {
    opacity: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.sidebar-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
}

.sidebar-label {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.sidebar:hover .sidebar-label {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-link:hover {
    background: rgba(16, 185, 129, 0.05);
    color: var(--emerald-color);
}

.sidebar-link:hover .sidebar-icon {
    color: var(--emerald-color);
    transform: scale(1.1);
}

.sidebar-link.active {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sidebar-link.active .sidebar-icon {
    color: var(--emerald-color);
}

.sidebar-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 15px 12px;
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Contenu principal adaptatif */
.main-content {
    flex: 1;
    margin-left: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

/* Top Bar de Navigation (Centrée, Style Pill) */
.top-nav {
    position: sticky;
    top: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    width: 100%;
    padding: 0 40px;
    pointer-events: none; /* Pour ne pas bloquer les clics dessous sauf sur le pill */
}

.nav-market-links {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    pointer-events: auto;
    max-width: 90%;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-market-links::-webkit-scrollbar {
    display: none;
}

.nav-market-link {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 14px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-market-link:hover {
    background: #000;
    color: #fff;
}

.dashboard-view-container {
    padding: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0;
}

.header-section {
    margin-bottom: 40px;
}

.role-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

/* Grilles et Cartes façon Linear */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.dash-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.dash-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dash-card.highlight {
    border: 1px solid var(--emerald-color);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Mobile Bottom Nav Premium (Floating Pill Style) */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 100px;
    justify-content: center;
    gap: 12px;
    align-items: center;
    z-index: 10002;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    gap: 2px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 700;
    transition: all 0.2s;
    position: relative;
    border-radius: 100px;
}

.mobile-nav-link.active {
    color: #000;
    background: rgba(0, 0, 0, 0.03);
}

.mobile-nav-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Mobile dashboard adjustments */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 16px;
        padding-bottom: 120px;
    }

    .dashboard-view-container {
        padding: 16px 0;
    }

    .dash-section-header h1 {
        font-size: 1.15rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        margin-top: 8px;
    }

    .dash-section-header p {
        font-size: 0.8rem;
        opacity: 0.7;
        margin-top: -4px;
    }

    .role-badge {
        font-size: 0.6rem;
        padding: 2px 8px;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dash-card {
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .dash-progress-container {
        height: 4px !important;
        margin-top: 8px;
    }

    .mini-card {
        max-width: 100%;
    }

    .success-steps::before {
        left: 20px;
        right: 20px;
    }

    .step-item {
        width: 70px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .top-nav {
        display: none !important;
    }

    /* Profile Strength refine */
    #profile-strength-container span {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
    }

    #strength-percentage {
        font-size: 1rem !important;
    }

    /* Remove conflicting nav-content/nav-toggle styles from here as they are already better handled in assets/css/style.css */
}

/* Visibility Preview Styles */
.preview-widget {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 24px;
    margin-bottom: 40px;
}

.visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.visibility-badge.public {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.visibility-badge.private {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.preview-card-container {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px dashed var(--gray-300);
}

.mini-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    max-width: 400px;
    display: flex;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
    object-fit: cover;
}

/* --- COCKPIT DE LEVÉE DE FONDS (Institutional UI) --- */
.cockpit-stepper {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    overflow-x: auto;
    scrollbar-width: none;
}

.cockpit-step {
    flex: 1;
    min-width: 140px;
    padding: 16px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.cockpit-step.active {
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

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

.cockpit-step.locked {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

.step-number {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.cockpit-step.active .step-number { color: #3b82f6; }
.cockpit-step.completed .step-number { color: #10b981; }

.step-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-status-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

/* --- PREMIUM INSTRUMENT UI (Gauge & HUD) --- */
.gauge-container {
    width: 240px;
    height: 240px;
    position: relative;
    margin: 0 auto;
}

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

.gauge-background {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 12;
}

.gauge-progress {
    fill: none;
    stroke: #10b981;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

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

.gauge-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.gauge-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.hud-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hud-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.hud-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hud-title {
    font-size: 0.65rem;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.hud-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
}

.btn-cockpit {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cockpit.primary { background: #0f172a; color: white; }
.btn-cockpit.secondary { background: #f1f5f9; color: #475569; }
.btn-cockpit.danger { background: #fef2f2; color: #ef4444; }

.btn-cockpit:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.cockpit-section { display: none; }
.cockpit-section.active { display: block; animation: fadeIn 0.4s ease; }

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

.status-completed { background: #10b981; color: white; }
.status-pending { background: #f59e0b; color: white; }
.status-active { background: #10b981; color: white; }
.status-locked { background: #cbd5e1; color: white; }

.cockpit-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.cockpit-section.active {
    display: block;
}

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

.kpi-cockpit {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .kpi-cockpit {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
}

.kpi-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kpi-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kpi-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.kpi-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

.action-button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-cockpit {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-cockpit.primary {
    background: #0f172a;
    color: white;
    border: none;
}

.btn-cockpit.secondary {
    background: white;
    border-color: var(--gray-200);
    color: var(--text-primary);
}

.btn-cockpit.outline {
    background: transparent;
    border-color: #3b82f6;
    color: #3b82f6;
}

.btn-cockpit.danger {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fee2e2;
}

.btn-cockpit.danger:hover {
    background: #ef4444;
    color: white;
}

.step-item.active .step-label,
.step-item.completed .step-label {
    color: #10b981;
}

.maturity-bar-container {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.maturity-score-display {
    font-size: 3rem;
    font-weight: 900;
    color: #10b981;
    line-height: 1;
    letter-spacing: -2px;
}

/* Heroic Vision Card */
.vision-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.vision-card::after {
    content: 'VISION';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.03;
    pointer-events: none;
}

/* Heroic Modal Styles (White Version for Readability) */
.hero-modal {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-modal h2 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.hero-modal .form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.hero-modal input,
.hero-modal select,
.hero-modal textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.2s;
    appearance: none;
}

.hero-modal select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

.hero-modal option {
    background: white;
    color: var(--text-primary);
}

.hero-modal input::placeholder,
.hero-modal textarea::placeholder {
    color: var(--text-muted);
}

.hero-modal input:focus,
.hero-modal select:focus,
.hero-modal textarea:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.hero-modal textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.hero-modal .modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
}

.hero-modal .modal-close:hover {
    color: var(--text-primary);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

/* Styles pour le Dashboard Segmenté (Porteurs de Projet) */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.module-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.module-card:hover {
    border-color: #10b981;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.module-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.module-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.module-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.module-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 32px;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.9rem;
}

.back-button:hover {
    color: #10b981;
    transform: translateX(-4px);
}

@media (min-width: 769px) {
    .navbar { display: none !important; }
    .dashboard-layout { padding-top: 0; }
}

/* Pricing & Packs Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.pricing-card.featured {
    border: 2px solid #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
    position: relative;
}

.pricing-card.dark {
    background: #111827;
    color: white;
}

.pricing-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #111827;
}

.pricing-card.dark .pricing-price {
    color: white;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.pricing-card.dark .pricing-features li {
    color: rgba(255,255,255,0.8);
}

.pricing-features li span {
    color: #10b981;
    font-weight: bold;
}

/* --- MODALS --- */
.modal-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease;
}

.modal-overlay.open {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-modal {
    background: white;
    padding: 32px;
    border-radius: 24px;
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

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

.tier-row input {
    font-family: inherit;
    transition: border-color 0.2s;
}

.tier-row input:focus {
    border-color: #10b981;
    outline: none;
}
