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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    transition: background 0.3s, color 0.3s;
}

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

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

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

header {
    background: linear-gradient(135deg, #0a0a2a, #1a1a4e);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.1);
}

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

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
    nav ul.active {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
}

.hero {
    background: linear-gradient(135deg, #0a0a2a, #2a2a6e);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background: #ff6b35;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.hero .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255,107,53,0.4);
}

.hero .slider-indicators {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero .slider-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.hero .slider-indicators span.active {
    background: #ff6b35;
}

.section {
    padding: 60px 0;
}

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

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

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

.card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

body.dark .card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

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

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

.card p {
    line-height: 1.6;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

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

.stat-item .label {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

body.dark .stat-item .label {
    color: #aaa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

body.dark .testimonial-card {
    background: rgba(255,255,255,0.05);
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-card .author {
    font-weight: bold;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

body.dark .faq-item {
    border-color: rgba(255,255,255,0.2);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    background: #f1f1f1;
    transition: background 0.3s;
}

body.dark .faq-question {
    background: rgba(255,255,255,0.05);
}

.faq-question:hover {
    background: #e0e0e0;
}

body.dark .faq-question:hover {
    background: rgba(255,255,255,0.1);
}

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

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

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

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

.howto-step .step-num {
    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;
}

.footer {
    background: #0a0a2a;
    color: #fff;
    padding: 40px 0;
}

.footer .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer h3 {
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #ff6b35;
}

.footer .copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff6b35;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: #333;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    z-index: 100;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

.search-sim {
    display: flex;
    max-width: 500px;
    margin: 20px auto;
}

.search-sim input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 30px 0 0 30px;
    outline: none;
    font-size: 1rem;
}

body.dark .search-sim input {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.search-sim button {
    padding: 12px 25px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.search-sim button:hover {
    background: #e55a2b;
}

.breadcrumb {
    padding: 10px 0;
    font-size: 0.9rem;
    color: #666;
}

body.dark .breadcrumb {
    color: #aaa;
}

.breadcrumb a {
    color: #ff6b35;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

body.dark .news-card {
    background: rgba(255,255,255,0.05);
}

.news-card .date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-card h3 {
    margin-bottom: 10px;
}

.news-card p {
    line-height: 1.6;
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    margin-bottom: 20px;
}

.related-articles ul {
    list-style: none;
}

.related-articles ul li {
    margin-bottom: 10px;
}

.related-articles ul li a {
    color: #ff6b35;
}

.prev-next {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.prev-next a {
    color: #ff6b35;
    font-weight: bold;
}

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

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

.banner-slider {
    position: relative;
    overflow: hidden;
}

.banner-slide {
    display: none;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}