.home-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecf7 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 20px 40px;
    overflow: hidden;
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(78, 162, 245, 0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(78, 162, 245, 0.1);
    color: #4ea2f5;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    line-height: 1.3;
    color: #24292e;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.hero-title span {
    color: #4ea2f5;
}

.hero-desc {
    font-size: 18px;
    color: #586069;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #4ea2f5;
    color: #fff;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(78, 162, 245, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2d8be8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 162, 245, 0.4);
}

.btn-outline {
    background: transparent;
    color: #4ea2f5;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid #4ea2f5;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(78, 162, 245, 0.05);
}

.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.mockup-browser {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
    border: 1px solid rgba(0,0,0,0.1);
}

.mockup-browser:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.browser-header {
    background: #f6f8fa;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e1e4e8;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-url {
    flex: 1;
    margin-left: 15px;
    background: #fff;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #e1e4e8;
    width: 100%;
}

.editor-layout {
    display: flex;
    height: 300px;
}

.editor-sidebar {
    width: 50px;
    background: #24292e;
    padding-top: 10px;
}
.sidebar-icon {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 8px;
    border-radius: 4px;
}
.sidebar-icon.active { background: #4ea2f5; }

.editor-canvas {
    flex: 1;
    background: #fff;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* 模拟内容排版 */
.mock-line {
    height: 12px;
    background: #e1e4e8;
    margin-bottom: 10px;
    border-radius: 4px;
    animation: typing 2s infinite alternate;
}
.mock-line:nth-child(2) { width: 60%; }
.mock-line:nth-child(3) { width: 80%; margin-bottom: 20px; }

.mock-block {
    height: 80px;
    background: linear-gradient(135deg, #4ea2f5, #67b8f7);
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

/* 动画效果 */
@keyframes typing {
    0% { width: 50%; }
    50% { width: 70%; }
    100% { width: 40%; }
}

.features-section {
    padding: 80px 20px;
    background: #fff;
}

.section-title-box {
    text-align: center;
    margin-bottom: 60px;
}

.section-main-title {
    font-size: 32px;
    color: #24292e;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.section-sub-title {
    font-size: 16px;
    color: #586069;
    margin: 0;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: #f6f8fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(78, 162, 245, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #4ea2f5;
    font-size: 24px;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: #4ea2f5;
    color: #fff;
    transform: scale(1.1);
}

.feature-card h3 {
    margin: 0 0 10px 0;
    color: #24292e;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: #586069;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-title { font-size: 30px; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; margin-bottom: 40px; }
    .mockup-browser { transform: rotateY(0) rotateX(0); }
    .hero-actions { justify-content: center; }
}