:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0e0e15;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --border-color: rgba(255, 59, 59, 0.1);
    --border-hover: rgba(255, 59, 59, 0.3);
    --text-primary: #f0ece4;
    --text-secondary: #9a9488;
    --text-muted: #5a5549;
    --red: #ff3b3b;
    --red-dim: rgba(255, 59, 59, 0.15);
    --gold: #fbbf24;
    --gold-dim: rgba(251, 191, 36, 0.15);
    --amber: #f59e0b;
    --amber-dim: rgba(245, 158, 11, 0.15);
    --gradient-red-gold: linear-gradient(135deg, #ff3b3b, #fbbf24);
    --gradient-gold-amber: linear-gradient(135deg, #fbbf24, #f59e0b);
    --gradient-all: linear-gradient(135deg, #ff3b3b, #fbbf24, #f59e0b);
    --font-display: -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif;
    --shadow-glow-red: 0 0 20px rgba(255, 59, 59, 0.3);
    --shadow-glow-gold: 0 0 20px rgba(251, 191, 36, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-red-gold);
    color: #0a0a0f;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 59, 59, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(255, 59, 59, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.btn-outline:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-red-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-red-gold);
    transition: var(--transition);
}

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

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

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 120px 48px 80px;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    right: -20%;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 59, 59, 0.07) 0%, rgba(255, 59, 59, 0.03) 30%, transparent 70%),
                radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.05) 0%, rgba(251, 191, 36, 0.02) 30%, transparent 70%),
                radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.04) 0%, rgba(245, 158, 11, 0.015) 30%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 620px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 59, 59, 0.08);
    border: 1px solid rgba(255, 59, 59, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-accent {
    background: var(--gradient-red-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 420px;
}

.hex-cell {
    animation: fadeInScale 0.6s ease var(--delay, 0s) both;
}

.hex-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 120px;
    height: 120px;
    background: rgba(13, 18, 32, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: default;
}

.hex-inner svg {
    width: 32px;
    height: 32px;
}

.hex-inner span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hex-inner:hover {
    border-color: var(--border-hover);
    background: rgba(255, 59, 59, 0.05);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-red);
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 0.5; }
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--red-dim);
    border: 1px solid rgba(255, 59, 59, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.product {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.product-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-screen {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.screen-dot.red { background: #ff5f57; }
.screen-dot.yellow { background: #febc2e; }
.screen-dot.green { background: #28c840; }

.screen-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 8px;
    font-family: var(--font-display);
}

.screen-body {
    display: flex;
    min-height: 320px;
}

.screen-sidebar {
    width: 180px;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.sidebar-item.active {
    color: var(--gold);
    background: var(--gold-dim);
    border-left-color: var(--gold);
}

.sidebar-item:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.screen-content {
    flex: 1;
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-line {
    white-space: pre;
}

.code-keyword { color: #c678dd; }
.code-func { color: #61afef; }
.code-class { color: #e5c07b; }
.code-string { color: #98c379; }
.code-num { color: #d19a66; }
.code-comment { color: #5c6370; font-style: italic; }

.indent {
    padding-left: 24px;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-icon.cyan {
    background: var(--red-dim);
    color: var(--red);
}

.card-icon.blue {
    background: var(--gold-dim);
    color: var(--gold);
}

.card-icon.purple {
    background: var(--amber-dim);
    color: var(--amber);
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.05) 0%, rgba(251, 191, 36, 0.02) 30%, transparent 70%);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-red-gold);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.feature-item:hover::before {
    height: 100%;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(251, 191, 36, 0.08);
    line-height: 1;
    min-width: 60px;
}

.feature-content {
    flex: 1;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: var(--gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.feature-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--red-dim);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--gold);
}

.tools {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.tool-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.tool-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.tool-icon.icon-map {
    background: linear-gradient(135deg, #ff3b3b, #ff6b6b);
}

.tool-icon.icon-gateway {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
}

.tool-icon.icon-transfer {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.tool-icon.icon-shield {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.tool-icon.icon-action {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.tool-icon.icon-pack {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.tool-icon svg {
    width: 28px;
    height: 28px;
}

.tool-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.tool-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tool-features span {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.tool-status {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(40, 200, 64, 0.1);
    border: 1px solid rgba(40, 200, 64, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    color: #28c840;
}

.platforms {
    position: relative;
    padding: 120px 0;
    z-index: 1;
    display: none;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.platform-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 32px 40px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-red-gold);
    opacity: 0;
    transition: var(--transition);
}

.platform-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-red);
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card.featured {
    border-color: rgba(251, 191, 36, 0.2);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.04) 0%, var(--bg-card) 40%);
}

.platform-card.featured:hover {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: var(--shadow-glow-gold);
}

.platform-card.featured::before {
    background: var(--gradient-gold-amber);
    opacity: 1;
}

.platform-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-gold-amber);
    color: #0a0a0f;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.platform-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.platform-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.platform-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.platform-tags span {
    padding: 4px 14px;
    background: var(--red-dim);
    border: 1px solid rgba(255, 59, 59, 0.15);
    border-radius: 20px;
    font-size: 12px;
    color: var(--red);
    font-weight: 500;
    transition: var(--transition);
}

.platform-card.featured .platform-tags span {
    background: var(--gold-dim);
    border-color: rgba(251, 191, 36, 0.15);
    color: var(--gold);
}

.platform-tags span:hover {
    background: rgba(255, 59, 59, 0.25);
}

.platform-card.featured .platform-tags span:hover {
    background: rgba(251, 191, 36, 0.25);
}

.platform-card.qq .platform-tags span {
    background: rgba(18, 183, 245, 0.12);
    border-color: rgba(18, 183, 245, 0.15);
    color: #12B7F5;
}

.platform-card.qq .platform-tags span:hover {
    background: rgba(18, 183, 245, 0.25);
}

.platform-card.grass .platform-tags span {
    background: rgba(0, 230, 118, 0.1);
    border-color: rgba(0, 230, 118, 0.15);
    color: #00E676;
}

.platform-card.grass .platform-tags span:hover {
    background: rgba(0, 230, 118, 0.25);
}

.about {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.02) 30%, transparent 70%);
    z-index: -1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.highlight-icon svg {
    width: 100%;
    height: 100%;
}

.highlight-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.highlight-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.tech-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    0% { transform: rotateX(-20deg) rotateY(0deg); }
    25% { transform: rotateX(-20deg) rotateY(90deg); }
    50% { transform: rotateX(-20deg) rotateY(180deg); }
    75% { transform: rotateX(-20deg) rotateY(270deg); }
    100% { transform: rotateX(-20deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 18, 32, 0.6);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.cube-face.front { transform: translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); }
.cube-face.right { transform: rotateY(90deg) translateZ(100px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

.cta {
    position: relative;
    padding: 100px 0;
    z-index: 1;
}

.cta-content {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-all);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-qq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 28px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.cta-qq:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.cta-qq span {
    font-size: 15px;
    color: #fbbf24;
    letter-spacing: 0.5px;
}

.cta-qq strong {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer {
    position: relative;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    z-index: 1;
    background: rgba(10, 10, 15, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-red-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

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

.social-link:hover {
    color: var(--gold);
    border-color: var(--border-hover);
    background: var(--gold-dim);
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-icp {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-icp a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-icp a:hover {
    color: var(--gold);
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.4;
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 48px;
    }

    .hex-grid {
        max-width: 380px;
    }

    .hex-inner {
        width: 100px;
        height: 100px;
    }

    .hex-inner svg {
        width: 24px;
        height: 24px;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

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

    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 10, 19, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero {
        padding: 100px 16px 60px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hex-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 280px;
    }

    .hex-inner {
        width: 110px;
        height: 110px;
    }

    .screen-body {
        flex-direction: column;
    }

    .screen-sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .sidebar-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .sidebar-item.active {
        border-bottom-color: var(--gold);
        border-left-color: transparent;
    }

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tech-cube {
        width: 150px;
        height: 150px;
    }

    .cube-face {
        width: 150px;
        height: 150px;
    }

    .cube-face.front { transform: translateZ(75px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(75px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(75px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(75px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(75px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 12px;
    }

    .feature-number {
        font-size: 1.8rem;
    }

    .product-card {
        padding: 24px 16px;
    }

    .tool-card {
        padding: 24px 16px;
    }
}
