/* premium — styles page (migration DA, ne pas dupliquer la coque) */

html {
            scroll-behavior: smooth;
            scroll-padding-top: 5rem;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* Header Navigation */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(15, 15, 15, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 100;
            padding: 0.5rem 1.25rem;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.2rem;
            font-weight: 800;
            background: linear-gradient(135deg, #f97316, #ea580c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
        }

        .header-logo-img {
            height: 36px;
            width: auto;
            filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.4));
        }

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

        .nav-link {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            font-size: 0.9375rem;
        }

        .nav-link:hover {
            color: #f97316;
        }

        .btn-header {
            background: linear-gradient(135deg, #f97316, #ea580c);
            color: white;
            padding: 0.625rem 1.5rem;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.875rem;
        }

        .btn-header:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
        }

        #auth-section {
            display: flex;
            align-items: center;
        }

        .user-profile-link {
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .user-profile-link:hover .user-avatar {
            border-color: #f97316;
            box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
        }

        .logout-icon {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.25rem;
            text-decoration: none;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .logout-icon:hover {
            color: #f97316;
            background: rgba(249, 115, 22, 0.1);
        }

        /* Content Sections */
        .content-section {
            position: relative;
            z-index: 10;
            padding: 3rem 2rem 6rem;
            max-width: 1400px;
            margin: 0 auto;
            min-height: calc(100vh - 5rem);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            text-align: center;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #f97316, #ea580c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.25rem;
            margin-bottom: 4rem;
        }

        /* Comparison Table */
        .comparison-table {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(249, 115, 22, 0.3);
            border-radius: 20px;
            padding: 3rem;
            margin-bottom: 4rem;
            overflow-x: auto;
            box-shadow: 0 10px 40px rgba(249, 115, 22, 0.15);
        }

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

        .comparison-table th,
        .comparison-table td {
            padding: 1.5rem;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .comparison-table th {
            font-weight: 800;
            color: #f97316;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: rgba(249, 115, 22, 0.1);
        }

        .comparison-table th:first-child {
            border-top-left-radius: 12px;
        }

        .comparison-table th:last-child {
            border-top-right-radius: 12px;
        }

        .comparison-table td {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9375rem;
        }

        .comparison-table tr:hover td {
            background: rgba(249, 115, 22, 0.05);
            transition: background 0.2s ease;
        }

        .comparison-table tr:last-child td {
            border-bottom: none;
        }

        .price-highlight {
            color: #f97316;
            font-weight: 700;
            font-size: 1.125rem;
            text-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
        }

        .price-savings {
            color: #10b981;
            font-weight: 800;
            font-size: 1.125rem;
            text-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
        }

        /* Pricing Cards */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.25rem;
            margin-bottom: 4rem;
        }

        @media (max-width: 1100px) {
            .pricing-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        .pricing-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 1.6rem 1.4rem 1.4rem;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: 100%;
        }

        .pricing-card.featured {
            border-color: rgba(249, 115, 22, 0.5);
            transform: none;
        }

        .pricing-card.lifetime {
            border: 2px solid rgba(249, 115, 22, 0.8);
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.05));
        }

        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
        }

        .pricing-card.featured:hover {
            transform: translateY(-5px);
        }

        .pricing-badge {
            position: absolute;
            top: -12px;
            right: 20px;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .lifetime-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.5);
        }

        .pricing-name {
            font-size: 1.35rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .pricing-subtitle {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.25rem;
            font-style: italic;
        }

        .pricing-price {
            font-size: 2.4rem;
            font-weight: 800;
            background: linear-gradient(135deg, #f97316, #ea580c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
        }

        .pricing-period {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.85rem;
            margin-bottom: 1.25rem;
        }

        .pricing-features {
            list-style: none;
            margin-bottom: auto;
            text-align: left;
            flex-grow: 1;
            font-size: 0.88rem;
        }

        .pricing-features li {
            padding: 0.5rem 0;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .pricing-features li .feature-icon {
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .pricing-features li > span:not(.feature-icon),
        .pricing-features li > strong {
            flex: 1;
            min-width: 0;
            word-break: normal;
            overflow-wrap: break-word;
        }

        .pricing-features li::before {
            content: '✓';
            color: #10b981;
            font-weight: bold;
            margin-right: 0.6rem;
            font-size: 1.05rem;
            flex-shrink: 0;
        }

        .pricing-features li strong {
            color: rgba(255, 255, 255, 0.95);
            font-weight: 700;
        }

        .btn-pricing {
            background: linear-gradient(135deg, #f97316, #ea580c);
            color: white;
            padding: 0.9rem 1.25rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 1.25rem;
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
        }

        .btn-pricing:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
            background: linear-gradient(135deg, #ff6b35, #f7931e);
        }

        .lifetime-progress {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            border: 1px solid rgba(249, 115, 22, 0.3);
        }

        .lifetime-progress-text {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .lifetime-progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
        }

        .lifetime-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #f97316, #ff6b35);
            border-radius: 4px;
            transition: width 0.3s ease;
        }

        .feature-icon {
            display: inline-block;
            margin-right: 0.5rem;
            font-size: 1.1em;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .pricing-grid {
                grid-template-columns: 1fr;
            }

            .comparison-table {
                overflow-x: scroll;
            }
        }

        /* Footer */
        .footer {
            background: rgba(15, 15, 15, 0.9);
            backdrop-filter: blur(20px);
            padding: 3rem 2rem 2rem;
            margin-top: 4rem;
            position: relative;
            z-index: 10;
            overflow: hidden;
        }
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.6), rgba(251, 191, 36, 0.6), rgba(249, 115, 22, 0.6), transparent);
            background-size: 200% 100%;
            animation: footerShimmer 3s ease-in-out infinite;
            z-index: 2;
        }
        @keyframes footerShimmer {
            0% { background-position: -100% 0; }
            100% { background-position: 100% 0; }
        }
        .footer::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: 
                radial-gradient(ellipse 300px 150px at 15% 80%, rgba(249, 115, 22, 0.03) 0%, transparent 70%),
                radial-gradient(ellipse 250px 125px at 85% 90%, rgba(255, 107, 53, 0.025) 0%, transparent 65%),
                radial-gradient(circle 3px at 20% 70%, rgba(249, 115, 22, 0.6) 0%, transparent 60%),
                radial-gradient(circle 2.5px at 35% 85%, rgba(251, 191, 36, 0.7) 0%, transparent 60%),
                radial-gradient(circle 3px at 50% 75%, rgba(249, 115, 22, 0.5) 0%, transparent 60%),
                radial-gradient(circle 2px at 65% 80%, rgba(255, 107, 53, 0.6) 0%, transparent 60%),
                radial-gradient(circle 2.5px at 80% 75%, rgba(251, 191, 36, 0.55) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
            animation: sparkleTwinkle 4s ease-in-out infinite;
        }
        @keyframes footerShimmer {
            0% { background-position: -100% 0; }
            100% { background-position: 100% 0; }
        }
        @keyframes sparkleTwinkle {
            0%, 100% { 
                opacity: 1;
                filter: brightness(1);
            }
            50% { 
                opacity: 0.6;
                filter: brightness(1.5);
            }
        }
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }
        .footer-section h3 {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #f97316;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 0.875rem;
        }
        .footer-links a:hover {
            color: #f97316;
        }
        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.875rem;
            position: relative;
            z-index: 1;
        }
        .footer-bottom::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.4), rgba(251, 191, 36, 0.4), rgba(249, 115, 22, 0.4), transparent);
            background-size: 200% 100%;
            animation: footerShimmer 3s ease-in-out infinite;
        }
