/* ===== LANDING PAGE STYLES ===== */

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }

/* Animated gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #172554 25%, #1e3a8a 50%, #0f172a 75%, #020617 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
}

/* Transaction lines effect */
.transaction-line {
    position: absolute;
    height: 2px;
    border-radius: 9999px;
    pointer-events: none;
    filter: blur(0.5px);
}

.transaction-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: inherit;
    filter: blur(2px);
}

/* Grid pattern overlay */
.grid-pattern {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Glowing orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

/* Glass card effect */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.15);
}

/* Module card icon glow */
.module-icon {
    transition: all 0.4s ease;
}

.glass-card:hover .module-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px currentColor);
}

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stats counter */
.stat-number {
    color: #ffffff;
}

/* Floating transaction receipts */
.floating-receipt {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
    pointer-events: none;
    z-index: 10;
}

.floating-receipt .amount {
    color: #4ade80;
    font-weight: 700;
    font-size: 14px;
}

/* Navigation blur */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* CTA button glow */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s;
}

.btn-glow:hover::before {
    transform: rotate(45deg) translateX(0%);
}

/* Pricing card highlight */
.pricing-popular {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 197, 94, 0.05));
    border-color: rgba(59, 130, 246, 0.5);
}

/* Testimonial card */
.testimonial-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

/* Animated border gradient */
.border-gradient {
    position: relative;
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, #3b82f6, #22c55e, #3b82f6);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    pointer-events: none;
    z-index: 0;
}

/* Smooth number animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feature list checkmark */
.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    font-size: 12px;
    flex-shrink: 0;
}

/* Marquee for partners / logos */
.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Particle dots */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.4);
    pointer-events: none;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    25% { transform: translate(30px, -40px); opacity: 0.8; }
    50% { transform: translate(-20px, -80px); opacity: 0.3; }
    75% { transform: translate(40px, -40px); opacity: 0.6; }
}
