/* OKX Landing Page - Modern & Professional Styles */

:root {
    --primary-color: #0052ff;
    --secondary-color: #00e6ff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #ffffff;
    --bg-dark: #0a0e27;
    --accent-gradient: linear-gradient(135deg, #0052ff 0%, #00e6ff 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-dark);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--secondary-color);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-current {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-icon {
    font-size: 18px;
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-switcher.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(0, 230, 255, 0.1);
    color: var(--secondary-color);
}

.lang-option.active {
    background: rgba(0, 82, 255, 0.2);
    color: var(--secondary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 230, 255, 0.1) 0%, transparent 70%);
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 82, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 82, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0e27 0%, #141937 50%, #0a0e27 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 82, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 230, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.section-title p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 82, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 230, 255, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.feature-card ul {
    list-style: none;
    margin-top: 15px;
}

.feature-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: linear-gradient(135deg, #141937 0%, #1a1f3a 50%, #0a0e27 100%);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 230, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 82, 255, 0.3);
    border-color: rgba(0, 230, 255, 0.3);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 30px;
}

.product-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.product-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Security Section */
.security {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0e27 0%, #141937 100%);
    color: white;
    position: relative;
}

.security::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.security-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 230, 255, 0.3);
    transform: translateY(-5px);
}

.security-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
}

.security-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.security-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #141937 0%, #0a0e27 100%);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 0% 50%, rgba(0, 230, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.faq-question {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    color: white;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 25px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0e27 0%, #141937 50%, #0a0e27 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(0, 230, 255, 0.2);
    border-bottom: 2px solid rgba(0, 230, 255, 0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 82, 255, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(0, 230, 255, 0.1) 0%, transparent 50%);
    animation: float 15s infinite;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: rgba(0, 230, 255, 0.12);
    color: rgba(0, 230, 255, 0.95);
    border: 2px solid rgba(0, 230, 255, 0.3);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 230, 255, 0.15);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    background: rgba(0, 230, 255, 0.18);
    border-color: rgba(0, 230, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 230, 255, 0.25);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.disclaimer {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 40px 0;
    border-radius: 4px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.disclaimer h4 {
    color: #ffc107;
    margin-bottom: 10px;
}

.disclaimer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Loading Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

