/* ================= SERVICES / PRICING PAGE ================= */

.pricing-page {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 3rem 1.5rem 6rem;
    color: var(--text);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-header h1 {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.pricing-desc {
    color: var(--muted);
    font-size: 1.15rem;
    margin-bottom: 20px;
    max-width: 700px;
}

.promo-banner {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }

/* --- SECTIONS --- */
.pricing-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.group-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.group-icon {
    font-size: 1.8rem;
    color: var(--accent);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.section-desc {
    color: var(--muted);
    margin-bottom: 35px;
}

/* --- GRID SYSTEM --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* --- PRICING CARDS --- */
.plan-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* POPULAR / GLOW KARTLAR */
.plan-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.02);
}

.plan-card.popular:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.glow-effect::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.plan-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.price-box {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
}

.price .currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.price-old {
    font-size: 1rem;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 8px;
}

.tariff-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.plan-btn {
    width: 100%;
    margin-top: auto; /* Butonu hep en alta iter */
}

/* --- BADGES --- */
.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

.badge.discount {
    background: #10b981; /* Premium Yeşil */
}

/* --- INFO NOTE (FUP & Validity) --- */
.info-note {
    background: rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px 20px;
    text-align: left;
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 14px; 
}

.info-note i {
    color: var(--accent);
    font-size: 1.2rem;
}

.note-line {
    display: flex;
    align-items: flex-start; /* Yazı 2-3 satır olsa bile ikon hep en üstte, yazının hizasında kalır */
    gap: 12px;
    line-height: 1.5;
}

.note-line i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px; /* İkonu ilk satırdaki metnin tam ortasına hizalar */
    flex-shrink: 0; /* MOBİL UYUM: Ekran daralsa bile ikonların ezilmesini ve küçülmesini engeller */
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RTL ===== */
html[dir="rtl"] .badge {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .info-note {
    text-align: right;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-section {
        padding: 25px 15px;
    }

    .plan-card.popular {
        transform: scale(1);
    }
    
    .plan-card.popular:hover {
        transform: translateY(-5px);
    }
}