        :root {
            --primary: #00a651;
            --primary-dark: #008c45;
            --navy: #1a365d;
            --navy-light: #2a4a7f;
            --bg: #f7f8fa;
            --card: #ffffff;
            --text: #1e293b;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --gold: #d4a843;
            --gold-light: #f5e6c8;
            --success: #10b981;
            --error: #ef4444;
            --warning: #f59e0b;
            --info: #3b82f6;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
            --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* ======================= */
        /* SCROLLBAR               */
        /* ======================= */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

        /* ======================= */
        /* NAVIGATION / HEADER     */
        /* ======================= */
        .nav {
            background: white;
            border-bottom: 1px solid var(--border);
            padding: 0 2rem;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(20px);
            background: rgba(255,255,255,0.95);
        }

        .nav-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text);
            cursor: pointer;
        }

        .logo-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: white;
            font-weight: 900;
            box-shadow: 0 2px 8px rgba(0,166,81,0.3);
        }

        .logo-text {
            font-size: 1.3rem;
            font-weight: 500;
            color: var(--navy);
            letter-spacing: -0.02em;
        }

        .logo-text-massif {
            font-size: 1.6rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .nav-link {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
            text-decoration: none;
            border-radius: var(--radius-sm);
            transition: var(--transition);
            cursor: pointer;
            border: none;
            background: none;
            white-space: nowrap;
        }

        .nav-link:hover {
            color: var(--primary);
            background: rgba(0,166,81,0.06);
        }

        .nav-link.active {
            color: var(--primary);
            background: rgba(0,166,81,0.08);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .btn-nav {
            padding: 0.55rem 1.25rem;
            font-size: 0.875rem;
            font-weight: 600;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            border: none;
            text-decoration: none;
            white-space: nowrap;
        }

        .btn-nav-outline {
            background: transparent;
            color: var(--primary);
            border: 1.5px solid var(--primary);
        }

        .btn-nav-outline:hover {
            background: var(--primary);
            color: white;
        }

        .btn-nav-primary {
            background: var(--primary);
            color: white;
        }

        .btn-nav-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,166,81,0.3);
        }

        .btn-nav-ghost {
            background: transparent;
            color: var(--text-muted);
        }

        .btn-nav-ghost:hover {
            color: var(--error);
            background: rgba(239,68,68,0.06);
        }

        .admin-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: linear-gradient(135deg, var(--gold), #c09a38);
            color: white;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .nav-user-name {
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--navy);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text);
            padding: 0.25rem;
        }

        /* ======================= */
        /* PAGE CONTAINER          */
        /* ======================= */
        #app {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .page {
            display: none;
            flex: 1;
            animation: fadeIn 0.3s ease;
        }

        .page.active {
            display: block;
        }

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

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* ======================= */
        /* HERO SECTION            */
        /* ======================= */
        .hero {
            background:
                linear-gradient(135deg, rgba(0,166,81,0.92) 0%, rgba(0,140,69,0.88) 50%, rgba(26,54,93,0.92) 100%),
                url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1920&q=80') center/cover no-repeat;
            padding: 6rem 2rem 8rem;
            position: relative;
            overflow: hidden;
            min-height: 90vh;
            display: flex;
            align-items: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                0deg,
                transparent,
                transparent 40px,
                rgba(255,255,255,0.02) 40px,
                rgba(255,255,255,0.02) 41px
            ),
            repeating-linear-gradient(
                90deg,
                transparent,
                transparent 40px,
                rgba(255,255,255,0.02) 40px,
                rgba(255,255,255,0.02) 41px
            );
            pointer-events: none;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 120px;
            background: var(--bg);
            clip-path: ellipse(55% 100% at 50% 100%);
            z-index: 2;
        }

        .hero-bg-shape {
            position: absolute;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(5deg); }
        }

        .hero-inner {
            max-width: 1280px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            max-width: 700px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            color: white;
            line-height: 1.1;
            margin-bottom: 1.25rem;
            letter-spacing: -0.02em;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            color: rgba(255,255,255,0.85);
            line-height: 1.6;
            margin-bottom: 2.5rem;
            max-width: 560px;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn-hero {
            padding: 0.9rem 2rem;
            border-radius: var(--radius-sm);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-hero-primary {
            background: white;
            color: var(--primary-dark);
        }

        .btn-hero-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        .btn-hero-secondary {
            background: rgba(255,255,255,0.15);
            color: white;
            backdrop-filter: blur(10px);
            border: 1.5px solid rgba(255,255,255,0.3);
        }

        .btn-hero-secondary:hover {
            background: rgba(255,255,255,0.25);
            transform: translateY(-2px);
        }

        .hero-stats {
            display: flex;
            gap: 3rem;
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.15);
        }

        .hero-stat-value {
            font-size: 2rem;
            font-weight: 800;
            color: white;
        }

        .hero-stat-label {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.7);
            margin-top: 0.25rem;
        }

        /* ======================= */
        /* FEATURES SECTION        */
        /* ======================= */
        .features-section {
            padding: 5rem 2rem;
            background: white;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3.5rem;
        }

        .section-overline {
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }

        .section-title {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--navy);
            margin-bottom: 0.75rem;
            letter-spacing: -0.02em;
        }

        .section-subtitle {
            font-size: 1.05rem;
            color: var(--text-muted);
            max-width: 500px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .features-grid {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .feature-card {
            background: white;
            border-radius: var(--radius-xl);
            padding: 2.5rem 2rem 2rem;
            text-align: center;
            transition: var(--transition);
            border: 1px solid var(--border-light);
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary);
        }

        .feature-card-highlight {
            border: 2px solid var(--primary);
            box-shadow: var(--shadow-md);
        }

        .feature-card-highlight::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        }

        .feature-illustration {
            width: 120px;
            height: 120px;
            margin: 0 auto 1.5rem;
        }

        .feature-illustration svg {
            width: 100%;
            height: 100%;
        }

        .feature-badge {
            display: inline-block;
            margin-top: 1rem;
            padding: 0.35rem 1rem;
            background: rgba(0,166,81,0.1);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 700;
            border-radius: 20px;
            letter-spacing: 0.03em;
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin: 0 auto 1.5rem;
        }

        .feature-icon i { width: 28px; height: 28px; color: white; }

        .feature-icon-green {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        }

        .feature-icon-navy {
            background: linear-gradient(135deg, var(--navy), var(--navy-light));
        }

        .feature-icon-gold {
            background: linear-gradient(135deg, var(--gold), #c09a38);
        }

        .feature-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 0.75rem;
        }

        .feature-desc {
            font-size: 0.925rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* ======================= */
        /* PHOTO BANNERS           */
        /* ======================= */
        .photo-banner {
            position: relative;
            min-height: 400px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .photo-banner-short {
            min-height: 280px;
        }

        .photo-banner-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(26,54,93,0.92), rgba(0,140,69,0.88));
        }

        .photo-banner-content {
            position: relative;
            z-index: 1;
            text-align: center;
            color: white;
            padding: 3rem 2rem;
            max-width: 700px;
        }

        .photo-banner-content h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .photo-banner-content p {
            font-size: 1.15rem;
            opacity: 0.9;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .photo-banner { min-height: 260px; }
            .photo-banner-content h2 { font-size: 1.75rem; }
        }

        /* ======================= */
        /* TRUST SECTION           */
        /* ======================= */
        .trust-section {
            padding: 4rem 2rem;
            background: var(--bg);
        }

        .trust-grid {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.5rem;
            background: white;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
        }

        .trust-icon {
            font-size: 1.5rem;
            display: flex;
            align-items: center;
        }

        .trust-icon i {
            width: 24px;
            height: 24px;
            color: var(--primary);
        }

        .trust-text {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--navy);
        }

        .trust-subtext {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* ======================= */
        /* FORMS / AUTH             */
        /* ======================= */
        .auth-page {
            padding: 3rem 2rem;
            display: flex;
            justify-content: center;
        }

        .auth-container {
            width: 100%;
            max-width: 460px;
        }

        .card {
            background: var(--card);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-md);
            padding: 2.5rem;
            border: 1px solid var(--border-light);
        }

        .card-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .card-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            margin: 0 auto 1rem;
            box-shadow: 0 4px 12px rgba(0,166,81,0.25);
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--navy);
        }

        .card-subtitle {
            font-size: 0.925rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-label {
            display: block;
            font-weight: 600;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
            color: var(--text);
        }

        .form-label .required {
            color: var(--error);
        }

        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 0.95rem;
            font-family: inherit;
            transition: var(--transition);
            background: white;
            color: var(--text);
        }

        .form-input:focus, .form-select:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0,166,81,0.1);
        }

        .form-textarea {
            resize: vertical;
            min-height: 80px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.85rem 1.75rem;
            border: none;
            border-radius: var(--radius-sm);
            font-size: 0.95rem;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
        }

        .btn-full { width: 100%; }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,166,81,0.3);
        }

        .btn-secondary {
            background: var(--navy);
            color: white;
        }

        .btn-secondary:hover {
            background: var(--navy-light);
            transform: translateY(-1px);
        }

        .btn-success {
            background: var(--success);
            color: white;
        }

        .btn-success:hover {
            background: #059669;
        }

        .btn-danger {
            background: var(--error);
            color: white;
        }

        .btn-danger:hover {
            background: #dc2626;
        }

        .btn-outline {
            background: white;
            color: var(--text);
            border: 1.5px solid var(--border);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
        }

        .btn-sm {
            padding: 0.45rem 0.85rem;
            font-size: 0.8rem;
            border-radius: 6px;
        }

        .auth-footer {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .auth-footer a, .auth-footer button {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            background: none;
            border: none;
            cursor: pointer;
            font-size: inherit;
            font-family: inherit;
        }

        .auth-footer a:hover, .auth-footer button:hover {
            text-decoration: underline;
        }

        .alert {
            padding: 0.85rem 1rem;
            border-radius: var(--radius-sm);
            margin-bottom: 1rem;
            display: none;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .alert.active {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .alert-error {
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #b91c1c;
        }

        .alert-success {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #15803d;
        }

        /* Signup steps */
        .signup-steps {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            margin-bottom: 2rem;
        }

        .signup-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            min-width: 80px;
        }

        .signup-step-num {
            width: 40px;
            height: 40px;
            min-width: 40px;
            min-height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 700;
            border: 2px solid var(--border);
            color: var(--text-muted);
            transition: var(--transition);
        }

        .signup-step.active .signup-step-num {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        .signup-step.done .signup-step-num {
            background: var(--success);
            border-color: var(--success);
            color: white;
        }

        .signup-step-label {
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        .signup-step.active .signup-step-label {
            color: var(--primary);
            font-weight: 600;
        }

        .signup-step-line {
            width: 60px;
            height: 2px;
            background: var(--border);
            transition: var(--transition);
            margin: 0 0.25rem;
            align-self: flex-start;
            margin-top: 19px;
        }

        .signup-step.done + .signup-step-line {
            background: var(--success);
        }

        /* KYC */
        .kyc-container {
            text-align: center;
            padding: 2rem 0;
        }

        .kyc-spinner {
            width: 64px;
            height: 64px;
            border: 4px solid var(--border);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 1.5rem;
        }

        .kyc-success {
            width: 64px;
            height: 64px;
            background: var(--success);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 28px;
            color: white;
        }

        .kyc-pulse {
            width: 12px; height: 12px; border-radius: 50%;
            background: var(--warning); margin: 0 auto 0.5rem;
            animation: kycPulse 1.5s ease-in-out infinite;
        }
        @keyframes kycPulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.5); }
        }
        .kyc-pulse-uploaded {
            background: var(--primary);
        }
        .kyc-qr-pulsing {
            animation: kycQrPulse 2s ease-in-out infinite;
        }
        @keyframes kycQrPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(0,166,81,0.3); }
            50% { box-shadow: 0 0 0 12px rgba(0,166,81,0); }
        }
        .kyc-field-card {
            padding: 0.75rem;
            background: white;
            border-radius: 8px;
            border: 1px solid var(--border);
            transition: transform 0.2s ease;
        }
        .kyc-field-card:hover {
            transform: translateY(-1px);
        }
        .kyc-confirm-btn {
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .kyc-confirm-btn:hover {
            transform: translateY(-1px);
        }
        .kyc-doc-badge {
            display: inline-block;
            padding: 0.3rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.3px;
        }

        /* Password strength */
        .pwd-rule {
            font-size: 0.78rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 0.35rem;
            transition: var(--transition);
        }
        .pwd-rule.valid {
            color: var(--success);
        }
        .pwd-rule.valid i {
            color: var(--success);
        }

        /* ======================= */
        /* DASHBOARD               */
        /* ======================= */
        .dashboard-page {
            padding: 2rem;
            background: linear-gradient(180deg, #eef5f0 0%, var(--bg) 300px);
            min-height: calc(100vh - 72px);
        }

        .dashboard-inner {
            max-width: 1280px;
            margin: 0 auto;
        }

        .welcome-banner {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--navy) 100%);
            border-radius: var(--radius-xl);
            padding: 2.5rem 3rem;
            color: white;
            margin-bottom: 2rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,166,81,0.25);
        }

        .welcome-banner::before {
            content: '';
            position: absolute;
            top: -60%;
            right: -5%;
            width: 350px;
            height: 350px;
            background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
            border-radius: 50%;
        }

        .welcome-banner::after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: 10%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
            border-radius: 50%;
        }

        .welcome-title {
            font-size: 1.75rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            position: relative;
        }

        .welcome-sub {
            opacity: 0.85;
            font-size: 0.95rem;
            position: relative;
        }

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

        .stat-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        }

        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .stat-card-value {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--navy);
            line-height: 1;
            margin-top: 0.5rem;
        }

        .stat-card-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.4rem;
            font-weight: 500;
        }

        .stat-card-icon {
            float: right;
            width: 48px;
            height: 48px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .stat-card-icon i {
            width: 22px;
            height: 22px;
        }

        .dashboard-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .dashboard-section-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--navy);
        }

        .btn-new {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-md);
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
            font-family: inherit;
            box-shadow: 0 2px 8px rgba(0,166,81,0.2);
        }

        .btn-new:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,166,81,0.35);
        }

        /* ======================= */
        /* DOSSIER CARDS            */
        /* ======================= */
        .dossiers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 1.25rem;
        }

        .dossier-card {
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: 1.5rem;
            border: 1px solid var(--border-light);
            border-left: 4px solid var(--primary);
            cursor: default;
            transition: var(--transition);
            position: relative;
        }

        .dossier-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-left-color: var(--primary-dark);
        }

        .dossier-card:nth-child(even) {
            border-left-color: var(--navy);
        }
        .dossier-card:nth-child(even):hover {
            border-left-color: var(--navy-light);
        }

        .dossier-card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.75rem;
        }

        .dossier-reference {
            font-size: 1rem;
            font-weight: 700;
            color: var(--navy);
        }

        .dossier-type {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-top: 0.15rem;
        }

        .dossier-progress {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin: 1rem 0;
        }

        .progress-bar {
            flex: 1;
            height: 6px;
            background: var(--border);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border-radius: 3px;
            transition: width 0.5s ease;
        }

        .progress-text {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-muted);
            min-width: 40px;
            text-align: right;
        }

        .dossier-status {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        .status-draft { background: #f1f5f9; color: #64748b; }
        .status-in_progress { background: #fef3c7; color: #d97706; }
        .status-submitted { background: #dbeafe; color: #2563eb; }
        .status-validated { background: #d1fae5; color: #059669; }
        .status-rejected { background: #fee2e2; color: #dc2626; }

        .dossier-date {
            font-size: 0.78rem;
            color: var(--text-light);
            margin-top: 0.75rem;
        }

        .dossier-actions {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border-light);
        }

        .btn-qr {
            background: var(--primary);
            color: white;
            border: none;
            cursor: pointer;
            font-family: inherit;
            transition: var(--transition);
        }

        .btn-qr:hover {
            background: var(--primary-dark);
        }

        .btn-delete {
            background: #fef2f2;
            color: #dc2626;
            border: none;
            cursor: pointer;
            font-family: inherit;
            transition: var(--transition);
        }

        .btn-delete:hover {
            background: #fecaca;
        }

        /* ======================= */
        /* EMPTY STATE             */
        /* ======================= */
        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
            background: white;
            border-radius: var(--radius-xl);
            border: 2px dashed var(--border);
        }

        .empty-icon {
            font-size: 3.5rem;
            margin-bottom: 1rem;
        }

        .empty-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 0.5rem;
        }

        .empty-text {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        /* ======================= */
        /* MODALS                  */
        /* ======================= */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(15,23,42,0.5);
            backdrop-filter: blur(4px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 200;
            padding: 1rem;
        }

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

        .modal {
            background: white;
            border-radius: var(--radius-xl);
            padding: 2rem;
            max-width: 520px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: var(--shadow-xl);
            animation: modalIn 0.25s ease;
        }

        .modal-wide {
            max-width: 900px;
        }

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

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-light);
        }

        .modal-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--navy);
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-muted);
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }

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

        /* QR Modal */
        .qr-container {
            text-align: center;
            padding: 1.5rem;
            background: var(--bg);
            border-radius: var(--radius-lg);
            margin-bottom: 1.5rem;
        }

        .qr-code {
            display: inline-block;
            padding: 1rem;
            background: white;
            border-radius: var(--radius-md);
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
        }

        .qr-instructions {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .steps {
            margin-top: 1.5rem;
        }

        .step {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .step-number {
            width: 28px;
            height: 28px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .step-content h4 {
            font-weight: 600;
            margin-bottom: 0.2rem;
            font-size: 0.9rem;
            color: var(--text);
        }

        .step-content p {
            color: var(--text-muted);
            font-size: 0.82rem;
        }

        /* ======================= */
        /* ADMIN TABLES            */
        /* ======================= */
        .admin-page {
            padding: 2rem;
            background: linear-gradient(180deg, #eef1f7 0%, var(--bg) 300px);
            min-height: calc(100vh - 72px);
        }

        .admin-inner {
            max-width: 1280px;
            margin: 0 auto;
        }

        .admin-header {
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .admin-title {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--navy);
            margin-bottom: 0.25rem;
        }

        .admin-subtitle {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .admin-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.25rem;
            margin-bottom: 2rem;
        }

        .admin-stat-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            position: relative;
            overflow: hidden;
        }

        .admin-stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
        }

        .admin-stat-card.green::before { background: var(--primary); }
        .admin-stat-card.navy::before { background: var(--navy); }
        .admin-stat-card.gold::before { background: var(--gold); }
        .admin-stat-card.blue::before { background: var(--info); }

        .admin-stat-value {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--navy);
        }

        .admin-stat-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
            font-weight: 500;
        }

        .table-card {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }

        .table-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .table-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--navy);
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-select {
            padding: 0.45rem 0.75rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 0.85rem;
            font-family: inherit;
            color: var(--text);
            background: white;
            cursor: pointer;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--primary);
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
        }

        .data-table th {
            text-align: left;
            padding: 0.85rem 1.5rem;
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-muted);
            background: var(--bg);
            border-bottom: 1px solid var(--border);
        }

        .data-table td {
            padding: 0.85rem 1.5rem;
            font-size: 0.9rem;
            border-bottom: 1px solid var(--border-light);
            color: var(--text);
        }

        .data-table tbody tr {
            transition: var(--transition);
        }

        .data-table tbody tr:hover {
            background: rgba(0,166,81,0.02);
        }

        .data-table tbody tr.clickable {
            cursor: pointer;
        }

        .data-table tbody tr.clickable:hover {
            background: rgba(0,166,81,0.05);
        }

        .td-name {
            font-weight: 600;
            color: var(--navy);
        }

        .td-email {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .td-ref {
            font-weight: 600;
            color: var(--primary-dark);
        }

        .kyc-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .kyc-validated { background: #d1fae5; color: #059669; }
        .kyc-pending { background: #fef3c7; color: #d97706; }
        .kyc-in_progress { background: #dbeafe; color: #2563eb; }
        .kyc-rejected { background: #fee2e2; color: #dc2626; }
        .kyc-none { background: #f1f5f9; color: #64748b; }
        .kyc-pending { background: #fef3c7; color: #d97706; }
        .kyc-pending_confirmation { background: #ede9fe; color: #7c3aed; }

        /* ======================= */
        /* ADMIN DOSSIER DETAIL    */
        /* ======================= */
        .detail-back {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            margin-bottom: 1.5rem;
            background: none;
            border: none;
            font-family: inherit;
            transition: var(--transition);
        }

        .detail-back:hover {
            color: var(--primary);
        }

        .detail-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .detail-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--navy);
        }

        .detail-actions {
            display: flex;
            gap: 0.75rem;
        }

        .detail-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.25rem;
            margin-bottom: 2rem;
        }

        .detail-info-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
        }

        .detail-info-label {
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .detail-info-value {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
        }

        .items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.25rem;
        }

        .items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.25rem;
            margin-bottom: 1.5rem;
        }

        .item-card {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition);
        }

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

        .item-card-thumb {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: var(--bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--border);
        }

        .item-card-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .item-card-body {
            padding: 1rem 1.25rem;
        }

        .item-card-name {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--navy);
            margin-bottom: 0.25rem;
        }

        .item-card-status {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* Photo modal */
        .photo-modal {
            max-width: 1000px;
        }

        .photo-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
            margin-top: 1rem;
        }

        .photo-col {
            text-align: center;
        }

        .photo-col-label {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
        }

        .photo-col img {
            width: 100%;
            max-height: 500px;
            object-fit: contain;
            border-radius: var(--radius-md);
            border: 1px solid var(--border);
            background: var(--bg);
        }

        .photo-placeholder {
            width: 100%;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg);
            border-radius: var(--radius-md);
            border: 2px dashed var(--border);
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* ======================= */
        /* FOOTER                  */
        /* ======================= */
        .footer {
            background: linear-gradient(180deg, #0a3d2a 0%, #062419 100%);
            color: white;
            padding: 4rem 2rem 1.5rem;
        }

        .footer-inner {
            max-width: 1280px;
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-brand .logo-text {
            color: white;
        }

        .footer-brand .logo-text-massif {
            color: #4ade80;
        }

        .footer-desc {
            color: rgba(255,255,255,0.6);
            font-size: 0.85rem;
            line-height: 1.6;
            margin-top: 0.75rem;
        }

        .footer-heading {
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #4ade80;
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 0.85rem;
            transition: var(--transition);
            cursor: pointer;
            display: inline-block;
        }

        .footer-links a:hover {
            color: #4ade80;
            padding-left: 4px;
        }

        .footer-bottom {
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .footer-copyright {
            opacity: 0.5;
            font-size: 0.8rem;
        }

        /* ======================= */
        /* SPINNER                 */
        /* ======================= */
        .spinner {
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            display: inline-block;
        }

        .spinner-dark {
            border-color: var(--border);
            border-top-color: var(--primary);
        }

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

        @keyframes toastIn {
            from { opacity: 0; transform: translateX(100px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @keyframes toastOut {
            from { opacity: 1; transform: translateX(0); }
            to { opacity: 0; transform: translateX(100px); }
        }

        @keyframes verifStepIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes verifStepOut {
            from { opacity: 1; transform: translateY(0); }
            to { opacity: 0; transform: translateY(-20px); }
        }
        @keyframes verifResultIn {
            0% { opacity: 0; transform: scale(0.8); }
            60% { opacity: 1; transform: scale(1.03); }
            100% { opacity: 1; transform: scale(1); }
        }
        @keyframes verifIconPop {
            0% { opacity: 0; transform: scale(0) rotate(-20deg); }
            50% { transform: scale(1.2) rotate(5deg); }
            70% { transform: scale(0.95) rotate(-2deg); }
            100% { opacity: 1; transform: scale(1) rotate(0deg); }
        }
        @keyframes verifPulseRing {
            0% { box-shadow: 0 0 0 0 rgba(0,166,81,0.3); }
            70% { box-shadow: 0 0 0 12px rgba(0,166,81,0); }
            100% { box-shadow: 0 0 0 0 rgba(0,166,81,0); }
        }
        @keyframes verifSpin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        @media (max-width: 768px) {
            .verif-mobile-link { display: inline-flex !important; }
        }

        /* ======================= */
        /* LOADING SKELETON        */
        /* ======================= */
        .skeleton {
            background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: var(--radius-sm);
        }

        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* ======================= */
        /* UTILITIES               */
        /* ======================= */
        /* ======================= */
        /* PRODUCT CARDS           */
        /* ======================= */
        .product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
        .product-card { background: white; border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--border-light); transition: var(--transition); }
        .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .product-card-title { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
        .product-card-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
        .product-card-features { list-style: none; }
        .product-card-features li { padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
        .product-card-features li::before { content: '\2713'; color: var(--primary); font-weight: 700; }
        .product-card.featured { border: 2px solid var(--primary); position: relative; }
        .product-card.featured::before { content: 'Populaire'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 0.2rem 1rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
        @media (max-width: 1024px) { .product-cards[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; } }
        @media (max-width: 768px) { .product-cards { grid-template-columns: 1fr !important; } }

        /* ======================= */
        /* INFO CONTENT            */
        /* ======================= */
        .info-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
        .info-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 0.5rem; }
        .info-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
        .info-content ul { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; padding-left: 1.5rem; }
        .info-content li { margin-bottom: 0.35rem; }

        /* ======================= */
        /* BENEFIT GRID            */
        /* ======================= */
        .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
        .benefit-item { text-align: center; padding: 2rem 1.5rem; background: var(--bg); border-radius: var(--radius-lg); }
        .benefit-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
        .benefit-icon i { width: 24px; height: 24px; color: white; }
        .benefit-title { font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
        .benefit-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
        @media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } }

        /* ======================= */
        /* CONTACT FORM            */
        /* ======================= */
        .contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; }
        @media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
        .contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
        .contact-info-icon { width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-sm); background: rgba(0,166,81,0.1); display: flex; align-items: center; justify-content: center; }
        .contact-info-icon i { width: 20px; height: 20px; color: var(--primary); }
        .contact-info-label { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.15rem; }
        .contact-info-value { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

        .hidden { display: none !important; }
        .text-center { text-align: center; }
        .mt-1 { margin-top: 0.5rem; }
        .mt-2 { margin-top: 1rem; }
        .mt-3 { margin-top: 1.5rem; }
        .mb-1 { margin-bottom: 0.5rem; }
        .mb-2 { margin-bottom: 1rem; }
        .gap-1 { gap: 0.5rem; }
        .flex { display: flex; }
        .flex-center { display: flex; align-items: center; justify-content: center; }

        /* ======================= */
        /* HOW IT WORKS            */
        /* ======================= */
        .howto-section { padding: 5rem 2rem; max-width: 1000px; margin: 0 auto; }
        .howto-steps { display: flex; gap: 2rem; margin-top: 3rem; }
        .howto-step { flex: 1; text-align: center; position: relative; }
        .howto-number {
            width: 56px; height: 56px; border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white; font-size: 1.5rem; font-weight: 800;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 4px 15px rgba(0,166,81,0.3);
        }
        .howto-connector {
            position: absolute; top: 28px; left: calc(50% + 35px);
            width: calc(100% - 70px); height: 2px;
            background: linear-gradient(to right, var(--primary), var(--border));
        }
        .howto-step:last-child .howto-connector { display: none; }
        .howto-step h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--navy); }
        .howto-step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

        /* ======================= */
        /* AUTH LAYOUT             */
        /* ======================= */
        .auth-layout {
            display: flex;
            min-height: calc(100vh - 72px);
        }
        .auth-side-panel {
            flex: 1;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--navy) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 3rem;
            color: white;
            position: relative;
            overflow: hidden;
        }
        .auth-side-panel::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 200px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,208C1248,192,1344,192,1392,192L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom;
            background-size: cover;
        }
        .auth-side-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }
        .auth-side-text {
            font-size: 1.05rem;
            opacity: 0.85;
            line-height: 1.7;
            max-width: 360px;
            text-align: center;
            position: relative;
            z-index: 1;
        }
        .auth-side-icon {
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }
        .auth-side-icon i {
            width: 80px;
            height: 80px;
            color: rgba(255,255,255,0.3);
        }
        .auth-form-panel {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        /* ======================= */
        /* RESPONSIVE              */
        /* ======================= */
        @media (max-width: 1024px) {
            .hero-title { font-size: 2.75rem; }
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .nav { padding: 0 1rem; }
            .nav-inner { height: 60px; }
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }

            .hero { padding: 3.5rem 1rem; min-height: 70vh; }
            .hero-title { font-size: 2rem; }
            .hero-subtitle { font-size: 1rem; }
            .hero-stats { flex-direction: column; gap: 1.5rem; }
            .hero-actions { flex-direction: column; }
            .btn-hero { width: 100%; justify-content: center; }

            .features-section { padding: 3rem 1rem; }
            .features-grid { grid-template-columns: 1fr; }
            .section-title { font-size: 1.75rem; }

            .howto-steps { flex-direction: column; gap: 2rem; }
            .howto-connector { display: none !important; }

            .auth-side-panel { display: none; }
            .auth-layout { flex-direction: column; }

            .trust-grid { flex-direction: column; align-items: stretch; }

            .dashboard-page, .admin-page { padding: 1rem; }
            .welcome-banner { padding: 1.5rem; }
            .welcome-title { font-size: 1.35rem; }
            .dossiers-grid { grid-template-columns: 1fr; }
            .items-grid { grid-template-columns: 1fr; }

            .card { padding: 1.5rem; }
            .modal { padding: 1.5rem; margin: 0.5rem; }

            .data-table { font-size: 0.8rem; }
            .data-table th, .data-table td { padding: 0.6rem 0.75rem; }

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

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

            .detail-header { flex-direction: column; }

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

            .signup-step-label { display: none; }
        }

        @media (max-width: 480px) {
            .hero-title { font-size: 1.65rem; }
            .stats-row { grid-template-columns: 1fr 1fr; }
            .admin-stats-grid { grid-template-columns: 1fr; }
        }
        /* ======================= */
        /* DASHBOARD SIDEBAR LAYOUT */
        /* ======================= */
        .dash-layout {
            display: flex;
            min-height: calc(100vh - 72px);
        }

        .dash-sidebar {
            width: 240px;
            background: linear-gradient(180deg, #00734a 0%, #005c3b 100%);
            padding: 2rem 0;
            flex-shrink: 0;
            position: sticky;
            top: 72px;
            height: calc(100vh - 72px);
            overflow-y: auto;
        }

        .dash-sidebar-section {
            padding: 0 1rem;
            margin-bottom: 1.5rem;
        }

        .dash-sidebar-label {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255,255,255,0.45);
            padding: 0 1rem;
            margin-bottom: 0.75rem;
        }

        .dash-sidebar-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.7rem 1rem;
            color: rgba(255,255,255,0.8);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            border-radius: 8px;
            margin: 0 0.5rem;
            transition: all 0.2s;
            border: none;
            background: none;
            width: calc(100% - 1rem);
            text-align: left;
            font-family: inherit;
        }

        .dash-sidebar-link:hover {
            background: rgba(255,255,255,0.1);
            color: white;
        }

        .dash-sidebar-link.active {
            background: rgba(255,255,255,0.15);
            color: white;
            font-weight: 600;
            border-left: 3px solid #fbbf24;
        }

        .dash-sidebar-link i {
            width: 18px;
            height: 18px;
            opacity: 0.7;
        }

        .dash-sidebar-link.active i {
            opacity: 1;
        }

        .dash-main {
            flex: 1;
            padding: 2rem;
            background: #f0f2f5;
            min-width: 0;
        }

        .dash-main-inner {
            max-width: none;
        }

        .dash-right-panel {
            width: 280px;
            padding: 2rem 1.5rem;
            background: white;
            border-left: 1px solid var(--border-light);
            flex-shrink: 0;
            position: sticky;
            top: 72px;
            height: calc(100vh - 72px);
            overflow-y: auto;
        }

        /* Alert banner */
        .dash-alert {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
            background: white;
            border-radius: 12px;
            border-left: 4px solid #f59e0b;
            margin-bottom: 1.5rem;
            box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        }

        .dash-alert-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(245,158,11,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* Quick action cards */
        .dash-quick-actions {
            display: flex;
            flex-direction: column;
            gap: 0;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 1px 4px rgba(0,0,0,0.06);
            margin-bottom: 1.5rem;
        }

        .dash-quick-action {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.25rem;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid var(--border-light);
            background: none;
            border-left: none;
            border-right: none;
            border-top: none;
            width: 100%;
            text-align: left;
            font-family: inherit;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
        }

        .dash-quick-action:last-child {
            border-bottom: none;
        }

        .dash-quick-action:hover {
            background: rgba(0,166,81,0.03);
        }

        .dash-quick-action-chevron {
            color: var(--primary);
            font-weight: 700;
        }

        /* Insurance category cards */
        .dash-insurance-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .dash-insurance-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 1px 4px rgba(0,0,0,0.06);
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            border: 1px solid transparent;
        }

        .dash-insurance-card:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        }

        .dash-insurance-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .dash-insurance-card h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--navy);
            margin-bottom: 0.25rem;
        }

        .dash-insurance-card p {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.4;
        }

        /* Advisor/Contact panel */
        .advisor-card {
            margin-bottom: 1.5rem;
        }

        .advisor-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .advisor-name {
            font-weight: 700;
            color: var(--navy);
            font-size: 1rem;
            margin-bottom: 0.25rem;
        }

        .advisor-role {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        .advisor-detail {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.6rem 0;
            font-size: 0.85rem;
            color: var(--text);
            border-bottom: 1px solid var(--border-light);
        }

        .advisor-detail:last-child { border-bottom: none; }

        .advisor-detail i { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

        /* Section headings in dashboard */
        .dash-section-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Responsive - dashboard layout */
        @media (max-width: 1024px) {
            .dash-right-panel { display: none; }
            .dash-sidebar { width: 200px; }
        }

        @media (max-width: 768px) {
            .dash-layout { flex-direction: column; }
            .dash-sidebar {
                width: 100%;
                height: auto;
                position: relative;
                top: 0;
                padding: 1rem 0;
                flex-direction: row;
                display: flex;
                overflow-x: auto;
            }
            .dash-sidebar-label { display: none; }
            .dash-sidebar-section { display: flex; gap: 0.25rem; margin-bottom: 0; padding: 0 0.5rem; }
            .dash-sidebar-link { white-space: nowrap; margin: 0; padding: 0.5rem 0.75rem; font-size: 0.8rem; }
            .dash-insurance-grid { grid-template-columns: 1fr; }
        }

