/* Web Hosting Sayfası CSS */

.hosting-pricing-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color);
    position: relative;
    overflow: hidden;
}

.hosting-pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/server-pattern.svg');
    background-repeat: repeat;
    background-size: 300px;
    opacity: 0.03;
    z-index: 0;
}

.hosting-pricing-section .section-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
}

.hosting-pricing-section .section-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hosting-pricing-section .section-description {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.tab-button {
    padding: 10px 25px;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.tab-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.pricing-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid.active {
    display: grid;
}

.hosting-pricing-card {
    background-color: var(--light-bg-color);
    border-radius: 15px;
    padding: 20px 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.hosting-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.hosting-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hosting-pricing-card.featured {
    background: var(--gradient-primary);
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.3);
    z-index: 2;
    position: relative;
    overflow: hidden;
}

.hosting-pricing-card.featured::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
    animation: pulse 8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.hosting-pricing-card.featured::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.hosting-pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(45deg);
    z-index: 3;
}

.package-image {
    text-align: center;
    margin-bottom: 12px;
}

.package-image img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
}

.pricing-header {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.pricing-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.package-name {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.hosting-pricing-card.featured .package-name {
    color: #fff;
}

.package-subtitle {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0;
}

.hosting-pricing-card.featured .package-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
}

.old-price {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: line-through;
    display: block;
    margin-bottom: 3px;
}

.hosting-pricing-card.featured .old-price {
    color: rgba(255, 255, 255, 0.6);
}

.price {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hosting-pricing-card.featured .price {
    color: #fff;
}

.period {
    color: var(--text-muted);
    font-size: 0.75rem;
    display: inline-block;
}

.hosting-pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 0.8rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 5px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    margin-bottom: 2px;
    position: relative;
    padding: 5px 3px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
    min-width: 15px;
    text-align: center;
}

.hosting-pricing-card.featured .pricing-features i {
    color: #fff;
}

.pricing-features span {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.hosting-pricing-card.featured .pricing-features span {
    color: #fff;
}

.pricing-action {
    margin-top: auto;
    text-align: center;
}

.pricing-action .btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.pricing-action .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--primary-color-rgb), 0.4);
    background-color: var(--primary-color);
    color: #fff;
}

.pricing-action .btn::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: all 0.6s ease;
    z-index: -1;
}

.pricing-action .btn:hover::before {
    left: 100%;
}

.hosting-pricing-card.featured .pricing-action .btn {
    background-color: #fff;
    color: var(--primary-color);
}

.hosting-pricing-card.featured .pricing-action .btn:hover {
    color: var(--primary-color);
}

.no-products, .no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 1.125rem;
}

/* Hosting Features Section */
.hosting-features-section {
    padding: 80px 0;
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.hosting-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/tech-pattern.svg');
    background-repeat: repeat;
    background-size: 300px;
    opacity: 0.03;
    z-index: 0;
}

.hosting-features-section .section-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
}

.hosting-features-section .section-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hosting-features-section .section-description {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

.hosting-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.hosting-feature-card {
    background-color: var(--light-bg-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.hosting-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.hosting-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.hosting-feature-card h3 {
    color: var(--text-color);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.hosting-feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color);
}

.faq-section .section-header {
    margin-bottom: 50px;
}

.faq-section .section-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-section .section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: var(--light-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.03);
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    flex-grow: 1;
}

.faq-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.faq-icon i {
    color: var(--primary-color);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.faq-question.active {
    background-color: var(--primary-color);
}

.faq-question.active h3 {
    color: #fff;
}

.faq-question.active .faq-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.faq-question.active .faq-icon i {
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 25px;
    background-color: var(--light-bg-color);
}

.faq-answer.active {
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .hosting-pricing-section, .hosting-features-section {
        padding: 50px 0;
    }
    
    .hosting-pricing-section .section-title, 
    .hosting-features-section .section-title,
    .faq-section .section-title {
        font-size: 1.8rem;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-button {
        margin-bottom: 8px;
        min-width: 140px;
        text-align: center;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        padding: 0 15px;
    }
    
    .hosting-pricing-card.featured {
        transform: scale(1.02);
    }
    
    .hosting-pricing-card.featured:hover {
        transform: scale(1.02) translateY(-8px);
    }
    
    .package-name {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .hosting-pricing-section, .hosting-features-section {
        padding: 40px 0;
    }
    
    .hosting-pricing-section .section-title, 
    .hosting-features-section .section-title,
    .faq-section .section-title {
        font-size: 1.6rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        max-width: 95%;
    }
    
    .hosting-pricing-card {
        padding: 15px 12px;
    }
    
    .hosting-pricing-card.featured {
        transform: scale(1);
        order: -1; /* Öne çıkan kartı en üste taşı */
    }
    
    .hosting-pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .featured-badge {
        top: 8px;
        right: -35px;
        padding: 4px 30px;
        font-size: 0.7rem;
    }
    
    .pricing-features {
        font-size: 0.75rem;
    }
    
    .pricing-action .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Responsive text sizing */
@media (max-width: 576px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .package-name {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .tab-button {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 110px;
    }
    
    .hosting-pricing-card {
        border-radius: 10px;
        padding: 15px 10px;
    }
    
    .pricing-header::after {
        width: 35px;
        height: 2px;
    }
}