/* OKX Wallet - Optimized Lightweight CSS */
/* Performance-first design for Bing SEO */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --okx-blue: #1890FF;
    --okx-green: #2B6D16;
    --dove-gray: #666666;
    --background: #0a0a0a;
    --glass-bg: rgba(24, 144, 255, 0.05);
    --glass-border: rgba(24, 144, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #e4e4e7;
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Optimized */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--okx-blue) 0%, #0066cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.8rem;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #c9d1e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--okx-blue);
}

.cta-button {
    background: linear-gradient(135deg, var(--okx-blue) 0%, #0066cc 100%);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--okx-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Cards - Lightweight */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: border-color 0.3s;
}

.glass-card:hover {
    border-color: rgba(24, 144, 255, 0.4);
}

/* Features Grid - Optimized */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--okx-blue);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--okx-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #c9d1e0;
    line-height: 1.7;
}

/* Step Boxes */
.step-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--okx-blue);
}

.step-box h3 {
    color: var(--okx-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

/* Info Cards */
.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.info-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Typography - Lightweight */
h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 900;
}

h2 {
    font-size: 2.2rem;
    color: #fff;
    margin: 40px 0 25px;
    font-weight: 800;
}

h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    color: #c9d1e0;
    font-size: 1.05rem;
}

strong {
    color: var(--okx-blue);
    font-weight: 700;
}

ul,
ol {
    margin: 20px 0 20px 40px;
    color: #c9d1e0;
}

li {
    margin: 10px 0;
    line-height: 1.8;
}

a {
    color: var(--okx-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #40a9ff;
}

/* Tables - Optimized */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--glass-bg);
    border-radius: 12px;
    overflow: hidden;
}

th,
td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    background: rgba(24, 144, 255, 0.15);
    color: var(--okx-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

tr:hover {
    background: rgba(24, 144, 255, 0.05);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 100px;
}

footer a {
    color: #c9d1e0;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--okx-blue);
}

/* Responsive - Mobile First */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduced animations for better performance */
* {
    will-change: auto;
}


body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #e4e4e7;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--okx-blue) 0%, #0066cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.4);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #c9d1e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--okx-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--okx-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--okx-blue) 0%, #0066cc 100%);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 144, 255, 0.5);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--okx-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(24, 144, 255, 0.08);
    border-color: rgba(24, 144, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(24, 144, 255, 0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s ease;
    text-align: center;
}

.feature-card:hover {
    background: rgba(24, 144, 255, 0.1);
    border-color: var(--okx-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(24, 144, 255, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 20px rgba(24, 144, 255, 0.4));
}

.feature-card h3 {
    color: var(--okx-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #c9d1e0;
    line-height: 1.7;
}

/* Step Boxes */
.step-box {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--okx-blue);
    transition: all 0.3s ease;
}

.step-box:hover {
    border-left-width: 6px;
    background: rgba(24, 144, 255, 0.08);
    transform: translateX(5px);
}

.step-box h3 {
    color: var(--okx-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

/* Info Cards */
.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(24, 144, 255, 0.08);
    border-color: var(--okx-blue);
}

.info-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Typography */
h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 900;
}

h2 {
    font-size: 2.2rem;
    color: #fff;
    margin: 40px 0 25px;
    font-weight: 800;
}

h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    color: #c9d1e0;
    font-size: 1.05rem;
}

strong {
    color: var(--okx-blue);
    font-weight: 700;
}

ul,
ol {
    margin: 20px 0 20px 40px;
    color: #c9d1e0;
}

li {
    margin: 10px 0;
    line-height: 1.8;
}

a {
    color: var(--okx-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #40a9ff;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    overflow: hidden;
}

th,
td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    background: rgba(24, 144, 255, 0.15);
    color: var(--okx-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

tr:hover {
    background: rgba(24, 144, 255, 0.05);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 100px;
}

footer a {
    color: #c9d1e0;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--okx-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card,
.feature-card,
.step-box {
    animation: fadeInUp 0.6s ease-out;
}