/*
 * Shared gold-theme styles for the marketing funnel landing pages
 * (resources/js/Pages/Landings/*). Ported 1:1 from the petav2 webinar-funnel
 * landing layout. Everything is scoped under `.landing-gold` so it never bleeds
 * into the app UI — wrap each landing page's root element in that class.
 *
 * Imported by each landing page's <script setup> (not by app.css) so it only
 * loads on the landing routes.
 */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&display=swap");

/* ── Typography ── */
.landing-gold {
    font-family: "Outfit", sans-serif;
}
.landing-gold h1,
.landing-gold h2,
.landing-gold h3,
.landing-gold h4,
.landing-gold h5,
.landing-gold h6,
.landing-gold .font-display {
    font-family: "Playfair Display", serif;
}

/* ── Gold Text Gradient ── */
.landing-gold .gold-text {
    background: linear-gradient(135deg, #f0c830 0%, #d4af37 25%, #ffd74d 50%, #d4af37 75%, #b8960f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Gold Border ── */
.landing-gold .gold-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.landing-gold .gold-border-strong {
    border: 1px solid rgba(212, 175, 55, 0.6);
}

/* ── Gold Glow ── */
.landing-gold .gold-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), 0 0 40px rgba(212, 175, 55, 0.05);
}
.landing-gold .gold-glow-strong {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 0 60px rgba(212, 175, 55, 0.1);
}

/* ── Button Gold Shine ── */
.landing-gold .btn-gold-shine {
    background: linear-gradient(135deg, #d4af37 0%, #f0c830 50%, #d4af37 100%);
    color: #0a0a0a;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.landing-gold .btn-gold-shine:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}
.landing-gold .btn-gold-shine::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: gold-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes gold-shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* ── Pulse Glow ── */
.landing-gold .pulse-glow {
    animation: pulse-glow-kf 2s ease-in-out infinite;
}
@keyframes pulse-glow-kf {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.1); }
}

/* ── Modal Overlay (exit-intent popup) ── */
.landing-gold .modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ── Scroll-reveal (added via the v-reveal directive on intersect) ── */
.landing-gold .animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.landing-gold .animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.landing-gold .animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.landing-gold .animate-fade-up.visible,
.landing-gold .animate-fade-left.visible,
.landing-gold .animate-fade-right.visible {
    opacity: 1;
    transform: none;
}

/* ── Card hover (lift + gold glow) — richer than a bare border change ── */
.landing-gold .gold-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.landing-gold .gold-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 22px rgba(212, 175, 55, 0.12);
}

/* ── Keyboard focus (quality floor) ── */
.landing-gold .btn-gold-shine:focus-visible,
.landing-gold .faq-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5), 0 0 0 5px rgba(10, 10, 10, 0.9);
}

/* ── Respect reduced-motion: drop the ambient/reveal motion, keep content visible ── */
@media (prefers-reduced-motion: reduce) {
    .landing-gold .btn-gold-shine::after,
    .landing-gold .pulse-glow {
        animation: none;
    }
    .landing-gold .gold-card:hover {
        transform: none;
    }
    .landing-gold .animate-fade-up,
    .landing-gold .animate-fade-left,
    .landing-gold .animate-fade-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
