/* ============================================
   JAYAPAY - Global Payment Solutions
   Styles matching the design prototype
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-orange: #FF6B35;
    --primary-orange-dark: #E85B1E;
    --primary-green: #2ECC71;
    --primary-green-dark: #27AE60;
    --accent-yellow: #F5C10E;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #FFF9F5;
    --cream: #FFF5EE;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #DDDDDD;
    --gray-400: #AAAAAA;
    --gray-500: #888888;
    --gray-600: #666666;
    --gray-700: #444444;
    --gray-800: #333333;
    --gray-900: #222222;
    
    /* Gradients */
    --gradient-orange: linear-gradient(135deg, #FF8C42 0%, #FF6B35 50%, #E85B1E 100%);
    --gradient-hero-bg: linear-gradient(180deg, #FFFFFF 0%, #FFF9F5 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition: 0.3s ease;
}

/* ============================================
   TECH ENTRANCE ANIMATION
   ============================================ */
.tech-entrance {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('img/entrance-bg.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
    pointer-events: auto;
}

.tech-entrance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.6) 100%);
    z-index: 1;
}

.tech-entrance.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 1;
}

.entrance-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.brand-reveal {
    margin-bottom: 3rem;
}

.brand-text {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

.brand-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.3) 25%,
        rgba(0, 255, 255, 0.5) 50%,
        rgba(0, 255, 255, 0.3) 75%,
        transparent 100%
    );
    animation: scanLine 3s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.brand-text::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: gridPulse 2s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

.brand-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-30px) rotateX(-90deg) translateZ(0);
    transform-style: preserve-3d;
    background: linear-gradient(180deg, 
        #f42d09 0%,
        #ff4d2e 50%,
        #c41f00 100%
    );
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: charReveal3D 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               techPulse 2s ease-in-out infinite;
    filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.3))
            drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
            drop-shadow(0 0 10px currentColor);
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.5),
        2px 2px 0 rgba(0, 0, 0, 0.4),
        3px 3px 0 rgba(0, 0, 0, 0.3),
        4px 4px 0 rgba(0, 0, 0, 0.2),
        5px 5px 0 rgba(0, 0, 0, 0.1),
        0 0 20px rgba(0, 255, 255, 0.5);
    position: relative;
    transition: transform 0.1s ease-out;
}

.brand-text span::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(0, 255, 255, 0.8) 50%,
        transparent 100%
    );
    transform: translateX(-50%);
    animation: digitalRain 2s linear infinite;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.brand-text span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    animation: circuitPulse 3s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.brand-text span:nth-child(1),
.brand-text span:nth-child(2),
.brand-text span:nth-child(3),
.brand-text span:nth-child(4) { 
    background: linear-gradient(180deg, 
        #ff6b4a 0%,
        #f42d09 40%,
        #c41f00 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.3))
            drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
            drop-shadow(0 0 15px rgba(244, 45, 9, 0.8));
    text-shadow: 
        1px 1px 0 rgba(150, 20, 5, 0.8),
        2px 2px 0 rgba(120, 15, 3, 0.7),
        3px 3px 0 rgba(90, 10, 2, 0.6),
        4px 4px 0 rgba(60, 5, 1, 0.5),
        5px 5px 0 rgba(30, 0, 0, 0.4),
        6px 6px 0 rgba(0, 0, 0, 0.3),
        0 0 20px rgba(244, 45, 9, 0.5);
    animation: charReveal3D 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               redTechPulse 2s ease-in-out infinite,
               glitchRed 5s ease-in-out infinite;
}

.brand-text span:nth-child(1)::before,
.brand-text span:nth-child(2)::before,
.brand-text span:nth-child(3)::before,
.brand-text span:nth-child(4)::before {
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(244, 45, 9, 0.9) 50%,
        transparent 100%
    );
}

.brand-text span:nth-child(1)::after,
.brand-text span:nth-child(2)::after,
.brand-text span:nth-child(3)::after,
.brand-text span:nth-child(4)::after {
    background: 
        radial-gradient(circle at 20% 20%, rgba(244, 45, 9, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 74, 0.3) 0%, transparent 50%);
}

.brand-text span:nth-child(5),
.brand-text span:nth-child(6),
.brand-text span:nth-child(7) { 
    background: linear-gradient(180deg, 
        #4ee88a 0%,
        #079f50 40%,
        #055f30 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.3))
            drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
            drop-shadow(0 0 15px rgba(7, 159, 80, 0.8));
    text-shadow: 
        1px 1px 0 rgba(5, 120, 60, 0.8),
        2px 2px 0 rgba(4, 95, 48, 0.7),
        3px 3px 0 rgba(3, 70, 35, 0.6),
        4px 4px 0 rgba(2, 45, 22, 0.5),
        5px 5px 0 rgba(1, 20, 10, 0.4),
        6px 6px 0 rgba(0, 0, 0, 0.3),
        0 0 20px rgba(7, 159, 80, 0.5);
    animation: charReveal3D 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               greenTechPulse 2s ease-in-out infinite,
               glitchGreen 5s ease-in-out infinite;
}

.brand-text span:nth-child(5)::before,
.brand-text span:nth-child(6)::before,
.brand-text span:nth-child(7)::before {
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(7, 159, 80, 0.9) 50%,
        transparent 100%
    );
    animation-delay: 0.5s;
}

.brand-text span:nth-child(5)::after,
.brand-text span:nth-child(6)::after,
.brand-text span:nth-child(7)::after {
    background: 
        radial-gradient(circle at 20% 20%, rgba(7, 159, 80, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 232, 138, 0.3) 0%, transparent 50%);
    animation-delay: 0.5s;
}

.brand-text span:nth-child(1) { animation-delay: 0.1s; transform-style: preserve-3d; }
.brand-text span:nth-child(2) { animation-delay: 0.2s; transform-style: preserve-3d; }
.brand-text span:nth-child(3) { animation-delay: 0.3s; transform-style: preserve-3d; }
.brand-text span:nth-child(4) { animation-delay: 0.4s; transform-style: preserve-3d; }
.brand-text span:nth-child(5) { animation-delay: 0.5s; transform-style: preserve-3d; }
.brand-text span:nth-child(6) { animation-delay: 0.6s; transform-style: preserve-3d; }
.brand-text span:nth-child(7) { animation-delay: 0.7s; transform-style: preserve-3d; }

@keyframes charReveal3D {
    0% {
        opacity: 0;
        transform: translateY(-30px) rotateX(-90deg) translateZ(-100px) scale(0.5);
    }
    60% {
        transform: translateY(10px) rotateX(10deg) translateZ(20px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) translateZ(0) scale(1);
    }
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

@keyframes techPulse {
    0%, 100% {
        filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.3))
                drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 10px currentColor);
    }
    50% {
        filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.3))
                drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 30px currentColor)
                drop-shadow(0 0 50px rgba(0, 255, 255, 0.5));
    }
}

@keyframes digitalRain {
    0% { top: -50%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 150%; opacity: 0; }
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.6; }
}

@keyframes redTechPulse {
    0%, 100% {
        filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.3))
                drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 15px rgba(244, 45, 9, 0.8));
    }
    50% {
        filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.4))
                drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 30px rgba(244, 45, 9, 1))
                drop-shadow(0 0 50px rgba(255, 77, 46, 0.6));
    }
}

@keyframes greenTechPulse {
    0%, 100% {
        filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.3))
                drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 15px rgba(7, 159, 80, 0.8));
    }
    50% {
        filter: drop-shadow(2px 0 0 rgba(255, 255, 255, 0.4))
                drop-shadow(-1px 0 0 rgba(0, 0, 0, 0.3))
                drop-shadow(0 0 30px rgba(7, 159, 80, 1))
                drop-shadow(0 0 50px rgba(10, 191, 99, 0.6));
    }
}

@keyframes glitchRed {
    0%, 90%, 100% {
        transform: translate(0, 0);
        text-shadow: 
            1px 1px 0 rgba(150, 20, 5, 0.8),
            2px 2px 0 rgba(120, 15, 3, 0.7),
            3px 3px 0 rgba(90, 10, 2, 0.6),
            4px 4px 0 rgba(60, 5, 1, 0.5),
            5px 5px 0 rgba(30, 0, 0, 0.4),
            6px 6px 0 rgba(0, 0, 0, 0.3),
            0 0 20px rgba(244, 45, 9, 0.5);
    }
    92% {
        transform: translate(-2px, 2px);
        text-shadow: 
            1px 1px 0 rgba(150, 20, 5, 0.8),
            2px 2px 0 rgba(120, 15, 3, 0.7),
            3px 3px 0 rgba(90, 10, 2, 0.6),
            4px 4px 0 rgba(60, 5, 1, 0.5),
            5px 5px 0 rgba(30, 0, 0, 0.4),
            6px 6px 0 rgba(0, 0, 0, 0.3),
            -3px 0 5px rgba(0, 255, 255, 0.8),
            3px 0 5px rgba(255, 0, 255, 0.8);
    }
    94% {
        transform: translate(2px, -2px);
        text-shadow: 
            1px 1px 0 rgba(150, 20, 5, 0.8),
            2px 2px 0 rgba(120, 15, 3, 0.7),
            3px 3px 0 rgba(90, 10, 2, 0.6),
            4px 4px 0 rgba(60, 5, 1, 0.5),
            5px 5px 0 rgba(30, 0, 0, 0.4),
            6px 6px 0 rgba(0, 0, 0, 0.3),
            3px 0 5px rgba(0, 255, 255, 0.8),
            -3px 0 5px rgba(255, 0, 255, 0.8);
    }
}

@keyframes glitchGreen {
    0%, 90%, 100% {
        transform: translate(0, 0);
        text-shadow: 
            1px 1px 0 rgba(5, 120, 60, 0.8),
            2px 2px 0 rgba(4, 95, 48, 0.7),
            3px 3px 0 rgba(3, 70, 35, 0.6),
            4px 4px 0 rgba(2, 45, 22, 0.5),
            5px 5px 0 rgba(1, 20, 10, 0.4),
            6px 6px 0 rgba(0, 0, 0, 0.3),
            0 0 20px rgba(7, 159, 80, 0.5);
    }
    92% {
        transform: translate(-2px, 2px);
        text-shadow: 
            1px 1px 0 rgba(5, 120, 60, 0.8),
            2px 2px 0 rgba(4, 95, 48, 0.7),
            3px 3px 0 rgba(3, 70, 35, 0.6),
            4px 4px 0 rgba(2, 45, 22, 0.5),
            5px 5px 0 rgba(1, 20, 10, 0.4),
            6px 6px 0 rgba(0, 0, 0, 0.3),
            -3px 0 5px rgba(0, 255, 255, 0.8),
            3px 0 5px rgba(255, 0, 255, 0.8);
    }
    94% {
        transform: translate(2px, -2px);
        text-shadow: 
            1px 1px 0 rgba(5, 120, 60, 0.8),
            2px 2px 0 rgba(4, 95, 48, 0.7),
            3px 3px 0 rgba(3, 70, 35, 0.6),
            4px 4px 0 rgba(2, 45, 22, 0.5),
            5px 5px 0 rgba(1, 20, 10, 0.4),
            6px 6px 0 rgba(0, 0, 0, 0.3),
            3px 0 5px rgba(0, 255, 255, 0.8),
            -3px 0 5px rgba(255, 0, 255, 0.8);
    }
}

@keyframes float3D {
    0%, 100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateZ(0);
    }
    33% {
        transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateZ(10px);
    }
    66% {
        transform: perspective(1000px) rotateX(-2deg) rotateY(-2deg) translateZ(10px);
    }
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-top: 1rem;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.3s;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00ffff, #667eea);
    background-size: 200% 100%;
    animation: loadingProgress 2s ease-in-out forwards,
               gradientSlide 1s linear infinite;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

@keyframes loadingProgress {
    from { width: 0%; }
    to { width: 100%; }
}

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

.skip-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 2rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards, pulse 2s ease-in-out infinite;
    animation-delay: 2s, 2.5s;
    cursor: pointer;
    transition: color 0.3s ease;
}

.skip-hint:hover {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-3px);
    }
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .brand-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .skip-hint {
        font-size: 0.8rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .loading-bar {
        width: 200px;
    }
    
    .skip-hint {
        font-size: 0.75rem;
        margin-top: 1rem;
    }
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    /* Firefox 滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: #d53e06 #f5f5f5;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: #FFF7F0 url('img/bg.png') no-repeat top center / cover;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Chrome/Edge/Safari 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #d53e06;
    border-radius: 10px;
    border: 2px solid #f5f5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: #b83505;
}

::-webkit-scrollbar-corner {
    background: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
}

.highlight {
    background: linear-gradient(to right, #FFB202, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.logo-title {
    font-weight: 800;
}

.logo-title .jaya {
    color: var(--primary-orange);
}

.logo-title .pay {
    color: var(--primary-green);
}

/* Section Styles */
.section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 68px;
    line-height: 73.98px;
    text-align: center;
    margin-bottom: 10px;
    color: #000000;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
}

.contact .btn-primary {
    background: var(--gradient-orange);
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 12px;
}

.btn-green {
    background: var(--primary-green);
    color: var(--white);
}

.btn-green:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.btn-soft {
    background: #FFFFFF;
    color: #6F6F6F;
    border: 1px solid #E7E1DB;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    padding: 10px 26px;
    font-size: 13px;
    border-radius: 10px;
}

.btn-soft:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 14px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1482px;
    height: 80px;
    /* background: #FFFFFF; */
    border-radius: 23px;
    padding: 19px 33px;
    gap: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border: 1px solid #EFE7E1;
    max-width: 1482px;
    background: url('img/bg.png') no-repeat center top / cover;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    /* min-width: 140px; */
}

.logo-icon {
    height: 60px;
    opacity: 1;
}

.logo-text {
    height: 16px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
    margin-right: 80px;
}

.nav-links a {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #000000;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.header .btn-primary {
    width: 137px;
    height: 58px;
    border-radius: 11px;
    background: #D63A00;
    color: #FFFFFF;
    font-size: 20px;
    padding: 0;
    box-shadow: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* Contact 按钮在顶部导航栏，桌面与移动端均显示 */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 100px 0 40px;
    background: url('img/bg.png') no-repeat center top / cover;
    min-height: 900px;
    z-index: 1;
}

.hero-content {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.hero-title {
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 28px;
    color: #000000;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero .highlight {
    color: #F26A2E;
    background: none;
    -webkit-text-fill-color: #F26A2E;
}

.hero .btn-soft {
    background: #FFFFFF;
    margin-top: 40px;
    color: #D63A00;
    border: 1px solid #E7E1DB;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    padding: 10px 26px;
    font-size: 20px;
    font-weight: 700;
    width: 200px;
    height: 70px;
    border-radius: 20px;
    outline: none;
}

.hero .btn-soft:focus,
.hero .btn-soft:focus-visible {
    outline: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.hero-carousel {
    position: relative;
    width: 100%;
    padding: 60px 0;
    overflow: visible;
    height: 500px;
    z-index: 10;
    perspective: 1000px;
}

.hero-carousel-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: heroMarquee 30s linear infinite;
    transform-style: preserve-3d;
}

.hero-carousel:hover .hero-carousel-track {
    animation-play-state: paused;
}

/* 4张图片宽度: 4 * 375px + 3 * 22px(gap) = 1588px */
@keyframes heroMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-1588px, 0, 0);
    }
}

@keyframes heroMarquee768 {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-1186px, 0, 0); } /* 4*280 + 3*22 */
}

@keyframes heroMarquee480 {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-1026px, 0, 0); } /* 4*240 + 3*22 */
}

.hero-slide {
    flex: 0 0 375px;
    width: 375px;
    height: 375px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
}

.hero-slide:hover {
    transform: translateY(-30px) translateZ(50px) scale(1.12);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.3),
        0 15px 30px rgba(0,0,0,0.2);
    z-index: 100;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   GLOBAL COVERAGE SECTION
   ============================================ */
.coverage {
    padding: 0 0 40px;
    background: transparent;
    min-height: 600px;
}

.coverage .container {
    max-width: 100%;
    padding: 0;
}

.coverage-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.2;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 0;
    background: linear-gradient(to right, #FAB800, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.coverage-highlight {
    -webkit-text-fill-color: inherit;
    color: inherit;
}

.coverage-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #666666;
    text-align: center;
    margin: 0;
    padding: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.world-map-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 400px;
    overflow: visible;
}

.coverage-text-overlay {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.world-map-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.country-flag-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.country-flag-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.country-flag-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.video-section {
    margin-top: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.video-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    margin: 0;
    background: #000000;
}

.video-thumbnail {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.play-btn svg {
    width: 30px;
    height: 30px;
    color: #333333;
    margin-left: 4px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #FFFFFF;
}

.play-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.pause-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .pause-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 70px 0 80px;
    background: #FFF4EC;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 34px;
    max-width: 980px;
    margin: 0 auto;
}

.feature-card {
    width: 210px;
    height: 150px;
    padding: 18px 14px 16px;
    background: #FFFFFF;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    border: 1px solid #EFE6DE;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 12px;
    font-weight: 600;
    color: #F26A2E;
    margin-bottom: 0;
}

.why-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 56px;
    background: linear-gradient(to right, #FAB800, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.why-title .logo-title {
    display: inline-flex;
    align-items: center;
}

.why-title .logo-title .logo-icon {
    height: 56px;
    width: auto;
    vertical-align: middle;
}

.why-title .logo-title .jaya {
    -webkit-text-fill-color: inherit;
    color: inherit;
}

.why-title .logo-title .pay {
    -webkit-text-fill-color: inherit;
    color: inherit;
}

.why-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #7A7A7A;
    max-width: 700px;
    margin: 0 auto 36px;
    white-space: normal;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: 50px 0 40px;
    background-color: #ffffff;
}

.trust-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 64px;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.trust-highlight {
    background: linear-gradient(90deg, #FAB800 0%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.trust-title .logo-title {
    display: inline-flex;
    align-items: center;
}

.trust-title .logo-title .logo-icon {
    height: 64px;
    width: auto;
    vertical-align: middle;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
}

.partner-logo {
    width: 275px;
    height: 245px;
    padding: 10px 42px;
    background: #F9E6D8;
    border-radius: 17px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    border: 1px solid #EFDCCF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 0;
    text-align: center;
    opacity: 1;
}

.partner-logo img {
    width: 80px;
    height: 80px;
    padding: 10px;
    opacity: 1;
}

.partner-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #F26A2E;
    text-align: center;
}

.partner-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #9B9B9B;
    text-align: center;
}

/* ============================================
   STATISTICS BANNER
   ============================================ */
.stats-banner {
    padding: 40px 0 60px;
    background-color: #FFFFFF;
}

.stats-card {
    height: 299px;
    background: linear-gradient(to right, #FFA269, #FD6000);
    border-radius: 21px;
    padding: 39px 50px;
    box-shadow: 0 10px 24px rgba(232, 91, 30, 0.22);
    opacity: 1;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 52px;
    text-align: center;
    justify-content: center;
    align-content: center;
    width: fit-content;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
    text-align: center;
}

.stat-plus,
.stat-percent {
    font-size: 16px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    opacity: 0.9;
}

/* ============================================
   PAYMENTS SECTION
   ============================================ */
.payments {
    padding: 70px 0 80px;
    background: transparent;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1045px;
    margin: 0 auto;
}

.country-card {
    position: relative;
    width: 510px;
    height: 303.19px;
    padding: 40px 30px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    border: 1px solid #EFE6DE;
    text-align: center;
    min-height: 150px;
}

.country-flag-wrap {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    border: 6px solid #FFFFFF;
}

.country-flag {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.country-title {
    margin-top: 20px;
    font-size: 27px;
    font-weight: 600;
    line-height: 43.2px;
    color: #F26A2E;
    margin-bottom: 12px;
    text-align: center;
}

.payment-logos {
    display: grid;
    grid-template-columns: repeat(6, 60px);
    justify-content: center;
    gap: 10px;
    margin-left: -8.75px;
}

.payment-logos img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 4px 6px;
    border-radius: 12px;
    border: 1px solid #F1E7E0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries {
    padding: 70px 0 90px;
    background: #FFF3EA;
}

.industries .industries-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 68px;
    line-height: 73.98px;
    color: #000000;
    text-align: center;
}

.industries .industries-title .highlight {
    background: linear-gradient(to right, #FFB202, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.industries .industries-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    text-align: center;
    max-width: 1200px;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1224px;
    margin: 0 auto;
}

.industry-card {
    background: var(--white);
    width: 388px;
    height: 582.47px;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    border: 1px solid #EFE6DE;
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.industry-image {
    width: 385.97px;
    height: 306.47px;
    max-width: 386px;
    position: relative;
    opacity: 1;
    border-radius: 20px 20px 0 0;
    margin: 0 auto;
}

.industry-image-clip {
    width: 385.97px;
    height: 306.47px;
    max-width: 386px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    margin: 0 auto;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.industry-card:hover .industry-image img {
    transform: scale(1.05);
}

.industry-content {
    width: 386px;
    height: 274px;
    padding: 80px 20px 38px;
    text-align: center;
    opacity: 1;
    margin: 0 auto;
}

.industry-badge {
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: var(--primary-orange);
    box-shadow: 0 8px 18px rgba(232, 91, 30, 0.35);
    border: 3px solid var(--white);
    z-index: 2;
    opacity: 1;
    display: block;
    overflow: visible;
}

.industry-badge svg {
    width: 69px;
    height: 43px;
    color: #FFFFFF;
    opacity: 1;
    position: absolute;
    top: calc(50% - 21.5px);
    left: calc(50% - 34.5px);
}

.industry-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 34px;
    color: #2F2F2F;
    margin-bottom: 12px;
    text-align: center;
}

.industry-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 23px;
    color: #9B9B9B;
    margin-bottom: 16px;
    text-align: center;
}

.industry-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    color: #F26A2E;
    text-decoration: none;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 80px 0 100px;
    background: #FAFAFA;
}

.contact-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 60px;
    color: #565656;
}

.contact-title .contact-highlight {
    background: linear-gradient(to right, #FFBB23, #FD5E00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.contact-highlight {
    color: #F5A623;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #222222;
}

.contact-subtitle .contact-highlight {
    color: #FE6102;
}

.contact-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-link {
    color: #CA4D00;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: #F26A2E;
}

.contact-icon.email {
    background: #F26A2E;
    color: #FFFFFF;
    padding: 4px;
    border-radius: 4px;
    width: 28px;
    height: 28px;
}

.contact-icon.facebook {
    background: #F26A2E;
    color: #FFFFFF;
    padding: 4px;
    border-radius: 4px;
    width: 28px;
    height: 28px;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.contact-item span {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.contact-form {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333333;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #FD6000;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #F5A623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-phone {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.phone-icon-wrap {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: #FFF3E0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: #F5A623;
}

.form-phone input {
    flex: 1;
}

.btn-submit {
    width: 100%;
    padding: 18px 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(90deg, #F5A623 0%, #F26A2E 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 106, 46, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.region-label {
    display: block;
    margin-bottom: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FD6000;
}

.region-checkboxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.region-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.region-option:hover {
    border-color: #F5A623;
    background: #FFF3E0;
}

.region-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #F5A623;
}

.region-option input[type="checkbox"]:checked + span {
    color: #F5A623;
    font-weight: 600;
}

.region-option span {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333333;
    user-select: none;
}

@media (max-width: 768px) {
    .region-checkboxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .region-checkboxes {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 30px 0;
    background: #FFFFFF;
    box-shadow: 0px -4px 19.6px 10px rgba(0, 0, 0, 0.25);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #d53e06;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(213, 62, 6, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #b83505;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(213, 62, 6, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .logo-icon {
    height: 50px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    align-items: center;
}

.footer-logo-text .logo-icon {
    height: 35px;
    width: auto;
}

.footer-logo-text .jaya {
    color: #F5A623;
}

.footer-logo-text .pay {
    color: #2ECC71;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #666666;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F5A623;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    color: #666666;
    transition: color 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    color: #F5A623;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-carousel {
        --slides-per-view: 2;
        --slide-gap: 18px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        overflow: visible;
    }

    .nav {
        position: relative;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        padding: 14px 20px;
        height: auto;
        min-height: 56px;
        overflow: visible;
    }

    .nav-links {
        display: none;
    }

    /* 移动端下拉菜单居中 */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 8px;
        width: calc(100% - 24px);
        max-width: 320px;
        background: #ffffff;
        padding: 12px 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        gap: 0;
        border-radius: 12px;
        z-index: 9999;
        outline: none;
        border: none;
    }

    .nav-links.active li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links.active li:last-child {
        border-bottom: none;
    }

    .nav-links.active a {
        display: flex;
        align-items: center;
        padding: 14px 12px;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        min-height: 48px;
        line-height: 20px;
    }

    .nav-links.active a:hover {
        color: #D63A00;
        background: #fff8f5;
        border-radius: 8px;
    }

    /* Contact 在菜单按钮左侧 10px，不占中间 */
    .nav .nav-btn-contact {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 600;
        height: 38px;
        min-width: 76px;
        width: auto;
        border-radius: 8px;
        margin-left: auto;
        margin-right: 10px;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 44px;
        min-height: 44px;
    }
    
    .hero {
        padding: 56px 0 28px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 26px;
        line-height: 1.35;
        padding: 0 8px;
    }

    .hero .btn-soft {
        margin-top: 24px;
        padding: 12px 24px;
        font-size: 16px;
        width: 180px;
        height: 56px;
    }
    
    .hero-carousel {
        padding: 28px 0 18px;
        height: 380px;
    }

    .hero-carousel-track {
        animation: heroMarquee768 30s linear infinite;
    }
    
    .hero-slide {
        flex: 0 0 280px;
        width: 280px;
        height: 280px;
    }
    
    .hero-slide img {
        height: 100%;
        object-fit: cover;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
    }
    
    .section-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .section-subtitle {
        white-space: normal;
        font-size: 16px;
        padding: 0 8px;
    }
    
    .video-section {
        margin-left: 0;
        width: 100%;
    }
    
    .video-thumbnail {
        height: 50vh;
        min-height: 260px;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }

    .features {
        padding: 36px 0 44px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .feature-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .why-title {
        flex-wrap: wrap;
    }

    .why-title .logo-title .logo-icon {
        height: 36px;
    }
    
    .stat-number {
        font-size: 32px;
    }

    .stats-banner {
        padding: 32px 0 24px;
    }

    .stats-card {
        padding: 28px 24px;
        height: auto;
    }

    .stats-grid {
        gap: 28px;
    }

    .stat-label {
        font-size: 16px;
    }
    
    .payments {
        padding: 36px 0 44px;
    }

    .payments-grid {
        grid-template-columns: 1fr;
    }

    .country-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industries,
    .coverage {
        padding-left: 0;
        padding-right: 0;
    }

    /* Global Coverage - 移动端，减少留白 */
    .coverage {
        min-height: auto;
        padding-bottom: 8px;
    }

    .coverage-title {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .coverage-subtitle {
        font-size: 16px;
        padding: 0 12px;
    }

    .world-map-wrapper {
        width: 100%;
        margin-left: 0;
        min-height: 0;
        padding: 0;
    }

    .world-map-img {
        max-height: 220px;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .coverage-text-overlay {
        top: 12px;
        padding: 0 12px;
    }

    .country-flag-icon {
        width: 44px;
        height: 44px;
    }

    .country-flag-icon img {
        width: 100%;
        height: 100%;
    }

    /* Trust - 移动端 */
    .trust-section {
        padding: 32px 0 24px;
    }

    .trust-title {
        font-size: 24px;
        line-height: 1.3;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-title .logo-title .logo-icon {
        height: 32px;
    }

    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        max-width: 100%;
    }

    .partner-logo {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 180px;
        padding: 16px 20px;
    }

    .partner-logo img {
        width: 56px;
        height: 56px;
    }

    .partner-title {
        font-size: 16px;
    }

    .partner-subtitle {
        font-size: 14px;
    }

    /* Payment logos 卡片内 - 移动端 */
    .payment-logos {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-left: 0;
        justify-content: center;
    }

    .payment-logos img {
        width: 52px;
        height: 38px;
        padding: 4px 5px;
    }

    /* Industries - 移动端 */
    .industries {
        padding: 36px 0 44px;
    }

    .industries .industries-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .industries .industries-subtitle {
        white-space: normal;
        font-size: 16px;
    }

    .industry-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
    }

    .industry-image,
    .industry-image-clip {
        width: 100%;
        max-width: 100%;
        height: 220px;
    }

    .industry-content {
        width: 100%;
        height: auto;
        padding: 44px 16px 20px;
    }

    .industry-content h3 {
        font-size: 20px;
    }

    .industry-content p {
        font-size: 14px;
    }

    .industry-badge {
        width: 72px;
        height: 72px;
        bottom: -36px;
    }

    .industry-badge svg {
        width: 52px;
        height: 32px;
        top: calc(50% - 16px);
        left: calc(50% - 26px);
    }

    .contact {
        padding: 36px 0 44px;
    }

    .contact-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .contact-subtitle {
        font-size: 24px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* 避免 iOS 输入框放大 */
    }

    .phone-icon-wrap {
        width: 48px;
        min-width: 48px;
        height: 48px;
    }

    .phone-icon-wrap svg {
        width: 22px;
        height: 22px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* 小屏顶栏 Contact 再缩小，下拉菜单边距 */
    .nav .nav-btn-contact {
        padding: 6px 12px;
        font-size: 12px;
        height: 34px;
        min-width: 68px;
    }

    .nav {
        padding: 10px 12px;
    }

    .nav-links.active {
        width: calc(100% - 16px);
        max-width: 300px;
        padding: 10px 12px;
    }

    .nav-links.active a {
        padding: 12px 10px;
        font-size: 15px;
        min-height: 44px;
    }

    .hero {
        padding: 48px 0 24px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero .btn-soft {
        width: 160px;
        height: 50px;
        font-size: 15px;
    }

    .hero-carousel {
        padding: 24px 0 14px;
        height: 320px;
    }

    .hero-carousel-track {
        animation: heroMarquee480 30s linear infinite;
    }

    .hero-slide {
        flex: 0 0 240px;
        width: 240px;
        height: 240px;
    }

    .hero-slide img {
        height: 100%;
    }

    .hero-arrow {
        display: none;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .why-title .logo-title .logo-icon {
        height: 28px;
    }

    .features {
        padding: 32px 0 40px;
    }

    .trust-section {
        padding: 28px 0 36px;
    }

    .partners-logos {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 26px;
    }

    .stats-card {
        padding: 18px 14px;
    }
    
    .contact {
        padding: 32px 0 40px;
    }

    .contact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-subtitle {
        font-size: 20px;
    }
    
    .contact-form {
        padding: 20px 16px;
    }

    .btn-submit {
        padding: 14px 24px;
        font-size: 16px;
    }

    /* 480px - Coverage，进一步收紧留白 */
    .coverage {
        padding-bottom: 8px;
    }

    .coverage-title {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .coverage-subtitle {
        font-size: 14px;
    }

    .world-map-wrapper {
        min-height: 0;
    }

    .world-map-img {
        max-height: 180px;
    }

    .coverage-text-overlay {
        top: 8px;
    }

    .country-flag-icon {
        width: 36px;
        height: 36px;
    }

    /* 480px - Trust */
    .trust-title {
        font-size: 20px;
    }

    .trust-title .logo-title .logo-icon {
        height: 28px;
    }

    .partners-logos {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        min-height: 160px;
        padding: 14px 16px;
    }

    .partner-logo img {
        width: 48px;
        height: 48px;
    }

    /* 480px - Payment logos */
    .payment-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .payment-logos img {
        width: 48px;
        height: 34px;
        padding: 3px 4px;
    }

    .country-title {
        font-size: 20px;
    }

    /* 480px - Industries */
    .industries .industries-title {
        font-size: 22px;
    }

    .industries .industries-subtitle {
        font-size: 14px;
    }

    .industry-image,
    .industry-image-clip {
        height: 180px;
    }

    .industry-content {
        padding: 44px 12px 20px;
    }

    .industry-content h3 {
        font-size: 18px;
    }

    .industry-badge {
        width: 60px;
        height: 60px;
        bottom: -30px;
    }

    .industry-badge svg {
        width: 44px;
        height: 28px;
    }

    /* 480px - Stats */
    .stats-card {
        height: auto;
        padding: 28px 20px;
    }

    .stats-grid {
        gap: 24px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* 480px - Payments section */
    .payments {
        padding: 32px 0 40px;
    }

    /* 480px - Industries / Stats 上下间距 */
    .industries {
        padding: 32px 0 40px;
    }

    .stats-banner {
        padding: 28px 0 20px;
    }

    .footer {
        padding: 24px 0;
    }
}

/* Mobile Menu - 展开时汉堡图标变为 X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* 防止小屏横向滚动（不应用在 header，以免裁切下拉菜单） */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        height: 44px;
    }
}
