/* ============================================
   PRICING SECTION - Full Styles
   Commission Cards + 3D Carousel
   ============================================ */

.pricing {
    padding: 80px 0;
    background: #0a0a0a;
    overflow: hidden;
}

.pricing .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 12px;
    color: #fff;
}

.pricing .section-header p {
    color: #888;
    font-size: 1.1rem;
}

/* ============================================
   PRICING MODELS (Commission + Subscription)
   ============================================ */
.pricing-models {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.pricing-model-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.pricing-model-card:hover {
    border-color: #D4AF37;
    transform: translateY(-4px);
}

.pricing-model-card .model-header h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.pricing-model-card .model-price {
    margin-bottom: 16px;
}

.pricing-model-card .model-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
}

.pricing-model-card .model-price .period {
    font-size: 1rem;
    color: #888;
    margin-left: 4px;
}

.pricing-model-card .model-tagline {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-model-card .model-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-model-card .model-features li {
    padding: 8px 0;
    color: #ccc;
    font-size: 0.95rem;
    border-bottom: 1px solid #222;
    padding-left: 24px;
    position: relative;
}

.pricing-model-card .model-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
}

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

.pricing-model-card .model-note {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* ============================================
   SUBSCRIPTION TIERS SECTION
   ============================================ */
.subscription-tiers-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.subscription-tiers-section .tiers-title {
    text-align: center;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 8px;
}

.subscription-tiers-section .tiers-subtitle {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* ============================================
   3D CAROUSEL
   ============================================ */
.pricing-carousel-wrapper {
    position: relative;
    height: 420px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.pricing-carousel-wrapper:active {
    cursor: grabbing;
}

.pricing-carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-carousel.dragging {
    transition: none;
}

/* Individual Cards */
.carousel-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280px;
    margin-left: -140px;
    margin-top: -175px;
    padding: 28px 24px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    text-align: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.5s ease,
                box-shadow 0.5s ease;
}

.carousel-card.active {
    border-color: #D4AF37;
    box-shadow: 
        0 0 60px rgba(212, 175, 55, 0.15),
        0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.carousel-card.active .tier-name {
    color: #D4AF37;
}

/* Popular Badge */
.carousel-card .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #D4AF37;
    color: #000;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Tier Name */
.carousel-card .tier-name {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

/* Price */
.carousel-card .tier-price {
    margin-bottom: 24px;
    line-height: 1;
}

.carousel-card .currency {
    font-size: 1.5rem;
    color: #D4AF37;
    vertical-align: top;
    position: relative;
    top: 8px;
}

.carousel-card .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
}

.carousel-card .period {
    font-size: 1rem;
    color: #888;
}

/* Features List */
.carousel-card .tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-card .tier-features li {
    padding: 10px 0;
    color: #aaa;
    font-size: 0.95rem;
    border-bottom: 1px solid #2a2a2a;
}

.carousel-card .tier-features li:last-child {
    border-bottom: none;
}

.carousel-card .tier-features .feature-budget {
    color: #D4AF37;
    font-weight: 600;
}

/* Carousel Hint */
.carousel-hint {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-hint .hint-icon {
    animation: swipe-hint 2s ease-in-out infinite;
}

@keyframes swipe-hint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.pricing-carousel-wrapper:active .carousel-hint {
    opacity: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .pricing-models {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }
    
    .pricing-carousel-wrapper {
        height: 400px;
        perspective: 1000px;
    }
    
    .carousel-card {
        width: 260px;
        margin-left: -130px;
        margin-top: -170px;
        padding: 24px 20px;
    }
    
    .carousel-card .amount {
        font-size: 3rem;
    }
    
    .pricing-model-card {
        padding: 24px;
    }
    
    .pricing-model-card .model-price .amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pricing-carousel-wrapper {
        height: 380px;
        perspective: 800px;
    }
    
    .carousel-card {
        width: 240px;
        margin-left: -120px;
        margin-top: -165px;
        padding: 20px 16px;
    }
    
    .carousel-card .tier-name {
        font-size: 1.1rem;
    }
    
    .carousel-card .amount {
        font-size: 2.5rem;
    }
    
    .carousel-card .tier-features li {
        font-size: 0.85rem;
        padding: 8px 0;
    }
}