/* Modern Design CSS for Index Page */
:root {
    --primary-color: #72c02c;
    --secondary-color: #5fa513;
    --success-color: #72c02c;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-bg: #f9fafb;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --hover-transform: translateY(-5px);
}

/* Hero Section */
.hero-section-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    margin-left: -15px;
    margin-right: -15px;
}

.hero-section-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(45deg);
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: rotate(45deg) translate(0, 0); }
    100% { transform: rotate(45deg) translate(20px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    color: white;
    font-weight: normal;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(90deg, #8ed741, #72c02c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Section Styles */
.section-modern {
    padding: 80px 0;
    background: white;
}

.section-alt {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: normal;
    color: var(--dark-color);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #72c02c, #5fa513);
    border-radius: 15px;
    color: white;
    font-size: 24px;
}

.subtitle {
    display: block;
    font-size: 16px;
    font-weight: normal;
    color: #6b7280;
    margin-top: 10px;
}

/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* EA Card */
.ea-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.ea-card:hover {
    transform: var(--hover-transform);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.badge-popular, .badge-new {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
}

.badge-popular {
    background: linear-gradient(135deg, #ff9500, #ff6200);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, var(--success-color), #5fa513);
    color: white;
}

.card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ea-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ea-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
}

.card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #72c02c;
}

.price-tag {
    background: linear-gradient(135deg, #72c02c, #5fa513);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-label {
    font-size: 12px;
    opacity: 0.9;
}

.price-value {
    font-size: 18px;
    font-weight: normal;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: var(--light-bg);
    border-radius: 10px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: normal;
    color: var(--dark-color);
}

.stat-profit {
    color: #72c02c;
}

/* Buttons */
.btn-modern {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #72c02c;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    background: transparent;
    color: white;
    transform: scale(1.05);
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #72c02c, #5fa513);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(114, 192, 44, 0.3);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Broker Cards */
.broker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.broker-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.broker-card:hover {
    transform: var(--hover-transform);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.broker-image-container {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.broker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.broker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.broker-card:hover .broker-overlay {
    opacity: 1;
}

.broker-content {
    padding: 20px;
}

.broker-title {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
}

.broker-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.broker-stats {
    display: flex;
    gap: 15px;
}

.broker-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-size: 14px;
}

.broker-stat i {
    color: #72c02c;
}

/* Full-width Section */
.section-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.section-fullwidth .container-fluid {
    max-width: 100%;
    padding: 0 20px;
}

/* Partners Section */
.section-partners {
    background: var(--light-bg);
    padding: 60px 0;
    overflow: hidden;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item {
    flex: 0 0 200px;
    margin: 0 30px;
}

.partner-link {
    display: block;
    background: white;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.partner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.partner-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-link:hover .partner-logo {
    filter: grayscale(0%);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 100%;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #72c02c, #5fa513);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.feature-title {
    font-size: 24px;
    font-weight: normal;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature-desc {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #72c02c, #5fa513);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 42px;
    color: white;
    font-weight: normal;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-primary {
    background: white;
    color: #72c02c;
}

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    color: #5fa513;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #72c02c;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .broker-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .broker-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .section-modern {
        padding: 40px 0;
    }
    
    .hero-section-modern {
        padding: 60px 0;
        margin-bottom: 40px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .partners-container,
    .features-section .container,
    .cta-content {
        padding: 0 15px;
    }
}