:root{
  --bg:#ffffff;
  --fg:#0f172a;
  --muted:#64748b;
  --accent:#22c55e;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui;
  background:var(--bg);
  color:var(--fg);
}

.error-msg{
  background:#fee2e2;
  color:#7f1d1d;
  padding:12px 14px;
  border-radius:12px;
  font-size:.9rem;
  margin-bottom:14px;
  border:1px solid #fecaca;
}

.card{
  width:100%;
 
  background:#fff;
  padding:28px;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);
}
h1{
  font-size:1.6rem;
  margin-bottom:6px;
}
p{
  color:#64748b;
  font-size:.9rem;
}
input{
  width:100%;
  padding:14px;
  margin-top:14px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  font-size:1rem;
}
input:focus{
  outline:none;
  border-color:#22c55e;
}
.button{
  width:100%;
  margin-top:20px;
  padding:14px;
  border:none;
  border-radius:14px;
  background:#22c55e;
  color:#fff;
  font-size:1rem;
  font-weight:600;
}
.alt{
  margin-top:16px;
  text-align:center;
  font-size:.85rem;
}
.alt a{
  color:#22c55e;
  text-decoration:none;
  font-weight:600;
}
/* TOP BAR */
.top{
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #e5e7eb;
}
.live{
  font-size:.85rem;
  color:var(--muted);
}
.dot{
  width:8px;height:8px;
  background:var(--accent);
  border-radius:50%;
  display:inline-block;
  margin-right:6px;
  animation:pulse 1.5s infinite;
}
@keyframes pulse{
  0%{opacity:1}
  50%{opacity:.4}
  100%{opacity:1}
}

/* HERO */
.hero{
  padding:28px 16px;
}
.hero h1{
  font-size:clamp(2rem,6vw,2.6rem);
  line-height:1.2;
}
.hero p{
  color:var(--muted);
  margin-top:8px;
}

/* SPEED SIGNAL */
.signal{
  margin-top:12px;
  display:inline-block;
  background:#dcfce7;
  color:#166534;
  padding:6px 10px;
  border-radius:999px;
  font-size:.8rem;
}

/* CATEGORY STRIP */
.strip{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding:20px 16px;
}
.cat{
  min-width:140px;
  background:#f8fafc;
  border-radius:16px;
  padding:14px;
}
.cat span{
  color:var(--muted);
  font-size:.8rem;
}

/* SECTION */
.section{
  padding:20px 16px;
}
.section h3{
  margin-bottom:12px;
}

/* POPULAR */
.popular div{
  padding:10px 0;
  border-bottom:1px solid #e5e7eb;
}

/* ACTIVITY */
.feed div{
  padding:8px 0;
  font-size:.9rem;
  color:var(--muted);
}

/* BUSINESSES */
.biz{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.biz div{
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:12px;
  font-size:.9rem;
}

/* BUSINESS CTA */
.business-cta{
  background:#0f172a;
  color:#fff;
  padding:28px 16px;
  text-align:center;
}
.business-cta p{
  color:#cbd5f5;
}
.business-cta a{
  display:inline-block;
  margin-top:12px;
  background:#fff;
  color:#000;
  padding:12px 18px;
  border-radius:14px;
  text-decoration:none;
}

/* STICKY CTA */
.sticky{
  position:sticky;
  bottom:0;
  background:#fff;
  padding:12px;
  border-top:1px solid #e5e7eb;
}
.sticky button{
  width:100%;
  padding:14px;
  border:none;
  border-radius:14px;
  background:#0f172a;
  color:#fff;
  font-size:1rem;
}
.top{
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #e5e7eb;
  gap:12px;
}

.full-nav{
  position:fixed;
  inset:0;
  background:#ffffff;
  z-index:9999;
 display: none;
  flex-direction:column;
  padding:16px;
  overflow-y:auto;
}

/* Header */
.nav-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:12px;
  border-bottom:1px solid #e5e7eb;
}
.nav-header button{
  background:none;
  border:none;
  font-size:1.4rem;
  cursor:pointer;
}

/* Sections */
.nav-section{
  margin-top:20px;
}
.nav-section h4{
  font-size:.85rem;
  color:#64748b;
  margin-bottom:8px;
}
.nav-section a{
  display:block;
  padding:12px 0;
  font-size:1.05rem;
  text-decoration:none;
  color:#0f172a;
  border-bottom:1px solid #f1f5f9;
}

/* Desktop hide */


/* MOBILE */
@media(max-width:768px){
  .hamburger{display:block}

  .nav{
    position:absolute;
    top:56px;
    right:16px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:12px;
    flex-direction:column;
    gap:10px;
    display:none;
    z-index:100;
    box-shadow:0 20px 40px rgba(0,0,0,.1);
  }

  .nav.show{display:flex}
}
.biz-strip{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:6px;
}

.biz-card{
  min-width:180px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:14px;
  background:#fff;
}

.biz-card span{
  display:inline-block;
  margin-top:6px;
  font-size:.75rem;
  color:#166534;
  background:#dcfce7;
  padding:4px 8px;
  border-radius:999px;
}
.search-wrap{
  margin-top:16px;
}

.search-wrap input{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  font-size:1rem;
  outline:none;
}

.search-wrap input:focus{
  border-color:#22c55e;
  box-shadow:0 0 0 3px rgba(34,197,94,.15);
}
.btn-login{
  padding:7px 14px !important;
  border-radius:10px;
  background:#e0f2fe;           /* light blue */
  color:#0369a1;                /* deep blue */
  font-weight:500;
  transition:.25s;
}

.btn-login:hover{
  background:#bae6fd;
  color:#075985;
}


.btn-register{
  padding:9px 18px !important;
  border-radius:999px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#ffffff !important;
  font-weight:600;
  box-shadow:0 6px 18px rgba(34,197,94,.35);
  transition:.25s;
}

.btn-register:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(34,197,94,.45);
}
.bottom-nav{
  display:none;
}
 
  /* AUTH WRAPPER */
.auth-wrapper{
  min-height:calc(100vh - 120px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

/* CARD */
.card{
  width:100%;
  max-width:380px;
  background:#fff;
  padding:28px;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);
}

/* SOCIAL LOGIN */
.social-login{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:16px;
}

.social{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  background:#ffffff;
  font-size:.95rem;
  cursor:pointer;
  font-weight:500;
}

/* Individual styles */
.social.google{
  border-color:#fca5a5;
  color:#b91c1c;
}

.social.facebook{
  border-color:#93c5fd;
  color:#1d4ed8;
}

.social.whatsapp{
  border-color:#86efac;
  color:#166534;
}

/* Divider */
.divider{
  text-align:center;
  margin:18px 0;
  position:relative;
}
.divider span{
  background:#fff;
  padding:0 10px;
  color:#64748b;
  font-size:.8rem;
}
.divider:before{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:#e5e7eb;
  z-index:-1;
}

/* Form button */
.button{
  width:100%;
  margin-top:16px;
  padding:14px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  font-size:1rem;
  font-weight:600;
}

/* Alt link */
.alt{
  margin-top:16px;
  text-align:center;
  font-size:.85rem;
}
.alt a{
  color:#16a34a;
  font-weight:600;
  text-decoration:none;
}
/* MOBILE */
@media(max-width:768px){
  .bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#ffffff;
    border-top:1px solid #e5e7eb;
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding:10px 6px;
    z-index:999;
  }

  .bottom-nav a{
    flex:1;
    text-align:center;
    text-decoration:none;
    font-size:.85rem;
    padding:10px 0;
    border-radius:12px;
    color:#475569;
  }

  /* Explore — PRIMARY */
  .nav-explore{
    background:#22c55e;
    color:#ffffff;
    font-weight:600;
    margin:0 6px;
  }

  /* Login — COOL */
  .nav-login{
    background:#e0f2fe;
    color:#0369a1;
  }

  /* Register — WARM */
  .nav-register{
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:#ffffff;
    font-weight:600;
  }

  /* Page content ko hide hone se bachao */
 
 

}


/* DEFAULT */

.desktop-menu{
  display:flex;
  align-items:center;
  gap:16px;
}

/* MOBILE */
@media(max-width:768px){
  .hamburger{
    display:block;
    font-size:1.6rem;
    background:none;
    border:none;
  }

  .desktop-menu{
    display:none;
  }
}
.hamburger{
    display:block;
    font-size:1.6rem;
    background:none;
    border:none;
  }
/* FULL NAV OVERLAY (MOBILE ONLY) */
.full-nav{
  position:fixed;
  inset:0;
  background:#fff;
  z-index:9999;
  display:none;
  flex-direction:column;
  padding:16px;
}

/* =========================
   DESKTOP MENU
========================= */

.desktop-menu{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:.9rem;
}

/* Normal links */
.desktop-menu a{
  text-decoration:none;
  color:#0f172a;
  font-weight:500;
  padding:6px 8px;
  border-radius:8px;
  transition:background .2s,color .2s;
}

.desktop-menu a:hover{
  background:#f1f5f9;
}

/* Login button */
.desktop-menu .btn-login{
  background:#e0f2fe;
  color:#0369a1;
  padding:7px 14px;
  border-radius:10px;
  font-weight:500;
}

.desktop-menu .btn-login:hover{
  background:#bae6fd;
}

/* Register button (primary CTA) */
.desktop-menu .btn-register{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#ffffff;
  padding:9px 18px;
  border-radius:999px;
  font-weight:600;
  box-shadow:0 6px 18px rgba(34,197,94,.35);
  transition:.25s;
}

.desktop-menu .btn-register:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(34,197,94,.45);
}

/* =========================
   MOBILE RULES
========================= */
@media(max-width:768px){
  .desktop-menu{
    display:none;   /* mobile me hide */
  }
}

