* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: url(../images/backg.jpg) no-repeat center center / cover fixed;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

#app {
    width: 100%;
    min-height: 100vh;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 15px 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #00ff88;
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li {
    font-size: 16px;
    color: #aaaaaa;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li:hover,
.nav-menu li.active {
    color: #ffffff;
}

.nav-menu li.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00ff88;
}

.hot-tag {
    background-color: #ff4444;
    color: #ffffff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    position: absolute;
    top: -8px;
    right: -20px;
}

.discount-tag {
    position: relative;
}

.discount-badge {
    background: linear-gradient(135deg, #00ff88, #00aaff);
    color: #000000;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    position: absolute;
    top: -12px;
    right: -30px;
    transform: rotate(5deg);
}

/* 用户导航 */
.user-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}
.btn-login {
    padding: 8px 16px;
    border: 1px solid #00ff88;
    background: transparent;
    color: #00ff88;
    border-radius: 6px;
    cursor: pointer;
    transition: .3s;
}
.btn-login:hover {
    background: #00ff88;
    color: #000;
}
.btn-register {
    padding: 8px 16px;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: .3s;
}
.btn-register:hover {
    background: #00d880;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.btn-logout {
    padding: 6px 12px;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.btn-logout:hover {
    background: #666;
}

/* 页面主体 */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

.main-title {
    font-size: 64px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-light {
    color: #cccccc;
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.title-gradient {
    background: linear-gradient(135deg, #00aaff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-green {
    color: #00ff88;
}

.title-sub {
    font-size: 36px;
    color: #aaaaaa;
    font-weight: 500;
    position: relative;
}

.title-sub::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #00ff88;
}

.hero-desc {
    font-size: 18px;
    color: #aaaaaa;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-btn {
    padding: 16px 32px;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #00dd7a;
}

.secondary-btn {
    padding: 16px 32px;
    background: transparent;
    color: #00ff88;
    border: 1px solid #00ff88;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(0, 255, 136, 0.1);
}

.primary-btn.large {
    padding: 20px 40px;
    font-size: 20px;
}

/* 卡片区域通用 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 核心优势卡片 */
.features-section {
    padding: 60px 0;
    background: rgba(0,0,0,0.3);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,255,136,0.4);
    background: rgba(255,255,255,0.08);
}
.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}
.feature-card p {
    font-size: 15px;
    color: #aaa;
    line-height: 1.6;
}

/* 流程步骤 */
.process-section {
    padding: 70px 0;
    background: rgba(0, 0, 0, 0.2);
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #fff;
}
.section-title p {
    color: #aaa;
    font-size: 16px;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.process-item {
    text-align: center;
    position: relative;
}
.process-step {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00aaff, #00ff88);
    color: #000;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.process-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}
.process-item p {
    color: #aaa;
    line-height: 1.6;
}

/* 视频演示卡片 */
.hero-video {
    position: relative;
}
.video-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
}
.live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    z-index: 2;
}
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,255,136,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    cursor: pointer;
}
.small-btn {
    margin-top: 16px;
    padding: 8px 20px;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.robot-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 48px;
}
.video-title {
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}
.play-text {
    color: #ccc;
    font-size: 16px;
}

/* OpenClaw 卡片按钮 */
.card-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.card-btn {
    padding: 10px 16px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.card-btn.primary {
    background: #00ff88;
    color: #000;
}

/* 代码演示区 */
.hero-code {
    width: 100%;
}
.code-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
}
.code-header {
    background: #1a1a1a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.window-controls {
    display: flex;
    gap: 8px;
}
.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }
.file-name {
    color: #aaa;
    font-size: 14px;
}
.ai-status {
    margin-left: auto;
    color: #00ff88;
    font-size: 14px;
}
.code-content {
    padding: 20px;
    color: #ccc;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}
.code-footer {
    text-align: center;
    margin-top: 40px;
}
.footer-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0,255,136,0.1);
    color: #00ff88;
    border-radius: 12px;
    margin-bottom: 16px;
}
.footer-title {
    font-size: 28px;
    color: #fff;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-box {
    background: #111;
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
}
.modal-close:hover {
    color: #fff;
}
.modal-box h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 24px;
}
.form-item {
    margin-bottom: 20px;
}
.form-item label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
}
.form-item input {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    outline: none;
}
.form-item input:focus {
    border-color: #00ff88;
}
.code-row {
    display: flex;
    gap: 10px;
}
.code-row input {
    flex: 1;
}
.code-btn {
    padding: 0 14px;
    background: #00aaff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}
.modal-submit {
    width: 100%;
    padding: 14px;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}
.modal-submit:hover {
    background: #00dd7a;
}
.modal-tip {
    text-align: center;
    margin-top: 20px;
    color: #00aaff;
    cursor: pointer;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    .features-grid,
    .process-grid,
    .hero-container {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        gap: 20px;
    }
    .main-title {
        font-size: 42px;
    }
}