/* ==========================================================
   SEGERA HADIR - BYD ATTO 2 & BYD Ti7 (Open Indent)
   Dipakai di Beranda dan halaman model. Semua class diawali
   "nm-" supaya tidak bentrok dengan style.css bawaan situs.
   ========================================================== */
:root {
  --nm-primary: #0B4DBB;
  --nm-dark: #071C3A;
  --nm-darker: #040F22;
  --nm-accent: #19B6FF;
  --nm-gold: #C9A45C;
  --nm-wa: #1FAF5A;
}

.nm-section { position: relative; overflow: hidden; }
.nm-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(25,182,255,.18), transparent 60%), linear-gradient(160deg, var(--nm-dark) 0%, var(--nm-darker) 100%); color: #fff; }
.nm-dark h1, .nm-dark h2, .nm-dark h3, .nm-dark h4, .nm-dark h5 { color: #fff; }
.nm-dark p { color: rgba(255,255,255,.78); }
.nm-grid-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.nm-section > .container { position: relative; z-index: 1; }

/* Label "Segera Hadir" dengan titik berkedip */
.nm-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(25,182,255,.12); color: var(--nm-accent); border: 1px solid rgba(25,182,255,.35); }
.nm-pill.nm-pill-gold { background: rgba(201,164,92,.14); color: var(--nm-gold); border-color: rgba(201,164,92,.45); }
.nm-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: nm-pulse 1.8s infinite; }
@keyframes nm-pulse { 0% { box-shadow: 0 0 0 0 rgba(25,182,255,.7); } 70% { box-shadow: 0 0 0 10px rgba(25,182,255,0); } 100% { box-shadow: 0 0 0 0 rgba(25,182,255,0); } }

.nm-title { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.nm-title .nm-hl { background: linear-gradient(90deg, var(--nm-accent), #7DD3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nm-lead { font-size: 1.1rem; max-width: 720px; }

/* Tombol */
.nm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; border: 2px solid transparent; line-height: 1.2; }
.nm-btn:hover { transform: translateY(-2px); text-decoration: none; }
.nm-btn-wa { background: var(--nm-wa); color: #fff; box-shadow: 0 10px 25px rgba(31,175,90,.35); }
.nm-btn-wa:hover { color: #fff; background: #189a4e; }
.nm-btn-primary { background: var(--nm-primary); color: #fff; }
.nm-btn-primary:hover { color: #fff; background: #093f99; }
.nm-btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.nm-btn-ghost:hover { color: var(--nm-dark); background: #fff; }
.nm-btn-outline { border-color: var(--nm-primary); color: var(--nm-primary); background: transparent; }
.nm-btn-outline:hover { color: #fff; background: var(--nm-primary); }

/* ---------- Beranda: kartu dua model ---------- */
.nm-home { padding: 80px 0; }
.nm-card { height: 100%; display: flex; flex-direction: column; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.nm-card:hover { transform: translateY(-6px); border-color: rgba(25,182,255,.55); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.nm-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d2447; }
.nm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.nm-card:hover .nm-card-img img { transform: scale(1.05); }
.nm-card-img .nm-tag { position: absolute; top: 14px; left: 14px; }
.nm-tag { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: rgba(4,15,34,.75); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(4px); }
.nm-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.nm-card-body h3 { font-weight: 800; margin-bottom: .35rem; }
.nm-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.2rem; padding: 0; list-style: none; }
.nm-chips li { font-size: .82rem; padding: .35rem .75rem; border-radius: 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.nm-chips li i { color: var(--nm-accent); margin-right: .3rem; }
.nm-card .nm-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; }
.nm-card .nm-btn { padding: .7rem 1.2rem; font-size: .92rem; }

/* Harga rahasia */
.nm-secret { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px dashed rgba(201,164,92,.5); margin-bottom: 1.2rem; }
.nm-secret small { display: block; color: rgba(255,255,255,.6); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.nm-secret .nm-price { font-size: 1.35rem; font-weight: 800; color: var(--nm-gold); filter: blur(5px); user-select: none; font-variant-numeric: tabular-nums; }
.nm-secret i { color: var(--nm-gold); font-size: 1.3rem; }

.nm-note { font-size: .82rem; color: rgba(255,255,255,.55) !important; }

/* ---------- Halaman model ---------- */
.nm-hero { padding: 90px 0 80px; min-height: 620px; display: flex; align-items: center; }
.nm-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.nm-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--nm-darker) 10%, rgba(4,15,34,.75) 55%, rgba(4,15,34,.35) 100%); }
.nm-hero .nm-model-name { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 1.1rem 0 .8rem; }
.nm-hero .nm-tagline { font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: #fff; font-weight: 600; margin-bottom: 1rem; }
.nm-hero .nm-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.nm-hero-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); }
.nm-hero-media img { width: 100%; display: block; }

/* Video vertikal (bingkai ponsel) */
.nm-phone { position: relative; max-width: 320px; margin: 0 auto; border-radius: 34px; padding: 10px; background: #0b0b0f; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); }
.nm-phone video { display: block; width: 100%; border-radius: 26px; background: #000; aspect-ratio: 9 / 16; object-fit: cover; }
.nm-phone .nm-sound { position: absolute; right: 22px; bottom: 22px; }

/* Countdown style: blok harga misteri */
.nm-mystery { padding: 70px 0; background: #fff; }
.nm-mystery-box { border-radius: 26px; padding: 44px 30px; text-align: center; background: linear-gradient(135deg, #0B4DBB 0%, #071C3A 100%); color: #fff; position: relative; overflow: hidden; }
.nm-mystery-box::after { content: ""; position: absolute; top: -50%; left: -30%; width: 60%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transform: rotate(20deg); animation: nm-shine 4.5s infinite; }
@keyframes nm-shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
.nm-mystery-box h2 { color: #fff; font-weight: 800; }
.nm-mystery-box p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto; }
.nm-scramble { display: inline-block; filter: blur(3px); user-select: none; font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; color: var(--nm-gold); letter-spacing: .04em; margin: 18px 0; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(201,164,92,.35); }

/* Angka utama */
.nm-stats { padding: 60px 0; background: #f6f8fc; }
.nm-stat { height: 100%; text-align: center; padding: 28px 16px; background: #fff; border-radius: 18px; border: 1px solid #e3eaf6; }
.nm-stat .nm-num { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--nm-primary); line-height: 1.1; }
.nm-stat small { display: block; color: #5b6b82; margin-top: .4rem; }

/* Baris fitur */
.nm-features { padding: 80px 0; background: #fff; }
.nm-feature { margin-bottom: 70px; }
.nm-feature:last-child { margin-bottom: 0; }
.nm-feature-img { border-radius: 22px; overflow: hidden; box-shadow: 0 20px 45px rgba(7,28,58,.15); }
.nm-feature-img img { width: 100%; display: block; }
.nm-feature .nm-kicker { color: var(--nm-primary); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.nm-feature h2 { font-weight: 800; margin: .5rem 0 1rem; color: var(--nm-dark); }
.nm-feature p { color: #4a5a70; font-size: 1.03rem; }
.nm-feature ul { padding-left: 0; list-style: none; margin: 1rem 0 0; }
.nm-feature ul li { padding: .35rem 0; color: #33445c; }
.nm-feature ul li i { color: var(--nm-primary); margin-right: .5rem; }

/* Galeri */
.nm-gallery { padding: 70px 0; }
.nm-gallery .nm-g { border-radius: 18px; overflow: hidden; height: 100%; }
.nm-gallery .nm-g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.nm-gallery .nm-g:hover img { transform: scale(1.04); }

/* Tabel bocoran spesifikasi */
.nm-specs { padding: 80px 0; background: #f6f8fc; }
.nm-spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #e3eaf6; }
.nm-spec-table th, .nm-spec-table td { padding: 14px 20px; border-bottom: 1px solid #edf1f8; vertical-align: top; }
.nm-spec-table tr:last-child th, .nm-spec-table tr:last-child td { border-bottom: 0; }
.nm-spec-table th { width: 38%; color: #5b6b82; font-weight: 600; background: #fbfcfe; }
.nm-spec-table td { color: var(--nm-dark); font-weight: 600; }
.nm-locked { color: #9aa6b8 !important; font-weight: 500 !important; }
.nm-locked i { color: var(--nm-gold); margin-right: .4rem; }

/* Langkah indent */
.nm-steps { padding: 80px 0; }
.nm-step { height: 100%; padding: 28px 24px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.nm-step .nm-step-no { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--nm-accent); color: var(--nm-darker); margin-bottom: 16px; }
.nm-step h5 { font-weight: 700; }
.nm-step p { margin: 0; font-size: .95rem; }

/* FAQ */
.nm-faq { padding: 80px 0; background: #fff; }
.nm-faq details { border: 1px solid #e3eaf6; border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.nm-faq details[open] { border-color: var(--nm-primary); box-shadow: 0 10px 25px rgba(11,77,187,.08); }
.nm-faq summary { cursor: pointer; font-weight: 700; color: var(--nm-dark); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.nm-faq summary::-webkit-details-marker { display: none; }
.nm-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--nm-primary); }
.nm-faq details[open] summary::after { content: "\2212"; }
.nm-faq details p { margin: 12px 0 0; color: #4a5a70; }

/* CTA akhir + model lain */
.nm-cta { padding: 80px 0; text-align: center; }
.nm-cta .nm-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.nm-other { display: flex; align-items: center; gap: 18px; max-width: 560px; margin: 50px auto 0; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); text-align: left; text-decoration: none; color: #fff; transition: border-color .3s; }
.nm-other:hover { border-color: var(--nm-accent); color: #fff; text-decoration: none; }
.nm-other img { width: 140px; height: 90px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.nm-other small { color: var(--nm-accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.nm-other strong { display: block; font-size: 1.15rem; }

/* Animasi muncul saat discroll */
.nm-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.nm-reveal.nm-in { opacity: 1; transform: none; }

/* Badge menu */
.nm-badge-new { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 6px; font-size: .62rem; font-weight: 800; letter-spacing: .06em; background: #d9534f; color: #fff; vertical-align: middle; line-height: 1.5; }

@media (max-width: 991.98px) {
  .nm-hero { padding: 60px 0; min-height: 0; text-align: center; }
  .nm-hero .nm-actions { justify-content: center; }
  .nm-hero .nm-lead { margin-left: auto; margin-right: auto; }
  .nm-hero-bg::after { background: linear-gradient(180deg, rgba(4,15,34,.85), var(--nm-darker)); }
  .nm-feature { text-align: center; margin-bottom: 50px; }
}
@media (max-width: 575.98px) {
  .nm-home, .nm-features, .nm-specs, .nm-steps, .nm-faq, .nm-cta { padding: 55px 0; }
  .nm-btn { width: 100%; }
  .nm-card .nm-btn { width: auto; flex: 1; }
  .nm-spec-table th, .nm-spec-table td { display: block; width: 100%; }
  .nm-spec-table th { border-bottom: 0; padding-bottom: 4px; }
  .nm-other img { width: 100px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-reveal { opacity: 1; transform: none; transition: none; }
  .nm-dot, .nm-mystery-box::after { animation: none; }
}
