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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    line-height: 1.7;
    transition: background 0.4s, color 0.4s;
}

body.light-mode {
    background: #f5f7fa;
    color: #1a1a2e;
}

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

.hero {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 40%, #e94560 100%);
    padding: 100px 0 80px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
}

body.light-mode .hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #f0e6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

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

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

nav {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode nav {
    background: rgba(245, 247, 250, 0.95);
    border-color: rgba(0, 0, 0, 0.05);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

body.light-mode .nav-links a {
    color: #333;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

body.light-mode .menu-toggle {
    color: #1a1a2e;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 0.95rem;
    color: #aaa;
}

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

.breadcrumb span {
    color: #888;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e94560;
    margin-top: 10px;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin: 20px 0 15px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

footer {
    background: #0a0a14;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode footer {
    background: #e8ecf1;
    color: #1a1a2e;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        gap: 10px;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

body.light-mode .faq-question {
    background: rgba(0, 0, 0, 0.03);
}

.faq-question:hover {
    background: rgba(233, 69, 96, 0.1);
}

.faq-answer {
    padding: 0 25px 18px;
    display: none;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer.open {
    display: block;
}

.theme-toggle {
    background: none;
    border: 2px solid #e94560;
    color: #e94560;
    padding: 6px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.theme-toggle:hover {
    background: #e94560;
    color: #fff;
}

.search-box {
    display: flex;
    gap: 8px;
}

.search-box input {
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid #444;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
}

body.light-mode .search-box input {
    background: #fff;
    color: #1a1a2e;
    border-color: #ccc;
}

.search-box button {
    padding: 8px 18px;
    border-radius: 30px;
    border: none;
    background: #e94560;
    color: #fff;
    cursor: pointer;
}

.carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    padding: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.back-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #e94560;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s, transform 0.3s;
    z-index: 99;
    border: none;
}

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

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

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #e94560;
}

.svg-placeholder {
    background: linear-gradient(135deg, #2d1b69, #1a1a3e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1rem;
    min-height: 200px;
    border-radius: 16px;
}

body.light-mode .svg-placeholder {
    background: linear-gradient(135deg, #d4d9e6, #b0b8d1);
    color: #444;
}

.article-card {
    padding: 25px;
}

.article-card h4 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
}

.article-card p {
    font-size: 0.95rem;
    color: #bbb;
}

body.light-mode .article-card p {
    color: #555;
}

.meta {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}