:root {
    --bg: #0b0e14;
    --navy: #151921;
    --primary: #0076ff;
    --primary-hover: #0056b3;
    --accent: #2bffb6;
    --danger: #ff4757;
    --text: #ffffff;
    --text-muted: #a0a6b1;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* 导航 */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.shield-icon {
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 600;
}

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

/* 按钮 */
.btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-hero {
    background: var(--primary);
    color: white;
    padding: 1rem 2.4rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px rgba(0, 118, 255, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2.4rem;
    border-radius: var(--radius-lg);
}

/* 主视觉区 */
.hero {
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 118, 255, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content .badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(43, 255, 182, 0.15);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* UI Mockup */
.ui-mockup {
    background: var(--navy);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.mockup-title {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-content {
    padding: 2.5rem;
}

.status-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius-sm);
}

.status-indicator {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(43, 255, 182, 0.2);
    color: var(--accent);
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin-top: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 100px;
}

.rule-list {
    margin-top: 2rem;
}

.rule-item {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

/* Feature Cards */
.section {
    padding: 8rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--navy);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 118, 255, 0.3);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Split View & Code */
.dark-section {
    background: #080a0f;
}

.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.split-view h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

pre {
    background: #000;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'JetBrains Mono', monospace;
    overflow-x: auto;
}

code {
    color: #e0e6ed;
}

.comment { color: #5c6370; }

/* CTA */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 118, 255, 0.05) 100%);
}

.cta-section h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; }

footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
    .container { padding: 0 1.5rem; }
    .hero .container, .split-view { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .cards-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.8rem; }
}
