.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #ffffff 0%, #e6f7ff 30%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse at center, var(--primary-light) 0%, transparent 50%);
    opacity: 0.9;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(9, 109, 217, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-visual-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.hero-visual-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-visual-tab {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    transition: var(--transition-fast);
}

.hero-visual-tab:nth-child(1) {
    background: var(--danger);
}

.hero-visual-tab:nth-child(2) {
    background: var(--warning);
}

.hero-visual-tab:nth-child(3) {
    background: var(--success);
}

.hero-visual-content {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-visual-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    display: block;
    margin: 0 auto;
    -webkit-user-drag: none;
    user-select: none;
}

@media (max-width: 768px) {
    .hero-visual-img {
        max-height: 260px;
    }
    .hero-visual-content {
        padding: 1rem;
    }
}

.hero-visual-code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hero-visual-code .keyword {
    color: #c678dd;
}

.hero-visual-code .string {
    color: #98c379;
}

.hero-visual-code .function {
    color: #61afef;
}

.hero-visual-code .comment {
    color: var(--text-muted);
    font-style: italic;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    font-size: 1rem;
    padding: 1rem 2rem;
    font-weight: 500;
}

.hero-image {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

.hero-image:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.features-section {
    padding: 6rem 0;
    background: #ffffff;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.features-subtitle {
    font-size: 1rem;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition-fast);
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
}

.feature-card:hover .feature-icon {
    background: var(--primary-light);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.7;
}

.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-normal);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.tech-advantages-container {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 0 3rem;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    color: var(--text-secondary);
    font-size: 1rem;
}

.scroll-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.left-btn {
    left: 0.5rem;
}

.right-btn {
    right: 0.5rem;
}

.tech-advantages-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.75rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.tech-advantages-scroll::-webkit-scrollbar {
    height: 4px;
}

.tech-advantages-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.tech-advantages-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.tech-advantages-content {
    display: flex;
    gap: 1.5rem;
    padding: 0 0.5rem;
    min-width: max-content;
}

.tech-advantages-content .feature-card {
    min-width: 280px;
    width: 280px;
}

footer {
    background: #0f1520;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .container {
    position: relative;
    z-index: 1;
}

footer .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

footer h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

footer h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    display: inline-block;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40%;
    height: 2px;
    background: var(--primary);
}

footer p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    display: block;
    padding: 0.25rem 0;
}

footer ul li a:hover {
    color: var(--primary-hover);
}

footer .flex {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

footer .flex a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer .flex a:hover {
    background: var(--primary);
    color: #ffffff;
}

footer .border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

footer .border-t .flex {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    footer .border-t .flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

footer .border-t p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

footer .border-t a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-fast);
    margin-right: 1rem;
}

footer .border-t a:hover {
    color: var(--primary-hover);
}

footer .border-t a:last-child {
    margin-right: 0;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .tech-advantages-content .feature-card {
        min-width: 260px;
        width: 260px;
    }

    .scroll-btn {
        width: 36px;
        height: 36px;
    }

    .tech-advantages-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .tech-advantages-content .feature-card {
        min-width: 240px;
        width: 240px;
    }

    .scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .left-btn {
        left: 0.25rem;
    }

    .right-btn {
        right: 0.25rem;
    }

    .tech-advantages-content {
        gap: 1rem;
    }

    .tech-advantages-container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 5rem 0 3rem;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-image {
        margin-top: 0.5rem;
    }

    .features-section {
        padding: 4rem 0;
    }

    .features-title {
        font-size: 1.75rem;
    }

    .features-subtitle {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    footer {
        padding: 2rem 0 1rem;
    }

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

    footer h3,
    footer h4,
    footer p {
        text-align: center;
    }

    footer .flex {
        justify-content: center;
    }

    footer ul {
        text-align: center;
    }

    footer .border-t a {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    footer .border-t a:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

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

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

    .stat-number {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        max-width: 260px;
    }

    .features-section {
        padding: 3rem 0;
    }

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

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-icon i {
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }

    footer {
        padding: 1.5rem 0 0.75rem;
    }

    footer .flex a {
        width: 32px;
        height: 32px;
    }

    footer .border-t p,
    footer .border-t a {
        font-size: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }
}