/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f8f9fc;
    color: #1a1a2e;
    line-height: 1.6;
    transition: background .3s, color .3s;
}

body.dark {
    background: #0d0d1a;
    color: #e0e0f0;
}

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

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all .3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #f0c040, #e6a800);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(240, 192, 64, .4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 192, 64, .5);
}

.btn-outline {
    background: transparent;
    border: 2px solid #f0c040;
    color: #f0c040;
}

.btn-outline:hover {
    background: #f0c040;
    color: #1a1a2e;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f0c040, #e6a800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.card {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .05);
    border: 1px solid rgba(255, 255, 255, .3);
    transition: all .3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .1);
}

.dark .card {
    background: rgba(20, 20, 40, .7);
    border-color: rgba(255, 255, 255, .05);
}

.grid {
    display: grid;
    gap: 30px;
}

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

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

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

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
    }
}

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

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

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

.count-up {
    display: inline-block;
}

.dark .card .count-up {
    color: #f0c040;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: all .3s ease;
}

.dark .header {
    background: rgba(13, 13, 26, .8);
    border-bottom-color: rgba(255, 255, 255, .05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}

.dark .logo {
    color: #f0c040;
}

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

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

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: color .3s;
    position: relative;
}

.dark .nav a {
    color: #ccc;
}

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

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f0c040;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: color .3s;
}

.dark .theme-toggle {
    color: #f0c040;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: color .3s;
}

.dark .search-btn {
    color: #f0c040;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: #333;
}

.dark .mobile-menu-btn {
    color: #f0c040;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }
    .dark .nav {
        background: rgba(13, 13, 26, .95);
    }
    .nav.open {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #2d1b4e 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(240, 192, 64, .08) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(240, 192, 64, .05) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    background: linear-gradient(135deg, #f0c040, #e6a800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, .7);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero .btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .4);
    font-size: 14px;
    animation: bounce 2s infinite;
}

.banner-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-carousel .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

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

.banner-carousel .slide svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-5%, -5%);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
}

.about .grid-2 {
    align-items: center;
}

.about .about-image svg {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.about .about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about .about-content p {
    color: #555;
    margin-bottom: 15px;
}

.dark .about .about-content p {
    color: #bbb;
}

.brand-story {
    background: linear-gradient(135deg, #f8f9fc, #eef0f7);
}

.dark .brand-story {
    background: linear-gradient(135deg, #0d0d1a, #15152a);
}

.brand-story .grid-3 .card svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.culture .grid-4 .card {
    text-align: center;
}

.culture .grid-4 .card svg {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.products {
    background: linear-gradient(135deg, #1a1a2e, #2d1b4e);
    color: #fff;
}

.products .section-title {
    -webkit-text-fill-color: #f0c040;
}

.products .grid-3 .card {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
    color: #ddd;
}

.products .grid-3 .card h3 {
    color: #f0c040;
}

.products .grid-3 .card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.advantages .grid-3 .card {
    text-align: center;
}

.advantages .grid-3 .card svg {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.services .grid-3 .card {
    text-align: center;
}

.services .grid-3 .card svg {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.solutions .grid-2 .card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.solutions .grid-2 .card svg {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.scenarios .grid-3 .card {
    text-align: center;
}

.scenarios .grid-3 .card svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.stats {
    background: linear-gradient(135deg, #1a1a2e, #2d1b4e);
    color: #fff;
}

.stats .grid-4 .card {
    text-align: center;
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
}

.stats .grid-4 .card .count-up {
    font-size: 48px;
    font-weight: 800;
    color: #f0c040;
}

.stats .grid-4 .card p {
    color: rgba(255, 255, 255, .7);
}

.cases .grid-3 .card svg {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #eef0f7;
}

.dark .cases .grid-3 .card svg {
    background: #1a1a2e;
}

.clients .grid-4 .card {
    text-align: center;
    padding: 20px;
}

.clients .grid-4 .card svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    opacity: .7;
}

.testimonials .grid-3 .card .stars {
    color: #f0c040;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonials .grid-3 .card .author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonials .grid-3 .card .author svg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.news .grid-3 .card svg {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #eef0f7;
}

.dark .news .grid-3 .card svg {
    background: #1a1a2e;
}

.news .grid-3 .card .date {
    color: #999;
    font-size: 14px;
}

.articles .grid-3 .card svg {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #eef0f7;
}

.dark .articles .grid-3 .card svg {
    background: #1a1a2e;
}

.recommend .grid-3 .card {
    display: flex;
    gap: 15px;
    align-items: center;
}

.recommend .grid-3 .card svg {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    flex-shrink: 0;
}

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

.dark .faq .grid-2 .faq-item {
    border-bottom-color: #333;
}

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

.faq .grid-2 .faq-item .question .icon {
    transition: transform .3s;
}

.faq .grid-2 .faq-item .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    color: #666;
    padding-top: 0;
}

.dark .faq .grid-2 .faq-item .answer {
    color: #aaa;
}

.faq .grid-2 .faq-item.open .answer {
    max-height: 300px;
    padding-top: 15px;
}

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

.howto .grid-2 .card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.howto .grid-2 .card .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0c040, #e6a800);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.contact .grid-2 .contact-info .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.contact .grid-2 .contact-info .info-item svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.contact .grid-2 .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact .grid-2 .contact-form input,
.contact .grid-2 .contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, .5);
    backdrop-filter: blur(10px);
    transition: border .3s;
}

.dark .contact .grid-2 .contact-form input,
.dark .contact .grid-2 .contact-form textarea {
    background: rgba(20, 20, 40, .5);
    border-color: #333;
    color: #fff;
}

.contact .grid-2 .contact-form input:focus,
.contact .grid-2 .contact-form textarea:focus {
    outline: none;
    border-color: #f0c040;
}

.sitemap .grid-4 .card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f0c040;
}

.sitemap .grid-4 .card ul li {
    margin-bottom: 8px;
}

.sitemap .grid-4 .card ul li a {
    color: #555;
    font-size: 14px;
    transition: color .3s;
}

.dark .sitemap .grid-4 .card ul li a {
    color: #aaa;
}

.sitemap .grid-4 .card ul li a:hover {
    color: #f0c040;
}

.friends .grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .friends .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.friends .grid-6 .card {
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #666;
}

.dark .friends .grid-6 .card {
    color: #aaa;
}

.footer {
    background: #0d0d1a;
    color: rgba(255, 255, 255, .7);
    padding: 40px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer .footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .footer-links a {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    transition: color .3s;
}

.footer .footer-links a:hover {
    color: #f0c040;
}

.footer .footer-info {
    font-size: 13px;
    line-height: 1.8;
}

.footer .footer-info a {
    color: #f0c040;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0c040, #e6a800);
    color: #1a1a2e;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(240, 192, 64, .4);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 192, 64, .5);
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-modal.open {
    display: flex;
}

.search-modal .search-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.dark .search-modal .search-box {
    background: #1a1a2e;
    color: #fff;
}

.search-modal .search-box input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 18px;
    margin-bottom: 15px;
}

.dark .search-modal .search-box input {
    background: #0d0d1a;
    border-color: #333;
    color: #fff;
}

.search-modal .search-box input:focus {
    outline: none;
    border-color: #f0c040;
}

.search-modal .search-box .search-close {
    display: block;
    text-align: right;
    cursor: pointer;
    font-size: 24px;
    color: #999;
}

.dark .search-modal .search-box .search-close {
    color: #aaa;
}