/* Custom CSS for Liberty4 */

/* Variables CSS */
:root {
    --primary-color: #4c5ee9;
    --secondary-color: #1db86d;
    --primary-dark: #3e4ad0;
    --secondary-dark: #109358;
    --primary-light: #e3eeff;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #4c5ee9 0%, #1db86d 100%);
    --shadow-hover: 0 8px 25px rgba(76, 94, 233, 0.15);
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.header-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: #666 !important;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.75rem 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Button Styles */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

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

.btn-presale {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-presale:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    overflow: hidden;
}


.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: var(--primary-light);
    opacity: 0.5;
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(25%, -25%);
    pointer-events: none; /* Ajoutez cette ligne */
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: #e8f5e8;
    opacity: 0.5;
    border-radius: 50%;
    filter: blur(100px);
    transform: translate(-25%, 25%);
    pointer-events: none; /* Ajoutez cette ligne */
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Countdown Timer */
.countdown-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.countdown-item {
    background: var(--primary-light);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 0.875rem;
    color: #666;
}

/* Hero Card */
.hero-card {
    position: relative;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
}

/* Card Styles */
.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.border-top-primary {
    border-top: 4px solid var(--primary-color) !important;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-light);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-badge {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

/* Currency Section */
.lib-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.lib-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.lib-rate {
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.earning-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.earning-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.earning-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.earning-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.earning-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.lib-usage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto;
}

/* Store Section */
.store-img {
    height: 250px;
    object-fit: cover;
}

.store-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 auto;
}

/* Join Section */
.join-feature {
    display: flex;
    align-items: flex-start;
}

.join-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.join-feature-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.join-feature-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #f8f9fa !important;
}

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

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

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* Toast Styles */
.toast {
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.toast-success {
    border-left: 4px solid var(--secondary-color);
}

.toast-error {
    border-left: 4px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-badge {
        position: relative;
        margin-bottom: 1rem;
    }
    
    .earning-methods {
        gap: 0.5rem;
    }
    
    .earning-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .countdown-item {
        padding: 0.75rem;
    }
    
    .countdown-number {
        font-size: 1.25rem;
    }
}
/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    border-radius: 15px 15px 0 0;
}

.price-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}

.btn-presale {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-presale:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.btn-presale:disabled {
    transform: none;
    opacity: 0.7;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}
.google-translate-container {
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    margin-bottom: 10px;
}

.google-translate-container .translate-label {
    font-size: 14px;
    margin-right: 10px;
    color: #333;
    font-weight: 500;
}

/* Personnalisation du widget Google Translate */
.goog-te-gadget {
    font-family: 'Poppins', sans-serif !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
    padding: 5px !important;
    border-radius: 3px !important;
    border: 1px solid #ddd !important;
}