/* ═══════════════════════════════════════════════════════
   ZEONE PHOTO STUDIO — PRICING PAGE STYLES
   Custom CSS for premium effects beyond Tailwind
   ═══════════════════════════════════════════════════════ */

/* ──────────── Base Scrollbar ──────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #091413;
}

::-webkit-scrollbar-thumb {
    background: rgba(64, 138, 113, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(64, 138, 113, 0.5);
}

/* ──────────── Smooth Scrolling ──────────── */
html {
    scroll-behavior: smooth;
}

/* ──────────── Shimmer Badge Effect ──────────── */
.shimmer-badge {
    background-size: 200% 100%;
    background-image: linear-gradient(
        110deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 60%,
        transparent 100%
    ), linear-gradient(to right, #408A71, #10b981);
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0% {
        background-position: 200% 0, 0 0;
    }
    100% {
        background-position: -200% 0, 0 0;
    }
}

/* ──────────── Pricing Card Featured Glow ──────────── */
.pricing-card-featured > div {
    position: relative;
}

.pricing-card-featured > div::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    background: linear-gradient(
        135deg,
        rgba(64, 138, 113, 0.4),
        rgba(16, 185, 129, 0.2),
        rgba(64, 138, 113, 0.1),
        rgba(16, 185, 129, 0.3)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pricing-card-featured:hover > div::before {
    opacity: 1;
}

/* ──────────── Pricing Card Gradient Borders on Hover ──────────── */
.pricing-card > div {
    position: relative;
    overflow: hidden;
}

.pricing-card > div::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(64, 138, 113, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover > div::after {
    opacity: 1;
}

#card-pro > div::after {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
}

/* ──────────── Button Gradient Shine Effect ──────────── */
#btn-upgrade-premium,
#btn-go-pro {
    position: relative;
    overflow: hidden;
}

#btn-upgrade-premium::before,
#btn-go-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transition: left 0.6s ease;
}

#btn-upgrade-premium:hover::before,
#btn-go-pro:hover::before {
    left: 120%;
}

/* ──────────── FAQ Accordion ──────────── */
.faq-item.open {
    border-color: rgba(64, 138, 113, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: #408A71;
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ──────────── Trust Badge Hover Glow ──────────── */
.trust-badge {
    position: relative;
}

.trust-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#trust-secure::before {
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

#trust-privacy::before {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}

#trust-instant::before {
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
}

.trust-badge:hover::before {
    opacity: 1;
}

/* ──────────── Billing Toggle Active States ──────────── */
.billing-toggle.yearly {
    background: rgba(64, 138, 113, 0.2);
    border-color: rgba(64, 138, 113, 0.4);
}

.billing-toggle.yearly .toggle-knob {
    transform: translateX(32px);
}

/* ──────────── Comparison Table Row Hover ──────────── */
#comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

/* ──────────── Intersection Observer Animations ──────────── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ──────────── Price Transition Effect ──────────── */
.price-value {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.price-value.switching {
    opacity: 0;
    transform: translateY(-5px);
}

/* ──────────── Responsive Tweaks ──────────── */
@media (max-width: 768px) {
    .pricing-card-featured {
        order: -1;
    }
}

/* ──────────── Selection Highlight ──────────── */
::selection {
    background: rgba(64, 138, 113, 0.4);
    color: #fff;
}

/* ──────────── Focus Visible Outline ──────────── */
button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(64, 138, 113, 0.6);
    outline-offset: 2px;
    border-radius: 8px;
}
