/* ===== CSS Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #0f0f1a; color: #e0e0e0; line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; text-align: center; background: linear-gradient(135deg, #f0c040, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subtitle { text-align: center; max-width: 800px; margin: 0 auto 2.5rem; color: #b0b0c0; font-size: 1.05rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 5rem 0; }
.bg-light { background: #16162a; }
.btn-primary { display: inline-block; padding: 0.9rem 2.2rem; background: linear-gradient(135deg, #f0c040, #f59e0b); color: #1a1a2e; font-weight: 700; border-radius: 50px; font-size: 1.05rem; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(240, 192, 64, 0.3); border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 30px rgba(240, 192, 64, 0.5); }
.read-more { display: inline-block; color: #f0c040; font-weight: 600; margin-top: 0.8rem; transition: all 0.3s ease; position: relative; }
.read-more::after { content: '→'; margin-left: 5px; transition: margin-left 0.3s ease; }
.read-more:hover { color: #ffd700; }
.read-more:hover::after { margin-left: 10px; }

/* ===== Scroll Animation ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.section { animation: fadeInUp 0.8s ease forwards; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }
.section:nth-child(6) { animation-delay: 0.5s; }
.section:nth-child(7) { animation-delay: 0.6s; }
.section:nth-child(8) { animation-delay: 0.7s; }
.section:nth-child(9) { animation-delay: 0.8s; }
.section:nth-child(10) { animation-delay: 0.9s; }

/* ===== Header & Navigation ===== */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(15, 15, 26, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(240, 192, 64, 0.15); transition: background 0.3s ease; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0.8rem 20px; }
.logo img { filter: drop-shadow(0 2px 8px rgba(240, 192, 64, 0.2)); transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.05); }
.nav-menu { display: flex; gap: 2rem; align-items: center; }
.nav-menu li a { color: #c0c0d0; font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0; position: relative; transition: color 0.3s ease; }
.nav-menu li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #f0c040, #f59e0b); transition: width 0.3s ease; }
.nav-menu li a:hover, .nav-menu li a.active { color: #f0c040; }
.nav-menu li a:hover::after, .nav-menu li a.active::after { width: 100%; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: #f0c040; border-radius: 3px; transition: all 0.3s ease; }

/* ===== Hero Banner ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 80px; }
.hero-slider { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 1s ease, transform 1s ease; transform: scale(0.95); }
.slide.active { opacity: 1; transform: scale(1); position: relative; }
.slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.slide-content { text-align: center; padding: 2rem; max-width: 700px; z-index: 2; animation: fadeInUp 1s ease 0.3s both; }
.slide-content h1 { font-size: 3.5rem; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,0.5); margin-bottom: 1rem; background: linear-gradient(135deg, #fff, #f0c040); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slide-content p { font-size: 1.2rem; color: #d0d0e0; margin-bottom: 2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.slider-nav { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.2); }
.dot.active { background: #f0c040; border-color: #f0c040; transform: scale(1.2); box-shadow: 0 0 20px rgba(240, 192, 64, 0.5); }

/* ===== Brand Grid ===== */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.brand-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 1.8rem; text-align: center; border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s ease; animation: fadeInUp 0.6s ease both; }
.brand-card:nth-child(1) { animation-delay: 0.1s; }
.brand-card:nth-child(2) { animation-delay: 0.2s; }
.brand-card:nth-child(3) { animation-delay: 0.3s; }
.brand-card:nth-child(4) { animation-delay: 0.4s; }
.brand-card:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(240, 192, 64, 0.4); box-shadow: 0 20px 50px rgba(240, 192, 64, 0.15); }
.brand-card img { width: 100%; border-radius: 12px; margin-bottom: 1.2rem; transition: transform 0.4s ease; }
.brand-card:hover img { transform: scale(1.05); }
.brand-card h3 { font-size: 1.4rem; color: #f0c040; margin-bottom: 0.6rem; }
.brand-card p { color: #b0b0c0; font-size: 0.95rem; line-height: 1.5; }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.product-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 1.8rem; text-align: center; border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s ease; animation: fadeInUp 0.6s ease both; }
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(240, 192, 64, 0.4); box-shadow: 0 20px 50px rgba(240, 192, 64, 0.15); }
.product-card img { width: 100%; border-radius: 12px; margin-bottom: 1.2rem; transition: transform 0.4s ease; }
.product-card:hover img { transform: scale(1.05) rotate(1deg); }
.product-card h3 { font-size: 1.4rem; color: #f0c040; margin-bottom: 0.6rem; }
.product-card p { color: #b0b0c0; font-size: 0.95rem; }

/* ===== Service Grid ===== */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.service-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 1.8rem; text-align: center; border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s ease; animation: fadeInUp 0.6s ease both; }
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(240, 192, 64, 0.4); box-shadow: 0 20px 50px rgba(240, 192, 64, 0.15); }
.service-card img { width: 100%; border-radius: 12px; margin-bottom: 1.2rem; transition: transform 0.4s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card h3 { font-size: 1.3rem; color: #f0c040; margin-bottom: 0.5rem; }
.service-card p { color: #b0b0c0; font-size: 0.95rem; }

/* ===== News Grid ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.news-grid article { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s ease; animation: fadeInUp 0.6s ease both; }
.news-grid article:nth-child(1) { animation-delay: 0.05s; }
.news-grid article:nth-child(2) { animation-delay: 0.1s; }
.news-grid article:nth-child(3) { animation-delay: 0.15s; }
.news-grid article:nth-child(4) { animation-delay: 0.2s; }
.news-grid article:nth-child(5) { animation-delay: 0.25s; }
.news-grid article:nth-child(6) { animation-delay: 0.3s; }
.news-grid article:nth-child(7) { animation-delay: 0.35s; }
.news-grid article:nth-child(8) { animation-delay: 0.4s; }
.news-grid article:hover { transform: translateY(-8px) scale(1.01); border-color: rgba(240, 192, 64, 0.3); box-shadow: 0 15px 40px rgba(240, 192, 64, 0.1); }
.news-grid article img { width: 100%; border-radius: 12px; margin-bottom: 1rem; transition: transform 0.4s ease; }
.news-grid article:hover img { transform: scale(1.03); }
.news-grid article h3 { font-size: 1.15rem; color: #e0e0f0; margin-bottom: 0.5rem; line-height: 1.4; }
.news-grid article p { color: #a0a0b0; font-size: 0.9rem; margin-bottom: 0.5rem; }

/* ===== Case Grid ===== */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.case-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s ease; animation: fadeInUp 0.6s ease both; }
.case-card:nth-child(1) { animation-delay: 0.1s; }
.case-card:nth-child(2) { animation-delay: 0.2s; }
.case-card:nth-child(3) { animation-delay: 0.3s; }
.case-card:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(240, 192, 64, 0.4); box-shadow: 0 20px 50px rgba(240, 192, 64, 0.15); }
.case-card img { width: 100%; border-radius: 12px; margin-bottom: 1rem; transition: transform 0.4s ease; }
.case-card:hover img { transform: scale(1.05); }
.case-card h3 { font-size: 1.2rem; color: #f0c040; margin-bottom: 0.5rem; }
.case-card p { color: #b0b0c0; font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: rgba(255,255,255,0.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; padding: 1.2rem 1.5rem; border: 1px solid rgba(255,255,255,0.06); transition: all 0.3s ease; cursor: pointer; }
.faq-item:hover { border-color: rgba(240, 192, 64, 0.3); background: rgba(255,255,255,0.07); }
.faq-question { font-weight: 600; color: #f0c040; font-size: 1.05rem; position: relative; padding-right: 30px; }
.faq-question::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: #f0c040; transition: transform 0.3s ease; }
.faq-item:hover .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { margin-top: 0.8rem; color: #b0b0c0; font-size: 0.95rem; line-height: 1.6; display: none; }
.faq-item:hover .faq-answer { display: block; animation: fadeInUp 0.3s ease; }

/* ===== HowTo Steps ===== */
.howto-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.step { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; padding: 1.8rem; text-align: center; border: 1px solid rgba(255,255,255,0.08); transition: all 0.4s ease; position: relative; animation: fadeInUp 0.6s ease both; }
.step:nth-child(1) { animation-delay: 0.05s; }
.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.15s; }
.step:nth-child(4) { animation-delay: 0.2s; }
.step:nth-child(5) { animation-delay: 0.25s; }
.step:nth-child(6) { animation-delay: 0.3s; }
.step:hover { transform: translateY(-8px) scale(1.02); border-color: rgba(240, 192, 64, 0.4); box-shadow: 0 15px 40px rgba(240, 192, 64, 0.1); }
.step span { display: inline-block; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background: linear-gradient(135deg, #f0c040, #f59e0b); color: #1a1a2e; font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; box-shadow: 0 4px 15px rgba(240, 192, 64, 0.3); transition: transform 0.3s ease; }
.step:hover span { transform: scale(1.1) rotate(5deg); }
.step h3 { color: #e0e0f0; margin-bottom: 0.5rem; font-size: 1.1rem; }
.step p { color: #a0a0b0; font-size: 0.9rem; }

/* ===== Partner Grid ===== */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; align-items: center; justify-items: center; }
.partner-grid img { border-radius: 12px; transition: all 0.4s ease; filter: grayscale(0.3) brightness(0.8); }
.partner-grid img:hover { filter: grayscale(0) brightness(1); transform: scale(1.05); box-shadow: 0 8px 25px rgba(240, 192, 64, 0.2); }

/* ===== Contact ===== */
#contact .container p { text-align: center; color: #b0b0c0; margin-bottom: 0.5rem; font-size: 1rem; }
#contact .container p:first-of-type { margin-top: 1.5rem; }

/* ===== Footer ===== */
footer { background: rgba(15, 15, 26, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(240, 192, 64, 0.1); padding: 2rem 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }
.footer-links { margin-bottom: 1rem; }
.footer-links a { color: #c0c0d0; margin: 0 0.5rem; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: #f0c040; }
.footer-container p { color: #808090; font-size: 0.85rem; line-height: 1.5; }

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
    body { background: #0a0a14; }
    .bg-light { background: #12122a; }
    header { background: rgba(10, 10, 20, 0.9); }
    .brand-card, .product-card, .service-card, .news-grid article, .case-card, .faq-item, .step { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.05); }
    .slide-content h1 { text-shadow: 0 4px 30px rgba(0,0,0,0.7); }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    h2 { font-size: 1.8rem; }
    .slide-content h1 { font-size: 2.5rem; }
    .nav-menu { gap: 1.2rem; }
    .brand-grid, .product-grid, .service-grid, .news-grid, .case-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .nav-menu { position: fixed; top: 70px; left: 0; width: 100%; background: rgba(15, 15, 26, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); flex-direction: column; padding: 2rem 0; gap: 1.2rem; transform: translateY(-120%); transition: transform 0.4s ease; border-bottom: 1px solid rgba(240, 192, 64, 0.15); z-index: 999; }
    .nav-menu.active { transform: translateY(0); }
    .menu-toggle { display: flex; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero { min-height: 80vh; padding-top: 70px; }
    .slide-content h1 { font-size: 2rem; }
    .slide-content p { font-size: 1rem; }
    .section { padding: 3rem 0; }
    .brand-grid, .product-grid, .service-grid, .news-grid, .case-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .howto-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-list { padding: 0 10px; }
    .subtitle { font-size: 0.95rem; padding: 0 15px; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .nav-container { padding: 0.6rem 15px; }
    .slide-content h1 { font-size: 1.6rem; }
    .btn-primary { padding: 0.7rem 1.5rem; font-size: 0.95rem; }
    .howto-steps { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .footer-links a { display: inline-block; margin: 0.3rem 0.5rem; }
}