        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: #333;
        }
        
        /* NAVBAR */
        .navbar {
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: white;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .home-page .navbar {
            padding: 18px 30px;
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.18);
        }
        
        .navbar-brand {
            font-size: 1.5em;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .navbar-menu {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        /* Ensure on legal pages only the auth buttons sit at the top-right */
        body.legal-page .navbar-menu {
            margin-left: auto;
            justify-content: flex-end;
        }
        
        .navbar-menu a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s;
        }
        
        .navbar-menu a:hover {
            opacity: 0.8;
        }
        
        .auth-buttons {
            display: flex;
            gap: 15px;
        }
        
        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-size: 0.95em;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 500;
            text-align: center;
        }
        
        .btn-login {
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid white;
        }
        
        .btn-login:hover {
            background: white;
            color: #2563eb;
        }
        
        .btn-signup {
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: white;
            border: 2px solid #2563eb;
            font-weight: 600;
        }
        
        .btn-signup:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: white;
        }

        .plans-section .btn-primary,
        body.module-page-shell .plans-section .btn-primary {
            color: white !important;
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
            color: white !important;
        }
        
        /* HERO SECTION */
        .hero {
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: white;
            padding: 100px 30px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .hero h1 {
            font-size: 3em;
            margin-bottom: 20px;
            font-weight: bold;
        }
        
        .hero p {
            font-size: 1.3em;
            margin-bottom: 30px;
            opacity: 0.95;
        }
        
        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .btn-large {
            padding: 15px 40px;
            font-size: 1.1em;
        }
        
        .btn-secondary {
            background: rgba(255,255,255,0.2);
            color: white;
            border: 2px solid white;
        }
        
        .btn-secondary:hover {
            background: white;
            color: #2563eb;
        }
        
        /* CONTAINER */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 30px;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5em;
            margin-bottom: 50px;
            color: #333;
        }

        .plans-section .section-title {
            color: white;
        }
        
        /* FEATURES */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .feature-card {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        
        .feature-icon {
            font-size: 3em;
            color: #2563eb;
            margin-bottom: 15px;
        }
        
        .feature-card h3 {
            font-size: 1.3em;
            margin-bottom: 15px;
            color: #333;
        }
        
        .feature-card p {
            color: #666;
            line-height: 1.6;
        }
        
        /* PLANS SECTION */
        .plans-section {
            background: #f9f9f9;
            padding: 60px 30px;
        }
        
        .plans-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 40px;
            margin-top: 40px;
            justify-items: center;
            align-items: start;
        }

        .plans-section .plan-auth-card {
            max-width: 440px;
            width: 100%;
            margin: 0 auto;
        }

        .plans-section .auth-card-footer {
            padding: 25px 30px;
            background: #f9fafb;
        }

        .plans-section .auth-card-footer a {
            width: 100%;
            display: inline-flex;
            justify-content: center;
            padding: 15px 0;
            border-radius: 12px;
        }

        .plans-section .plan-auth-card.featured {
            border: 3px solid #2563eb;
            box-shadow: 0 26px 70px rgba(37, 99, 235, 0.15);
        }

        .plans-section .auth-card {
            background: #ffffff;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            width: 100%;
            max-width: 440px;
            margin: 0 auto;
        }

        .plans-section .auth-card-header {
            padding: 30px;
            text-align: center;
            background: var(--gradient);
        }

        .plans-section .auth-card-body {
            padding: 30px;
        }

        .plans-section .auth-card-footer {
            padding: 20px 30px;
            background: #f9fafb;
            border-top: 1px solid var(--border);
        }

        .plans-section .auth-card-footer .btn {
            width: 100%;
            display: inline-flex;
            justify-content: center;
            text-align: center;
        }
        
        .plan-header {
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: white;
            padding: 30px;
            text-align: center;
        }
        
        .plan-name {
            font-size: 1.8em;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .plan-price {
            font-size: 2.5em;
            font-weight: bold;
            margin: 15px 0;
        }
        
        .plan-price-period {
            font-size: 0.9em;
            opacity: 0.9;
        }

        .plan-subtitle {
            font-size: 0.95em;
            font-weight: 600;
            opacity: 0.9;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        
        .plan-body {
            padding: 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .plan-features {
            list-style: none;
            margin-bottom: 30px;
            flex: 1;
        }
        
        .plan-features li {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            color: #666;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .plan-features li:before {
            content: "✓";
            color: #28a745;
            font-weight: bold;
            font-size: 1.2em;
        }
        
        .plan-cta {
            margin-top: auto;
        }
        
        .btn-comeco {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: block;
            text-align: center;
        }
        
        .btn-comeco:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
        }
        
        /* STATS */
        .stats-section {
            background: linear-gradient(135deg, #2563eb 0%, #64748b 100%);
            color: white;
            padding: 60px 30px;
            text-align: center;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .stat-item h3 {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        
        .stat-item p {
            font-size: 1.1em;
            opacity: 0.9;
        }
        
        
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                align-items: stretch;
                gap: 15px;
            }

            .navbar-brand {
                justify-content: center;
                text-align: center;
            }

            .navbar-menu {
                flex-direction: column;
                width: 100%;
                gap: 12px;
            }

            .navbar-menu > a {
                width: 100%;
                text-align: center;
                padding: 10px 0;
            }

            .auth-buttons {
                width: 100%;
                flex-direction: column;
                gap: 10px;
            }

            .auth-buttons .btn {
                width: 100%;
                justify-content: center;
            }
            
            .hero h1 {
                font-size: 2em;
            }
            
            .plan-card.featured {
                transform: scale(1);
            }
            
            .hero-buttons {
                flex-direction: column;
            }
            
            .btn-large {
                width: 100%;
            }
        }

/* Targeted change: aplicar gradiente azul-roxo somente na seção de features */
section#features {
    /* full-bleed background */
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 60px 0;
    position: relative;
    left: 0;
    background: linear-gradient(135deg, #2563eb 0%, #64748b 100%) !important;
    color: white !important;
}

/* Keep inner content constrained like the original container */
section#features .section-title,
section#features .features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Título da seção dentro do features deve aparecer em branco sobre o gradiente */
section#features .section-title {
    color: white !important;
}

/* Keep feature cards white for contrast */
body.index-page .feature-card {
    background: white !important;
    color: #111 !important;
}

/* Plans section: apply same gradient as features and full-bleed */
section#plans {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 60px 0;
    background: linear-gradient(135deg, #2563eb 0%, #64748b 100%) !important;
    color: white !important;
}

/* Constrain inner content of plans like container */
section#plans .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Make plan cards look like auth-card from register.php */
.plan-card {
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.06) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

.plan-header {
    background: linear-gradient(135deg, #2563eb 0%, #64748b 100%) !important;
    color: white !important;
    padding: 30px !important;
    text-align: center !important;
}

.plan-body {
    padding: 30px !important;
}

/* Make plan cards visually match auth-card (register.php) */
.plan-card {
    display: flex !important;
    flex-direction: column !important;
}

.plan-cta {
    padding: 20px 30px !important;
    text-align: center !important;
    border-top: 1px solid rgba(0,0,0,0.04) !important;
    background: #f9fafb !important;
}

.plan-cta .btn-comeco {
    width: 100% !important;
    padding: 13px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.plan-card.featured {
    border: 3px solid #2563eb !important;
}

/* Remove espaço entre a última hero (CTA) e o footer nesta página */
.hero:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 30px !important;
}

/* Anula margin-top do footer apenas quando index.css está carregado (escopo página inicial) */
.footer {
    margin-top: 0 !important;
}
