/* HZXingyuTrade Main Stylesheet */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a26;
    --bg-elevated: #20202e;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text-primary: #f5f5f7;
    --text-secondary: #a8a8b3;
    --text-tertiary: #6e6e7e;
    --accent: #00d4ff;
    --accent-2: #7c3aed;
    --accent-3: #ec4899;
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-3: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
a { color: var(--text-primary); text-decoration: none; transition: color 0.3s var(--transition); }
img, svg { max-width: 100%; display: block; }

/* ============= NAVIGATION ============= */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 40px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--transition);
}
.nav.scrolled { padding: 12px 40px; background: rgba(10, 10, 15, 0.92); }
.nav-inner {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono); font-weight: 600; font-size: 18px; letter-spacing: -0.5px;
}
.nav-logo svg, .nav-logo img { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo .logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    padding: 10px 18px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-sm);
    position: relative; transition: all 0.3s var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--surface-hover); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px; background: var(--gradient-2); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
    padding: 8px 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 12px; font-family: var(--font-mono); color: var(--text-secondary);
    cursor: pointer; transition: all 0.3s var(--transition);
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; background: transparent; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; }

/* ============= BUTTONS ============= */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; font-size: 14px; font-weight: 600; font-family: var(--font-sans);
    border-radius: var(--radius-md); border: 1px solid transparent;
    cursor: pointer; transition: all 0.3s var(--transition);
    position: relative; overflow: hidden; text-decoration: none;
}
.btn-primary { background: var(--gradient-2); color: white; box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4); }
.btn-secondary { background: var(--surface); color: var(--text-primary); border-color: var(--border-strong); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); border-color: var(--border-strong); }
.btn-arrow { transition: transform 0.3s var(--transition); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============= HERO SECTION ============= */
.hero { min-height: 100vh; padding: 140px 40px 80px; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    animation: gridShift 20s linear infinite;
}
@keyframes gridShift { 0% { transform: translate(0, 0); } 100% { transform: translate(80px, 80px); } }
.hero-particles { position: absolute; inset: 0; }
.particle {
    position: absolute; width: 2px; height: 2px;
    background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: float linear infinite;
}
@keyframes float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; } 90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.5;
    animation: orbFloat 15s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; right: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--accent-2); bottom: -100px; left: -100px; animation-delay: 5s; }
.hero-orb-3 { width: 300px; height: 300px; background: var(--accent-3); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 10s; opacity: 0.3; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}
.hero-inner {
    max-width: 1400px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; background: var(--surface);
    border: 1px solid var(--border-strong); border-radius: 100px;
    font-size: 12px; font-family: var(--font-mono); color: var(--accent);
    margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px; }
.hero h1 .gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    display: inline-block;
}
.hero h1 .cursor {
    display: inline-block; width: 4px; height: 0.9em;
    background: var(--accent); margin-left: 8px; vertical-align: middle;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 560px; }
.hero-stat { border-left: 1px solid var(--border); padding-left: 20px; }
.hero-stat-value {
    font-family: var(--font-mono); font-size: 32px; font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 1px; }
.hero-visual { position: relative; height: 560px; }

/* ============= CODE WINDOW ============= */
.code-window {
    position: absolute; inset: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-elevated);
    backdrop-filter: blur(20px);
}
.code-header {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px; background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-filename { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); }
.code-body { padding: 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.8; color: var(--text-secondary); overflow: hidden; }
.code-line { display: block; opacity: 0; animation: typeIn 0.5s var(--transition) forwards; }
@keyframes typeIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.code-keyword { color: #c678dd; }
.code-function { color: #61afef; }
.code-string { color: #98c379; }
.code-comment { color: #5c6370; font-style: italic; }
.code-number { color: #d19a66; }
.code-variable { color: #e06c75; }

.floating-card {
    position: absolute; background: var(--bg-elevated);
    border: 1px solid var(--border-strong); border-radius: var(--radius-md);
    padding: 16px; backdrop-filter: blur(20px);
    box-shadow: var(--shadow-elevated);
    animation: floatCard 6s ease-in-out infinite;
}
.floating-card-1 { top: 30px; right: -30px; width: 220px; animation-delay: 0s; }
.floating-card-2 { bottom: 60px; left: -40px; width: 240px; animation-delay: 2s; }
.floating-card-3 { bottom: -20px; right: 40px; width: 200px; animation-delay: 4s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.card-icon { width: 32px; height: 32px; margin-bottom: 12px; color: var(--accent); }
.card-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.card-desc { font-size: 11px; color: var(--text-tertiary); line-height: 1.5; }

/* ============= SECTIONS ============= */
.section { padding: 120px 40px; position: relative; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-header { margin-bottom: 80px; max-width: 800px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 100px;
    font-size: 12px; font-family: var(--font-mono); color: var(--accent);
    margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px;
}
.section-tag::before { content: '//'; color: var(--text-tertiary); }
.section-title { font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.section-title .gradient {
    background: var(--gradient-2);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.section-subtitle { font-size: 18px; color: var(--text-secondary); line-height: 1.7; max-width: 720px; }

/* ============= MARQUEE ============= */
.marquee {
    overflow: hidden; padding: 40px 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}
.marquee-track {
    display: flex; gap: 80px;
    animation: marquee 30s linear infinite; width: max-content;
}
.marquee-item {
    display: flex; align-items: center; gap: 16px;
    font-size: 24px; font-weight: 600;
    color: var(--text-tertiary); font-family: var(--font-mono); flex-shrink: 0;
}
.marquee-item svg { width: 32px; height: 32px; color: var(--accent); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ============= SERVICES GRID ============= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    position: relative; padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.4s var(--transition); cursor: pointer;
}
.service-card::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-2); opacity: 0;
    transition: opacity 0.4s var(--transition); z-index: 0;
}
.service-card:hover {
    transform: translateY(-8px); border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}
.service-card:hover::before { opacity: 0.05; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--accent);
    transition: all 0.4s var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gradient-2); border-color: transparent;
    color: white; transform: rotate(-5deg) scale(1.1);
}
.service-icon svg { width: 28px; height: 28px; }
.service-number { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-bottom: 8px; }
.service-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.service-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
    padding: 4px 10px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 100px;
    font-size: 11px; font-family: var(--font-mono); color: var(--text-secondary);
}

/* ============= ADVANTAGES ============= */
.advantages-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.advantages-visual { position: relative; height: 600px; }
.advantage-orb {
    position: absolute; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.advantage-orb svg {
    width: 100%; max-width: 500px; height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
}
.advantage-list { display: flex; flex-direction: column; gap: 24px; }
.advantage-item {
    display: flex; gap: 20px; padding: 24px;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--transition); cursor: pointer;
}
.advantage-item:hover { border-color: var(--accent); transform: translateX(8px); background: var(--bg-tertiary); }
.advantage-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    border-radius: var(--radius-sm); background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.advantage-icon svg { width: 24px; height: 24px; }
.advantage-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.advantage-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ============= APP SHOWCASE ============= */
.apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-card {
    position: relative; padding: 24px;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--transition); overflow: hidden;
}
.app-card:hover {
    transform: translateY(-4px); border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
}
.app-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--gradient-2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; color: white;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}
.app-icon svg { width: 32px; height: 32px; }
.app-category {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 8px;
}
.app-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
.app-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.app-meta {
    display: flex; justify-content: space-between;
    padding-top: 12px; border-top: 1px solid var(--border);
    font-size: 11px; color: var(--text-tertiary);
}
.app-rating { display: flex; align-items: center; gap: 4px; color: #fbbf24; }

/* ============= NEWS / BLOG ============= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all 0.4s var(--transition); cursor: pointer;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.news-image {
    width: 100%; height: 200px;
    background: var(--gradient-3);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.news-image::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
}
.news-image svg {
    width: 80px; height: 80px; color: var(--accent);
    opacity: 0.6; position: relative; z-index: 1;
}
.news-content { padding: 24px; }
.news-meta {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; color: var(--text-tertiary);
    margin-bottom: 12px; font-family: var(--font-mono);
}
.news-tag { color: var(--accent); padding: 2px 8px; background: rgba(0, 212, 255, 0.1); border-radius: 4px; }
.news-title { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; letter-spacing: -0.3px; }
.news-excerpt { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ============= CONTACT ============= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; }
.contact-info > p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex; gap: 16px; padding: 20px;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--transition);
}
.contact-item:hover { border-color: var(--accent); }
.contact-icon {
    flex-shrink: 0; width: 44px; height: 44px;
    border-radius: var(--radius-sm); background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item-label {
    font-size: 12px; color: var(--text-tertiary);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 4px; font-family: var(--font-mono);
}
.contact-item-value { font-size: 15px; font-weight: 500; color: var(--text-primary); }
.contact-form {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
    display: block; font-size: 12px; color: var(--text-tertiary);
    margin-bottom: 8px; font-family: var(--font-mono);
    text-transform: uppercase; letter-spacing: 1px;
}
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 12px 16px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary); font-family: var(--font-sans); font-size: 14px;
    transition: all 0.3s var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none; border-color: var(--accent);
    background: var(--bg-tertiary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 8px; }

/* ============= FOOTER ============= */
.footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border);
    padding: 72px 40px 28px; position: relative;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px; padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 24px; display: inline-flex; align-items: center; gap: 10px; }
.footer-brand .nav-logo img, .footer-brand .nav-logo svg { width: 28px; height: 28px; }
.footer-brand .nav-logo span { font-size: 16px; letter-spacing: -0.3px; }
.footer-brand p { color: var(--text-secondary); font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--transition);
}
.footer-social:hover {
    background: var(--gradient-2); border-color: transparent;
    color: white; transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
    font-size: 13px; font-weight: 600; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-primary);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-secondary); font-size: 14px; transition: color 0.3s var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-tertiary);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-tertiary); }
.footer-legal a:hover { color: var(--accent); }

/* ============= CTA SECTION ============= */
.cta-section {
    padding: 120px 40px; text-align: center;
    position: relative; overflow: hidden;
}
.cta-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
}
.cta-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.cta-title {
    font-size: clamp(36px, 5vw, 60px); font-weight: 700;
    line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px;
}
.cta-subtitle { color: var(--text-secondary); font-size: 18px; margin-bottom: 40px; line-height: 1.7; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
    .hero-inner, .advantages-layout, .contact-layout {
        grid-template-columns: 1fr; gap: 60px;
    }
    .hero-visual { height: 480px; }
    .advantages-visual { height: 400px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .apps-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.mobile-open {
        display: flex; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: var(--bg-secondary);
        border-top: 1px solid var(--border); padding: 20px; gap: 8px;
    }
    .section { padding: 80px 20px; }
    .hero { padding: 120px 20px 60px; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; }
    .hero-stat { border-left: none; border-bottom: 1px solid var(--border); padding-left: 0; padding-bottom: 16px; }
    .services-grid, .apps-grid, .news-grid, .form-row { grid-template-columns: 1fr; }
    .footer { padding: 60px 20px 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .cta-section { padding: 80px 20px; }
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-item::after { display: none; }
    .process-timeline { padding-left: 40px; }
    .process-timeline::before { left: 14px; }
    .process-step::before { left: -34px; width: 12px; height: 12px; }
}

/* ============= ANIMATIONS ============= */
.fade-in { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--transition); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s var(--transition); }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: all 0.8s var(--transition); }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.9); transition: all 0.8s var(--transition); }
.scale-in.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============= LEGAL PAGE STYLES ============= */
.legal-page { padding: 160px 40px 80px; }
.legal-inner { max-width: 900px; margin: 0 auto; }
.legal-header { margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.legal-header h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px; }
.legal-meta { display: flex; gap: 24px; color: var(--text-tertiary); font-family: var(--font-mono); font-size: 13px; flex-wrap: wrap; }
.legal-content h2 {
    font-size: 26px; font-weight: 700;
    margin-top: 48px; margin-bottom: 20px; padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-primary); letter-spacing: -0.5px;
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 { font-size: 18px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; color: var(--accent); }
.legal-content p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.legal-content ul, .legal-content ol { color: var(--text-secondary); font-size: 15px; line-height: 1.9; margin-bottom: 20px; padding-left: 24px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text-primary); font-weight: 600; }
.legal-content a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(0, 212, 255, 0.3); text-underline-offset: 3px; }
.legal-content a:hover { text-decoration-color: var(--accent); }
.legal-content table {
    width: 100%; border-collapse: collapse;
    margin: 24px 0; background: var(--bg-secondary);
    border-radius: var(--radius-md); overflow: hidden;
}
.legal-content th, .legal-content td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--border); font-size: 14px;
}
.legal-content th {
    background: var(--bg-tertiary); font-weight: 600;
    color: var(--text-primary); font-family: var(--font-mono);
    font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.legal-content td { color: var(--text-secondary); }
.legal-content blockquote {
    margin: 24px 0; padding: 20px 24px;
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-secondary); font-style: italic;
}
.legal-toc {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 24px 32px; margin-bottom: 40px;
}
.legal-toc h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-primary); font-family: var(--font-mono); }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; margin-bottom: 8px; }
.legal-toc li::before { content: counter(toc, decimal-leading-zero) ". "; color: var(--accent); font-family: var(--font-mono); margin-right: 8px; }
.legal-toc a { color: var(--text-secondary); font-size: 14px; transition: color 0.3s var(--transition); }
.legal-toc a:hover { color: var(--accent); }

/* ============= PAGE HERO (sub pages) ============= */
.page-hero { padding: 160px 40px 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
}
.page-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.page-hero-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px; max-width: 900px; }
.page-hero p { font-size: 18px; color: var(--text-secondary); max-width: 720px; line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--text-tertiary); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-tertiary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-tertiary); }

/* ============= PROCESS TIMELINE ============= */
.process-timeline { position: relative; padding-left: 60px; }
.process-timeline::before {
    content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-2), var(--accent-3));
}
.process-step {
    position: relative; padding: 32px; margin-bottom: 32px;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--transition);
}
.process-step::before {
    content: ''; position: absolute; left: -44px; top: 36px;
    width: 16px; height: 16px;
    background: var(--bg-primary); border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--bg-primary), 0 0 20px var(--accent);
}
.process-step:hover { border-color: var(--accent); transform: translateX(8px); }
.process-step-number { font-family: var(--font-mono); color: var(--accent); font-size: 12px; margin-bottom: 8px; }
.process-step h3 { font-size: 20px; margin-bottom: 8px; font-weight: 600; }
.process-step p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ============= TEAM MEMBERS ============= */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
    padding: 32px; background: var(--bg-secondary);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s var(--transition);
}
.team-card:hover { transform: translateY(-8px); border-color: var(--accent); }
.team-avatar {
    width: 100px; height: 100px; margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 36px; font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
    position: relative; overflow: hidden;
}
.team-avatar::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 60%);
}
.team-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--accent); margin-bottom: 16px; font-family: var(--font-mono); }
.team-bio { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============= STATS BANNER ============= */
.stats-banner {
    padding: 80px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stat-item { text-align: center; padding: 20px; position: relative; }
.stat-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 20%;
    height: 60%; width: 1px; background: var(--border);
}
.stat-value {
    font-family: var(--font-mono); font-size: 56px; font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    line-height: 1; margin-bottom: 12px;
}
.stat-label {
    color: var(--text-secondary); font-size: 14px;
    text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-mono);
}

/* ============= UTILS ============= */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Scrollbar style */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
