/* Modern Plans CSS */

/* Hero Section */
.modern-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

/* Modern Plans Section */
.modern-plans-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.modern-plan-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.modern-plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modern-plan-card.popular {
    border: 3px solid #007bff;
}

.modern-plan-card.featured {
    border: 3px solid #28a745;
}

.plan-header {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    text-align: center;
}

.plan-image {
    position: relative;
    margin-bottom: 20px;
}

.plan-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-badge {
    background: #28a745;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.plan-speed {
    font-size: 2.5rem;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 10px;
}

.plan-description {
    color: #666;
    font-size: 1rem;
}

.plan-features {
    padding: 30px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.feature-row:hover {
    background: #e9ecef;
}

.feature-row .feature-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.plan-footer {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.plan-price {
    text-align: center;
    margin-bottom: 20px;
}

.price-currency {
    font-size: 1.2rem;
    color: #666;
    vertical-align: top;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
}

.price-period {
    font-size: 1rem;
    color: #666;
}

.plan-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.btn-modern {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-modern.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-modern.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
}

.btn-modern.btn-outline {
    background: transparent;
    color: #007bff;
    border-color: #007bff;
}

.btn-modern.btn-outline:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    transform: translateY(-5px);
}

.benefit-item:hover h3,
.benefit-item:hover p {
    color: white;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-speed {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-buttons {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .modern-hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .modern-plans-section {
        padding: 60px 0;
    }
    
    .benefits-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

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

.modern-plan-card {
    animation: fadeInUp 0.6s ease forwards;
}

.modern-plan-card:nth-child(1) { animation-delay: 0.1s; }
.modern-plan-card:nth-child(2) { animation-delay: 0.2s; }
.modern-plan-card:nth-child(3) { animation-delay: 0.3s; }
.modern-plan-card:nth-child(4) { animation-delay: 0.4s; }

.benefit-item {
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
