/* Pricing Section Styles */
:root {
    --pricing-bg-web: #000000;
    /* Black background */
    --pricing-bg-card: #15171A;
    /* Dark card background */
    --pricing-text-main: #FFFFFF;
    /* White text */
    --pricing-text-sub: #9CA3AF;
    /* Gray text */
    --pricing-accent: #FFFFFF;
    /* White accent */
    --pricing-accent-hover: #E5E7EB;
    /* Light gray hover */
    --pricing-border: #333333;
    /* Dark border */
}

.pricing-section {
    padding: 120px 24px 16px 24px;
    background-color: var(--pricing-bg-web);
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--pricing-text-main);
    overflow: hidden;
    /* Prevent horizontal scroll on body */
}

.pricing-container {
    max-width: 1280px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 10;
}

.pricing-title {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    color: #ff0033;
    text-shadow: 0 0 30px rgba(255, 0, 51, 0.4), 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.15;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

/* ===== Mockup Section ===== */
.premium-mockup-container {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

.premium-mockup-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(13px, 2.2vw, 16px);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 24px;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.mockups-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 30px auto 0;
    display: block;
}

/* Desktop Mockup (macOS Window Style) */
.desktop-mockup {
    position: relative;
    width: 85%;
    margin: 0;
    /* Aligned to the left */
    background: #1e1e24;
    /* Dark sleek header */
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    z-index: 1;
    animation: float-desktop 6s ease-in-out infinite;
}

.desktop-mockup-header {
    height: 28px;
    background: #2a2a32;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.desktop-mockup-header .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.desktop-mockup-screen {
    width: 100%;
    background: #111;
    display: block;
}

.desktop-mockup-screen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile Mockup (iPhone Style) */
.mobile-mockup {
    position: absolute;
    right: 0;
    bottom: -5%;
    /* Hangs nicely over the bottom edge */
    width: 30%;
    aspect-ratio: 9 / 19.5;
    background: #000;
    border-radius: 30px;
    box-shadow: -20px 30px 50px rgba(0, 0, 0, 0.7), inset 0 0 0 2px #333, inset 0 0 0 6px #000;
    border: 3px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    overflow: hidden;
    animation: float-mobile 7s ease-in-out infinite;
    animation-delay: 1s;
    /* Offset from desktop */
}

/* Mobile Notch */
.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    height: 22px;
    background: #000;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}

/* Home Indicator */
.mobile-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    z-index: 10;
}

.mobile-mockup-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.mobile-mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
    position: relative;
}

/* Floating Animations */
@keyframes float-desktop {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-mobile {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Perfect Proportional Scaling on Mobile */
@media (max-width: 768px) {
    .premium-mockup-container {
        margin-bottom: 60px;
    }

    .mobile-mockup {
        border-radius: 20px;
        box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px #333, inset 0 0 0 4px #000;
        bottom: -10%;
    }

    .mobile-notch {
        height: 14px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .mobile-home-indicator {
        height: 3px;
        bottom: 4px;
    }

    .mobile-mockup-screen {
        border-radius: 16px;
    }

    .desktop-mockup {
        border-radius: 8px;
    }

    .desktop-mockup-header {
        height: 20px;
        padding: 0 8px;
        gap: 5px;
    }

    .desktop-mockup-header .dot {
        width: 8px;
        height: 8px;
    }
}

.social-proof {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(14px, 2.5vw, 17px);
    color: #9CA3AF;
    margin-top: 50px;
    margin-bottom: 8px;
}

.cta-callout {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(16px, 2.8vw, 19px);
    font-weight: 700;
    color: #ff0033;
    margin-bottom: 0;
}

/* Wrapper to anchor the background text */
.pricing-cards-wrapper {
    position: relative;
    margin-top: clamp(100px, 12vw, 170px);
    z-index: 1;
}

/* Pricing Cards Container */
.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-bottom: 0px;
}

/* Huge Background Text */
.huge-bg-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -65%);
    font-size: clamp(100px, 18vw, 260px);
    font-weight: 900;
    color: #ffffff;
    opacity: 0.4;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Fix CSS Animation overwriting the X-axis centering lock */
.huge-bg-text.scroll-animate {
    transform: translate(-50%, -50%);
}

.huge-bg-text.scroll-animate.show {
    transform: translate(-50%, -65%);
}

/* ===== Card Badges / Tags ===== */
.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    width: fit-content;
}

.tag-popular {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}

.tag-recommended {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(250, 204, 21, 0.05));
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #fde047;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.15);
}

.tag-best-offer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

/* ===== Strikethrough Original Price ===== */
.price-original {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
    margin-right: 6px;
    align-self: flex-end;
    padding-bottom: 4px;
}

/* ===== Promo Countdown Timer ===== */
.promo-countdown {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.countdown-blocks {
    display: flex;
    align-items: center;
    gap: 6px;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 48px;
}

.countdown-block span {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}

.countdown-block small {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-top: 3px;
}

.countdown-sep {
    font-size: 20px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    padding-bottom: 8px;
}

/* Base Pricing Card (Glassmorphism) */
.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-height: 500px;
}

@media (hover: hover) and (pointer: fine) {
    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
        border-color: rgba(255, 255, 255, 0.15);
    }
}

/* Highlighted Plan Style */
.pricing-card.highlighted {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Ultimate Flash ($75) Golden Highlight */
.pricing-card.ultimate-highlight {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(250, 204, 21, 0.03));
    border: 2px solid rgba(250, 204, 21, 0.6);
    box-shadow: 0 0 35px rgba(250, 204, 21, 0.2), 0 12px 40px rgba(0, 0, 0, 0.7);
    transform: scale(1.02);
}

@media (hover: hover) and (pointer: fine) {
    .pricing-card.highlighted:hover {
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.1), 0 16px 40px rgba(0, 0, 0, 0.6);
    }
    .pricing-card.ultimate-highlight:hover {
        border-color: rgba(250, 204, 21, 0.85);
        box-shadow: 0 0 55px rgba(250, 204, 21, 0.35), 0 20px 48px rgba(0, 0, 0, 0.8);
        transform: translateY(-8px) scale(1.03);
    }
}

/* Card Typography */
.plan-header {
    margin-bottom: 24px;
}

.plan-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--pricing-text-sub);
    text-transform: capitalize;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    color: var(--pricing-text-main);
}

.price {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
}

.billing-period {
    font-size: 16px;
    color: var(--pricing-text-sub);
    margin-left: 4px;
    font-weight: 500;
}

/* Divider */
.plan-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0 24px 0;
}

/* Features List */
.features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.features li {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

/* Custom Checkmark icon using pseudo-element */
.features li::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-right: 12px;
    margin-top: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.8)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* CTA Buttons */
.cta-button {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 18px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Outline/Ghost style for standard cards */
.pricing-card:not(.highlighted) .cta-button {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pricing-card:not(.highlighted) .cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Payment Methods Global Bottom */
.payment-methods-global {
    text-align: center;
    margin-top: 16px;
    padding: 0 10px;
    width: 100%;
}

.supported-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--pricing-text-sub);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

/* Responsive Grid Rules */

/* Small Desktop / Large Tablet */
@media (max-width: 1199px) {
    .pricing-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Tablet & Mobile Layouts */
@media (max-width: 768px) {
    .pricing-section {
        padding: 24px 16px 16px 16px;
    }

    .pricing-header {
        margin: 0 auto 32px;
    }

    .pricing-cards-wrapper {
        margin-top: 60px;
    }

    .pricing-cards-container {
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 32px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    /* Hide scrollbar for cleaner look */
    .pricing-cards-container::-webkit-scrollbar {
        display: none;
    }

    .pricing-cards-container {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .pricing-card {
        flex: 0 0 85%;
        min-width: 280px;
        scroll-snap-align: center;
        max-width: none;
    }

    .huge-bg-text {
        font-size: clamp(80px, 25vw, 150px);
        opacity: 0.2;
        transform: translate(-50%, -60%);
    }

    /* Mobile Pricing Navigation Arrows */
    .pricing-nav-btn {
        display: flex;
        position: absolute;
        top: 55%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        align-items: center;
        justify-content: center;
        z-index: 10;
        cursor: pointer;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: opacity 0.4s ease, transform 0.2s ease;
    }

    .pricing-nav-btn i {
        font-size: 18px;
    }

    .pricing-nav-btn.prev {
        left: 4px;
    }

    .pricing-nav-btn.next {
        right: 4px;
    }

    .pricing-nav-btn.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .pricing-nav-btn:active {
        transform: translateY(-50%) scale(0.9);
    }
}

/* Hide on Desktop naturally */
@media (min-width: 769px) {
    .pricing-nav-btn {
        display: none !important;
    }
}