/* Custom Theme Overrides for Premium Dark Mode */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Color Palette - Indigo & Sky */
    --bs-primary: #6366f1; /* Indigo */
    --bs-primary-rgb: 99, 102, 241;
    --bs-secondary: #38bdf8; /* Sky */
    --bs-secondary-rgb: 56, 189, 248;
    --accent-color: #f43f5e; /* Rose */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);

    /* Light Theme Surfaces */
    --bg-body: #f8fafc; /* Slate 50 */
    --bg-surface: #ffffff;
    --bg-surface-light: #f1f5f9; /* Slate 100 */

    /* Text Colors - Darker for better clarity */
    --text-main: #000000; /* Deep Black */
    --text-muted: #334155; /* Slate 700 */
    --text-accent: #4f46e5; /* Indigo 600 */

    /* Premium Gradients */
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, rgba(248, 250, 252, 0) 70%);

    /* UI Finishes */
    --card-border-radius: 24px;
    --btn-border-radius: 50px;

    /* Glassmorphism Light - Enhanced Shadows */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 15px 45px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06);
}

.main-wrapper {
    position: relative;
    z-index: 2;
}

body {
    font-family: var(--bs-body-font-family);
    background-color: var(--bg-body);
    color: var(--text-muted);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ------------------
   HERO SECTION REDESIGN
   ------------------ */
.hero-style-1 {
    position: relative;
    background: transparent;
    overflow: hidden;
}

/* The main background of the hero - Solid Site Color with Soft Texture */
.bg-primary-gradient, .hero-style-1, .hero-area {
    background-color: var(--bg-body) !important;
    /* Soft Dotted Pattern */
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    background-position: center center !important;
    position: relative;
    z-index: 1 !important;
    animation: none !important;
}

/* Decorative Glow Effect - Animation Removed */
.bg-primary-gradient::before {
    display: none;
}

/* Hero Text */
.display-font,
.hero-content-wrap h4 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(to bottom, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Hero "Commencer" Button */
.hero-style-1 .primary-btn {
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    border: none;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border-radius: var(--btn-border-radius);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-style-1 .primary-btn:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
    transform: translateY(-3px);
}

/* Promo Items (Cards below hero) */
.promo-item {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
    color: var(--text-muted);
}

.promo-item h6 {
    color: var(--text-main);
}

.promo-item i {
    color: var(--bs-primary) !important;
}

/* ------------------
   GLOBAL UI OVERRIDES
   ------------------ */

/* Dark Cards */
.card,
.app_list_item,
.pricing-column,
.bg-white,
.promo-item {
    background: var(--glass-bg) !important;
    border: var(--glass-border) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: var(--glass-shadow) !important;
    color: var(--text-muted) !important;
    border-radius: var(--card-border-radius) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.pricing-column {
    text-align: center;
}

/* Robust Equal Height Fix (Desktop Only) */
@media (min-width: 992px) {
    .pricing-wrapper .row {
        align-items: stretch;
    }

    .pricing-wrapper .row>div {
        display: flex !important;
        flex-direction: column;
    }

    .pricing-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: 100% !important;
        /* Force full height */
        flex: 1 0 auto;
    }

    .pricing-column .btn {
        margin-top: auto !important;
        /* Force button to bottom */
        display: block;
        width: 100%;
    }
}

/* Text inside cards needing override */
.card h3,
.card h4,
.pricing-column h3,
.pricing-column h4,
.app_list_item h6 {
    color: var(--text-main) !important;
}

/* Section Backgrounds */
.light-bg {
    background-color: var(--bg-body) !important;
}

.gray-light-bg {
    background-color: var(--bg-surface) !important;
}

/* Navbar Light */
.navbar,
.header-nav .nav-menu {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-menu.bg-white {
    background-color: #ffffff !important;
    color: #0f172a !important;
    /* Dark Slate for contrast */
    border-radius: var(--card-border-radius);
    /* Optional: keep it rounded */
}

.nav-menu.bg-white .nav-link,
.nav-menu.bg-white i,
.nav-menu.bg-white a {
    color: #0f172a !important;
    text-shadow: none !important;
}

/* Fix Logo Size */
.header-nav .logo {
    max-height: 50px;
    /* Restrict height to prevent navbar expansion */
    width: auto;
}

.nav-link,
.header-nav a {
    color: var(--text-muted) !important;
}

.nav-link:hover,
.header-nav a:hover {
    color: var(--bs-primary) !important;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Buttons */
.btn-primary,
.primary-btn {
    background: var(--gradient-primary) !important;
    border: none;
    color: white !important;
}

/* Pricing Badges */
.pricing-badge {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
}

/* FAQ Overrides */
.card-header-faq h5,
.card-header-faq .text-dark,
.text-question {
    color: var(--text-main) !important;
}

/* Premium Card Style Updates */
.pricing-column {
    padding: 3rem 2rem !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.pricing-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}

.pricing-column:hover::after {
    left: 100%;
}

.pricing-column:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

.pricing-column h3.h5 {
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted) !important;
}

.pricing-column .monthly-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    background-clip: text;
}

.pricing-column .monthly-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.pricing-column .feature-list li {
    margin-bottom: 0.8rem;
    display: block;
    /* Removed flex to allow text-center */
    line-height: 1.5;
}

/* Removed specific icon margin since icons are gone */
.pricing-column .feature-list i {
    display: none;
}

.pricing-column .btn {
    border-radius: 50px;
    /* Pillow button for premium feel */
    padding: 1rem 2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    width: 100%;
    margin-top: auto;
    /* Push button to bottom */
}

.pricing-column .btn:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}

.popular-badge {
    background: var(--gradient-primary);
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    width: auto;
    padding: 6px 14px;
    transform: none;
    text-align: center;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ------------------
   FOOTER & HEADER
   ------------------ */
.main-header {
    background: #ffffff !important;
    border-bottom: 2px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 15px 0 !important;
}

.main-header .social-link {
    color: #000000 !important;
}

.navbar-brand img {
    height: 70px !important; /* Slightly smaller for cleaner look */
}

.footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
    opacity: 0.1;
}

.footer-widget h6, .widget-title {
    color: var(--text-main) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-nav li a {
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
}

.footer-nav li a:hover {
    color: var(--bs-primary) !important;
    padding-left: 5px;
}

/* Feature List checkmarks (if any) */
.feature-list li {
    color: var(--text-main);
    font-size: 0.8rem;
    position: relative;
    padding: 0;
    line-height: 1.2;
    margin-bottom: 2px;
}

.pricing-column {
    display: flex;
    flex-direction: column;
    height: 100% !important;
    padding: 1rem 0.75rem !important;
    text-align: center;
}

.feature-list {
    flex-grow: 1;
    list-style: none;
    display: block;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0;
    text-align: center;
}

.pricing-column h3 { font-size: 1.1rem !important; margin-bottom: 0.1rem !important; }
.pricing-column p { font-size: 0.75rem !important; margin-bottom: 0.1rem !important; }
.pricing-column h4 { font-size: 1.5rem !important; margin-bottom: 0.25rem !important; }

/* ------------------
   UTILITIES & OVERRIDES
   ------------------ */
.text-hero-message {
    font-size: 1.25rem;
    line-height: 1.6;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow Effect for Pricing Cards */
.pricing-column-ultra {
    border: 1px solid rgba(99, 102, 241, 0.1) !important;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.05) !important;
}

/* Fix for mobile overflowing */
@media (max-width: 768px) {
    .display-font, .hero-content-wrap h4 {
        font-size: 2.5rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}

/* ------------------
   ADDITIONAL UI REFINEMENTS
   ------------------ */
.app_list_item {
    height: 100px;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.app_list_item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.22) !important;
    border-color: var(--bs-primary) !important;
}

.app_list_item img {
    max-height: 60px;
    width: auto;
    filter: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.hm7-custom-plan {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    border-radius: 30px;
    padding: 60px 0;
    margin: 40px 0;
    border: none;
}

.hm7-custom-plan .template-btn {
    background: #ffffff !important;
    color: #312e81 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hm7-custom-plan .template-btn:hover {
    background: #f8fafc !important;
    transform: translateY(-3px);
}

.rs-primary-btn {
    background: var(--gradient-primary);
    border-radius: 50px;
    padding: 1rem 3rem;
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.rs-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    color: white;
}

/* ------------------
   FINAL ANIMATION SUPPRESSION
   ------------------ */
.hero-style-1, 
.hero-style-1 *, 
.bg-primary-gradient,
.fifa-banner-section,
.fifa-bg-animate {
    animation: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important; /* Keep basic hover transitions but kill auto-animations */
}

/* Ensure no pseudo-elements are animating */
.hero-style-1::before,
.hero-style-1::after,
.bg-primary-gradient::before,
.bg-primary-gradient::after {
    animation: none !important;
    background-image: none !important;
}

/* Ensure no custom cursors or followers */
.cursor, .mouse-follower, .cursor-dot, .cursor-outline, [class*="cursor"], [id*="cursor"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body {
    cursor: auto !important;
}

a, button, [role="button"], .primary-btn, .template-btn {
    cursor: pointer !important;
}

.promo-item {
    margin-bottom: 2rem !important;
}

.promo-area {
    margin-bottom: 3.5rem !important;
}
