/* Manthra EV — restyle Apr 2026 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:#f8fafc;color:#111827;line-height:1.6}

/* HEADER */
.m-header{position:fixed;top:0;left:0;right:0;z-index:100;padding:14px 0;background:rgba(13,17,23,.85);backdrop-filter:blur(12px);transition:background .3s,box-shadow .3s}
.m-header.scrolled{background:rgba(13,17,23,.97);box-shadow:0 2px 20px rgba(0,0,0,.5)}
.m-nav{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.m-logo img{height:44px;object-fit:contain}
.m-navlinks{display:flex;align-items:center;gap:28px;list-style:none}
.m-navlinks a{color:#d1d5db;text-decoration:none;font-size:14px;font-weight:500;transition:color .2s}
.m-navlinks a:hover{color:#4ade80}
.dropdown{position:relative}
.drop-btn{cursor:pointer;background:none;border:none;color:#d1d5db;font-size:14px;font-weight:500;font-family:inherit;padding:0}
.drop-btn:hover{color:#4ade80}
.dropdown-menu{display:none;position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);background:#161b22;border:1px solid #30363d;border-radius:10px;padding:8px;min-width:200px;box-shadow:0 8px 32px rgba(0,0,0,.5)}
.dropdown:hover .dropdown-menu,.dropdown.active .dropdown-menu{display:block}
.dropdown-menu a{display:block;padding:9px 14px;color:#d1d5db;text-decoration:none;font-size:13px;border-radius:7px;transition:background .15s}
.dropdown-menu a:hover{background:#21262d;color:#4ade80}
.m-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px}
.m-toggle span{display:block;width:22px;height:2px;background:#d1d5db;border-radius:2px}
@media(max-width:768px){
  .m-navlinks{display:none;position:fixed;top:72px;left:0;right:0;background:rgba(13,17,23,.97);flex-direction:column;align-items:flex-start;padding:20px 24px;gap:18px;border-top:1px solid #21262d}
  .m-navlinks.open{display:flex}
  .m-toggle{display:flex}
  .dropdown-menu{position:static;transform:none;box-shadow:none;border:none;background:transparent;padding:4px 0 4px 12px}
}

/* HERO — dark with green glow */
.m-hero{min-height:92vh;display:flex;align-items:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#0d1117 0%,#0a1a10 60%,#0d1117 100%)}
.m-hero-glow{position:absolute;top:15%;right:5%;width:500px;height:500px;background:radial-gradient(circle,rgba(74,222,128,.13) 0%,transparent 68%);pointer-events:none}
.m-hero-inner{max-width:1200px;margin:0 auto;padding:120px 24px 80px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;position:relative;z-index:1}
.m-hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(74,222,128,.1);border:1px solid rgba(74,222,128,.3);color:#4ade80;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600;letter-spacing:.08em;margin-bottom:20px}
.m-hero h1{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800;line-height:1.15;color:#f0f6fc;margin-bottom:20px}
.m-hero h1 span{color:#4ade80}
.m-hero-sub{font-size:1.02rem;color:#8b949e;margin-bottom:32px;max-width:440px}
.m-hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.btn-ev{display:inline-flex;align-items:center;gap:8px;padding:13px 28px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none;transition:all .2s;cursor:pointer;border:none;font-family:inherit}
.btn-ev-green{background:#4ade80;color:#0d1117}
.btn-ev-green:hover{background:#22c55e;transform:translateY(-1px)}
.btn-ev-outline{background:transparent;color:#4ade80;border:1.5px solid #4ade80}
.btn-ev-outline:hover{background:rgba(74,222,128,.1)}
.m-hero-img{display:flex;align-items:center;justify-content:center}
.m-hero-img img{max-width:100%;max-height:420px;object-fit:contain;filter:drop-shadow(0 0 32px rgba(74,222,128,.25))}
@media(max-width:768px){
  .m-hero-inner{grid-template-columns:1fr;text-align:center;gap:28px}
  .m-hero-sub{margin-left:auto;margin-right:auto}
  .m-hero-btns{justify-content:center}
  .m-hero-img{order:-1}.m-hero-img img{max-height:240px}
}

/* STATS STRIP */
.m-stats{background:#111827;border-top:1px solid #1f2937;border-bottom:1px solid #1f2937;padding:32px 0}
.m-stats-grid{max-width:1200px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}
.m-stat strong{display:block;font-size:2rem;font-weight:800;color:#4ade80}
.m-stat span{font-size:.78rem;color:#9ca3af;text-transform:uppercase;letter-spacing:.06em;font-weight:600}
@media(max-width:600px){.m-stats-grid{grid-template-columns:repeat(2,1fr)}}

/* SECTION HELPERS */
.m-section{padding:80px 0}
.m-container{max-width:1200px;margin:0 auto;padding:0 24px}
.m-label{display:inline-block;color:#22c55e;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px}
.m-title{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;color:#1f2937;margin-bottom:14px}
.m-sub{color:#6b7280;max-width:520px}

/* Force white text inside dark-bg sections */
.m-products .m-title,
.m-why .m-title{color:#f0f6fc !important}
.m-products .m-sub,
.m-why .m-sub{color:#9ca3af !important}

/* ABOUT — white background for contrast */
.m-about{background:#fff}
.m-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.m-about-img{border-radius:16px;overflow:hidden;border:1px solid #e5e7eb;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.m-about-img img{width:100%;height:320px;object-fit:cover;display:block}
.m-points{display:flex;flex-direction:column;gap:14px;margin-top:24px}
.m-point{display:flex;gap:12px;align-items:flex-start}
.m-point-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;flex-shrink:0;margin-top:7px}
.m-point p{color:#374151;font-size:.92rem}
@media(max-width:768px){.m-about-grid{grid-template-columns:1fr}}

/* PRODUCTS — dark background */
.m-products{background:#0d1117}
.m-products-hdr{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:36px;gap:16px;flex-wrap:wrap}
.m-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}
.m-card{background:#161b22;border:1px solid #21262d;border-radius:16px;overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s;cursor:pointer}
.m-card:hover{transform:translateY(-4px);border-color:#4ade80;box-shadow:0 8px 32px rgba(74,222,128,.1)}
.m-card-img{height:210px;background:#0d1117;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}
.m-card-img img{max-width:100%;max-height:100%;object-fit:contain;padding:16px;transition:transform .4s}
.m-card:hover .m-card-img img{transform:scale(1.06)}
.m-badge{position:absolute;top:10px;left:10px;background:rgba(74,222,128,.15);border:1px solid rgba(74,222,128,.4);color:#4ade80;font-size:10px;font-weight:700;padding:3px 9px;border-radius:12px}
.m-card-body{padding:18px}
.m-card-body h3{font-size:1rem;font-weight:700;color:#f0f6fc;margin-bottom:5px}
.m-card-body p{font-size:.83rem;color:#8b949e;margin-bottom:14px;line-height:1.5}
.m-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.m-pill{background:#21262d;color:#c9d1d9;font-size:10.5px;padding:3px 9px;border-radius:10px}
.m-pill-key{color:#6b7280}
.btn-view-specs{width:100%;background:rgba(74,222,128,.1);border:1px solid rgba(74,222,128,.3);color:#4ade80;padding:9px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s;font-family:inherit}
.btn-view-specs:hover{background:rgba(74,222,128,.2)}
.m-empty{text-align:center;padding:56px 20px;color:#6b7280;font-size:14px;grid-column:1/-1}
.m-spinner{display:inline-block;width:26px;height:26px;border:3px solid #21262d;border-top-color:#4ade80;border-radius:50%;animation:spin .7s linear infinite;margin-bottom:12px}
@keyframes spin{to{transform:rotate(360deg)}}

/* ── BATTERY COMPARISON SECTION ── */
.m-battery-section{background:#fff}

.m-bat-table{border-radius:16px;overflow:hidden;border:2px solid #e5e7eb;margin-bottom:28px}
.m-bat-header{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;background:#111827}
.m-bat-row{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr}
.m-bat-row-alt{background:#f8fafc}

.m-bat-cell{padding:14px 16px;font-size:.88rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px}
.m-bat-feature-head{align-items:flex-start;background:#111827}
.m-bat-col-head{background:#4b5563;border-left:1px solid #6b7280}
.m-bat-lfp-head{background:linear-gradient(135deg,#14532d 0%,#166534 100%) !important;border-left:2px solid #4ade80 !important}

.m-bat-icon{font-size:1.4rem}
.m-bat-col-title{font-size:.8rem;font-weight:700;color:#f0f6fc;text-align:center}
.m-bat-col-sub{font-size:.7rem;color:#9ca3af}
.m-bat-lfp-crown{background:#4ade80;color:#0d1117;font-size:.68rem;font-weight:800;padding:2px 10px;border-radius:12px;margin-top:4px;letter-spacing:.04em}

.m-bat-feature{align-items:flex-start;font-weight:600;color:#1f2937;border-bottom:1px solid #f3f4f6;gap:8px}
.m-bat-feat-icon{font-size:1rem;flex-shrink:0}
.m-bat-row .m-bat-cell{border-bottom:1px solid #f3f4f6;border-left:1px solid #f0f0f0}
.m-bat-row-alt .m-bat-cell{border-bottom:1px solid #e5e7eb;border-left:1px solid #e5e7eb}

.m-bat-val{font-size:.85rem;font-weight:600}
.m-bat-bad{color:#dc2626}
.m-bat-ok{color:#d97706}
.m-bat-good{color:#16a34a;font-weight:700}

/* LFP column highlight */
.m-bat-header .m-bat-lfp-head,
.m-bat-row .m-bat-cell:last-child,
.m-bat-row-alt .m-bat-cell:last-child{
  background:#f0fdf4;
  border-left:2px solid #4ade80;
}
.m-bat-row-alt .m-bat-cell:last-child{background:#e8faf0}

/* Tagline */
.m-bat-tagline{background:linear-gradient(90deg,#0d1117 0%,#14532d 50%,#0d1117 100%);border-radius:14px;padding:22px 28px;text-align:center}
.m-bat-tagline p{color:#f0f6fc;font-size:.92rem;line-height:1.7}
.m-bat-tagline strong{color:#4ade80}

@media(max-width:700px){
  .m-bat-header,.m-bat-row,.m-bat-row-alt{grid-template-columns:1.2fr repeat(3,.9fr)}
  .m-bat-cell{padding:10px 8px;font-size:.75rem}
  .m-bat-col-title{font-size:.7rem}
}
@media(max-width:480px){
  .m-bat-table{font-size:.72rem}
  .m-bat-header,.m-bat-row,.m-bat-row-alt{grid-template-columns:1fr repeat(3,.85fr)}
  .m-bat-cell{padding:8px 6px}
}

/* WHY — dark */
.m-why{background:#0d1117}
.m-why-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:22px;margin-top:36px}
.m-why-card{background:#161b22;border:1px solid #21262d;border-radius:14px;padding:26px 22px;transition:border-color .2s,box-shadow .2s}
.m-why-card:hover{border-color:#4ade80;box-shadow:0 4px 20px rgba(74,222,128,.08)}
.m-why-icon{font-size:1.8rem;margin-bottom:14px}
.m-why-card h4{font-size:.95rem;font-weight:700;color:#f0f6fc;margin-bottom:8px}
.m-why-card p{font-size:.82rem;color:#8b949e}

/* DEALER CTA */
.m-dealer{background:linear-gradient(135deg,#071a0f 0%,#0d1117 60%,#071a0f 100%);border-top:1px solid #21262d;border-bottom:1px solid #21262d;padding:72px 0;text-align:center}
.m-dealer h2{font-size:clamp(1.8rem,3vw,2.4rem);font-weight:800;color:#f0f6fc;margin-bottom:14px}
.m-dealer p{color:#8b949e;max-width:440px;margin:0 auto 28px}
.m-dealer-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* FOOTER */
.m-footer{background:#010409;border-top:1px solid #21262d;padding:48px 0 24px}
.m-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;margin-bottom:36px}
.m-footer-brand p{color:#6b7280;font-size:.83rem;margin-top:12px;max-width:240px;line-height:1.6}
.m-footer-col h4{font-size:.75rem;font-weight:700;color:#f0f6fc;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px}
.m-footer-col a{display:block;color:#6b7280;text-decoration:none;font-size:.82rem;margin-bottom:7px;transition:color .2s}
.m-footer-col a:hover{color:#4ade80}
.m-footer-col p{color:#6b7280;font-size:.82rem;margin-bottom:5px}
.m-footer-bottom{border-top:1px solid #21262d;padding-top:20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.m-footer-bottom p{color:#6b7280;font-size:.78rem}
@media(max-width:768px){.m-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.m-footer-grid{grid-template-columns:1fr}}

/* MODAL */
.m-modal-ov{display:none;position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:500;align-items:center;justify-content:center;padding:16px}
.m-modal-ov.open{display:flex}
.m-modal{background:#161b22;border:1px solid #30363d;border-radius:18px;width:100%;max-width:720px;max-height:92vh;overflow-y:auto}
.m-modal-hdr{padding:18px 22px;border-bottom:1px solid #21262d;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#161b22;z-index:1}
.m-modal-hdr h2{font-size:1.05rem;font-weight:700;color:#f0f6fc}
.m-modal-close{background:none;border:none;color:#8b949e;font-size:22px;cursor:pointer;line-height:1;padding:2px}
.m-modal-body{padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:26px}
.m-modal-main-img{border-radius:12px;overflow:hidden;border:1px solid #21262d;background:#0d1117;height:200px}
.m-modal-main-img img{width:100%;height:100%;object-fit:contain;padding:10px}
.m-modal-thumbs{display:flex;gap:8px;margin-top:8px}
.m-modal-thumb{width:60px;height:44px;border-radius:7px;border:2px solid #21262d;background:#0d1117;cursor:pointer;overflow:hidden;flex-shrink:0}
.m-modal-thumb.active{border-color:#4ade80}
.m-modal-thumb img{width:100%;height:100%;object-fit:contain;padding:3px}
.m-modal-desc{color:#8b949e;font-size:.88rem;margin-bottom:18px;line-height:1.6}
.m-modal-stitle{font-size:.75rem;font-weight:700;color:#c9d1d9;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}
.m-spec-table{width:100%;border-collapse:collapse}
.m-spec-table tr{border-bottom:1px solid #21262d}
.m-spec-table td{padding:7px 0;font-size:.85rem}
.m-spec-table td:first-child{color:#8b949e;width:45%;font-weight:500}
.m-spec-table td:last-child{color:#c9d1d9;font-weight:600}
.m-modal-video{margin-top:14px;border-radius:8px;overflow:hidden}
.m-modal-video iframe{width:100%;height:150px;border:none}
.m-modal-link{display:inline-flex;align-items:center;gap:8px;margin-top:14px;background:rgba(74,222,128,.1);border:1px solid rgba(74,222,128,.3);color:#4ade80;padding:8px 16px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:600}
.m-modal-link:hover{background:rgba(74,222,128,.2)}
.m-modal-notes{margin-top:12px;background:#0d1117;border-radius:8px;padding:11px 13px;font-size:.82rem;color:#8b949e;border-left:3px solid rgba(74,222,128,.5)}
@media(max-width:600px){.m-modal-body{grid-template-columns:1fr}}
