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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

.navbar {
    background-color: #1a237e;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

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

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #42a5f5 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #42a5f5;
}

.hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #1a237e 100%);
    color: #fff;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(66, 165, 245, 0.1) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -30%;
    width: 150%;
    height: 100%;
    background: radial-gradient(circle at 80% 100%, rgba(100, 181, 246, 0.1) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(66, 165, 245, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(66, 165, 245, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a237e;
}

.section {
    padding: 80px 0;
    background-color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #1a237e;
    border-bottom: 3px solid #42a5f5;
    padding-bottom: 15px;
    display: inline-block;
    font-weight: 700;
}

.section h3 {
    font-size: 1.5rem;
    margin: 35px 0 20px;
    color: #283593;
    font-weight: 600;
}

.section .content {
    max-width: 1000px;
}

.section p {
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.section li {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
}

.video-section {
    margin-top: 40px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.video-section h3 {
    margin-top: 0;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding-bottom: 56.25%;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tech-stack {
    list-style: none;
    margin: 20px 0;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.tech-stack li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    position: relative;
    padding: 12px 20px;
    background-color: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #42a5f5;
}

.tech-stack li:before {
    content: "✓";
    color: #42a5f5;
    font-weight: bold;
    margin-right: 10px;
}

.architecture-diagram {
    background-color: #e3f2fd;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arch-layer {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.layer-title {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.layer-items span {
    background-color: #e3f2fd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #283593;
}

.arch-arrow {
    font-size: 2rem;
    color: #42a5f5;
    margin: 15px 0;
}

.innovations {
    margin: 20px 0;
    padding-left: 30px;
}

.innovations li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 10px 0;
    border-bottom: 1px solid #e3f2fd;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #42a5f5;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.dxf-icon { color: #42a5f5; }
.trajectory-icon { color: #66bb6a; }
.simulation-icon { color: #ff9800; }
.ui-icon { color: #9c27b0; }

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1a237e;
    text-align: center;
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
}

.feature-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4a5568;
}

.feature-card li:before {
    content: "▸";
    color: #42a5f5;
    position: absolute;
    left: 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e3f2fd;
    margin-right: 20px;
    line-height: 1;
}

.advantage-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a237e;
}

.advantage-item p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    border-radius: 15px;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #42a5f5 0%, #64b5f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #42a5f5;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1a237e;
}

.contact-card ul {
    list-style: none;
    padding-left: 0;
}

.contact-card li {
    padding: 10px 0;
    color: #4a5568;
    font-size: 1rem;
}

.contact-card a {
    color: #42a5f5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #1a237e;
    text-decoration: underline;
}

.footer {
    background-color: #1a237e;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
    font-size: 1rem;
    opacity: 0.85;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #42a5f5;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .nav-links li {
        margin: 5px 10px 5px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .btn {
        width: 200px;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .features-grid, .advantages-grid, .contact-grid, .stats-section {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        flex-direction: column;
    }

    .advantage-number {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .arch-layer {
        max-width: 100%;
    }
}

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

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

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

    .section h3 {
        font-size: 1.2rem;
    }

    .feature-card, .contact-card {
        padding: 20px;
    }

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

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

.section {
    animation: fadeInUp 0.8s ease-out forwards;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #42a5f5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a237e;
}