/* ===================================
   pricing/pricing.css
   =================================== */

:root {
    --pr-black: #111111;
    --pr-white: #ffffff;
    --pr-bg: #f0ede8;
    --pr-gold: #F0C571;
    --pr-gold-2: #E8B835;
    --pr-gold-dark: #D4A020;
    --pr-border: rgba(0, 0, 0, 0.1);
    --pr-text-muted: rgba(0, 0, 0, 0.45);
    --pr-text-secondary: rgba(0, 0, 0, 0.65);
}

/* -------- Section -------- */
.pricing {
    padding: 80px 0;
    background-color: var(--pr-bg);
    position: relative;
}

/* Sol gold şerit tutarlılığı */
.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--pr-gold);
}

/* -------- Başlık bloğu -------- */
.pricing-header-block {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--pr-black);
    gap: 20px;
}

.pricing-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pr-text-muted);
}

.pricing-eyebrow-line {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--pr-gold-dark);
    flex-shrink: 0;
}

.pricing-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--pr-black);
    line-height: 1;
    margin: 0;
}

.pricing-subtitle {
    font-size: 0.85rem;
    color: var(--pr-text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 320px;
    text-align: right;
    margin: 0;
}

/* -------- Grid -------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 2px solid var(--pr-black);
    box-shadow: 6px 6px 0 0 var(--pr-gold);
}

/* -------- Card -------- */
.pricing-card {
    background: var(--pr-white);
    padding: 0;
    border-right: 1px solid var(--pr-black);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease;
    overflow: hidden;
}

.pricing-card:last-child {
    border-right: none;
}

/* Featured card — gold arka plan */
.pricing-card.featured {
    background: var(--pr-gold);
}

/* -------- Üst renk şeridi -------- */
.pricing-card-stripe {
    width: 100%;
    height: 4px;
    background: var(--pr-black);
    flex-shrink: 0;
}

.pricing-card.featured .pricing-card-stripe {
    background: linear-gradient(90deg, var(--pr-black) 0%, #333 100%);
}

/* -------- Badge -------- */
.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--pr-black);
    color: var(--pr-gold);
    font-size: 0.55rem;
    font-weight: 800;
    padding: 5px 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    z-index: 1;
}

/* -------- Card header -------- */
.pricing-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.pricing-card.featured .pricing-header {
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

.pricing-plan {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--pr-text-muted);
    margin: 0 0 16px 0;
    line-height: 1;
}

.pricing-card.featured .pricing-plan {
    color: rgba(0, 0, 0, 0.5);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}

.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pr-black);
    line-height: 1;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--pr-black);
    line-height: 1;
    letter-spacing: -2px;
}

.pricing-amount-custom {
    font-size: 3rem;
    font-weight: 900;
    color: var(--pr-black);
    line-height: 1;
    letter-spacing: -1px;
}

.pricing-period {
    font-size: 0.7rem;
    color: var(--pr-text-muted);
    letter-spacing: 0.5px;
    margin: 0 0 14px 0;
}

.pricing-card.featured .pricing-period {
    color: rgba(0, 0, 0, 0.45);
}

.pricing-detail {
    font-size: 0.78rem;
    color: var(--pr-text-secondary);
    line-height: 1.55;
    margin: 0;
    min-height: 40px;
}

.pricing-card.featured .pricing-detail {
    color: rgba(0, 0, 0, 0.65);
}

/* -------- Feature listesi -------- */
.pricing-features {
    list-style: none;
    padding: 24px 32px;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pr-text-secondary);
    border-bottom: 1px solid var(--pr-border);
    text-align: left;
    transition: color 0.2s ease;
}

.pricing-card.featured .pricing-features li {
    color: rgba(0, 0, 0, 0.7);
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Check ikonu kutusu */
.pricing-features li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: var(--pr-gold-dark);
    stroke-width: 2.5;
    background: rgba(0, 0, 0, 0.06);
    padding: 3px;
    width: 22px;
    height: 22px;
    box-sizing: border-box;
}

.pricing-card.featured .pricing-features li svg {
    stroke: var(--pr-black);
    background: rgba(0, 0, 0, 0.1);
}

/* -------- CTA butonu — soldan sağa kayma -------- */
.btn-pricing {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 32px;
    font-family: inherit;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--pr-white);
    background: var(--pr-black);
    border: none;
    border-top: 1px solid var(--pr-black);
    cursor: pointer;
    overflow: hidden;
    transition: color 0.4s ease;
    flex-shrink: 0;
    margin-top: auto;
}

/* Soldan sağa gold kayma */
.btn-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        var(--pr-gold) 0%,
        var(--pr-gold-2) 50%,
        var(--pr-gold-dark) 100%);
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn-pricing:hover::before {
    transform: translateX(0%);
}

.btn-pricing:hover {
    color: var(--pr-black);
}

.btn-pricing span {
    position: relative;
    z-index: 1;
}

.btn-pricing .btn-arrow {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.btn-pricing:hover .btn-arrow {
    transform: translateX(5px);
}

/* Featured card butonu — tersine: gold zemin → siyah kayma */
.pricing-card.featured .btn-pricing {
    background: var(--pr-black);
    color: var(--pr-gold);
    border-top-color: var(--pr-black);
}

.pricing-card.featured .btn-pricing::before {
    background: linear-gradient(90deg, #1a1a1a 0%, #333 50%, #111 100%);
}

.pricing-card.featured .btn-pricing:hover {
    color: var(--pr-white);
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pricing-subtitle {
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        box-shadow: 4px 4px 0 0 var(--pr-gold);
    }

    .pricing-card {
        border-right: none;
        border-bottom: 1px solid var(--pr-black);
    }

    .pricing-card:last-child {
        border-bottom: none;
    }

    .pricing-header {
        padding: 28px 24px 20px;
    }

    .pricing-features {
        padding: 20px 24px;
    }

    .btn-pricing {
        padding: 18px 24px;
    }

    .pricing-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .pricing-header-block {
        margin-bottom: 36px;
    }

    .pricing-title {
        font-size: 1.6rem;
    }

    .pricing-amount {
        font-size: 2.4rem;
    }
}