/* Mepe Khai Landing Page Styles */

/* ============================================
   HERO SECTION
   ============================================ */
.mepe-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 180px 20px 120px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
}

@media (max-width: 768px) {
    .mepe-hero {
        min-height: auto;
    }
}

.mepe-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.mepe-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #10B981 0%, #22C55E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #E2E8F0;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-image {
    text-align: center;
    position: relative;
    perspective: 1200px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(16, 185, 129, 0.5)) 
            drop-shadow(0 0 60px rgba(16, 185, 129, 0.3));
    animation: float 6s ease-in-out infinite;
    border-radius: 32px;
    transform: rotateY(-8deg) rotateX(3deg) scale(1.1);
    transition: all 0.4s ease;
}

.hero-image img:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.15);
    filter: drop-shadow(0 50px 100px rgba(16, 185, 129, 0.6))
            drop-shadow(0 0 80px rgba(16, 185, 129, 0.4));
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotateY(-8deg) rotateX(3deg) scale(1.1); 
    }
    50% { 
        transform: translateY(-25px) rotateY(-8deg) rotateX(3deg) scale(1.1); 
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.feature-card p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #10B981, #22C55E);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.step p {
    color: #475569;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: #10B981;
    font-weight: 700;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    padding: 80px 0;
    background: white;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 60px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   SCREENSHOTS SECTION
   ============================================ */
.screenshots-section {
    padding: 80px 0;
    background: #F8FAFC;
}

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

.screenshot-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
}

.pricing-section .section-title {
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
}

.pricing-card.featured {
    border: 3px solid #10B981;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    text-align: center;
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #E5E7EB;
}

.price-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.discount-badge {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.original-price {
    font-size: 1.3rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 600;
}

.current-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.plan-price .currency {
    font-size: 1.5rem;
    color: #10B981;
    font-weight: 700;
    vertical-align: super;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0F172A;
}

.plan-price .period {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.plan-features li {
    padding: 12px 0;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.plan-features i {
    color: #10B981;
    font-size: 1.1rem;
}

.plan-features .fa-star {
    color: #F59E0B;
}

.buy-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10B981, #22C55E);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.featured-button {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.featured-button:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: white;
}

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

.faq-item {
    background: #F8FAFC;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #10B981;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.faq-answer {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   PAYMENT MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #0F172A;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 30px;
    text-align: center;
}

.payment-instructions {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.instruction-box h3 {
    color: #065F46;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.bkash-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.bkash-details p {
    margin-bottom: 10px;
    color: #374151;
    font-weight: 600;
}

.copy-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-box span {
    flex: 1;
    background: #F3F4F6;
    padding: 12px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
    text-align: center;
}

.copy-btn {
    background: #10B981;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #059669;
}

.amount-display {
    text-align: center;
    margin-top: 15px;
}

.amount-text {
    font-size: 2rem;
    font-weight: 900;
    color: #059669;
}

.reference-info {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: #FEF3C7;
    border-radius: 8px;
}

.reference-info p {
    margin: 0;
    color: #92400E;
    font-weight: 600;
}

.payment-form-container {
    margin-top: 30px;
}

.payment-form-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10B981, #22C55E);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #D1FAE5;
    border-left: 4px solid #10B981;
    color: #065F46;
}

.alert-error {
    background: #FEE2E2;
    border-left: 4px solid #EF4444;
    color: #991B1B;
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .steps-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mepe-hero {
        padding: 160px 20px 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .mepe-hero {
        padding: 150px 20px 40px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 16px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    .hero-cta {
        padding: 16px 36px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 390px) {
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
}
