/* ===== CSS Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0a0e27;
  color: #e0e6f0;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #4a9eff; text-decoration: none; transition: color 0.3s; }
a:hover { color: #7ab8ff; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }

/* ===== Header / Nav ===== */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(10,14,39,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(74,158,255,0.15); }
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0.6rem 1.5rem; }
.logo a { display: block; }
.nav-menu { display: flex; gap: 1.8rem; }
.nav-menu li a { color: #b0b8d0; font-size: 0.95rem; font-weight: 500; padding: 0.3rem 0; position: relative; letter-spacing: 0.3px; }
.nav-menu li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #4a9eff; transition: width 0.3s; }
.nav-menu li a:hover, .nav-menu li a.active { color: #fff; }
.nav-menu li a:hover::after, .nav-menu li a.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #e0e6f0; border-radius: 2px; transition: all 0.3s; }

/* ===== Hero Slider ===== */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; padding-top: 80px; overflow: hidden; background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%); }
.hero-slider { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; }
.slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; pointer-events: none; }
.slide.active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.slide-content { text-align: center; padding: 3rem 1.5rem; }
.slide-content h1, .slide-content h2 { color: #fff; text-shadow: 0 2px 20px rgba(74,158,255,0.3); margin-bottom: 1rem; }
.slide-content p { font-size: 1.2rem; color: #b0b8d0; margin-bottom: 2rem; }
.btn-primary, .btn-secondary { display: inline-block; padding: 0.9rem 2.5rem; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.3s; margin: 0.5rem; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #4a9eff, #6a5acd); color: #fff; box-shadow: 0 4px 20px rgba(74,158,255,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(74,158,255,0.6); }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.hero-indicators { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.8rem; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.3s; }
.indicator.active { background: #4a9eff; transform: scale(1.3); box-shadow: 0 0 12px rgba(74,158,255,0.6); }

/* ===== Brand Section ===== */
.brand { background: linear-gradient(180deg, #0a0e27, #12163a); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.brand-card { background: rgba(255,255,255,0.04); border-radius: 20px; padding: 2rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(74,158,255,0.08); transition: all 0.4s; transform: translateY(0); }
.brand-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.07); border-color: rgba(74,158,255,0.2); box-shadow: 0 12px 40px rgba(74,158,255,0.1); }
.brand-card h3 { color: #4a9eff; }

/* ===== Products Section ===== */
.products { background: #12163a; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.product-card { background: rgba(255,255,255,0.03); border-radius: 20px; padding: 1.5rem; text-align: center; border: 1px solid rgba(74,158,255,0.06); transition: all 0.4s; }
.product-card img { border-radius: 12px; margin-bottom: 1rem; width: 100%; height: auto; }
.product-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.06); border-color: rgba(74,158,255,0.15); box-shadow: 0 10px 30px rgba(74,158,255,0.08); }
.product-card h3 { color: #4a9eff; }

/* ===== Services Section ===== */
.services { background: linear-gradient(180deg, #12163a, #0a0e27); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: rgba(255,255,255,0.03); border-radius: 20px; padding: 2rem; border: 1px solid rgba(74,158,255,0.06); transition: all 0.4s; }
.service-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.06); border-color: rgba(74,158,255,0.12); }
.service-card h3 { color: #4a9eff; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0.8rem 0; }
.faq-question { width: 100%; background: none; border: none; color: #e0e6f0; font-size: 1rem; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; font-weight: 500; }
.faq-question:hover { color: #4a9eff; }
.faq-icon { font-size: 1.3rem; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0.5rem 0; }
.faq-answer p { color: #b0b8d0; font-size: 0.95rem; }

/* ===== News Section ===== */
.news { background: #0a0e27; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.news-card { background: rgba(255,255,255,0.03); border-radius: 20px; overflow: hidden; border: 1px solid rgba(74,158,255,0.06); transition: all 0.4s; }
.news-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.06); border-color: rgba(74,158,255,0.12); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card h3 { padding: 1rem 1.5rem 0; font-size: 1.15rem; color: #e0e6f0; }
.news-card .date { padding: 0 1.5rem; font-size: 0.85rem; color: #7a8aa0; }
.news-card p { padding: 0.5rem 1.5rem 1rem; color: #b0b8d0; font-size: 0.95rem; }
.read-more { display: inline-block; margin: 0 1.5rem 1.5rem; color: #4a9eff; font-weight: 500; transition: all 0.3s; }
.read-more:hover { color: #7ab8ff; padding-left: 5px; }

/* ===== Cases Section ===== */
.cases { background: linear-gradient(180deg, #0a0e27, #12163a); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.case-card { background: rgba(255,255,255,0.03); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(74,158,255,0.06); transition: all 0.4s; }
.case-card img { border-radius: 12px; margin-bottom: 1rem; }
.case-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.06); border-color: rgba(74,158,255,0.12); }
.case-card h3 { color: #4a9eff; }

/* ===== Contact Section ===== */
.contact { background: #12163a; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h3 { color: #4a9eff; }
.contact-info p { color: #b0b8d0; margin-bottom: 0.6rem; }
.contact-form h3 { color: #4a9eff; margin-bottom: 1rem; }
.contact-form form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,0.05); border: 1px solid rgba(74,158,255,0.15); border-radius: 12px; padding: 0.9rem 1.2rem; color: #e0e6f0; font-size: 1rem; transition: border 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #4a9eff; }
.contact-form button { background: linear-gradient(135deg, #4a9eff, #6a5acd); color: #fff; border: none; border-radius: 50px; padding: 0.9rem 2rem; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 1rem; }
.contact-form button:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(74,158,255,0.4); }

/* ===== HowTo Section ===== */
.howto { background: #0a0e27; }
.howto-content { max-width: 800px; margin: 0 auto; background: rgba(255,255,255,0.03); border-radius: 20px; padding: 2.5rem; border: 1px solid rgba(74,158,255,0.06); }
.howto-content h3 { color: #4a9eff; margin-top: 1.5rem; }
.howto-content ol { padding-left: 1.5rem; }
.howto-content ol li { margin-bottom: 0.5rem; color: #b0b8d0; }

/* ===== Related Section ===== */
.related { background: #12163a; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.related-card { background: rgba(255,255,255,0.03); border-radius: 16px; padding: 1.5rem; text-align: center; border: 1px solid rgba(74,158,255,0.06); transition: all 0.4s; }
.related-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.06); border-color: rgba(74,158,255,0.12); }
.related-card h4 { color: #4a9eff; }
.related-card p { color: #b0b8d0; font-size: 0.9rem; }
.related-card a { color: #4a9eff; font-weight: 500; }

/* ===== Footer ===== */
footer { background: #080b20; border-top: 1px solid rgba(74,158,255,0.08); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.footer-col h4 { color: #4a9eff; margin-bottom: 1rem; }
.footer-col p, .footer-col li { color: #7a8aa0; font-size: 0.9rem; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col a { color: #7a8aa0; transition: color 0.3s; }
.footer-col a:hover { color: #4a9eff; }
.footer-bottom { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: #5a6a80; font-size: 0.85rem; }

/* ===== Scroll Animation (Intersection Observer friendly) ===== */
.section { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.section.visible { opacity: 1; transform: translateY(0); }
/* Since we can't use JS in CSS, we'll use a simple fade-in via CSS animation on load */
.section { animation: fadeInUp 0.8s ease forwards; animation-delay: 0.1s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.section:nth-child(2) { animation-delay: 0.15s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.25s; }
.section:nth-child(5) { animation-delay: 0.3s; }
.section:nth-child(6) { animation-delay: 0.35s; }
.section:nth-child(7) { animation-delay: 0.4s; }
.section:nth-child(8) { animation-delay: 0.45s; }
.section:nth-child(9) { animation-delay: 0.5s; }

/* ===== Dark Mode Support (already dark) ===== */
@media (prefers-color-scheme: light) {
  body { background: #0a0e27; color: #e0e6f0; }
  /* Keep dark theme consistent with brand */
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10,14,39,0.95); backdrop-filter: blur(12px); flex-direction: column; padding: 1rem 0; border-bottom: 1px solid rgba(74,158,255,0.1); }
  .nav-menu.open { display: flex; }
  .nav-menu li { text-align: center; padding: 0.5rem 0; }
  .nav-toggle { display: flex; }
  .hero { min-height: 60vh; }
  .slide-content { padding: 2rem 1rem; }
  .slide-content p { font-size: 1rem; }
  .btn-primary, .btn-secondary { padding: 0.7rem 1.8rem; font-size: 0.9rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .brand-grid, .products-grid, .services-grid, .news-grid, .cases-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0.5rem 1rem; }
  .hero { min-height: 50vh; padding-top: 70px; }
  .slide-content h1 { font-size: 1.8rem; }
  .slide-content h2 { font-size: 1.5rem; }
  .container { padding: 0 1rem; }
  .howto-content { padding: 1.5rem; }
}