/* Modern E-Commerce Packages Page Styles */
.ecommerce-packages-page {
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.ecommerce-packages-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 8s ease-in-out infinite alternate;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-10px) scale(1.05); opacity: 1; }
}

.packages-header {
    background: transparent;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.packages-header .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0;
    animation: titleFadeIn 1s ease-out;
    letter-spacing: -1px;
}

@keyframes titleFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.packages-intro {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 20px;
    animation: subtitleFadeIn 1s ease-out 0.3s both;
}

.intro-description {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    animation: descriptionFadeIn 1s ease-out 0.6s both;
}

@keyframes subtitleFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes descriptionFadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.packages-content {
    padding: 40px 0 100px;
    position: relative;
    z-index: 2;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.package-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px 35px;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: cardFadeInUp 0.8s ease-out both;
    animation-delay: var(--animation-delay, 0.2s);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes cardFadeInUp {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.package-card:nth-child(1) { --animation-delay: 0.2s; }
.package-card:nth-child(2) { --animation-delay: 0.4s; }
.package-card:nth-child(3) { --animation-delay: 0.6s; }

.package-card:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 1);
}

.package-card.featured {
    background: #ffffff !important;
    border: 2px solid #f59e0b;
    transform: scale(1.05);
    z-index: 3;
    color: #374151 !important;
}

.package-card.featured * {
    color: inherit !important;
}

.package-card.featured .package-features li {
    color: #374151 !important;
}

.package-card.featured .package-name {
    background: none !important;
    -webkit-text-fill-color: #374151 !important;
    color: #374151 !important;
}

.package-card.featured .price-main {
    background: none !important;
    -webkit-text-fill-color: #374151 !important;
    color: #374151 !important;
}

.package-card.featured .price-custom {
    background: none !important;
    -webkit-text-fill-color: #374151 !important;
    color: #374151 !important;
}

.package-card.featured .package-note {
    background: #d1fae5 !important;
    color: #059669 !important;
}

.package-card.featured::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f97316);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
    box-shadow: 0 35px 90px rgba(245, 158, 11, 0.3);
    background: #ffffff !important;
}

.package-name {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* Modern Pricing Styles */
.package-pricing {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.package-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.price-main {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.price-old {
    text-decoration: line-through;
    color: #ef4444;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.price-monthly {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.price-custom {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.5;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.package-note {
    font-size: 0.9rem;
    color: #059669;
    background: #d1fae5;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    border-left: 4px solid #10b981;
}

/* KDV Note Styles */
.kdv-note {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 20px;
    text-align: center;
}

.kdv-note p {
    margin: 0;
    font-size: 0.85rem;
    color: #1e40af;
    font-weight: 500;
}

/* Expand Toggle Button */
.expand-toggle {
    text-align: center;
    margin: 20px 0;
}

.btn-tumunu-gor {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-tumunu-gor:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
}

.btn-tumunu-gor .toggle-text {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Additional Features */
.additional-features {
    margin-top: 15px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.package-card.expanded .additional-features {
    opacity: 1;
    max-height: 500px;
}

.additional-features .package-features {
    margin-bottom: 0;
}

.additional-features .package-features li {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    animation: slideInFromLeft 0.5s ease forwards;
}


@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.package-features li {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid #10b981;
    text-indent: 4px;
}

.package-features li:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}


.more-features-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.more-features-link:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-teklif-al {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-teklif-al::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-teklif-al:hover::before {
    left: 100%;
}

.btn-teklif-al:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.4);
    color: white;
    text-decoration: none;
}

.btn-teklif-al:after {
    content: '→';
    margin-left: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-teklif-al:hover:after {
    transform: translateX(3px);
}

/* Responsive tasarım */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .intro-title {
        font-size: 1.5rem;
    }
    
    .intro-description {
        font-size: 0.875rem;
        padding: 0 20px;
    }
    
    .package-card {
        padding: 25px;
    }
    
    .package-name {
        font-size: 1.25rem;
    }
    
    .price-main {
        font-size: 1.875rem;
    }
    
    .kdv-note {
        padding: 8px 12px;
    }
    
    .kdv-note p {
        font-size: 0.75rem;
    }
    
    .btn-tumunu-gor {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .additional-features .package-features li {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}
