/* =========================
   MyAudit.in — Neon Theme
   ========================= */

/* Base */
:root{
  --bg: #020b08;
  --glass: rgba(255,255,255,0.06);
  --glass2: rgba(0,0,0,0.35);
  --border: rgba(255,255,255,0.10);

  --emerald: #34d399; /* emerald-400 */
  --emerald2:#10b981;

  --cyan:#67e8f9;     /* cyan-300 */
  --cyan2:#22d3ee;

  --fuchsia:#f0abfc;  /* fuchsia-300 */

  --text2: rgba(226,232,240,0.75);
  --text3: rgba(226,232,240,0.55);
}

html, body{
  height: 100%;
}

body{
  background: var(--bg);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

/* Helpers */
.text-emerald{ color: var(--emerald) !important; }
.text-cyan{ color: var(--cyan) !important; }
.text-white-80{ color: rgba(255,255,255,0.80) !important; }
.text-light-90{ color: rgba(255,255,255,0.90) !important; }
.text-muted2{ color: var(--text2) !important; }
.border-white-10{ border-color: rgba(255,255,255,0.10) !important; }

.lead-sm{ font-size: 1.05rem; }

/* Background FX */
.bgfx{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob{
  position: absolute;
  border-radius: 999px;
  filter: blur(140px);
  opacity: 0.9;
  animation: pulseGlow 4.2s ease-in-out infinite;
}

.blob-green{
  width: 560px; height: 560px;
  left: -160px; top: -160px;
  background: rgba(16,185,129,0.18);
}

.blob-cyan{
  width: 640px; height: 640px;
  right: -200px; top: 40px;
  background: rgba(34,211,238,0.14);
}

@keyframes pulseGlow{
  0%,100%{ transform: scale(1); opacity: 0.85; }
  50%{ transform: scale(1.06); opacity: 1; }
}

/* Lines texture */
.lines{
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(52,211,153,0.12), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(34,211,238,0.10), transparent 40%),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, auto, 100% 32px;
  opacity: 0.25;
  mix-blend-mode: screen;
}

/* Noise overlay */
.noise{
  position:absolute;
  inset:0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* Fade vignette */
.fade{
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.55), rgba(0,0,0,0.92));
}

/* Topbar */
.topbar{
  position: relative;
  z-index: 5;
  background: rgba(16,185,129,0.10);
  backdrop-filter: blur(10px);
}

.topbar-link{
  color: rgba(167,243,208,0.9);
  text-decoration: none;
  font-weight: 600;
}
.topbar-link:hover{ color: rgba(167,243,208,1); }

.vr-lite{
  background-color: rgba(255,255,255,0.18);
  width:1px;
}

.btn-topbar-close{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}
.btn-topbar-close:hover{
  background: rgba(255,255,255,0.10);
}

.topbar-hide{
  animation: topbarOut .25s ease forwards;
}
@keyframes topbarOut{
  to{ opacity:0; transform: translateY(-8px); }
}

/* Header */
.logo-wrap{
  width: 170px; 
  height: 62px;
  border-radius: 18px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(52,211,153,0.25);
  display: grid;
  place-items: center;
}
.logo-img{
  width: 148px;
  object-fit: contain;
}

.navlink{
  color: var(--text2);
  text-decoration: none;
}
.navlink:hover{ color:#fff; }

.hr-glow{
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(52,211,153,0.35), transparent);
}

/* Chip */
.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(226,232,240,0.85);
  font-size: 0.9rem;
}

/* Cursor */
.cursor{
  margin-left: 6px;
  opacity: 0.9;
  animation: blink 1s steps(2,end) infinite;
}
@keyframes blink{ 50%{ opacity: 0; } }

/* Glass */
.glass{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
}

/* Neon glows */
.glow-green{
  box-shadow:
    0 0 0 1px rgba(52,211,153,0.18) inset,
    0 0 55px rgba(16,185,129,0.14);
}
.glow-cyan{
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.18) inset,
    0 0 55px rgba(34,211,238,0.12);
}

/* Topbar always clickable and above everything */
.topbar{
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}

/* Center content but keep space for close button */
.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding-right: 46px; /* space for close button */
  flex-wrap: wrap;
  text-align: center;
}

/* Link will wrap nicely on mobile */
.topbar-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: normal;
}

/* Close button fixed right */
.btn-topbar-close{
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 10000;

  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.90);
}

.btn-topbar-close:hover{
  background: rgba(255,255,255,0.10);
}


/* Scanline effect */
.scanline{
  position: relative;
  overflow:hidden;
}
.scanline::after{
  content:"";
  position:absolute;
  inset:-60%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
  transform: rotate(18deg);
  animation: scan 4.8s linear infinite;
  opacity: 0.35;
}
@keyframes scan{
  0%{ transform: translateX(-40%) rotate(18deg); }
  100%{ transform: translateX(40%) rotate(18deg); }
}

/* Buttons */
.btn-emerald{
  background: var(--emerald);
  color: #052014;
  border: none;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(16,185,129,0.45);
  border-radius: 16px;
}
.btn-emerald:hover{ background: rgba(52,211,153,0.92); }

.btn-cyan{
  background: var(--cyan);
  color: #031822;
  border: none;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(34,211,238,0.35);
  border-radius: 16px;
}
.btn-cyan:hover{ background: rgba(103,232,249,0.92); }

.btn-outline-neon{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(52,211,153,0.25);
  color: rgba(226,232,240,0.92);
  border-radius: 16px;
}
.btn-outline-neon:hover{
  background: rgba(16,185,129,0.10);
  border-color: rgba(52,211,153,0.35);
}

/* Code Card */
.code-card{
  border-radius: 22px;
  padding: 18px;
}

  .codebox {
    max-height: 260px;      /* box ki height (apni need ke hisaab se) */
    overflow: hidden;       /* scrollbars hide */
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0b1220;
  }

  .codebox pre {
    margin: 0;
    padding: 14px;
    max-height: 260px;      /* same as codebox for safe */
    overflow-y: auto;       /* actual scroll yahin hoga */
    scrollbar-width: none;  /* Firefox hide scrollbar */
  }
  .codebox pre::-webkit-scrollbar { width: 0; height: 0; } /* Chrome hide scrollbar */

  /* Hover pe pause (optional) */
  .codebox.pause-on-hover:hover pre { overflow-y: auto; }
  
   /* FIXED HEIGHT must be there, tabhi scroll hoga */
  .codebox {
    height: 260px;                 /* change as needed */
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: #0b1220;
    overflow: hidden;              /* hide outer scrollbar */
  }

  .codebox pre {
    height: 100%;                  /* important */
    margin: 0;
    padding: 14px;
    overflow-y: auto;              /* actual scrolling yaha hoga */
    scrollbar-width: none;         /* Firefox */
  }
  .codebox pre::-webkit-scrollbar { width: 0; height: 0; }


.codebox{
  background: rgba(0,0,0,0.40);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
  color: rgba(167,243,208,0.90);
  font-size: 0.85rem;
  overflow-x:auto;
}

/* Findings */
.finding{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
}

.badge-high, .badge-med, .badge-low{
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid rgba(255,255,255,0.10);
}
.badge-high{ background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.25); color: rgba(254,202,202,0.95); }
.badge-med{ background: rgba(234,179,8,0.12); border-color: rgba(234,179,8,0.25); color: rgba(254,240,138,0.95); }
.badge-low{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: rgba(226,232,240,0.90); }

/* Plans */
.plan{
  border-radius: 22px;
  padding: 22px;
}
.border-emerald{ border: 1px solid rgba(52,211,153,0.25) !important; }
.border-cyan{ border: 1px solid rgba(34,211,238,0.25) !important; }

.price{
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.bullets{
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  color: rgba(226,232,240,0.92);
}
.bullets li{
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  font-size: 0.95rem;
}
.bullets li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: rgba(52,211,153,0.95);
  font-weight: 800;
}

/* Feature cards */
.feature{
  border-radius: 22px;
  padding: 18px;
}

/* Icon box */
.iconbox{
  width: 44px; height: 44px;
  display:grid;
  place-items:center;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 18px;
}
.icon-green{
  border-color: rgba(52,211,153,0.25);
  background: rgba(16,185,129,0.10);
}
.icon-cyan{
  border-color: rgba(34,211,238,0.25);
  background: rgba(34,211,238,0.10);
}

/* Footer */
.footer{
  background: rgba(0,0,0,0.30);
}

/* =========================
   Modals
   ========================= */
.modal-glass{
  background: rgba(2, 12, 10, 0.78);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.45) inset,
    0 0 60px rgba(16,185,129,0.10);
}

.modal-topline{
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, rgba(52,211,153,0.95), rgba(34,211,238,0.95), rgba(240,171,252,0.90));
  opacity: 0.75;
}

.pill{
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}
.pill-emerald{
  border-color: rgba(52,211,153,0.25);
  background: rgba(16,185,129,0.12);
  color: rgba(167,243,208,0.95);
}
.pill-cyan{
  border-color: rgba(34,211,238,0.25);
  background: rgba(34,211,238,0.12);
  color: rgba(165,243,252,0.95);
}

.modal-price{
  font-size: 1.4rem;
  font-weight: 800;
}

.input-neon, .textarea-neon{
  background: rgba(0,0,0,0.40) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: rgba(226,232,240,0.95) !important;
  border-radius: 16px !important;
}
.input-neon::placeholder, .textarea-neon::placeholder{
  color: rgba(148,163,184,0.75) !important;
}
.input-neon:focus, .textarea-neon:focus{
  box-shadow: none !important;
  border-color: rgba(52,211,153,0.35) !important;
  outline: none !important;
}

.mini-features{
  display:grid;
  gap: 10px;
  grid-template-columns: repeat(1, minmax(0,1fr));
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(226,232,240,0.90);
}
@media (min-width: 768px){
  .mini-features{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

.dot{
  display:inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  margin-right: 8px;
}
.dot-emerald{ background: rgba(52,211,153,0.95); }
.dot-cyan{ background: rgba(34,211,238,0.95); }
.dot-fuchsia{ background: rgba(240,171,252,0.95); }

/* =========================
   Mobile Bottom Navigation
   ========================= */
/*.mobile-bottom-nav{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;

  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 6px;

  padding: 10px 10px;
  border-radius: 18px;

  background: rgba(2, 12, 10, 0.72);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.35) inset,
    0 0 35px rgba(16,185,129,0.10);
}*/

/* =========================
   Mobile Bottom Navigation (Improved)
   ========================= */
 .topbar{
  position: relative;
  z-index: 9999;          /* ✅ top-most */
  pointer-events: auto;   /* ✅ clickable */
}

.bgfx{ pointer-events: none; }

  
   .btn-topbar-close{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}


.mobile-bottom-nav{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;

  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;

  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  background: rgba(2, 12, 10, 0.92);
  backdrop-filter: blur(14px);

  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 -12px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0,0,0,0.35) inset;
}

/* each item */
.mbn-item{
  text-decoration: none;
  color: rgba(226,232,240,0.78);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 10px 6px;
  gap: 5px;

  border-radius: 0;
  border: none;

  transition: background .15s ease, transform .12s ease, color .15s ease;
}

/* icon */
.mbn-ic{
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(16,185,129,0.10));
}

/* label */
.mbn-txt{
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .2px;
}

/* hover */
.mbn-item:hover{
  background: rgba(255,255,255,0.06);
}

/* active glow + underline */
.mbn-item.active{
  color: rgba(167,243,208,0.98);
  background: linear-gradient(to top, rgba(16,185,129,0.16), rgba(255,255,255,0.02));
  position: relative;
}

.mbn-item.active::after{
  content:"";
  position:absolute;
  left: 18%;
  right: 18%;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(52,211,153,1), rgba(34,211,238,0.95));
  box-shadow: 0 0 18px rgba(16,185,129,0.30);
}

/* content padding so it won't hide under nav */
@media (max-width: 767.98px){
  body{ padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}


.mbn-item{
  text-decoration: none;
  color: rgba(226,232,240,0.80);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 4px;
  padding: 8px 6px;

  border-radius: 14px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.mbn-ic{
  font-size: 18px;
  line-height: 1;
}

.mbn-txt{
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
}

.mbn-item:hover{
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.mbn-item.active{
  color: rgba(167,243,208,0.95);
  background: rgba(16,185,129,0.10);
  border-color: rgba(52,211,153,0.22);
  box-shadow: 0 0 18px rgba(16,185,129,0.14);
}

/* Give space so content/footer not hidden behind bottom nav */
@media (max-width: 767.98px){
  body{ padding-bottom: 86px; }
}
