/* =============================================
   VOLT MOTORS — Custom Styles
   Colors: #f0f9ff | #0ea5e9 | #0f172a
   ============================================= */

html { scroll-behavior: smooth; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: #0ea5e9; z-index: 9999; width: 0%; transition: width 0.1s linear; }

#navbar { background: transparent; transition: all 0.3s ease; }
#navbar.scrolled { background: rgba(15,23,42,0.97); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.btn-primary { background: #0ea5e9; color: #fff; border: 2px solid #0ea5e9; border-radius: 6px; cursor: pointer; transition: background 0.2s, transform 0.1s; display: inline-block; text-align: center; }
.btn-primary:hover { background: #0284c7; border-color: #0284c7; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); border-radius: 6px; cursor: pointer; transition: all 0.2s; display: inline-block; text-align: center; }
.btn-outline:hover { border-color: #0ea5e9; color: #0ea5e9; transform: translateY(-1px); }

.reveal-section { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-section.revealed { opacity: 1; transform: translateY(0); }

.mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mobile-menu.open { max-height: 500px; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1000; overflow-y: auto; padding: 2rem 0; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { transform: translate(-50%, -50%) scale(0.95); transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0; position: absolute; top: 50%; left: 50%; }
.modal-overlay.active .modal-content { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.carousel-slide { display: none; }
.carousel-slide.active { display: block; animation: fadeSlide 0.5s ease; }
@keyframes fadeSlide { from { opacity: 0; } to { opacity: 1; } }

.carousel-dot { width: 8px; height: 8px; border-radius: 50%; cursor: pointer; border: none; transition: all 0.3s; background: #334155; }
.carousel-dot.active { width: 24px; border-radius: 4px; background: #0ea5e9; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-item { cursor: pointer; }

.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: #0ea5e9; color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 500; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: #0284c7; }

.lazy-img { filter: blur(8px); transition: filter 0.5s ease; }
.lazy-img.loaded { filter: blur(0); }

.model-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.model-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(14,165,233,0.2); }

.tech-card { transition: transform 0.3s ease, border-color 0.3s ease; border: 1px solid rgba(14,165,233,0.15); }
.tech-card:hover { transform: translateY(-4px); border-color: #0ea5e9; }

.hero-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }

.hero-tagline { animation: heroUp 0.7s ease forwards 0.3s; }
.hero-title   { animation: heroUp 0.7s ease forwards 0.6s; }
.hero-sub     { animation: heroUp 0.7s ease forwards 0.9s; }
.hero-cta     { animation: heroUp 0.7s ease forwards 1.1s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.spec-badge { background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.3); border-radius: 8px; padding: 0.5rem 1rem; display: inline-flex; flex-direction: column; align-items: center; }
