/* Digital Growth Packages Page Styles */
.digital-growth-page {
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.digital-growth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.digital-growth-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.3;
}

/* Başlık için özel stil - en üstte tanımlama */
.digital-growth-page h1.page-title,
.packages-header h1.page-title,
h1.page-title {
    color: #1e3a8a !important;
}

.packages-header {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    z-index: 2;
    animation: fadeInDown 1s ease-out;
}

/* Pricing Toggle Styles */
.pricing-toggle {
    margin-top: 40px;
    margin-bottom: 20px;
}

.pricing-toggle-container {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-btn:hover:not(.active) {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.pricing-icon {
    font-size: 1.1rem;
}

.discount-badge {
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 4px;
    font-weight: 700;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

/* Daha spesifik selector */
.digital-growth-page .packages-header .page-title {
    color: #1e3a8a !important;
}

.page-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.packages-content {
    padding: 60px 20px 120px;
    position: relative;
    z-index: 2;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradientSlide 3s ease-in-out infinite;
}

@keyframes gradientSlide {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.package-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.98);
}

.package-header {
    margin-bottom: 35px;
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.package-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.package-card:hover .package-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.package-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.5px;
}

.package-pricing {
    margin-bottom: 40px;
    padding: 25px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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.2), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.price-suffix {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
}

.package-features li {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    position: relative;
    padding-left: 50px;
    transition: all 0.3s ease;
    border-left: 3px solid #667eea;
    backdrop-filter: blur(10px);
}

.package-features li:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.package-features li:before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-weight: 900;
    font-size: 1.2rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    border: 2px solid #667eea;
}

.more-features-link {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.more-features-link:hover {
    color: #1d4ed8;
}

.btn-teklif-al {
    width: 100%;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.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:after {
    content: '→';
    margin-left: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-teklif-al:hover:after {
    transform: translateX(3px);
}

.btn-teklif-al.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.btn-teklif-al.blue:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.btn-teklif-al.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-teklif-al.orange:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
    color: white;
    text-decoration: none;
}

.btn-teklif-al.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-teklif-al.red:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.4);
    color: white;
    text-decoration: none;
}

/* Featured Card Overrides for ecommerce-packages class */
.ecommerce-packages .package-card.featured {
    background: #ffffff !important;
}

.ecommerce-packages .package-card.featured .package-name {
    color: #1f2937 !important;
    background: none !important;
    -webkit-text-fill-color: #1f2937 !important;
}

.ecommerce-packages .package-card.featured .price-main {
    color: #1f2937 !important;
}

.ecommerce-packages .package-card.featured .price-old {
    color: #ef4444 !important;
}

.ecommerce-packages .package-card.featured .price-monthly {
    color: #6b7280 !important;
}

.ecommerce-packages .package-card.featured .package-features li {
    color: #4b5563 !important;
}

.ecommerce-packages .package-card.featured .package-note {
    background: #d1fae5 !important;
    color: #059669 !important;
}

/* Remove any CSS checkmarks */
.ecommerce-packages .package-features li::before {
    display: none !important;
}

/* Featured card toggle button text visibility */
.ecommerce-packages .package-card.featured .btn-tumunu-gor {
    color: #1f2937 !important;
}

.ecommerce-packages .package-card.featured .btn-tumunu-gor .toggle-text {
    color: #1f2937 !important;
}

.ecommerce-packages .package-card.featured .expand-toggle {
    color: #1f2937 !important;
}

/* Responsive tasarım */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 0.875rem;
    }
    
    .package-icon {
        font-size: 2rem;
    }
    
    .package-title {
        font-size: 1.125rem;
    }
    
    .price {
        font-size: 1.75rem;
    }
    
    /* Mobile pricing toggle */
    .package-pricing-toggle .pricing-toggle-container {
        max-width: 250px;
        padding: 3px;
    }
    
    .package-pricing-toggle .pricing-btn {
        padding: 6px 8px;
        font-size: 0.7rem;
        gap: 3px;
    }
    
    .package-pricing-toggle .pricing-icon {
        font-size: 0.9rem;
    }
    
    .package-pricing-toggle .discount-badge {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
}

/* En güçlü kural - dosyanın sonunda */
body .digital-growth-page .packages-header h1.page-title {
    color: #1e3a8a !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1e3a8a !important;
    background-clip: unset !important;
}

/* WordPress emoji için de renk ayarı */
.page-title,
.page-title * {
    color: #1e3a8a !important;
}

/* Gradient override için ekstra spesifik kural */
.digital-growth-page h1.page-title {
    background: none !important;
    -webkit-text-fill-color: #1e3a8a !important;
    color: #1e3a8a !important;
}

/* Pricing Options */
.pricing-option {
    display: none;
    text-align: center;
}

.pricing-option.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.pricing-option .price-main {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing-option .price-old {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.pricing-option .price-new {
    font-size: 1.1rem;
    color: #86efac;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-option .price-suffix {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 8px;
}

.pricing-option .price-note {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
}

.pricing-option .price-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.4;
}

/* Package Individual Pricing Toggle */
.package-pricing-toggle {
    margin-bottom: 20px;
    text-align: center;
}

.package-pricing-toggle .pricing-toggle-container {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.package-pricing-toggle .pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.package-pricing-toggle .pricing-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.package-pricing-toggle .pricing-btn:hover:not(.active) {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.package-pricing-toggle .pricing-icon {
    font-size: 1rem;
}

.package-pricing-toggle .discount-badge {
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 3px;
    font-weight: 700;
}

/* Expand Toggle Button Styles */
.expand-toggle {
    text-align: center;
    margin: 20px 0;
}

.btn-tumunu-gor {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    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(59, 130, 246, 0.3);
}

.btn-tumunu-gor:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 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(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    animation: slideInFromLeft 0.5s ease forwards;
}

.additional-features .package-features li::before {
    background: #dbeafe;
    border: 2px solid #3b82f6;
    color: #1d4ed8;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile responsive for expand toggle */
@media (max-width: 768px) {
    .btn-tumunu-gor {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .additional-features .package-features li {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}
