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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    color: #1a1a2e;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

body.dark {
    background: #0f0f1a;
    color: #e0e0e0;
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.dark .nav {
    background: rgba(15, 15, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #1a73e8, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 500;
    transition: color 0.3s;
}

.dark .nav-links a {
    color: #e0e0e0;
}

.nav-links a:hover {
    color: #1a73e8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #1a1a2e;
    transition: all 0.3s;
}

.dark .nav-toggle span {
    background: #e0e0e0;
}

.dark-toggle {
    background: transparent;
    border: 2px solid #1a73e8;
    color: #1a73e8;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.dark-toggle:hover {
    background: #1a73e8;
    color: #fff;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #f3e8ff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.dark .hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a3e 100%);
}

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

.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a73e8, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.dark .hero-content p {
    color: #aaa;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #1a73e8, #6c63ff);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.hero-image svg:hover {
    transform: scale(1.02);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a73e8, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 50px;
    font-size: 16px;
}

.dark .section-subtitle {
    color: #999;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .card {
    background: rgba(30, 30, 50, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    margin-bottom: 15px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 14px;
}

.dark .card p {
    color: #aaa;
}

.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
    margin-bottom: 40px;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(135deg, #1a73e8, #6c63ff);
    color: #fff;
    text-align: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-slide p {
    font-size: 18px;
    max-width: 600px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dot.active {
    background: #1a73e8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    background: linear-gradient(135deg, #1a73e8, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: #888;
    margin-top: 5px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    cursor: pointer;
}

.dark .faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.faq-question span {
    transition: transform 0.3s;
}

.faq-item.open .faq-question span {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s;
    color: #666;
    font-size: 14px;
    padding-top: 0;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-top: 10px;
}

.footer {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 60px 0 30px;
}

.dark .footer {
    background: #0a0a15;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #1a73e8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    margin-top: 30px;
    color: #888;
    font-size: 13px;
}

.breadcrumb {
    padding: 10px 0;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
}

.dark .breadcrumb a {
    color: #6c63ff;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #6c63ff);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    padding: 30px;
}

.dark .mobile-menu {
    background: rgba(15, 15, 26, 0.98);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    color: #1a1a2e;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.dark .mobile-menu a {
    color: #e0e0e0;
    border-bottom: 1px solid #333;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

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

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

    .banner-slide h2 {
        font-size: 24px;
    }

    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}