* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg: #f0f2f5;
    --card-bg: rgba(255, 255, 255, 0.7);
    --text: #1a1a2e;
    --accent: #e94560;
    --accent2: #0f3460;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --radius: 20px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
}
[data-theme="dark"] {
    --bg: #0f0f1a;
    --card-bg: rgba(30, 30, 50, 0.8);
    --text: #e0e0e0;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
    transition: all 0.3s;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}
nav {
    display: flex;
    gap: 25px;
    align-items: center;
}
nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
nav a:hover::after,
nav a.active::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}
.dark-toggle {
    background: none;
    border: 2px solid var(--text);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: 0.3s;
}
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    animation: heroGlow 10s ease-in-out infinite;
}
@keyframes heroGlow {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}
.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero h1 span {
    color: var(--accent);
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}
.hero-banner {
    position: relative;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s;
}
.banner-slide.active {
    opacity: 1;
}
.banner-slide svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.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: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.card p {
    opacity: 0.8;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 40px 0;
}
.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    font-size: 1rem;
    opacity: 0.7;
    margin-top: 5px;
}
.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border: var(--glass-border);
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}
.faq-question:hover {
    background: rgba(233, 69, 96, 0.05);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 25px;
}
.faq-answer.open {
    max-height: 300px;
    padding: 0 25px 20px;
}
.faq-icon {
    transition: transform 0.3s;
}
.faq-icon.open {
    transform: rotate(45deg);
}
.article-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--glass-border);
    transition: transform 0.3s;
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-card .card-body {
    padding: 20px;
}
.article-card h3 {
    margin-bottom: 10px;
}
.article-card .date {
    font-size: 0.9rem;
    opacity: 0.6;
}
.article-card p {
    margin: 10px 0;
}
.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.howto-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}
.step-num {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}
.back-top.show {
    opacity: 1;
    visibility: visible;
}
.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-box input {
    padding: 8px 15px;
    border: 2px solid var(--text);
    border-radius: 25px;
    background: transparent;
    color: var(--text);
    outline: none;
    width: 200px;
}
.search-box button {
    background: var(--accent);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
}
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}
.breadcrumb span {
    margin: 0 8px;
}
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        background: var(--card-bg);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        backdrop-filter: blur(20px);
    }
    nav.open {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .grid-2,
    .grid-3,
    .grid-4,
    .stats,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-banner {
        height: 250px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.glow-card {
    position: relative;
    overflow: hidden;
}
.glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}
.glow-card:hover::before {
    opacity: 1;
}
img[loading="lazy"] {
    transition: opacity 0.5s;
}