/* Palette: Void Black, Neon Green, Dark Metal, White */
:root {
    --bg: #050505;
    --card-bg: #0F0F0F;
    --neon: #39FF14;
    --neon-dim: rgba(57, 255, 20, 0.2);
    --white: #FFFFFF;
    --grey: #808080;
    --grid-line: rgba(255, 255, 255, 0.05);
    
    --font-display: 'Orbitron', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: var(--font-tech);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Background */
.grid-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.header { padding: 20px 0; background: rgba(5, 5, 5, 0.9); border-bottom: 1px solid #222; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(5px); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; letter-spacing: 2px; }
.neon-text { color: var(--neon); text-shadow: 0 0 10px var(--neon-dim); }

.system-status { font-size: 0.8rem; border: 1px solid var(--neon); padding: 2px 8px; color: var(--neon); letter-spacing: 1px; }
.blink { animation: blink 2s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.nav a { margin-left: 25px; font-family: var(--font-display); font-size: 0.9rem; color: var(--grey); letter-spacing: 1px; }
.nav a:hover, .nav a.active { color: var(--neon); }

.mobile-toggle { display: none; background: transparent; border: 1px solid var(--white); color: var(--white); padding: 5px 10px; font-family: var(--font-display); cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg); z-index: 2000; padding: 50px; transition: 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--neon); }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: 1px solid var(--neon); color: var(--neon); font-family: var(--font-display); padding: 10px 20px; margin-bottom: 40px; cursor: pointer; }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 20px; color: var(--white); }
.mobile-menu a:hover { color: var(--neon); }

@media (max-width: 900px) {
    .nav, .system-status { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero { height: 85vh; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) grayscale(20%); }
.scan-line { position: absolute; width: 100%; height: 5px; background: rgba(57, 255, 20, 0.3); top: 0; animation: scan 4s infinite linear; box-shadow: 0 0 15px var(--neon); }
@keyframes scan { 0% { top: -10%; } 100% { top: 110%; } }

.hero-content { position: relative; z-index: 2; }
.hud-box { border-left: 4px solid var(--neon); padding-left: 30px; max-width: 700px; background: linear-gradient(90deg, rgba(0,0,0,0.8), transparent); padding: 40px; }
.hud-label { font-family: var(--font-display); font-size: 0.8rem; color: var(--neon); margin-bottom: 10px; display: block; letter-spacing: 2px; }
.hero h1 { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin-bottom: 20px; text-transform: uppercase; }
.hero p { font-size: 1.2rem; color: #ccc; margin-bottom: 40px; max-width: 500px; }

.hero-btns { display: flex; gap: 20px; }
.btn-neon { background: var(--neon); color: var(--bg); padding: 15px 40px; font-family: var(--font-display); font-weight: 900; letter-spacing: 1px; border: none; cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: 0.3s; }
.btn-neon:hover { background: var(--white); box-shadow: 0 0 20px var(--neon); }
.btn-outline { background: transparent; border: 1px solid var(--white); color: var(--white); padding: 15px 40px; font-family: var(--font-display); font-weight: 700; letter-spacing: 1px; transition: 0.3s; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.btn-outline:hover { border-color: var(--neon); color: var(--neon); }

/* Specs Section */
.section-head h2 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 10px; }
.neon-bar { width: 100px; height: 4px; background: var(--neon); margin-bottom: 40px; box-shadow: 0 0 10px var(--neon); }
.center { text-align: center; }
.center .neon-bar { margin: 0 auto 40px; }
.left { margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.spec-card { background: var(--card-bg); border: 1px solid #333; padding: 30px; transition: 0.3s; position: relative; overflow: hidden; }
.spec-card:hover { border-color: var(--neon); background: rgba(57, 255, 20, 0.05); }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.spec-card h3 { font-family: var(--font-display); margin-bottom: 10px; color: var(--white); }
.spec-card p { color: var(--grey); }

/* Fleet Preview */
.fleet-preview { border-top: 1px solid #333; border-bottom: 1px solid #333; padding: 30px 0; background: #0a0a0a; }
.fleet-preview .container { display: flex; justify-content: space-between; align-items: center; }
.preview-text h3 { font-family: var(--font-display); color: var(--neon); margin-bottom: 5px; }
.preview-text p { font-size: 0.9rem; color: var(--grey); letter-spacing: 1px; }
.link-arrow { font-family: var(--font-display); font-weight: 700; color: var(--white); transition: 0.3s; }
.link-arrow:hover { color: var(--neon); letter-spacing: 2px; }

/* Fleet Page */
.ev-grid { display: flex; flex-direction: column; gap: 60px; }
.ev-card { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--card-bg); border: 1px solid #333; }
.ev-img { position: relative; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: 0.5s; }
.ev-card:hover .ev-img img { filter: grayscale(0%); }
.overlay-stats { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, #000); padding: 20px; }
.overlay-stats span { font-family: var(--font-display); font-weight: 900; color: var(--neon); font-size: 1.2rem; }

.ev-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.ev-info h3 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 30px; line-height: 1; }
.stats-row { display: flex; justify-content: space-between; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 20px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); }
.stat span { color: var(--grey); font-size: 0.8rem; }
.price-tag { font-family: var(--font-display); font-size: 1.5rem; color: var(--neon); text-align: center; margin-bottom: 20px; border: 1px solid var(--neon); padding: 10px; }
.full { width: 100%; text-align: center; }

/* Charging Page */
.tech-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tech-text h1 { font-family: var(--font-display); font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
.tech-list { list-style: none; margin-top: 30px; }
.tech-list li { margin-bottom: 20px; border-left: 2px solid var(--neon); padding-left: 20px; }
.tech-list strong { color: var(--neon); display: block; margin-bottom: 5px; font-family: var(--font-display); }

.tech-visual { display: flex; justify-content: center; align-items: center; height: 400px; border: 1px dashed #333; background: radial-gradient(circle, #111 0%, #000 100%); }
.battery { width: 150px; height: 300px; border: 10px solid #333; border-radius: 20px; padding: 10px; position: relative; }
.battery::before { content: ''; position: absolute; top: -20px; left: 40px; width: 50px; height: 20px; background: #333; }
.level { width: 100%; height: 0%; background: var(--neon); border-radius: 5px; position: absolute; bottom: 10px; left: 10px; width: calc(100% - 20px); animation: charge 3s infinite linear; box-shadow: 0 0 20px var(--neon); }
.charge-text { margin-top: 20px; font-family: var(--font-display); color: var(--neon); animation: blink 1s infinite; position: absolute; bottom: 20px; }
@keyframes charge { 0% { height: 0%; filter: hue-rotate(90deg); } 100% { height: calc(100% - 20px); filter: hue-rotate(0deg); } }

/* Access/Contact */
.access-panel { max-width: 600px; margin: 0 auto; background: var(--card-bg); border: 1px solid var(--neon); box-shadow: 0 0 30px rgba(57, 255, 20, 0.1); padding: 2px; }
.panel-head { background: var(--neon); color: var(--bg); padding: 20px; text-align: center; }
.panel-head h2 { font-family: var(--font-display); margin: 0; }
.panel-head p { font-weight: 700; font-size: 0.9rem; }

.cyber-form { padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-item { margin-bottom: 20px; }
.f-item label { display: block; font-family: var(--font-display); font-size: 0.8rem; color: var(--neon); margin-bottom: 5px; }
.f-item input, .f-item select { width: 100%; background: #000; border: 1px solid #333; color: var(--white); padding: 12px; font-family: var(--font-tech); font-size: 1rem; }
.f-item input:focus, .f-item select:focus { border-color: var(--neon); outline: none; box-shadow: 0 0 10px var(--neon-dim); }

.terminal-footer { border-top: 1px dashed #333; padding: 20px 40px; font-size: 0.8rem; color: var(--grey); font-family: monospace; }

/* Legal */
.legal-box { max-width: 800px; margin: 0 auto; border: 1px solid #333; padding: 40px; }
.legal-box h1 { font-family: var(--font-display); color: var(--neon); }

/* Footer */
.footer { border-top: 1px solid #222; padding: 60px 0 20px; margin-top: 100px; background: #020202; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 40px; }
.f-brand h4 { font-family: var(--font-display); color: var(--white); font-size: 1.5rem; margin-bottom: 5px; }
.f-nav a { margin-left: 20px; font-family: var(--font-display); font-size: 0.9rem; color: var(--grey); }
.f-nav a:hover { color: var(--neon); }
.copyright { text-align: center; color: #444; font-size: 0.8rem; padding-top: 20px; border-top: 1px solid #111; }

@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .grid-3, .ev-card, .tech-layout, .form-grid, .fleet-preview .container { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
    .ev-img { height: 250px; }
    .stats-row { justify-content: space-around; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
}