/* CSS Variables - Vibrant Light Theme */
:root {
    /* Color Palette Extracted from User's Image */
    --color-cyan: #1EBCDE;     
    --color-yellow: #FCE133;   
    --color-orange: #F36636;   
    --color-magenta: #CE255C;  
    
    /* Backgrounds & Surfaces (Changed to Light/White) */
    --bg-color: #FFFFFF; 
    --surface-color: #F8F9FA;
    --surface-darker: #F1F3F5;
    
    /* Text (Dark for readability on light bg) */
    --text-primary: #1A1A1A; 
    --text-secondary: #6B7280; 
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-yellow) 35%, var(--color-orange) 70%, var(--color-magenta) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-orange) 0%, var(--color-magenta) 100%); 
    --gradient-glow: linear-gradient(135deg, rgba(30, 188, 222, 0.4) 0%, rgba(206, 37, 92, 0.4) 100%);
    
    /* Borders */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(30, 188, 222, 0.4);
    
    --font-sans: 'Inter', 'PingFang SC', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* High-End Interactive Buttons (Custom Theme) */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text-primary); /* Dark background for high contrast */
    color: #ffffff; /* White text */
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    color: #fff; 
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px var(--border-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Accent Button (WhatsApp) */
.btn-accent {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary); /* Dark text on light background */
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(37, 211, 102, 0.4);
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-accent i {
    margin-right: 8px;
    font-size: 18px;
    color: #25D366;
    transition: color 0.4s ease;
}

.btn-accent:hover {
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.6);
}

.btn-accent:hover::before {
    opacity: 1;
}

.btn-accent:hover i {
    color: #fff;
}


/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* White with opacity */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease, background 0.3s ease;
}

.header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}
.logo span {
    font-weight: 300;
    color: var(--color-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 6px; /* Space for the underline */
}

/* 导航底部的渐变线 (Navigation Underline Gradient) */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    border-radius: 2px;
    background: var(--gradient-primary); /* The specific gradient requested */
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-cyan); /* Brightest color from palette on hover */
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
}
.social-icons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: var(--color-cyan);
    background: rgba(157, 178, 130, 0.1);
    border-color: var(--border-color);
    transform: translateY(-3px);
}

/* Lang Toggle */
.lang-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.lang-toggle:hover {
    color: var(--color-cyan);
    border-color: var(--color-sage);
    background: rgba(157, 178, 130, 0.05);
}

/* Page Spacing */
main {
    padding-top: 80px; 
    min-height: calc(100vh - 300px);
}

.section {
    padding: 100px 0;
}

/* Remove inconsistent light/grey classes, make everything blend seamlessly */
.section-light, .section-grey {
    background-color: transparent; 
}

/* 3D Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    overflow: hidden;
}

/* The WebGL Canvas Container */
#webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    pointer-events: none; 
}

/* Add a very subtle radial gradient behind hero text to ensure readability over 3D */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 50%; height: 100%;
    background: radial-gradient(circle at left, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; 
    max-width: 750px;
    pointer-events: auto; 
    padding: 0; /* Removed the box padding */
    /* Removed the white box background to keep it clean */
}

.hero h1 {
    font-size: clamp(48px, 6vw, 80px);
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.05;
}

.hero p {
    font-size: 20px;
    color: var(--text-primary); /* Made darker for better contrast */
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8;
}

/* Unified Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Unified Glassmorphism Cards */
.card, .product-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card {
    padding: 40px;
}

.card:hover, .product-card:hover {
    background: rgba(30, 188, 222, 0.05);
    border-color: rgba(30, 188, 222, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05), 0 0 20px rgba(30, 188, 222, 0.1);
}

.card .icon {
    font-size: 36px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* Product Cards specific */
.product-img {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--surface-darker);
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}
.product-card:hover .product-img img {
    transform: scale(1.1);
    opacity: 1;
}
.product-info {
    padding: 25px;
}
/* Floating WhatsApp Widget */
.wa-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none; /* Let clicks pass through empty space */
}

.wa-popup-bubble {
    background: #ffffff;
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 12px 12px 0 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    max-width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    border: 1px solid var(--border-color);
}

.wa-popup-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.wa-popup-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.wa-floating-btn {
    width: 60px;
    height: 60px;
    background: #25D366; /* Official WA Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    animation: wa-pulse 2s infinite;
}

.wa-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .wa-widget-container {
        bottom: 20px;
        right: 20px;
    }
    .wa-popup-bubble {
        display: none; /* Hide bubble on mobile to save space, just show button */
    }
}
/* Trust Indicators Interactive */
.trust-item {
    cursor: pointer;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.trust-item:hover {
    background: rgba(30, 188, 222, 0.05);
    border-color: rgba(30, 188, 222, 0.2);
    transform: translateY(-3px);
}

/* Advantage Modal */
.adv-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.adv-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.adv-modal-content {
    background: var(--bg-color);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}
.adv-modal-overlay.active .adv-modal-content {
    transform: translateY(0) scale(1);
}
.adv-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}
.adv-modal-close:hover {
    color: var(--color-magenta);
}
.adv-modal-icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.adv-modal-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}
.adv-modal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

/* Trust Indicators Row */
.trust-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

/* Banner specific styling */
.luxury-banner {
    background: var(--surface-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.luxury-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%; 
    width: 500px; height: 500px; 
    background: var(--gradient-primary); 
    filter: blur(150px); 
    opacity: 0.15; 
    border-radius: 50%;
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    color: var(--text-primary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
.footer h4 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
}
.footer ul {
    list-style: none;
}
.footer ul li {
    margin-bottom: 15px;
}
.footer ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.footer ul li a:hover {
    color: var(--color-cyan);
}
.footer-social {
    display: flex;
    gap: 15px;
    font-size: 20px;
    margin-top: 20px;
}
.footer-social a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.footer-social a:hover {
    color: var(--color-cyan);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Form inputs */
input, textarea {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}
input:focus, textarea:focus {
    border-color: var(--color-cyan);
}
input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 40px;
    }
}
