/* --- SERVİS DETAY SAYFASI STİLLERİ --- */


/* Sayfa Arka Planı */

body {
    background-color: #f8fafc;
    /* Light tema */
}


/* --- SOL KOLON: ÜRÜN KARTI --- */

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    /* Scroll yapınca sabit kalsın */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-image-area {
    background: var(--gradient-main);
    /* Sizin mor/pembe gradient */
    padding: 30px;
    text-align: center;
    position: relative;
}

.product-img {
    width: 100%;
    max-width: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
    transition: 0.3s;
}

.product-card:hover .product-img {
    transform: rotate(0deg) scale(1.05);
}

.platform-badge-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-info {
    padding: 20px;
}

.rating-box {
    background: rgba(22, 104, 102, 0.08);
    /* Hafif Teal Zemin */
    border: 1px solid rgba(22, 104, 102, 0.2);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    box-shadow: none;
}


/* Yıldızların Rengi (Kırmızı veya Yeşil yapabilirsin, ben Kırmızıyı seçtim dikkat çeksin diye) */

.rating-stars {
    color: #9C1A15;
    /* Accent Kırmızı */
    font-size: 1rem;
    display: flex;
    gap: 2px;
}


/* Yazı Rengi */

.rating-text {
    color: #166866;
    /* Ana Teal rengi */
    font-weight: 700;
    font-size: 0.75rem;
    font-family: sans-serif;
}

.ai-summary-btn {
    background: #10a37f;
    /* ChatGPT yeşili */
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.ai-summary-btn:hover {
    background: #0e906f;
    color: white;
}


/* --- ORTA KOLON: PAKET SEÇİMİ --- */

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    /* Responsive Grid */
    gap: 15px;
    margin-top: 20px;
}


/* Paket Kartı */

.pkg-radio-label {
    cursor: pointer;
    position: relative;
}

.pkg-radio-input {
    display: none;
    /* Radio butonunu gizle */
}

.pkg-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pkg-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.pkg-type {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.pkg-price-tag {
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    align-self: flex-end;
    margin-top: 10px;
    transition: 0.2s;
}


/* Seçili Paket Stili */

.pkg-radio-input:checked+.pkg-card {
    border-color: var(--primary-color);
    background: #f5f3ff;
    /* Çok açık mor */
    box-shadow: 0 0 0 2px var(--primary-color);
}

.pkg-radio-input:checked+.pkg-card .pkg-price-tag {
    background: var(--primary-color);
    color: white;
}


/* İndirim Rozeti (Check icon) */

.check-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    z-index: 2;
}

.pkg-radio-input:checked+.pkg-card .check-badge {
    display: flex;
}


/* --- SAĞ KOLON: BİLGİ KARTI --- */

.info-sidebar {
    position: sticky;
    top: 100px;
}

.live-stats-header {
    background: var(--gradient-main);
    color: white;
    padding: 15px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-card-body {
    background: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 15px 15px;
    padding: 20px;
}

.user-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.user-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.user-avatars img:first-child {
    margin-left: 0;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px;
}

.feature-box-small {
    background: #f8fafc;
    padding: 10px;
    border-radius: 10px;
    flex: 1;
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-box-small i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: block;
}

.guarantee-list {
    gap: 15px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
    width: 100%;
}

.guarantee-list li {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    /* İÇERİK HİZALAMA GÜNCELLEMESİ */
    display: flex;
    align-items: center;
    /* Dikeyde ortala */
    justify-content: flex-start;
    /* İçeriği SOLA yasla (önceki center idi) */
    padding: 0;
    /* Padding'i sıfırladık, içerdeki elemanlara vereceğiz */
    overflow: hidden;
    /* Taşmaları kes */
    transition: all 0.3s ease;
    /* Yazı Stili */
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}


/* İKON VE MOR ÇİZGİ AYARLARI */

.guarantee-list li i {
    color: var(--primary-color);
    /* Mor Çizgi ve Konumlandırma */
    border-right: 2px solid #a855f7;
    /* İstenilen MOR ÇİZGİ */
    padding: 12px 15px;
    /* İkonun etrafındaki genişlik (Yüksekliği belirler) */
    margin-right: 15px;
    /* Çizgi ile yazı arasındaki boşluk */
    /* İkonu kendi kutusunda ortala */
    width: 50px;
    text-align: center;
    background: rgba(168, 85, 247, 0.05);
    /* Çizgi tarafına çok hafif mor fon (Opsiyonel estetik) */
}


/* YAZI AYARI */


/* HTML'de yazı bir etikette olmadığı için li'nin kendisini kontrol ediyoruz */

.guarantee-list li {
    /* Yazıyı sağa doğru itmek veya ortalamak için */
    text-align: left;
}


/* Hover Efekti */

.guarantee-list li:hover {
    border-color: #a855f7;
    /* Hoverda çerçeve de mor olsun */
    background-color: #fff;
    transform: translateY(-2px);
}


/* --- STICKY BOTTOM BAR (SATIN ALMA ÇUBUĞU) --- */

.sticky-purchase-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e293b;
    /* Koyu renk bar */
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    /* Başlangıçta gizli */
    transition: transform 0.3s ease;
}

.sticky-purchase-bar.active {
    transform: translateY(0);
}

.bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-pkg-info h5 {
    color: white;
    margin: 0;
    font-weight: 700;
}

.selected-pkg-info span {
    color: #94a3b8;
    font-size: 0.9rem;
}

.bar-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-right: 20px;
}

.payment-methods {
    background: #f8fafc;
    /* İstediğin gri arka plan */
    border: 1px solid #e2e8f0;
    /* Çok hafif çerçeve */
    border-radius: 10px;
    /* Oval köşeler */
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ortalar (Sola yaslamak istersen: flex-start) */
    gap: 25px;
    /* Logolar arası boşluk */
    margin-bottom: 20px;
}

.pay-logo {
    height: 30px;
    /* Yüksekliği sabitlemek hizayı düzeltir */
    width: auto;
    /* Genişlik orantılı kalsın */
    object-fit: contain;
    opacity: 0.8;
    /* Biraz soft durması için */
    transition: all 0.3s ease;
}

.payment-methods img {
    width: 64px;
}

.checkout-bar {
    background: #f8fafc;
    /* Resimdeki açık gri zemin */
    border: 1px solid #e2e8f0;
    /* Çok hafif çerçeve */
    padding: 15px 20px;
    /* İç boşluklar */
    border-radius: 12px;
    /* Köşeleri yuvarla */
    /* YAN YANA DİZME (FLEX) */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Biri sağa biri sola yaslansın */
    margin-top: 30px;
    /* Üstten boşluk */
    gap: 15px;
    /* Mobilde sıkışırsa araları açık kalsın */
}


/* Sol taraftaki grubu (ikon + yazı) hizalama */

.checkout-info {
    display: flex;
    align-items: center;
    gap: 15px;
    /* İkon ile yazı arası boşluk */
    text-align: left;
    /* Yazıları sola yasla */
}


/* İkon Kutusu (Resimdeki pembe kare alan) */

.checkout-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    /* Sizin tema renginiz */
    /* Veya gradient isterseniz: background: var(--gradient-main); */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    /* Küçülmesini engelle */
}


/* Üstteki Başlık Yazısı (Miktar + İsim) */

.checkout-title {
    color: #64748b;
    /* Gri/Soluk renk (Resimdeki gibi) */
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2px;
}


/* Fiyat Yazısı */

.checkout-price {
    color: var(--text-main);
    /* Ana koyu yazı renginiz */
    font-size: 1.25rem;
    font-weight: 800;
    /* Kalın fiyat */
    line-height: 1.2;
}


/* Buton Düzeni */

.checkout-action .btn {
    padding: 10px 25px;
    /* Butonu biraz genişlet */
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    /* Mobilde buton yazısı kırılmasın */
}


/* MOBİL UYUMLULUK */

@media (max-width: 576px) {
    .checkout-bar {
        flex-direction: column;
        /* Mobilde alt alta düşsün */
        align-items: stretch;
        /* Genişliği doldursun */
        text-align: center;
    }
    .checkout-info {
        flex-direction: column;
        /* Mobilde ikon üste gelsin */
        text-align: center;
        margin-bottom: 15px;
    }
    .checkout-action button {
        width: 100%;
        /* Mobilde buton tam genişlik olsun */
    }
}


/* Ana Kart Kapsayıcısı */

.how-to-buy-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Hafif gölge */
    display: flex;
    overflow: hidden;
    /* Köşelerden taşmayı engeller */
    margin-top: 30px;
    border: 1px solid #f1f5f9;
}


/* --- SOL TARTAF (Görsel Alanı) --- */

.htb-image-area {
    width: 35%;
    /* Genişliğin %35'ini kaplar */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    /* Instagram Gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}


/* Sol taraftaki ikon (Resim yoksa görünsün diye) */

.htb-icon-box {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}


/* --- SAĞ TARAF (İçerik) --- */

.htb-content {
    width: 65%;
    padding: 40px;
}

.htb-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.htb-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}


/* --- GRID YAPISI (4 Kutu) --- */

.htb-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Sütun */
    gap: 20px;
    /* Kutular arası boşluk */
}


/* Tekil Adım Kartı */

.step-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    /* Üstten hizala */
    gap: 15px;
    transition: transform 0.3s ease;
}

.step-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}


/* Numara Stili (1, 2, 3, 4) */

.step-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #cbd5e1;
    /* Soluk gri numara rengi */
    line-height: 1;
    font-family: sans-serif;
}

.step-item:hover .step-number {
    color: var(--primary-color);
    /* Hover olunca numara renklenir */
}


/* Metin Stili */

.step-text {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.5;
}


/* --- MOBİL UYUMLULUK --- */

@media (max-width: 991px) {
    .how-to-buy-card {
        flex-direction: column;
        /* Mobilde alt alta düşsün */
    }
    .htb-image-area,
    .htb-content {
        width: 100%;
        /* Tam genişlik */
    }
    .htb-image-area {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .htb-steps-grid {
        grid-template-columns: 1fr;
        /* Telefondan girince kutular alt alta olsun */
    }
}


/* --- ÖZEL SCROLLBAR'LI METİN ALANI --- */

.custom-text-area-section {
    background-color: var(--light-bg);
    /* Sayfa arka planıyla uyumlu */
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.custom-scroll-box {
    height: 500px;
    /* İstenilen yükseklik */
    overflow-y: auto;
    /* Dikey scroll */
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.8;
}


/* Scrollbar Tasarımı (Webkit Tarayıcılar için) */

.custom-scroll-box::-webkit-scrollbar {
    width: 8px;
}

.custom-scroll-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.custom-scroll-box::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    /* Ana renk */
    border-radius: 10px;
}

.custom-scroll-box::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}