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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    min-height: 100vh;
}

body.light-mode {
    background: linear-gradient(135deg, #f0f2f5 0%, #ffffff 50%, #e8ecf1 100%);
    color: #1a1a2e;
}

a {
    color: inherit;
    text-decoration: none;
}

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

header {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
}

.logo svg {
    width: 40px;
    height: 40px;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: #ccc;
    transition: color 0.3s;
    font-size: 0.95rem;
    position: relative;
}

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

nav a:hover, nav a.active {
    color: #ff6b35;
}

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

.search-box {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 5px 15px;
    border: 1px solid rgba(255,107,53,0.3);
}

body.light-mode .search-box {
    background: rgba(0,0,0,0.05);
    border-color: rgba(26,26,46,0.2);
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    width: 120px;
    font-size: 0.9rem;
}

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

.search-box button {
    background: none;
    border: none;
    color: #ff6b35;
    cursor: pointer;
    font-size: 1rem;
}

.dark-toggle {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: 10px;
}

.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ff6b35, #ffa600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #aaa;
}

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

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,107,53,0.4);
}

.banner-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    margin: 40px 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,107,53,0.2);
    min-height: 300px;
    align-items: center;
    justify-content: center;
}

.banner-slide {
    min-width: 100%;
    padding: 40px;
    text-align: center;
    transition: transform 0.5s ease;
}

.banner-slide h2 {
    font-size: 2rem;
    color: #ff6b35;
    margin-bottom: 15px;
}

.banner-slide p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,107,53,0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dots span.active {
    background: #ff6b35;
}

section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #ff6b35;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin: 10px auto 0;
    border-radius: 3px;
}

.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;
}

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

body.light-mode .card {
    background: rgba(255,255,255,0.8);
    border-color: rgba(26,26,46,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.2);
}

.card h3 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

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

.card svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

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

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b35;
}

.stat-label {
    color: #aaa;
    margin-top: 8px;
}

body.light-mode .stat-label {
    color: #555;
}

.faq-item {
    border-bottom: 1px solid rgba(255,107,53,0.2);
    padding: 15px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #ff6b35;
}

.faq-question span {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #ccc;
    padding-top: 10px;
}

body.light-mode .faq-answer {
    color: #444;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.howto-steps {
    counter-reset: step;
}

.howto-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    background: #ff6b35;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.article-card {
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255,107,53,0.1);
}

body.light-mode .article-card {
    background: rgba(0,0,0,0.02);
    border-color: rgba(26,26,46,0.1);
}

.article-card h3 {
    color: #ff6b35;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.article-card .date {
    font-size: 0.8rem;
    color: #888;
}

.article-card p {
    font-size: 0.9rem;
    color: #bbb;
    margin: 10px 0;
}

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

.read-more {
    color: #ff6b35;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}

footer {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255,107,53,0.2);
    margin-top: 40px;
}

body.light-mode footer {
    background: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(26,26,46,0.1);
}

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

.footer-col h4 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-col a, .footer-col p {
    display: block;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

body.light-mode .footer-col a, body.light-mode .footer-col p {
    color: #555;
}

.footer-col a:hover {
    color: #ff6b35;
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff6b35;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: transform 0.3s;
}

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

.mobile-menu {
    display: none;
    background: rgba(26,26,46,0.98);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

body.light-mode .mobile-menu {
    background: rgba(255,255,255,0.98);
}

.mobile-menu a {
    font-size: 1.5rem;
    color: #ff6b35;
}

.mobile-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #ff6b35;
    background: none;
    border: none;
    cursor: pointer;
}

.qrcode-svg {
    width: 120px;
    height: 120px;
    margin: 10px auto;
    display: block;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner nav {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .search-box {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .container {
        padding: 0 15px;
    }
}

.hidden {
    display: none;
}

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

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

.glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,107,53,0.2);
    border-radius: 20px;
}

body.light-mode .glass {
    background: rgba(255,255,255,0.7);
    border-color: rgba(26,26,46,0.1);
}