/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.root{
--bg: #08080d;
  --sidebar: #0c0c13;
  --panel: #121219;
  --panel-2: #1a1a24;
  --border: #23232f;
  --text: #ffffff;
  --text-dim: #9a9aae;

  --purple: #7c5cff;
  --purple-2: #6a3dfa;
  --pink: #ec5990;
  --green: #34d399;
  --blue: #4d8dff;
  --teal: #2dd4bf;
  --orange: #f5a623;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #1a1a2e;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #f0eefa;
  z-index: 100;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 80px;
  gap: 24px;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-only {
  height: 74px;
  width: 74px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: #3a3a4d;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #7c3aed;
}

.nav-cta{
    background:#7c3aed;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
}
#applyOverlay {
  z-index: 99999 !important; /* navbar (z-index:100) se kaafi zyada */
}

/* ---- Profile icon + Login/Sign Up dropdown (sits left of "Apply as a Buddy") ---- */
.profile-menu-wrap {
  position: relative;
  flex-shrink: 0;
  margin-right: -90px;
}
.profile-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5f2fd;
  border: none;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease;
  
}
.profile-icon-btn:hover {
  background: #ece4ff;
}
.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border: 1px solid #f0eefa;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(20, 20, 31, 0.12);
  min-width: 170px;
  overflow: hidden;
  z-index: 200;
}
.profile-dropdown.open {
  display: block;
}
.profile-dropdown-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: #14141f;
  cursor: pointer;
  font-family: inherit;
}
.profile-dropdown-item + .profile-dropdown-item {
  border-top: 1px solid #f5f3fb;
}
.profile-dropdown-item:hover {
  background: #f8f6fd;
  color: #7c3aed;
}
.profile-dropdown-name {
  padding: 14px 20px 10px;
  font-size: 13px;
  color: #6b6b80;
  font-weight: 600;
  border-bottom: 1px solid #f5f3fb;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .navbar-inner {
    padding: 8px 32px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .profile-menu-wrap {
    margin-right: 0; /* negative margin tablet pe layout todta hai, hata do */
  }
  .logo-only {
    height: 56px;
    width: 56px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .navbar-inner {
    padding: 8px 16px;
    gap: 12px;
  }
  .logo-only {
    height: 44px;
    width: 44px;
    margin-right: 50px;
  }

  /* Nav links ko hide karo, hamburger dikhao */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid #f0eefa;
    box-shadow: 0 12px 24px rgba(20,20,31,0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    box-sizing: border-box;
    border-top: 1px solid #f5f3fb;
    font-size: 15px;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 13.5px;
  }

  .profile-icon-btn {
    width: 36px;
    height: 36px;
    margin-right: -40px;
  }
  .profile-dropdown {
    min-width: 150px;
    right: -5px;
  }

  /* Hamburger button — show only on mobile */
  .hamburger-btn {
    display: flex;
  }
}

/* Hamburger hidden by default (desktop) */
.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #14141f;
}

/* ===== HAMBURGER MENU — FINAL FIX ===== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 500;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #14141f;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex !important; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 80%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid #f0eefa;
    box-shadow: 0 12px 24px rgba(20,20,31,0.15);
    z-index: 9999;
  }
  .nav-links.b1am-force-open {
    display: flex !important;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    border-top: 1px solid #f5f3fb;
    font-size: 14px;
    line-height: 1.3;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: linear-gradient(120deg, #ffffff 55%, #f3f0ff 100%);
  display: flex;
  align-items: center;
  padding: 60px 80px 80px;
  margin-top: -56px;
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

/* ===== Decorative dots grid ===== */
.dots {
  position: absolute;
  width: 160px;
  height: 120px;
  background-image: radial-gradient(#c9c3e8 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.7;
  z-index: 1;
}

.dots-top-left {
  top: 20px;
  left: 20px;
}

.dots-bottom-right {
  bottom: 20px;
  right: 260px;
}


/* ===== Left Content ===== */
.hero-left {
  flex: 1 1 480px;
  max-width: 560px;
  margin-left:-60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid #e0dbf5;
  border-radius: 20px;
  font-size: 13px;
  color: #4b4b63;
  background: #fff;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c3aed;
  display: inline-block;
}

.headline {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  color: #14141f;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.headline .accent {
  color: #7c3aed;
}

.divider {
  width: 60px;
  height: 3px;
  background: #7c3aed;
  border-radius: 2px;
  margin-bottom: 24px;
}

.subheadline {
  font-size: 22px;
  font-weight: 700;
  color: #14141f;
  margin-bottom: 14px;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  color: #6b6b80;
  max-width: 420px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .hero-left .divider {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
  }
}

/* ---- CTA button (as provided by user) ---- */
  .cta-button{
    position:relative;
    padding:16px 32px;
    font-size:16px;
    font-weight:600;
    color:#fff;
    background:linear-gradient(135deg,#6d5efc,#8b5cf6);
    border:none;
    border-radius:12px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    box-shadow:0 8px 24px rgba(109,94,252,0.35);
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .cta-button:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(109,94,252,0.45);
  }
  .cta-button .arrow{
    transition:transform .15s ease;
  }
  .cta-button:hover .arrow{
    transform:translateX(4px);
  }

  
.cta-button-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
  margin-bottom: 36px;
}

.cta-button-dark:hover {
  background: #222;
  border-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.cta-button-dark .arrow {
  font-size: 18px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 0 0 1px #e5e0f7;
}

.avatars img:first-child {
  margin-left: 0;
}

.social-text {
  font-size: 14px;
  color: #6b6b80;
}

/* ===== Right side: window backdrop ===== */
.hero-right {
  position: relative;
  flex: 1 1 420px;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  overflow: visible;
}

.window-backdrop {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(6deg);
  width: 320px;
  height: 420px;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
}

.window-frame {
  width: 100%;
  height: 100%;
  border: 10px solid #dcd6f5;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(124, 58, 237, 0.25);
  overflow: hidden;
}

.sky {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a1440 0%, #241a5e 40%, #2d2170 100%);
}

.moon {
  position: absolute;
  top: 60px;
  left: 110px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #dcdcff 70%);
  box-shadow: 0 0 50px 10px rgba(255, 255, 255, 0.5);
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
}

.star1 { top: 30px; left: 40px; }
.star2 { top: 90px; left: 260px; }
.star3 { top: 150px; left: 60px; }
.star4 { top: 50px; left: 300px; }
.star5 { top: 200px; left: 320px; }

.mountains {
  position: absolute;
  bottom: 90px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #4b3f8a;
  clip-path: polygon(0% 100%, 15% 40%, 30% 80%, 50% 20%, 70% 70%, 85% 30%, 100% 100%);
  opacity: 0.6;
}

.city-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: repeating-linear-gradient(
    90deg,
    #14103a,
    #14103a 18px,
    #1c1650 18px,
    #1c1650 30px
  );
}

.city-skyline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 10px 20px, #ffd76a 100%, transparent),
    radial-gradient(2px 2px at 40px 40px, #ffd76a 100%, transparent),
    radial-gradient(2px 2px at 80px 15px, #ffd76a 100%, transparent),
    radial-gradient(2px 2px at 120px 35px, #ffd76a 100%, transparent),
    radial-gradient(2px 2px at 160px 20px, #ffd76a 100%, transparent),
    radial-gradient(2px 2px at 200px 45px, #ffd76a 100%, transparent),
    radial-gradient(2px 2px at 240px 25px, #ffd76a 100%, transparent),
    radial-gradient(2px 2px at 280px 15px, #ffd76a 100%, transparent);
  opacity: 0.8;
}

/* ===== Chat Card ===== */
.chat-card {
  position: relative;
  z-index: 3;
  width: 400px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(60, 40, 120, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-left: -220px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #f0eefa;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-header-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.chat-name {
  font-weight: 700;
  font-size: 15px;
  color: #14141f;
}

.chat-status {
  font-size: 12px;
  color: #6b6b80;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.chat-menu {
  font-size: 20px;
  color: #a0a0b0;
  cursor: pointer;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
}

.msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  position: relative;
}

.msg p {
  margin-bottom: 2px;
}

.msg-bot {
  align-self: flex-start;
  background: #f2f1f7;
  color: #26263a;
  border-bottom-left-radius: 4px;
}

.msg-user {
  align-self: flex-end;
  background: #7c3aed;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-followup {
  margin-top: 8px;
}

.msg-time {
  display: block;
  font-size: 11px;
  opacity: 0.6;
  margin-top: 4px;
  text-align: right;
}

.typing-indicator {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  background: #f2f1f7;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9b3d6;
  animation: blink 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; background: #9b8fd6; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; background: #7c3aed; }


/* ===== Section wrapper - white background ===== */
.find-section {
  background: #ffffff;
  padding: 100px 80px;
}
 
.find-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
 
/* ===== Left content ===== */
.find-left {
  flex: 1 1 420px;
  max-width: 500px;
}
 
.find-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #7c3aed;
  margin-bottom: 18px;
}
 
.find-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  color: #14141f;
  margin-bottom: 22px;
}
 
.find-heading .accent {
  color: #7c3aed;
}
 
.find-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #6b6b80;
  margin-bottom: 28px;
}
 
.find-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}
 
.find-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #3a3a4d;
}
 
.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
.find-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: 15px 26px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}
 
/* ===== Right: phone mockup ===== */
.find-right {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: -80px;
}

.phone-frame {
  width: 360px;
  height: 572px;              /* locked to same height as .chat-card */
  display: flex;
  flex-direction: column;
  background: #14101f;
  border-radius: 26px;
  padding: 18px 14px 16px;
  box-shadow: 0 30px 70px rgba(60, 30, 120, 0.25);
  border: 1px solid #2a2440;
  overflow: hidden;           /* nothing spills outside the fixed height */
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f2f0ff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
  padding: 0 2px;
  flex-shrink: 0;
}

.phone-back {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.phone-back:hover {
  background: rgba(255,255,255,0.15);
}

.phone-search {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(124,58,237,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.phone-search:hover {
  background: rgba(124,58,237,0.25);
}
.phone-search svg {
  stroke: #a78bfa;
}
.phone-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.tab {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  color: #b3adcf;
  background: #1f1930;
  white-space: nowrap;
}

.tab-active {
  background: #7c3aed;
  color: #fff;
}

.buddy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  flex: 1;                    /* takes remaining space inside the fixed frame */
  overflow-y: auto;           /* extra buddy cards scroll instead of stretching the frame */
  padding-right: 4px;
}

.buddy-list::-webkit-scrollbar {
  width: 4px;
}

.buddy-list::-webkit-scrollbar-thumb {
  background: #3a3155;
  border-radius: 4px;
}

.buddy-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1428;
  border: 1px solid #2a2440;
  border-radius: 12px;
  padding: 10px;
  flex-shrink: 0;
}

.buddy-avatar {
  position: relative;
  flex-shrink: 0;
}

.buddy-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #1a1428;
}

.buddy-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.buddy-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #f2f0ff;
}

.buddy-rating {
  font-size: 11.5px;
  color: #f5c518;
}

.buddy-status {
  font-size: 11px;
  color: #22c55e;
}

.buddy-price {
  font-size: 11px;
  color: #8a84a8;
}

.talk-btn {
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.match-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #7c3aed, #9d5cf5);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  flex-shrink: 0;              /* always visible at bottom, never pushed out */
}

.match-icon {
  font-size: 20px;
  flex-shrink: 0;
}

 
/* ===== Responsive ===== */
@media (max-width: 900px) {
  .find-section {
    padding: 70px 30px;
  }
  .find-heading {
    font-size: 30px;
  }
}
 
@media (max-width: 560px) {
  .find-heading {
    font-size: 26px;
  }
  .phone-frame {
    width: 100%;
  }
}

@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid #f0eefa;
}

.chat-input input {
  flex: 1;
  border: none;
  outline: none;
  background: #f5f4fa;
  border-radius: 24px;
  padding: 12px 16px;
  font-size: 14px;
  color: #6b6b80;
}

.send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #7c3aed;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    padding: 40px 30px;
  }
  .headline {
    font-size: 36px;
  }
  .window-backdrop {
    display: none;
  }
  .hero-right {
    min-height: auto;
  }
  .chat-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    flex-direction: column;
  }
  .headline {
    font-size: 30px;
  }
  .dots-bottom-right {
    display: none;
  }
}

/*==========================
WHY EXISTS
==========================*/

.why-exists{

padding:120px 8%;

background:#fff;

text-align:center;

margin-top: -50px;

}

.container{

max-width:1300px;

margin:auto;

}

.section-tag{

display:inline-block;

font-size:24px;

font-weight:700;

letter-spacing:2px;

color:#7B4DFF;

text-transform:uppercase;

margin-bottom:18px;

}

.why-exists h2{

font-size:40px;

font-weight:800;

line-height:1.2;

max-width:900px;

margin:auto;

color:#111827;

}

.why-exists h2 span{

background:linear-gradient(90deg,#6d3cff,#9b6bff);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

}

.exists-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

margin-top:100px;

}

.exists-card{
    padding:35px 25px;
    margin-top:-80px;

    background:#fff;
    border-radius:24px;

    border:1.5px solid #000;

    transition:all .35s ease;
}

.exists-card:hover{
    transform:translateY(-8px);
    border-color:#6d3cff;
    box-shadow:0 15px 40px rgba(109,60,255,.15);
}

.icon{

width:75px;

height:75px;

margin:auto;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

background:linear-gradient(180deg,#f6f1ff,#ece4ff);

box-shadow:0 15px 35px rgba(109,60,255,.15);

color:#6d3cff;

margin-bottom:25px;

}

.icon svg{

width:34px;

height:34px;

}

.exists-card h3{

font-size:22px;

font-weight:700;

margin-bottom:15px;

color:#111827;

}

.exists-card p{

font-size:16px;

line-height:1.8;

color:#6B7280;

}

/*==========================
Responsive
==========================*/

@media(max-width:1100px){

.exists-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.why-exists{

padding:80px 25px;

}

.why-exists h2{

font-size:34px;

}

.exists-grid{

grid-template-columns:1fr;

gap:25px;

}

}


/* ===== Section wrapper - white background ===== */
.conv-section {
  background: #ffffff;
  padding: 100px 80px;
  margin-top: -80px;
}
 
.conv-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}
 
/* ===== Left content ===== */
.conv-left {
  flex: 1 1 520px;
  max-width: 620px;
}
.conv-left,
.conv-right {
  display: flex;
}

.app-mockup {
  display: flex;
  flex-direction: column;
  width: 100%;
} 
.conv-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #7c3aed;
  margin-bottom: 18px;
}
 
.conv-heading {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #14141f;
  margin-bottom: 36px;
}
 
.conv-heading .accent {
  color: #7c3aed;
}
 
.conv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
 
.conv-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #3a3a4d;
}
 
.conv-list strong {
  color: #14141f;
  font-weight: 700;
}
 
.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
/* ===== Right side: app mockup ===== */
.conv-right {
  flex: 1 1 520px;
  max-width: 620px;
  display: flex;
  justify-content: center;
}
 
.app-mockup {
  width: 100%;
  background: #14101f;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(60, 30, 120, 0.25);
  border: 1px solid #2a2440;
}
 
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #2a2440;
}
 
.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f2f0ff;
  font-weight: 700;
  font-size: 15px;
}
 
.app-logo-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.app-dots {
  color: #7a7593;
  font-size: 18px;
  cursor: pointer;
}
 
.app-body {
  display: flex;
  min-height: 380px;
}
 
/* Sidebar */
.app-sidebar {
  width: 190px;
  background: #191325;
  padding: 18px 14px;
  border-right: 1px solid #2a2440;
  flex-shrink: 0;
}
 
.new-chat-btn {
  width: 100%;
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 18px;
}
 
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}
 
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: #b3adcf;
  font-size: 13px;
  line-height: 1;
}
 
.side-link:hover {
  background: #221c33;
  color: #fff;
}
 

 
.recent-label {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
}
 
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
 
.recent-item {
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #a19bc2;
  text-decoration: none;
}
 
.recent-item:hover {
  background: #221c33;
  color: #fff;
}
 
/* Chat panel */
.chat-panel {
  flex: 1;
  padding: 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
 
.chat-date {
  font-size: 11px;
  color: #6b6485;
  text-align: center;
  margin-bottom: 4px;
}
 
.entry {
  max-width: 85%;
  font-size: 13.5px;
  line-height: 1.5;
}
 
.entry p {
  margin-bottom: 4px;
}
 
.entry-time {
  display: block;
  font-size: 10.5px;
  opacity: 0.55;
}
 
.entry-plain {
  align-self: flex-start;
  color: #d8d4ec;
}
 
.entry-bot {
  align-self: flex-end;
  background: linear-gradient(135deg, #7c3aed, #9d5cf5);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  text-align: right;
}
 
.bot-avatar {
  position: absolute;
  bottom: 16px;
  right: 20px;
}
 
/* ===== Responsive ===== */
@media (max-width: 900px) {
  .conv-section {
    padding: 70px 30px;
  }
  .conv-heading {
    font-size: 32px;
  }
  .app-sidebar {
    display: none;
  }
}
 
@media (max-width: 560px) {
  .conv-heading {
    font-size: 26px;
  }
  .conv-list li {
    font-size: 14px;
  }
}


/*********************moodpopup**************************/


/* Overlay */

.mood-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    backdrop-filter:blur(8px);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.mood-overlay.active{
    display:flex;
}


/* Popup */

.mood-popup{

    width:390px;
    padding: 22px;
    max-width:90%;
    background:#06060f;
    border-radius:22px;
    padding:35px;
    margin-bottom: -80px;
    color:#fff;
    position:relative;

    box-shadow:0 20px 60px rgba(0,0,0,.5);

    animation:popup .35s ease;
}

@keyframes popup{

    from{
        transform:translateY(20px) scale(.95);
        opacity:0;
    }

    to{
        transform:translateY(0) scale(1);
        opacity:1;
    }

}


.small-title{

    text-align:center;
    letter-spacing:4px;
    font-size:11px;
    color:#d7c8b0;
    margin-bottom:10px;
    border-radius: 22px;
}


.mood-popup h2{

    text-align:center;
    font-size:30px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:18px;
}


.mood-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}


.mood-card{

    background:#181818;
    border:1px solid #2b2b2b;
    border-radius:16px;
    height:72px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    color:#fff;
    cursor:pointer;

    transition:.25s;
}

.mood-card span{

    font-size:18px;
    margin-bottom:4px;
}

.mood-card p{

    margin:0;
    font-size:15px;
    font-weight:500;
}

.mood-card:hover{

    background:#242424;
    transform:translateY(-3px);
    border-color:#6d63ff;
}


.bottom-text{

    text-align:center;
    color:#cfcfcf;
    margin-top:16px;
    font-size:14px;
}


.close-btn{

    position:absolute;
    top:16px;
    right:16px;

    width:38px;
    height:38px;

    border:none;
    border-radius:50%;

    background:#1b1b28;
    color:#fff;

    cursor:pointer;
    font-size:20px;
}

.close-btn:hover{

    background:#313143;
}

/* Black + Purple theme auth popup CSS
   Apni style.css file mein add kar dein (purani auth CSS ko isse replace kar dein) */

.auth-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(4px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
  padding:20px;
  margin-top:50px;
}
.auth-overlay.open{
  display:flex;
}

.auth-modal{
  background:#0c0c10;
  border:1px solid #2a2a33;
  border-radius:16px;
  width:100%;
  max-width:420px;
  overflow:hidden;
  box-shadow:0 30px 70px rgba(109,94,252,0.25);
}

.auth-header{
  background:linear-gradient(135deg,#6d5efc,#8b5cf6);
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.auth-header h3{
  font-size:22px;
  font-weight:800;
  color:#fff;
  margin:0;
}
.auth-close{
  background:none;
  border:none;
  font-size:18px;
  color:#fff;
  cursor:pointer;
  opacity:0.8;
}
.auth-close:hover{
  opacity:1;
}

.auth-subtext{
  text-align:center;
  color:#9a9aa5;
  font-size:15px;
  line-height:1.5;
  padding:22px 24px 6px;
}

.auth-body{
  padding:14px 28px 26px;
}

.auth-label{
  display:block;
  font-size:14px;
  color:#9a9aa5;
  margin-bottom:10px;
}

.phone-input-row{
  display:flex;
  align-items:center;
  background:#17171d;
  border:1px solid #2a2a33;
  border-radius:10px;
  overflow:hidden;
  margin-bottom:18px;
}
.country-code{
  display:flex;
  align-items:center;
  gap:6px;
  padding:14px 12px;
  font-size:14px;
  color:#f5f5f7;
  border-right:1px solid #2a2a33;
  white-space:nowrap;
}
.phone-input-row input{
  flex:1;
  border:none;
  background:transparent;
  outline:none;
  padding:14px 12px;
  font-size:15px;
  color:#f5f5f7;
}
.phone-input-row input::placeholder{
  color:#6a6a75;
}

.get-otp-btn{
  width:100%;
  background:linear-gradient(135deg,#6d5efc,#8b5cf6);
  border:none;
  border-radius:10px;
  padding:16px;
  font-size:15px;
  font-weight:700;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  margin-bottom:16px;
  box-shadow:0 8px 24px rgba(109,94,252,0.35);
  transition:transform .15s ease, box-shadow .15s ease;
}
.get-otp-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(109,94,252,0.45);
}
.get-otp-btn:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
}

.or-divider{
  display:flex;
  align-items:center;
  text-align:center;
  color:#6a6a75;
  font-size:13px;
  margin-bottom:18px;
}
.or-divider::before, .or-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#2a2a33;
}
.or-divider span{
  padding:0 14px;
}

.google-btn{
  width:100%;
  background:#17171d;
  border:1px solid #2a2a33;
  border-radius:10px;
  padding:14px;
  font-size:15px;
  font-weight:500;
  color:#f5f5f7;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  margin-bottom:20px;
  transition:background .15s ease, border-color .15s ease;
}
.google-btn:hover{
  background:#1c1c24;
  border-color:#6d5efc;
}

/* "Change email" / "Skip for now" jaise links */
.back-link{
  text-align:center;
  color:#6d5efc;
  font-size:13px;
  cursor:pointer;
  margin-bottom:16px;
}
.back-link:hover{
  text-decoration:underline;
}

.auth-terms{
  font-size:13px;
  color:#6a6a75;
  text-align:center;
  line-height:1.6;
}
.auth-terms a{
  color:#8b5cf6;
  text-decoration:underline;
}

.otp-sent-text{
  color:#B9B4D6;
  font-size:13px;
  margin:0 0 16px;
}
.otp-sent-text span{ color:#fff; font-weight:600; }

.success-wrap{ text-align:center; padding:20px 6px 6px; }
.success-tick{
  width:64px; height:64px; border-radius:50%;
  background:#7C5CFF;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px;
  animation:tickpop .4s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes tickpop{ from{ transform:scale(0); } to{ transform:scale(1); } }
.success-tick svg{ width:28px; height:28px; }
.success-title{ font-size:20px; font-weight:700; margin:0 0 6px; color:#fff; }
.success-sub{ color:#B9B4D6; font-size:14px; margin:0; }

/* Apply as a Buddy popup CSS - apni style.css mein add kar dein */

.apply-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(4px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
  padding:20px;
}
.apply-overlay.open{
  display:flex;
}

.apply-modal{
  background:#0c0c10;
  border:1px solid #2a2a33;
  border-radius:16px;
  width:100%;
  max-width:460px;
  max-height:88vh;
  overflow-y:auto;
  box-shadow:0 30px 70px rgba(109,94,252,0.25);
}

.apply-header{
  background:linear-gradient(135deg,#6d5efc,#8b5cf6);
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
}
.apply-header h3{
  font-size:20px;
  font-weight:800;
  color:#fff;
  margin:0;
}
.apply-close{
  background:none;
  border:none;
  font-size:18px;
  color:#fff;
  cursor:pointer;
  opacity:0.8;
}
.apply-close:hover{
  opacity:1;
}

.apply-subtext{
  text-align:center;
  color:#9a9aa5;
  font-size:14px;
  line-height:1.6;
  padding:18px 24px 4px;
}

#buddyApplyForm{
  padding:14px 28px 26px;
}

.auth-label{
  display:block;
  font-size:13px;
  color:#9a9aa5;
  margin:14px 0 8px;
}

.phone-input-row{
  display:flex;
  align-items:center;
  background:#17171d;
  border:1px solid #2a2a33;
  border-radius:10px;
  overflow:hidden;
}
.country-code{
  display:flex;
  align-items:center;
  gap:6px;
  padding:14px 12px;
  font-size:14px;
  color:#f5f5f7;
  border-right:1px solid #2a2a33;
  white-space:nowrap;
}
.phone-input-row input,
.phone-input-row textarea{
  flex:1;
  border:none;
  background:transparent;
  outline:none;
  padding:14px 12px;
  font-size:14px;
  color:#f5f5f7;
  font-family:inherit;
  resize:vertical;
}
.phone-input-row input::placeholder,
.phone-input-row textarea::placeholder{
  color:#6a6a75;
}

.file-input-row{
  background:#17171d;
  border:1px solid #2a2a33;
  border-radius:10px;
  padding:12px;
}
.file-input-row input[type="file"]{
  width:100%;
  color:#9a9aa5;
  font-size:13px;
}
.file-input-row input[type="file"]::file-selector-button{
  background:#6d5efc;
  color:#fff;
  border:none;
  border-radius:6px;
  padding:8px 14px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  margin-right:12px;
}

.get-otp-btn{
  width:100%;
  background:linear-gradient(135deg,#6d5efc,#8b5cf6);
  border:none;
  border-radius:10px;
  padding:16px;
  font-size:15px;
  font-weight:700;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  margin-top:22px;
  box-shadow:0 8px 24px rgba(109,94,252,0.35);
  transition:transform .15s ease, box-shadow .15s ease;
}
.get-otp-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(109,94,252,0.45);
}
.get-otp-btn:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
}

#applySuccessStep{
  text-align:center;
  padding:32px 28px 30px;
}
.success-icon{
  font-size:48px;
  margin-bottom:14px;
}
.success-title{
  color:#fff;
  font-size:20px;
  margin-bottom:6px;
}



/* ---------- Dashboard overlay ---------- */
  .dashboard-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #0b0b12;
  z-index: 999999 !important;
  overflow: hidden;
}
  .dashboard-overlay.active { display: block; }

  .dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid #1e1e2a;
  }
  .dash-header .brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: #ffffff; }
  .dash-close {
    background: #1e1e2a;
    border: 1px solid #333347;
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
  }

  .dash-body { padding: 32px; max-width: 900px; margin: 0 auto; }
  .dash-title{
    font-size:32px;
    font-weight:700;
    color:#ffffff;   /* White */
    margin-bottom:8px;
}
  .dash-sub { color: #a0a0b8; font-size: 14px; margin: 0 0 28px; }

  .buddy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .buddy-card {
    background: #14141c;
    border: 1px solid #26263a;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: border-color .15s;
  }
  .buddy-card:hover { border-color: #7c5cff; }
  .buddy-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cff, #ff6bd6);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
  }
  .buddy-info { flex: 1; min-width: 0; }
  .buddy-name { color:#ffffff; font-size: 15px; font-weight: 600; margin: 0 0 2px; }
  .buddy-status { font-size: 12px; color: #ffffff; margin: 0; }
  .buddy-status::before { content: "●"; margin-right: 5px; }
  .buddy-talk-btn {
    background: #7c5cff;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .buddy-exp{
    color:#ffffff;
    font-size:14px;
}

.buddy-lang{
    color:#ffffff;
    font-size:14px;
}

.buddy-tags{
    color:#ffffff;
    font-size:14px;
}

.buddy-stars{
    color:#FFD700;;
    font-size:14px;
}
.buddy-verified{
    color:#22c55e;       /* Green */
    font-size:16px;
    font-weight:700;
    margin-left:6px;
}

  /* ---------- Chat view (inside same dashboard overlay) ---------- */
.chat-view {
  display: none;
  flex-direction: column;
  /* Fixed to calc with a larger offset to bring the entire view up */
  height: calc(100vh - 120px); /* Adjust this (e.g., 100px, 120px) to move the entire chat window up or down */
  max-height: calc(100vh - 120px);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  z-index: 100; /* Ensures it stays above general page content */
}

.chat-view.active {
  display: flex !important;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-bottom: 1px solid #1e1e2a;
  flex-shrink: 0;
}

.chat-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.chat-top-actions button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: #1e1e2a;
  color: #d1d1db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.chat-top-actions button:hover { background: #2a2a3a; }

.chat-back {
  background: #1e1e2a;
  border: 1px solid #333347;
  color: #fff;
  width: 34px; 
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.chat-top .buddy-name { font-size: 15px; margin: 0; }
.chat-top .buddy-status { margin: 0; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.msg {
  max-width: 88%;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.msg.them {
  background: #1e1e2a;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.me {
  background: linear-gradient(135deg, #8b6bff, #7c3aed);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.msg-time {
  align-self: flex-end;
  font-size: 10.5px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.msg-time svg { width: 13px; height: 13px; }

.chat-input-row {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border-top: 1px solid #1e1e2a;
  max-width: 900px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box;
}
.chat-input-row input {
  flex: 1;
  background: #14141c;
  border: 1px solid #26263a;
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 14.5px;
  outline: none;
}
.chat-input-row input:focus {
  border-color: #7c3aed;
}
.chat-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.chat-icon-btn svg { width: 16px; height: 16px; }
.chat-icon-btn:hover { color: #d1d1db; }

.chat-send-btn {
  background: linear-gradient(135deg, #8b6bff, #7c3aed);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skip-btn {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}



/* ---------- AI Chat Overlay ---------- */
.ai-chat-overlay {
  position: fixed;
  inset: 0;
  background: #05050a;
  display: none;
  flex-direction: row;
  z-index: 2000;
}
.ai-chat-overlay.active { display: flex; }

/* ---------- Sidebar ---------- */
.ai-chat-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #0b0b12;
  border-right: 1px solid #1e1e2a;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  margin-top: 80px;
}

.ai-new-chat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1e1e2a;
  border: 1px solid #333347;
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
  margin-top: 20px;
}
.ai-new-chat-btn:hover { background: #26263a; }
.ai-new-chat-btn span { font-size: 16px; }

.ai-recents-label {
  color: #a0a0b8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 4px 0 0;
}

.ai-recents-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .15s;
}
.ai-recent-item:hover { background: #1e1e2a; }
.ai-recent-item.active {
  background: #7c5cff22;
  border: 1px solid #7c5cff;
}

.ai-recent-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  color: #d0d0e0;
  font-size: 13px;
}
.ai-recent-item.active .ai-recent-title { color: #fff; }

.ai-recent-menu-wrap {
  position: relative;
  flex-shrink: 0;
}

.ai-recent-dots {
  background: transparent;
  border: none;
  color: #9694a8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1;
}
.ai-recent-dots:hover {
  background: #26263a;
  color: #fff;
}

.ai-recent-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: #1e1e2a;
  border: 1px solid #333347;
  border-radius: 8px;
  min-width: 130px;
  z-index: 50;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.ai-recent-dropdown.open {
  display: block;
}

.ai-recent-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: none;
  color: #ff5c5c;
  font-size: 13px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
}
.ai-recent-dropdown-item:hover {
  background: #ff5c5c22;
}

/* ---------- Main chat area wrapper ---------- */
.ai-chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ---------- Sidebar toggle button (mobile) ---------- */
.ai-sidebar-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  margin-right: 4px;
  display: none;
}

/* ---------- Header ---------- */
.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 30px 32px 18px;
  border-bottom: 1px solid #1e1e2a;
  margin-top: 80px;
}
.ai-chat-back {
  background: #1e1e2a;
  border: 1px solid #333347;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1e2a;
  border: 1px solid #333347;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-chat-avatar .orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7c5cff;
}
.ai-chat-info { flex: 1; min-width: 0; }
.ai-chat-name {
  font-size: 15px;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}
.ai-chat-subtitle{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:4px;
}
#headerMoodEmoji{
    font-size:15px;
}
#headerMoodText{
    color:#ffffff;
    font-size:14px;
    font-weight:500;
}

/* ---------- Messages ---------- */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}
.ai-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}
.ai-bubble.them {
  background: #1e1e2a;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.ai-bubble.me {
  background: #7c5cff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-bubble.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
}
.ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9694a8;
  animation: aiBlink 1.2s infinite;
}
.ai-dot:nth-child(2) { animation-delay: .2s; }
.ai-dot:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%,100% { opacity: .2; } 50% { opacity: 1; } }

/* ---------- Composer ---------- */
.ai-chat-composer {
  display: flex;
  gap: 10px;
  padding: 16px 32px;
  border-top: 1px solid #1e1e2a;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}
.ai-chat-composer input {
  flex: 1;
  background: #1e1e2a;
  border: 1px solid #333347;
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.ai-chat-send {
  background: #7c5cff;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-chat-send:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .ai-chat-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    transform: translateX(-100%);
    transition: transform .2s ease;
    margin-top: 0;
  }
  .ai-chat-sidebar.open { transform: translateX(0); }
  .ai-sidebar-toggle { display: inline-block; }
}


@media (max-width: 768px) {
  .ai-chat-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    transform: translateX(-100%);
    transition: transform .2s ease;
    margin-top: 0;
  }
  .ai-chat-sidebar.open { transform: translateX(0); }
  .ai-sidebar-toggle { display: inline-block; }
}


/* =========================================================================
   GLOBAL MOBILE FIXES (A to Z pass, matched to the real HTML structure)
   Real structure this accounts for:
   - .hero-inner > .hero-left, .hero-right
   - .hero-right > .chat-card, .find-right > .phone-frame
     (both live inside the SAME .hero-right, side by side by default —
     this is what was breaking on phones)
   - .navbar has no hamburger markup, so .nav-links is hidden on small
     screens rather than wrapped, to keep the sticky navbar's height
     predictable (several other elements offset against it)
   These rules load last, so at equal specificity they win the cascade
   and patch every section for tablets/phones without editing the
   desktop rules above.
   ========================================================================= */

/* ---- Hamburger menu button (hidden on desktop, shown via the 768px
   media query below). Markup: a <button class="mobile-menu-btn"> with
   three <span> children, placed before .logo inside .navbar-inner. ---- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #14141f;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Tablet (this also fixes the chat-card / phone-frame overlap that
   the max-width:1024px block above didn't fully reset) ---- */
@media (max-width: 1024px) {
  .chat-card {
    margin-left: 0;
  }
  .find-right {
    margin-right: 0;
  }
  .hero-right {
    flex-direction: column;
    max-width: 100%;
    gap: 36px;
  }
}

@media (max-width: 768px) {

  /* ---- Navbar: hamburger (left) - logo (center) - CTA (right) ---- */
  .navbar-inner {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
  }
  .mobile-menu-btn {
    grid-column: 1;
    display: flex;
  }
  .logo {
    grid-column: 2;
    justify-content: center;
     z-index: 10;
  }
  .logo-only {
    height:86px;
    width: 86px;
  }
 .nav-cta{
    grid-column:4;
    justify-self:end;

    align-self:center;   /* center align */

    margin-top:0;
    padding:10px 14px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:12px;
    white-space:nowrap;
    position: relative;
    z-index: 99999;
    pointer-events: auto;
}
  
  /* Dropdown panel: hidden until .open is toggled by JS */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #ffffff;
    padding: 6px 20px 14px;
    border-bottom: 1px solid #f0eefa;
    box-shadow: 0 16px 28px rgba(20, 20, 31, 0.1);
    pointer-events: none;
  }
  .nav-links.open {
    display: flex;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid #f5f3fb;
    font-size: 15px;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .profile-menu-wrap{
    margin-left:-68px !important;
    z-index: 10;
}
 /* ===========================
   MOBILE HERO ONLY
   ===========================*/
@media (max-width:768px){

.hero{
    padding:24px 18px 40px;
    margin-top:0;
    min-height:auto;
}

.hero-inner{
    display:flex;
    flex-direction:column;
    gap:32px;
}

.hero-left{
    flex:none;
    width:100%;
    max-width:100%;
    margin:0;
    text-align:center;
}

.dots-top-left{
    width:110px;
    height:90px;
    left:10px;
    top:20px;
}

.dots-bottom-right{
    display:none;
}

.headline{
    font-size:34px;
    line-height:1.12;
    margin-bottom:18px;
    text-align:center;
}

.divider{
    margin:18px auto 22px;
}

.subheadline{
    font-size:22px;
    text-align:center;
}

.description{
    max-width:340px;
    margin:0 auto 30px;
    font-size:16px;
    text-align:center;
    line-height:1.7;
}

.cta-buttons{
    display:flex;
    gap:8px;
    width:100%;
}

.cta-button,
.cta-button-dark{
    height:110px;
    font-size:16px;
    border-radius:18px;
}

.cta-button .arrow,
.cta-button-dark .arrow{
    font-size:24px;
}

/* Waitlist */

.social-proof{
    justify-content:center;
    margin-top:20px;
}

.hero-right{
    display:flex;
    width:100%;
    justify-content:center;
    align-items:center;
    margin-top:24px;
}

.chat-card,
.find-right{
    width:100%;
    max-width:340px;
}

}

  
  

  /* ---- Hero right: chat card + "find a buddy" phone mockup ----
     On desktop these two sit side by side inside .hero-right with
     negative margins so they overlap. On mobile we stack them
     normally, full width, one after another. */
  .hero-right {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    gap: 40px;
  }
  .chat-card {
    width: 100%;
    max-width: 420px;
    margin-left: 0;
  }
  .chat-body {
    min-height: 280px;
  }
  .find-right {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    display: flex;
    justify-content: center;
  }
  .phone-frame {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 460px;
  }

  /* ---- Why exists cards ---- */
  .why-exists {
    padding: 60px 20px;
    margin-top: 0;
  }
  .exists-grid {
    margin-top: 50px;
  }
  .exists-card {
    margin-top: 0;
  }

  /* ---- Conversation / app mockup section ---- */
  .conv-section {
    padding: 60px 20px;
    margin-top: 0;
  }
  .conv-heading {
    margin-bottom: 24px;
  }
  .conv-right {
    max-width: 100%;
  }
  .app-body {
    min-height: 300px;
  }
  .chat-panel {
    padding: 16px;
  }
  .entry {
    max-width: 92%;
  }

 /* ==========================
   MOOD POPUP - MOBILE
========================== */

.mood-overlay{
    padding:16px;
    padding-top:90px;   /* pehle 45px tha */
    align-items:flex-start;
    justify-content:center;
    overflow-y:auto;
}

.mood-popup{
    width:100%;
    max-width:340px;
    max-height:88vh;
    overflow-y:auto;
    margin-top: 50px;

    padding:22px 18px;
    border-radius:18px;
}

.mood-popup h2{
    font-size:20px;
    margin:10px 0 18px;
}

.small-title{
    font-size:12px;
    letter-spacing:4px;
}

.close-btn{
    width:42px;
    height:42px;
    font-size:24px;
    top:16px;
    right:16px;
}

.mood-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.mood-card{
    min-height:82px;
    padding:14px 10px;
    border-radius:16px;
}

.mood-card span{
    font-size:24px;
    margin-bottom:8px;
}

.mood-card p{
    font-size:16px;
    margin:0;
}

.bottom-text{
    margin-top:18px;
    font-size:15px;
    line-height:1.5;
}

.skip-btn{
    font-size:15px;
}

  /* ---- Auth / Apply popups ---- */
  @media (max-width:768px){

/* Overlay */
.apply-overlay{
    padding:10px;
    align-items:center;
}

/* Popup */
.apply-modal{
    width:95%;
    max-width:400px;
    max-height:82vh;
    border-radius:14px;
    overflow-y:auto;
}

/* Header */
.apply-header{
    padding:14px 16px;
}

.apply-header h3{
    font-size:18px;
}

/* Subtext */
.apply-subtext{
    padding:12px 16px 4px;
    font-size:13px;
}

/* Form */
#buddyApplyForm{
    padding:10px 16px 18px;
}

/* Labels */
.auth-label{
    margin:10px 0 6px;
    font-size:12px;
}

/* Inputs */
.phone-input-row input,
.phone-input-row textarea{
    padding:12px;
    font-size:14px;
}

/* Country Code */
.country-code{
    padding:12px 10px;
    font-size:13px;
}

/* File Upload */
.file-input-row{
    padding:10px;
}

/* Submit Button */
.get-otp-btn{
    margin-top:16px;
    padding:13px;
    font-size:15px;
    border-radius:10px;
}
}
/* ===========================
   AUTH POPUP - MOBILE ONLY
=========================== */
@media (max-width:768px){

.auth-overlay{
    padding:12px;
    padding-top:80px;   /* jitna niche chahiye utna increase/decrease */
    align-items:flex-start;
    justify-content:center;
    overflow-y:auto;
}

.auth-modal{
    width:100%;
    max-width:340px;
    max-height:92vh;

    border-radius:14px;

    overflow-y:auto;
    overflow-x:hidden;

    -webkit-overflow-scrolling:touch;
}

.auth-header{
    padding:14px 18px;
}

.auth-header h3{
    font-size:18px;
}

.auth-close{
    font-size:22px;
}

.auth-subtext{
    padding:16px 16px 4px;
    font-size:14px;
    line-height:1.5;
}

.auth-body{
    padding:16px;
}

.auth-label{
    font-size:13px;
    margin-bottom:8px;
}

.phone-input-row{
    margin-bottom:14px;
}

.phone-input-row input{
    padding:12px;
    font-size:16px;
}

.get-otp-btn{
    height:50px;
    padding:0;
    font-size:15px;
    margin-bottom:14px;
}

.google-btn{
    height:50px;
    padding:0;
    font-size:15px;
    margin-bottom:16px;
}

.or-divider{
    margin-bottom:14px;
}

.auth-terms{
    font-size:12px;
    line-height:1.5;
}

.success-wrap{
    padding:10px 0;
}

.success-title{
    font-size:18px;
}

.success-sub{
    font-size:13px;
}

/* Scrollbar hide */

.auth-modal::-webkit-scrollbar{
    width:4px;
}

.auth-modal::-webkit-scrollbar-thumb{
    background:#6d5efc;
    border-radius:20px;
}

}





  /* ---- Dashboard overlay (Human Buddy list + chat) ---- */
  .dashboard-overlay {
    margin-top: 68px;
    height: calc(100vh - 68px);
  }
  .dash-header {
    padding: 14px 18px;
  }
  .dash-body {
    padding: 20px 18px;
  }
  .dash-title {
    font-size: 24px;
  }
  .buddy-grid {
    grid-template-columns: 1fr;
  }

  .chat-top {
    padding: 12px 18px;
  }
  .chat-messages {
    padding: 18px;
    margin-top: -50px;
  }
  .chat-input-row {
    padding: 12px 18px;
  }
  .msg {
    max-width: 85%;
  }

  /* ---- AI chat overlay ---- */
  .ai-chat-header {
    padding: 16px 18px;
    margin-top: 68px;
    gap: 8px;
  }
  .ai-chat-messages {
    padding: 18px;
  }
  .ai-chat-composer {
    padding: 12px 18px;
  }
  .ai-bubble {
    max-width: 85%;
  }
  .ai-chat-sidebar {
    margin-top: 68px;
    width: 240px;
  }

  /* ---- Prevent iOS auto-zoom on focus (inputs under 16px trigger it) ---- */
  .phone-input-row input,
  .phone-input-row textarea,
  .auth-modal input,
  .ai-chat-composer input,
  .chat-input-row input {
    font-size: 16px;
  }
}

@media (max-width: 480px) {

  .navbar-inner {
    padding: 6px 12px;
  }
  .logo-only {
    height: 40px;
    width: 40px;
  }
  .nav-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 22px 14px 40px;
  }
  .headline {
    font-size: 23px;
  }
  .subheadline {
    font-size: 17px;
  }
  .badge {
    font-size: 12px;
    padding: 5px 12px;
  }
  .cta-button,
  .cta-button-dark {
    padding: 14px 20px;
    font-size: 15px;
  }
  .social-proof {
    flex-wrap: wrap;
  }

  .chat-header {
    padding: 14px 16px;
  }
  .chat-body {
    padding: 16px;
    min-height: 240px;
  }
  .msg {
    max-width: 90%;
    font-size: 13.5px;
  }
  .chat-input {
    padding: 12px 14px;
  }

  .phone-frame {
    min-height: 420px;
    padding: 14px 10px 12px;
  }
  .buddy-card {
    padding: 8px;
  }
  .talk-btn {
    padding: 7px 12px;
    font-size: 11.5px;
  }

  .why-exists h2 {
    font-size: 24px;
  }
  .section-tag {
    font-size: 18px;
  }
  .icon {
    width: 60px;
    height: 60px;
  }
  .icon svg {
    width: 28px;
    height: 28px;
  }
  .exists-card h3 {
    font-size: 19px;
  }
  .exists-card p {
    font-size: 14.5px;
  }

  .conv-heading {
    font-size: 24px;
  }

  .mood-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mood-card {
    height: 64px;
  }
  .mood-popup h2 {
    font-size: 20px;
  }

  .auth-header h3,
  .apply-header h3 {
    font-size: 18px;
  }
  .country-code {
    padding: 12px 8px;
    font-size: 13px;
  }

  .dashboard-overlay {
    margin-top: 58px;
    height: calc(100vh - 58px);
  }
  .dash-title {
    font-size: 20px;
  }
  .dash-sub {
    font-size: 13px;
  }
  .buddy-avatar {
    width: 40px;
    height: 40px;
  }
  .buddy-name {
    font-size: 14px;
  }

  .ai-chat-header,
  .ai-chat-sidebar {
    margin-top: 58px;
  }
  .ai-chat-name {
    font-size: 14px;
  }
  .ai-chat-messages,
  .chat-messages {
    padding: 14px;
  }
}

/* Respect reduced-motion preference across the whole page */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}




/* ---- Login / Sign Up modal (reuses .phone-input-row, .auth-label,
   .country-code, .get-otp-btn styles you already have) ---- */
.account-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  z-index: 99999 !important;
}
.account-overlay.open {
  display: flex;
}
.account-modal {
  background: #0c0c10;
  border: 1px solid #2a2a33;
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(109, 94, 252, 0.25);
}
.account-modal::-webkit-scrollbar {
  width: 6px;
}
.account-modal::-webkit-scrollbar-thumb {
  background: #3a3a45;
  border-radius: 10px;
}
.account-header {
  background: linear-gradient(135deg, #6d5efc, #8b5cf6);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2;
}
.account-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.account-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
}
.account-close:hover {
  opacity: 1;
}
.account-subtext {
  text-align: center;
  color: #9a9aa5;
  font-size: 13.5px;
  padding: 14px 22px 4px;
  margin: 0;
}
.account-body {
  padding: 10px 22px 20px;
}
.password-row {
  position: relative;
}
.password-row input {
  padding-right: 44px !important;
}
.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6a6a75;
  cursor: pointer;
  padding: 6px;
  display: flex;
}
.password-toggle-btn.showing {
  color: #8b5cf6;
}
.account-forgot {
  text-align: right;
  font-size: 12.5px;
  color: #8b5cf6;
  cursor: pointer;
  margin: 6px 0 14px;
}
.account-forgot:hover {
  text-decoration: underline;
}
.account-error {
  font-size: 12.5px;
  color: #ff6b6b;
  margin: 0 0 8px;
  min-height: 14px;
}
.account-switch-text {
  text-align: center;
  font-size: 13px;
  color: #9a9aa5;
  margin-top: 10px;
}
.account-switch-link {
  color: #8b5cf6;
  font-weight: 700;
  cursor: pointer;
}
.account-switch-link:hover {
  text-decoration: underline;
}

/* ================= MOBILE - CREATE ACCOUNT POPUP ================= */

@media (max-width:768px){

.account-overlay{
    padding:14px;
    align-items:flex-start;
    overflow-y:auto;
    padding-top:30px;
}

.account-modal{
    width:100%;
    max-width:360px;
    max-height:calc(100vh - 60px);
    border-radius:14px;
    overflow-y:auto;
}

/* Header */
.account-header{
    padding:14px 18px;
    position:sticky;
    top:0;
    z-index:5;
}

.account-header h3{
    font-size:20px;
}

/* Close Button */
.account-close{
    font-size:22px;
}

/* Subtitle */
.account-subtext{
    font-size:14px;
    padding:16px 18px 4px;
}

/* Body */
.account-body{
    padding:10px 18px 22px;
}

/* Labels */
.auth-label{
    margin:12px 0 6px;
    font-size:13px;
}

/* Inputs */
.phone-input-row{
    border-radius:10px;
}

.phone-input-row input,
.phone-input-row textarea{
    padding:13px 12px;
    font-size:16px;   /* iPhone zoom fix */
}

/* Country code */
.country-code{
    padding:13px 10px;
    font-size:13px;
}

/* Password eye */
.password-toggle-btn{
    right:8px;
}

/* Button */
.get-otp-btn{
    margin-top:20px;
    padding:14px;
    font-size:16px;
    border-radius:10px;
}

/* Bottom Text */
.account-switch-text{
    margin-top:16px;
    margin-bottom:8px;
}

}



/* ============================================================
   FOUNDER STORY SECTION
   ============================================================ */
.founder-section {
  padding: 60px 24px;
  display: flex;
  justify-content: center;
}

.founder-card {
  width: 100%;
  max-width: 1100px;
  background: #111116;
  border: 1px solid #2a2a35;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
}

.founder-photo {
  min-height: 320px;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-text {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-eyebrow {
  color: #7c3aed;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.founder-heading {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 18px;
}

.founder-heading .accent {
  color: #a78bfa;
}

.founder-text p {
  color: #b3b3c0;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.founder-heart {
  filter: none;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .founder-card {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    min-height: 240px;
  }
  .founder-text {
    padding: 32px 24px;
  }
  .founder-heading {
    font-size: 26px;
  }
}



/* ============================================================
   WAITLIST SECTION
   ============================================================ */
.waitlist-section {
  padding: 70px 24px;
  display: flex;
  justify-content: center;
  margin-top: -70px;
}

.waitlist-card {
  position: relative;
  width: 100%;
  max-width: 1160px;
  border-radius: 22px;
  padding: 64px 24px 52px;
  text-align: center;
  overflow: hidden;
}

/* thin glowing top edge, like a light source above the card */
.waitlist-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.9), transparent);
}

.waitlist-eyebrow {
  display: inline-block;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(139,92,246,0.35);
  border-radius: 999px;
  background: rgba(139,92,246,0.08);
}

.waitlist-heading {
  position: relative;
  color: #000000;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.waitlist-heading .accent {
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.waitlist-sub {
  position: relative;
  color: #9c9cb0;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto 34px;
  max-width: 480px;
}

.waitlist-form-row {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.waitlist-form-row input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #2e2b3d;
  background: #17151f;
  color: #fff;
  font-size: 14px;
  transition: border-color .15s ease, background .15s ease;
}

.waitlist-form-row input::placeholder {
  color: #6b6b80;
}

.waitlist-form-row input:focus {
  outline: none;
  border-color: #7c3aed;
  background: #1c1929;
}

.waitlist-join-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 8px 24px -8px rgba(124,58,237,0.7);
}

.waitlist-join-btn .arrow {
  transition: transform .15s ease;
}

.waitlist-join-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.waitlist-join-btn:hover .arrow {
  transform: translateX(3px);
}

.waitlist-join-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.waitlist-error {
  position: relative;
  min-height: 20px;
  font-size: 13px;
  color: #ff8080;
  margin: 14px 0 0;
}

.waitlist-error.success {
  color: #34d399;
}

.waitlist-social-proof {
  position: relative;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.waitlist-avatars {
  display: flex;
  margin-top: -20px;
}

.waitlist-avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #14121f;
  margin-left: -9px;
  object-fit: cover;
}

.waitlist-avatars img:first-child {
  margin-left: 0;
}

.waitlist-social-proof span {
  color: #9c9cb0;
  font-size: 13px;
  font-weight: 500;
  margin-top: -20px;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .waitlist-card {
    padding: 48px 20px 40px;
  }
  .waitlist-heading {
    font-size: 26px;
  }
  .waitlist-form-row {
    flex-direction: column;
  }
}

.buddy-footer{
  --bf-night: #7c3aed;
  --bf-night-deep: #1a0e30;
  --bf-purple-deep: #000000;
  --bf-purple-bright: #FFFFFF;
  --bf-lavender: #E9E1FB;
  --bf-cream: #FFFFFF;
  --bf-line: rgba(255,255,255,0.2);
  --bf-muted: rgba(255,255,255,0.72);

  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(124,58,237,0.5), transparent 65%),
    linear-gradient(160deg, var(--bf-night) 0%, #2b1450 45%, #0a0512 100%);
  color: var(--bf-cream);
  padding: 72px 24px 28px;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.buddy-footer::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6) 30%, rgba(255,255,255,0.6) 70%, transparent);
  opacity: 0.6;
}

.buddy-footer *{ box-sizing: border-box; }

.buddy-footer .footer-inner{
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.buddy-footer .footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

.buddy-footer .footer-brand-col{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.buddy-footer .footer-logo{
  display: flex;
  align-items: center;
  gap: 10px;
}

.buddy-footer .footer-logo-img{
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.buddy-footer .footer-logo-text{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--bf-cream);
}

.buddy-footer .footer-logo-text span{ color: var(--bf-purple-bright); }

.buddy-footer .footer-tagline{
  font-size: 14px;
  line-height: 1.6;
  color: var(--bf-muted);
  max-width: 260px;
  margin: 0;
}

.buddy-footer .footer-status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--bf-lavender);
  margin-top: 6px;
}

.buddy-footer .footer-status .dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bf-purple-bright);
  animation: bf-pulse 2.2s infinite;
}

@keyframes bf-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(167,139,250,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(167,139,250,0); }
  100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
}

.buddy-footer .footer-col-title{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-cream);
  margin: 0 0 18px;
}

.buddy-footer .footer-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.buddy-footer .footer-links a{
  color: var(--bf-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.buddy-footer .footer-links a:hover{ color: var(--bf-cream); }

.buddy-footer .footer-cta-col{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.buddy-footer .footer-cta-text{
  font-size: 14px;
  color: var(--bf-muted);
  line-height: 1.6;
  margin: 0;
}

.buddy-footer .footer-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  background: linear-gradient(95deg, var(--bf-purple-deep), #8B5CF6);
  border: none;
  padding: 11px 18px;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.buddy-footer .footer-cta-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(109,40,217,0.6);
}

.buddy-footer .footer-divider{
  height: 1px;
  background: var(--bf-line);
  margin-bottom: 24px;
}

.buddy-footer .footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.buddy-footer .footer-copy{
  font-size: 13px;
  color: var(--bf-muted);
  margin: 0;
}

.buddy-footer .footer-legal{
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.buddy-footer .footer-legal a{
  font-size: 13px;
  color: var(--bf-muted);
  text-decoration: none;
}

.buddy-footer .footer-legal a:hover{ color: var(--bf-cream); }

.buddy-footer .footer-social{
  display: flex;
  gap: 10px;
}

.buddy-footer .footer-social a{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--bf-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bf-muted);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.buddy-footer .footer-social a:hover{
  border-color: var(--bf-purple-bright);
  color: var(--bf-purple-bright);
}

.buddy-footer .footer-social svg{ width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 900px){
  .buddy-footer .footer-top{
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .buddy-footer .footer-brand-col{ grid-column: 1 / -1; }
}

@media (max-width: 560px){
  .buddy-footer .footer-top{ grid-template-columns: 1fr; }
  .buddy-footer .footer-bottom{ flex-direction: column; align-items: flex-start; }
}


/* ===================== 1AM COMPANION SECTION ===================== */

.b1am-comp {
  background: #0a0713;
  padding: 100px 24px;
  overflow: hidden;
  position: relative;
  margin-top: -80px;
}

.b1am-comp-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: -70px;
}

/* ---------- Left ---------- */

.b1am-comp-title {
  font-family: 'Inter', sans-serif;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 700;
  color: #f5f2fb;
  margin: 0 0 20px;
}

.b1am-comp-title-accent {
  color: #a855f7;
}

.b1am-comp-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #a8a1b8;
  max-width: 460px;
  margin: 0 0 36px;
}

.b1am-comp-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
}

.b1am-comp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #9333ea, #7c3aed);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.b1am-comp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5);
}

.b1am-comp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 8px;
  border: none;
  background: transparent;
  color: #e9e6f2;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.b1am-comp-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  flex-shrink: 0;
}

.b1am-comp-btn-ghost:hover .b1am-comp-play {
  background: rgba(255, 255, 255, 0.16);
}

.b1am-comp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.b1am-comp-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.b1am-comp-trust svg {
  color: #b085f5;
  flex-shrink: 0;
  margin-top: 2px;
}

.b1am-comp-trust-title {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #f0eef7;
}

.b1am-comp-trust-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #8d859e;
  margin-top: 2px;
}

/* ---------- Right ---------- */

.b1am-comp-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.b1am-comp-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.45) 0%, rgba(147, 51, 234, 0.12) 45%, rgba(147, 51, 234, 0) 72%);
  filter: blur(4px);
}

.b1am-comp-glow-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.b1am-comp-bot {
  position: relative;
  width: 240px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.45));
  z-index: 1;
}

.b1am-comp-sparkle {
  position: absolute;
  bottom: 46px;
  left: 8%;
  animation: b1amSparklePulse 2.4s ease-in-out infinite;
}

@keyframes b1amSparklePulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.b1am-comp-bubble {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  background: #7c3aed;
  color: #fff;
  padding: 14px 18px;
  border-radius: 16px 16px 4px 16px;
  max-width: 200px;
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.5);
  z-index: 2;
}

.b1am-comp-bubble p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
}

.b1am-comp-bubble-dots {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.b1am-comp-bubble-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: inline-block;
  animation: b1amDotBounce 1.2s infinite ease-in-out;
}

.b1am-comp-bubble-dots i:nth-child(2) { animation-delay: 0.15s; }
.b1am-comp-bubble-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes b1amDotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .b1am-comp-inner {
    grid-template-columns: 1fr;
  }
  .b1am-comp-right {
    margin-top: 40px;
    min-height: 380px;
  }
  .b1am-comp-title { font-size: 34px; }
}

@media (max-width: 520px) {
  .b1am-comp-title { font-size: 28px; }
  .b1am-comp-trust-row { gap: 20px; }
  .b1am-comp-bot { width: 190px; }
}


/* ===================== WHY BUDDY1AM - FEATURE GRID ===================== */

.b1am-grid {
  background: #f6f4fb;
  padding: 70px 24px 90px;
}

.b1am-grid-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.b1am-grid-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #16121f;
  margin: 0 0 34px;
}

.b1am-grid-title-accent {
  color: #7c3aed;
}

.b1am-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.b1am-grid-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 4px 18px rgba(80, 60, 130, 0.06);
}

.b1am-grid-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ede4fb;
  color: #7c3aed;
  margin-bottom: 20px;
}

.b1am-grid-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #16121f;
  margin: 0 0 8px;
}

.b1am-grid-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #6b6478;
  margin: 0;
}

@media (max-width: 900px) {
  .b1am-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .b1am-grid-cards {
    grid-template-columns: 1fr;
  }
  .b1am-grid-title {
    font-size: 26px;
  }
}

/* ===================== HOW IT WORKS SECTION ===================== */

.b1am-how {
  background: #f6f4fb;
  padding: 80px 24px 100px;
}

.b1am-how-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---------- Left ---------- */

.b1am-how-left {
  padding-left: 48px;
}

.b1am-how-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #16121f;
  margin: 0 0 44px;
}

.b1am-how-title-accent {
  color: #7c3aed;
}

.b1am-how-steps {
  display: flex;
  flex-direction: column;
}

.b1am-how-step {
  display: flex;
  gap: 20px;
}

.b1am-how-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.b1am-how-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ede4fb;
  color: #7c3aed;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.b1am-how-num-active {
  background: #7c3aed;
  color: #fff;
}

.b1am-how-line {
  flex: 1;
  width: 2px;
  min-height: 56px;
  margin: 6px 0;
  background-image: linear-gradient(#c9b8f0 60%, transparent 40%);
  background-size: 2px 10px;
  background-repeat: repeat-y;
}

.b1am-how-step-content {
  padding-bottom: 40px;
}

.b1am-how-step-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #16121f;
  margin: 6px 0 8px;
}

.b1am-how-step-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b6478;
  margin: 0;
  max-width: 340px;
}

/* ---------- Right: phone mockup ---------- */

.b1am-how-right {
  display: flex;
  justify-content: center;
}

.b1am-how-phone {
  position: relative;
  width: 470px;
  height: 400px;
  border-radius: 36px;
  background: linear-gradient(160deg, #1a1226, #0e0a17);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(30, 15, 60, 0.25);
  padding: 12px;
  margin-bottom: 30px;
}

.b1am-how-notch {
  width: 80px;
  height: 16px;
  background: #0a0713;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}

.b1am-how-screen {
  position: relative;
  height: calc(100% - 24px);
  border-radius: 24px;
  background: linear-gradient(180deg, #14101f, #0b0713);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.b1am-how-chat-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.b1am-how-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.b1am-how-chat-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #f0eef7;
}

.b1am-how-chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #8d859e;
}

.b1am-how-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  display: inline-block;
}

.b1am-how-menu {
  margin-left: auto;
  color: #8d859e;
  font-size: 16px;
}

.b1am-how-chat-body {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.b1am-how-bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 13px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.b1am-how-bubble-in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  color: #e9e6f2;
  border-bottom-left-radius: 4px;
}

.b1am-how-bubble-out {
  align-self: flex-end;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.b1am-how-time {
  font-size: 9.5px;
  opacity: 0.65;
  align-self: flex-end;
}

.b1am-how-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  border-bottom-left-radius: 4px;
}

.b1am-how-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b085f5;
  opacity: 0.7;
  animation: b1amHowTyping 1.2s infinite ease-in-out;
}

.b1am-how-typing span:nth-child(2) { animation-delay: 0.15s; }
.b1am-how-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes b1amHowTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.b1am-how-heart {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .b1am-how-inner {
    grid-template-columns: 1fr;
  }
  .b1am-how-right {
    margin-top: 40px;
  }
  .b1am-how-left {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .b1am-how-title { font-size: 26px; }
  .b1am-how-phone { width: 320px; height: 340px; margin-bottom: 0; }
}


/* ===================== WHAT CAN YOU TALK ABOUT SECTION ===================== */

.b1am-talk {
  background: #000000;
  padding: 70px 24px 90px;
}

.b1am-talk-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.b1am-talk-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 46px;
}

.b1am-talk-title-accent {
  color: #7c3aed;
}

.b1am-talk-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.b1am-talk-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.b1am-talk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ede4fb;
  color: #7c3aed;
  margin-bottom: 18px;
}

.b1am-talk-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffff;
  margin: 0 0 8px;
}

.b1am-talk-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #6b6478;
  margin: 0;
}

@media (max-width: 900px) {
  .b1am-talk-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 560px) {
  .b1am-talk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .b1am-talk-title {
    font-size: 26px;
  }
}


/* ===================== BUILT FOR YOU SECTION ===================== */

.b1am-built {
  background: #f6f4fb;
  padding: 70px 24px 90px;
}

.b1am-built-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.b1am-built-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #16121f;
  margin: 0 0 40px;
}

.b1am-built-title-accent {
  color: #7c3aed;
}

.b1am-built-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.b1am-built-card {
  background: #faf9fc;
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 18px;
  padding: 24px 22px 28px;
  text-align: center;
}

.b1am-built-art {
  width: 100%;
  max-width: 170px;
  margin: 0 auto 12px;
}

.b1am-built-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.b1am-built-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #16121f;
  margin: 4px 0 8px;
}

.b1am-built-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: #6b6478;
  margin: 0;
}

@media (max-width: 800px) {
  .b1am-built-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}
/* ===================== EVERYTHING IN ONE PLACE SECTION ===================== */

.b1am-ev {
  background: #f6f4fb;
  padding: 56px 24px;
}

.b1am-ev-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.b1am-ev-title {
  font-family: 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #16121f;
  margin: 0 0 34px;
}

.b1am-ev-title-accent {
  color: #7c3aed;
}

.b1am-ev-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.b1am-ev-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
}

.b1am-ev-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  margin-bottom: 10px;
}

.b1am-ev-icon svg {
  width: 34px;
  height: 34px;
}

.b1am-ev-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #16121f;
  margin: 0 0 4px;
}

.b1am-ev-item p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #6b6478;
  margin: 0;
}

.b1am-ev-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(124, 58, 237, 0.15);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .b1am-ev-row {
    flex-wrap: wrap;
    row-gap: 32px;
  }
  .b1am-ev-item {
    flex: 0 0 33.33%;
  }
  .b1am-ev-divider {
    display: none;
  }
}

@media (max-width: 560px) {
  .b1am-ev-item {
    flex: 0 0 50%;
  }
  .b1am-ev-title {
    font-size: 21px;
  }
}

.wellbeing-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 80px;
  background: linear-gradient(135deg, #120f24 0%, #1a1533 45%, #2a1a4a 100%);
  overflow: hidden;
  min-height: 340px;
}
 
/* soft glow accents */
.wellbeing-banner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(168,85,247,0.35) 0%, rgba(168,85,247,0) 70%);
  pointer-events: none;
}
 
.wellbeing-banner-text {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
 
.wellbeing-banner-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}
 
.wellbeing-banner-text h1 .accent {
  display: block;
  background: linear-gradient(90deg, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
 
.wellbeing-banner-text p {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: #b8b3c9;
  max-width: 380px;
}
 
.cta-btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.55);
}
 
.cta-btn svg { width: 18px; height: 18px; }
.cta-btn .arrow { width: 14px; height: 14px; }
 
.wellbeing-banner-illustration {
  position: relative;
  z-index: 2;
  width: 380px;
  flex-shrink: 0;
}
 
@media (max-width: 900px) {
  .wellbeing-banner {
    flex-direction: column;
    text-align: center;
    padding: 50px 24px;
  }
  .wellbeing-banner-text { max-width: 100%; }
  .wellbeing-banner-text p { margin-left: auto; margin-right: auto; }
  .wellbeing-banner-illustration { width: 280px; }
}

/* ===================== TWO WAYS TO TALK SECTION ===================== */

.b1am-two {
  background: #ffffff;
  padding: 70px 24px 100px;
  margin-top: -20px;
  overflow-x: hidden;           /* NEW: prevents phone/sparkles from causing horizontal scroll or clipping at edge */
}

.b1am-two-inner {
  max-width: 1180px;
  margin: 0 auto;
  margin-top: -30px;
}

.b1am-two-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #16121f;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 18px;
  line-height: 1.3;
}

.b1am-two-accent { color: #7c3aed; }
.b1am-two-accent-soft { color: #7c3aed; font-weight: 600; }

.b1am-two-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #6b6478;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}

.b1am-two-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;            /* CHANGED from center → start, so both columns line up at the top */
}

/* ---------- Left ---------- */

.b1am-two-left {
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 18px;
  padding: 28px;
  margin-top: -20px;
}

.b1am-two-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.b1am-two-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #7c3aed;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.b1am-two-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #16121f;
  margin: 4px 0 4px;
}

.b1am-two-step p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #6b6478;
  margin: 0;
}

.b1am-two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.b1am-two-card {
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 14px;
  padding: 22px 20px;
}

.b1am-two-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ede4fb;
  color: #7c3aed;
  margin-bottom: 14px;
}

.b1am-two-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #16121f;
  margin: 0 0 12px;
}

.b1am-two-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.b1am-two-card li {
  position: relative;
  padding-left: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #4a4456;
  line-height: 1.4;
}

.b1am-two-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7c3aed;
}

.b1am-two-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.b1am-two-btn-filled {
  border: none;
  background: linear-gradient(90deg, #9333ea, #7c3aed);
  color: #fff;
}

.b1am-two-btn-outline {
  border: 1.5px solid #7c3aed;
  background: transparent;
  color: #7c3aed;
}

/* ---------- Right: phone mockup ---------- */

.b1am-two-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 30px;               /* NEW: breathing room so leaves/sparkles don't hit the edge */
  overflow: visible;
  margin-top: -20px;
}

.b1am-two-leaf {
  position: absolute;
  width: 46px;
  opacity: 0.7;
  z-index: 0;
}

.b1am-two-leaf-1 { bottom: 10px; left: 10px; transform: rotate(-15deg); }   /* pulled inward from -6px */
.b1am-two-leaf-2 { bottom: 30px; left: 40px; transform: rotate(10deg); opacity: 0.5; }

.b1am-two-sparkle { position: absolute; z-index: 0; }
.b1am-two-sparkle-1 { top: 30px; right: 16px; }     /* pulled inward from 6px */
.b1am-two-sparkle-2 { bottom: 80px; right: 10px; }  /* pulled inward from -4px so it doesn't overflow */

.b1am-two-phone {
  position: relative;
  width: min(360px, 100%);        /* CHANGED: stays 360px on desktop, shrinks gracefully on small screens */
  aspect-ratio: 360 / 470;        /* NEW: keeps proportions locked so height never runs away */
  height: auto;                   /* CHANGED from fixed 470px */
  max-height: 400px;
  border-radius: 34px;
  background: #0e0a17;
  border: 6px solid #0e0a17;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.85), 0 30px 60px rgba(30, 15, 60, 0.15);
  padding: 10px;
  z-index: 1;
  overflow: hidden;                /* NEW: keeps notch + screen from spilling outside the rounded frame */
  box-sizing: border-box;
}

.b1am-two-notch {
  width: 90px;
  height: 16px;
  background: #000;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
}

.b1am-two-screen {
  height: calc(100% - 24px);
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 16px;
  overflow: hidden;
}

.b1am-two-screen-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #16121f;
  text-align: center;
  line-height: 1.4;
  margin: 0 0 22px;
}

.b1am-two-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  color: #16121f;
}

.b1am-two-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ede4fb;
  color: #7c3aed;
  flex-shrink: 0;
}

.b1am-two-option-icon-human { color: #7c3aed; }

.b1am-two-option-text { flex: 1; }

.b1am-two-option-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #16121f;
}

.b1am-two-option-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #8d859e;
  margin-top: 2px;
}

.b1am-two-option svg:last-child {
  color: #b3aac2;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .b1am-two-row { grid-template-columns: 1fr; }
  .b1am-two-cards { grid-template-columns: 1fr; }
  .b1am-two-right { margin-top: 40px; padding: 0 20px; }
  .b1am-two-phone { width: min(320px, 100%); }   /* still large, just fits small screens */
}

@media (max-width: 480px) {
  .b1am-two-title { font-size: 24px; }
  .b1am-two-phone { width: min(280px, 90%); }
}


/* AI Buddy - How It Works Section */

.hiw-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px 48px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hiw-section * {
  box-sizing: border-box;
}

/* Header */
.hiw-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hiw-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #6C4CF1;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
}

.hiw-heading-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hiw-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
}

.hiw-subtitle {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* Steps row */
.hiw-steps {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1 1 0;
  min-width: 0;
}

.hiw-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #F2EFFD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hiw-icon {
  width: 30px;
  height: 30px;
  color: #6C4CF1;
}

.hiw-step-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}

.hiw-step-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #6b7280;
}

/* Arrow connector */
.hiw-arrow {
  flex: 0 1 40px;
  min-width: 16px;
  display: flex;
  align-items: center;
  height: 76px;
  margin-top: 0;
}

.hiw-arrow-svg {
  width: 100%;
  height: 12px;
  color: #6C4CF1;
}

/* Responsive */
@media (max-width: 900px) {
  .hiw-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }

  .hiw-arrow {
    display: none;
  }

  .hiw-step {
    flex: 0 1 220px;
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hiw-header {
    align-items: flex-start;
  }

  .hiw-step {
    flex: 1 1 100%;
    width: 100%;
  }
}



/* Human Buddy - How It Works Section (Dark Theme) */
.hbw-section {
  width: 100%;
  background: #0d0b16;
  padding: 56px 24px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.hbw-section * {
  box-sizing: border-box;
}
.hbw-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.hbw-left {
  flex: 1 1 auto;
  min-width: 0;
}
/* Header */
.hbw-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.hbw-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #6C4CF1;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
}
.hbw-heading-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hbw-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}
.hbw-subtitle {
  margin: 0;
  font-size: 14px;
  color: #9a95b3;
}
/* Steps row */
.hbw-steps {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
}
.hbw-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1 1 0;
  min-width: 0;
}
.hbw-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1c1730;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.hbw-icon {
  width: 26px;
  height: 26px;
  color: #a99cf7;
}
.hbw-step-title {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}
.hbw-step-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #9a95b3;
}
/* Arrow connector */
.hbw-arrow {
  flex: 0 1 40px;
  min-width: 16px;
  display: flex;
  align-items: center;
  height: 64px;
}
.hbw-arrow-svg {
  width: 100%;
  height: 12px;
  color: #6C4CF1;
}
/* Right illustration */
.hbw-right {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hbw-illustration {
  width: 100%;
  max-width: 320px;
  height: auto;
}
/* Responsive */
@media (max-width: 1024px) {
  .hbw-right {
    display: none;
  }
}
@media (max-width: 900px) {
  .hbw-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
  .hbw-arrow {
    display: none;
  }
  .hbw-step {
    flex: 0 1 220px;
    width: 220px;
  }
}
@media (max-width: 480px) {
  .hbw-header {
    align-items: flex-start;
  }
  .hbw-step {
    flex: 1 1 100%;
    width: 100%;
  }
}




/* ==========================
   WHY LOVE BUDDY1AM
========================== */

.love-section{
    padding:90px 0;
    background:#fff;
}

.love-container{
    width:100%;
    max-width:1320px;
    margin:0 auto;
    padding:0 20px;
}

/* Heading */

.love-heading{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:35px;
}

.love-badge{
    flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #6C4CF1;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
}

.love-heading h2{
    font-size:25px;
    font-weight:700;
    color:#171726;
    margin:0;
}

/* Cards */

.love-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
}

.love-card{
    background:#fff;
    border:1px solid #ECEAF6;
    border-radius:18px;
    padding:20px;
    min-height:118px;

    display:flex;
    align-items:flex-start;
    gap:16px;

    transition:.35s ease;
}

.love-card:hover{
    transform:translateY(-6px);
    border-color:#6C4DFF;
    box-shadow:0 14px 35px rgba(108,77,255,.12);
}

/* Icon */

.love-icon{
    width:58px;
    height:58px;
    min-width:58px;
    border-radius:50%;
    background:#F5F2FF;

    display:flex;
    align-items:center;
    justify-content:center;
}

.love-icon svg{
    width:30px;
    height:30px;

    stroke:#6C4DFF;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
    fill:none;
}

/* Text */

.love-card h3{
    margin:0 0 8px;
    font-size:20px;
    font-weight:700;
    color:#1D1D2F;
}

.love-card p{
    margin:0;
    font-size:15px;
    color:#66667B;
    line-height:1.55;
}

/* ==========================
      TABLET
========================== */

@media(max-width:1200px){

.love-grid{
grid-template-columns:repeat(3,1fr);
}

}

/* ==========================
      MOBILE
========================== */

@media(max-width:768px){

.love-section{
padding:70px 0;
}

.love-container{
padding:0 18px;
}

.love-heading{
gap:14px;
margin-bottom:28px;
}

.love-badge{
width:42px;
height:42px;
font-size:18px;
}

.love-heading h2{
font-size:28px;
}

.love-grid{
grid-template-columns:1fr;
gap:16px;
}

.love-card{
padding:18px;
min-height:auto;
}

.love-icon{
width:54px;
height:54px;
min-width:54px;
}

.love-icon svg{
width:28px;
height:28px;
}

.love-card h3{
font-size:18px;
}

.love-card p{
font-size:14px;
}

}

.bcw-section {
  width: 100%;
  background: #f7f6fb;
  padding: 48px 24px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.bcw-section * {
  box-sizing: border-box;
}
.bcw-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Top row: header + CTA */
.bcw-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.bcw-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.bcw-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #6C4CF1;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
}
.bcw-heading-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bcw-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #17152a;
  
}
.bcw-subtitle {
  margin: 0;
  font-size: 14px;
  color: #6f6b85;
}
.bcw-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffffff;
  border: 1.5px solid #6C4CF1;
  color: #6C4CF1;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}
.bcw-cta:hover {
  background: #f1ecff;
}
.bcw-cta svg {
  width: 16px;
  height: 16px;
}

/* Content row: cards + illustration */
.bcw-content {
  display: flex;
  align-items: stretch;
  gap: 24px;
}
.bcw-cards {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-width: 0;
}
.bcw-card {
  background: #ffffff;
  border: 1px solid #ece9f7;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(108, 76, 241, 0.05);
}
.bcw-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #efeaff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bcw-card-icon svg {
  width: 24px;
  height: 24px;
  color: #6C4CF1;
}
.bcw-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #17152a;
}
.bcw-card-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #74708a;
}

/* Right illustration */
.bcw-right {
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 50px;
}
.bcw-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Responsive */
@media (max-width: 1100px) {
  .bcw-right {
    display: none;
  }
}
@media (max-width: 780px) {
  .bcw-cards {
    grid-template-columns: 1fr;
  }
  .bcw-top {
    flex-direction: column;
  }
}


.badge{
    flex:0 0 auto;
    width:38px;
    height:38px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:15px;
    color:#fff;
    background:#6C4CF1;
  }
  .row{
    display:flex;
    align-items:flex-start;
    gap:16px;
  }
  .row + .row{
    border-left:1px solid #e6e3ee;
    padding-left:28px;
  }
  .icon-circle{
    flex:0 0 auto;
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ece8f9;
    color:#6C4CF1;
  }
  .icon-circle svg{ width:26px; height:26px; }
  .item-title{
    margin:0 0 4px;
    font-size:15px;
    font-weight:700;
    color:#181828;
  }
  .item-desc{
    margin:0;
    font-size:13.5px;
    line-height:1.5;
    color:#7a7a86;
  }

  .who-section{
    padding:36px 44px;
    background:#ffffff;
  }
  .who-heading{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:28px;
  }
  .who-heading h2{
    margin:0;
    font-size:24px;
    font-weight:800;
    color:#181828;
    margin-top: -30px;
  }
  .who-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
  }

  @media (max-width:900px){
    .who-grid{ grid-template-columns:repeat(2,1fr); row-gap:24px; }
    .row + .row{ border-left:none; padding-left:0; }
  }
  @media (max-width:520px){
    .who-grid{ grid-template-columns:1fr; }
    .who-section{ padding:28px 20px; }
  }


 .promise-badge{
    flex:0 0 auto;
    width:38px;
    height:38px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:15px;
    color:#fff;
    background:#6C4CF1;
  }
  .promise-row{
    display:flex;
    align-items:flex-start;
    gap:16px;
  }
  .promise-row + .promise-row{
    border-left:1px solid #2b2440;
    padding-left:28px;
  }
  .promise-icon-circle{
    flex:0 0 auto;
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#241a3d;
    color:#c77dff;
  }
  .promise-icon-circle svg{ width:26px; height:26px; }
  .promise-item-title{
    margin:0 0 4px;
    font-size:15px;
    font-weight:700;
    color:#ffffff;
  }
  .promise-item-desc{
    margin:0;
    font-size:13.5px;
    line-height:1.5;
    color:#9a93ad;
  }

  .promise-section{
    padding:36px 44px;
    background:#100a1f;
  }
  .promise-heading{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:28px;
  }
  .promise-heading h2{
    margin:0;
    font-size:24px;
    font-weight:800;
    color:#ffffff;
  }
  .promise-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
  }

  @media (max-width:900px){
    .promise-grid{ grid-template-columns:repeat(2,1fr); row-gap:24px; }
    .promise-row + .promise-row{ border-left:none; padding-left:0; }
  }
  @media (max-width:520px){
    .promise-grid{ grid-template-columns:1fr; }
    .promise-section{ padding:28px 20px; }
  }

.ready-section{
    padding:28px 44px;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
  }
  .ready-left{
    display:flex;
    align-items:flex-start;
    gap:16px;
  }
  .ready-badge{
    flex:0 0 auto;
    width:38px;
    height:38px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:15px;
    color:#fff;
    background:#6C4CF1;
  }
  .ready-title{
    margin:0 0 4px;
    font-size:22px;
    font-weight:800;
    color:#181828;
  }
  .ready-subtitle{
    margin:0;
    font-size:14.5px;
    color:#7a7a86;
  }
  .ready-actions{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
  }
  .ready-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 24px;
    border-radius:12px;
    font-weight:700;
    font-size:15px;
    text-decoration:none;
    white-space:nowrap;
  }
  .ready-btn svg{ width:18px; height:18px; }
  .ready-btn-ai{
    background:#6C4CF1;
    color:#ffffff;
    border:1.5px solid #6C4CF1;
  }
  .ready-btn-human{
    background:#ffffff;
    color:#6C4CF1;
    border:1.5px solid #6C4CF1;
  }

  @media (max-width:700px){
    .ready-section{ flex-direction:column; align-items:flex-start; }
    .ready-actions{ width:100%; }
    .ready-btn{ flex:1 1 auto; justify-content:center; }
  }
  @media (max-width:520px){
    .ready-section{ padding:24px 20px; }
  }
  
  
  .fsh-section{
    position:relative;
    padding:48px 44px 20px;
    background:#ffffff;
    overflow:hidden;
  }
  .fsh-pill{
    display:block;
    margin:0 auto 20px;
    width:fit-content;
    background:#ece8f9;
    color:#6C4CF1;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.06em;
    padding:6px 16px;
    border-radius:999px;
  }
  .fsh-heading{
    text-align:center;
    margin:0 0 14px;
    font-size:40px;
    font-weight:800;
    color:#181828;
  }
  .fsh-heading span{ color:#6C4CF1; }
  .fsh-subtitle{
    text-align:center;
    margin:0 auto;
    max-width:600px;
    font-size:15.5px;
    line-height:1.6;
    color:#7a7a86;
  }
  .fsh-subtitle b{
    color:#6C4CF1;
    font-weight:700;
  }
  .fsh-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin:14px auto 0;
  }
  .fsh-divider .line{
    width:40px;
    height:1.5px;
    background:#c9bdf2;
  }
  .fsh-divider svg{ width:14px; height:14px; color:#6C4CF1; }

  .fsh-deco{
    position:absolute;
    width:90px;
    height:90px;
    color:#c9bdf2;
    opacity:0.9;
  }
  .fsh-deco-left{ top:70px; left:60px; }
  .fsh-deco-right{ top:60px; right:60px; }

  @media (max-width:900px){
    .fsh-deco{ display:none; }
    .fsh-heading{ font-size:30px; }
  }
  @media (max-width:520px){
    .fsh-section{ padding:36px 20px 16px; }
  }

.fsc-card{
    max-width:1160px;
    margin:0 auto;
    background:#100a1f;
    border-radius:20px;
    display:flex;
    overflow:hidden;
  }
  .fsc-photo{
    flex:0 0 32%;
    min-height:340px;
    background:linear-gradient(135deg,#3a3050,#1c1730);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#7a7196;
    font-size:13px;
    text-align:center;
    padding:12px;
  }
  .fsc-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  .fsc-text{
    flex:1 1 auto;
    padding:40px 40px;
  }
  .fsc-hi{
    margin:0 0 4px;
    font-size:18px;
    font-weight:700;
    color:#c77dff;
  }
  .fsc-name{
    margin:0 0 10px;
    font-size:38px;
    font-weight:800;
    color:#a97dff;
  }
  .fsc-role{
    margin:0 0 14px;
    font-size:14px;
    color:#ffffff;
    font-weight:600;
  }
  .fsc-rule{
    width:60px;
    height:2px;
    background:#6C4CF1;
    margin-bottom:20px;
  }
  .fsc-para{
    margin:0 0 16px;
    font-size:14.5px;
    line-height:1.65;
    color:#c7c3d6;
  }
  .fsc-para:last-child{ margin-bottom:0; }
  .fsc-heart{ color:#a97dff; }

  .fsc-quote{
    flex:0 0 260px;
    margin:32px 40px 32px 0;
    background:#1a1330;
    border:1px solid #2b2440;
    border-radius:14px;
    padding:26px 24px;
    align-self:center;
  }
  .fsc-quote-mark{
    font-size:34px;
    font-weight:800;
    color:#6C4CF1;
    line-height:1;
    margin-bottom:12px;
  }
  .fsc-quote-text{
    margin:0 0 18px;
    font-size:15px;
    line-height:1.6;
    color:#e6e2f2;
  }
  .fsc-quote-deco{
    width:100%;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .fsc-quote-deco .line{
    width:60px;
    height:1.5px;
    background:#3a3050;
  }
  .fsc-quote-deco svg{ width:20px; height:20px; color:#6C4CF1; }

  @media (max-width:900px){
    .fsc-card{ flex-direction:column; }
    .fsc-photo{ flex:0 0 220px; min-height:220px; }
    .fsc-quote{ margin:0 40px 40px; align-self:auto; }
  }
  @media (max-width:520px){
    body{ padding:20px 20px 44px; }
    .fsc-text{ padding:28px 24px; }
    .fsc-quote{ margin:0 24px 32px; }
  }

.mv-section{
    padding:36px 44px;
    background:#ffffff;
    display:flex;
    align-items:stretch;
    gap:32px;
    flex-wrap:wrap;
  }

  /* left column */
  .mv-left{
    flex:1 1 320px;
  }
  .mv-heading{
    margin:0 0 8px;
    font-size:20px;
    font-weight:800;
    color:#181828;
  }
  .mv-underline{
    width:44px;
    height:3px;
    border-radius:2px;
    background:#6C4CF1;
    margin-bottom:22px;
  }
  .mv-row{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding-bottom:18px;
  }
  .mv-row + .mv-row{
    border-top:1px solid #ece8f9;
    padding-top:18px;
  }
  .mv-icon{
    flex:0 0 auto;
    width:42px;
    height:42px;
    border-radius:10px;
    background:#ece8f9;
    color:#6C4CF1;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .mv-icon svg{ width:20px; height:20px; }
  .mv-item-title{
    margin:0 0 4px;
    font-size:14.5px;
    font-weight:700;
    color:#181828;
  }
  .mv-item-desc{
    margin:0;
    font-size:13px;
    line-height:1.55;
    color:#7a7a86;
  }

  /* right column */
  .mv-right{
    flex:1.4 1 460px;
    background:linear-gradient(135deg,#f3f0ff,#e9e3fb);
    border-radius:20px;
    padding:32px 36px;
    display:flex;
    align-items:center;
    gap:24px;
    position:relative;
    overflow:hidden;
  }
  .mv-quote-col{ flex:1 1 auto; }
  .mv-quote-mark{
    font-size:34px;
    font-weight:800;
    color:#6C4CF1;
    line-height:1;
    margin-bottom:10px;
  }
  .mv-quote-line{
    margin:0 0 6px;
    font-size:17px;
    font-weight:600;
    color:#2b2440;
  }

  .mv-robot-wrap{
    flex:0 0 150px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .mv-robot-wrap svg{ width:100%; height:auto; }

  @media (max-width:900px){
    .mv-right{ flex-direction:column; text-align:left; }
    .mv-robot-wrap{ flex:0 0 auto; width:150px; }
  }
  @media (max-width:520px){
    .mv-section{ padding:28px 20px; flex-direction:column; }
    .mv-right{ padding:26px 22px; }
  }

.journey-section{
    padding:32px 44px 40px;
    background:#100a1f;
  }
  .journey-heading{
    margin:0 0 8px;
    font-size:18px;
    font-weight:800;
    color:#ffffff;
  }
  .journey-underline{
    width:36px;
    height:3px;
    border-radius:2px;
    background:#6C4CF1;
    margin-bottom:34px;
  }

  .journey-track{
    display:flex;
    align-items:flex-start;
    position:relative;
  }
  .journey-step{
    flex:1 1 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:0 10px;
    position:relative;
  }
  .journey-line{
    position:absolute;
    top:24px;
    left:50%;
    width:100%;
    height:0;
    border-top:2px dotted #3a3050;
    z-index:0;
  }
  .journey-step:last-child .journey-line{ display:none; }

  .journey-icon{
    position:relative;
    z-index:1;
    width:48px;
    height:48px;
    border-radius:50%;
    background:#241a3d;
    border:1px solid #3a3050;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#c77dff;
    margin-bottom:16px;
  }
  .journey-icon svg{ width:22px; height:22px; }

  .journey-title{
    margin:0 0 8px;
    font-size:14px;
    font-weight:700;
    color:#ffffff;
  }
  .journey-desc{
    margin:0;
    font-size:12.5px;
    line-height:1.55;
    color:#9a93ad;
  }

  @media (max-width:900px){
    .journey-track{ flex-direction:column; gap:24px; }
    .journey-step{ flex-direction:row; text-align:left; align-items:flex-start; }
    .journey-icon{ margin-bottom:0; margin-right:14px; flex:0 0 auto; }
    .journey-line{ display:none; }
  }
  @media (max-width:520px){
    .journey-section{ padding:28px 20px 32px; }
  }

.wdm-section{
    padding:32px 44px 40px;
    background:#ffffff;
  }
  .wdm-heading{
    margin:0 0 8px;
    font-size:20px;
    font-weight:800;
    color:#181828;
  }
  .wdm-underline{
    width:44px;
    height:3px;
    border-radius:2px;
    background:#6C4CF1;
    margin-bottom:26px;
  }
  .wdm-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
  }
  .wdm-card{
    padding:4px 4px 0 0;
  }
  .wdm-icon{
    width:44px;
    height:44px;
    border-radius:12px;
    background:#ece8f9;
    color:#6C4CF1;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
  }
  .wdm-icon svg{ width:20px; height:20px; }
  .wdm-title{
    margin:0 0 6px;
    font-size:14px;
    font-weight:700;
    color:#181828;
  }
  .wdm-desc{
    margin:0;
    font-size:12.5px;
    line-height:1.55;
    color:#7a7a86;
  }

  @media (max-width:900px){
    .wdm-grid{ grid-template-columns:repeat(2,1fr); row-gap:24px; }
  }
  @media (max-width:520px){
    .wdm-section{ padding:28px 20px 32px; }
    .wdm-grid{ grid-template-columns:1fr; }
  }
  
  
  .bin-section{
    
    border-radius:18px;
    padding:26px 36px;
    display:flex;
    align-items:center;
    gap:36px;
    flex-wrap:wrap;
  }
  .bin-heading-wrap{ flex:0 0 auto; }
  .bin-heading{
    margin:0 0 6px;
    font-size:16px;
    font-weight:800;
    color:#181828;
  }
  .bin-underline{
    width:34px;
    height:3px;
    border-radius:2px;
    background:#6C4CF1;
  }
  .bin-stats{
    flex:1 1 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
  }
  .bin-stat{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .bin-icon{
    flex:0 0 auto;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#ffffff;
    color:#6C4CF1;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .bin-icon svg{ width:19px; height:19px; }
  .bin-number{
    margin:0;
    font-size:19px;
    font-weight:800;
    color:#6C4CF1;
    line-height:1.2;
  }
  .bin-label{
    margin:0;
    font-size:12px;
    color:#6b6b78;
  }

  @media (max-width:900px){
    .bin-stats{ justify-content:flex-start; }
  }
  @media (max-width:520px){
    body{ padding:16px 20px; }
    .bin-section{ padding:22px 22px; flex-direction:column; align-items:flex-start; }
    .bin-stats{ width:100%; justify-content:space-between; }
  }
.jtj-section{
    position:relative;
    background: #000000;
    margin-top: 20px;
   
    padding:40px 48px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:32px;
    overflow:hidden;
    min-height:150px;
  }
  .jtj-envelope-wrap{
    flex:0 0 120px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .jtj-envelope-wrap svg{ width:100%; height:auto; }

  .jtj-center{
    flex:0 1 480px;
    text-align:center;
  }
  .jtj-title{
    margin:0 0 8px;
    font-size:24px;
    font-weight:800;
    color:#ffffff;
  }
  .jtj-subtitle{
    margin:0 0 22px;
    font-size:14.5px;
    line-height:1.6;
    color:#dcd3fb;
  }
  .jtj-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#ffffff;
    color:#6C4CF1;
    font-weight:700;
    font-size:14.5px;
    padding:12px 24px;
    border-radius:10px;
    text-decoration:none;
  }
  .jtj-btn svg{ width:16px; height:16px; }

  .jtj-deco-wrap{
    flex:0 0 160px;
    position:relative;
    height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .jtj-deco-wrap svg{ width:100%; height:100%; }

  @media (max-width:900px){
    .jtj-section{ flex-direction:column; text-align:center; padding:36px 28px; }
    .jtj-envelope-wrap, .jtj-deco-wrap{ flex:0 0 auto; width:110px; }
  }
  @media (max-width:520px){
    body{ padding:16px 20px; }
    .jtj-section{ padding:32px 22px; }
    .jtj-title{ font-size:20px; }
  }

 .faq-hero{
    max-width:1240px;
    margin:0 auto;
    padding:90px 40px 100px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
  }
  .eyebrow{
    color:var(--purple-700);
    font-weight:700;
    font-size:13px;
    letter-spacing:2px;
    margin-bottom:14px;
  }
  h1{
    font-size:48px;
    line-height:1.15;
    font-weight:800;
    color:var(--ink);
    margin:0 0 22px;
  }
  h1 span{
    color:var(--purple-700);
  }
  .desc{
    color:var(--muted);
    font-size:16.5px;
    line-height:1.65;
    max-width:420px;
    margin:0 0 30px;
  }
  .search-box{
    display:flex;
    align-items:center;
    gap:10px;
    border:1.5px solid var(--purple-300);
    border-radius:12px;
    padding:14px 18px;
    max-width:420px;
    background:#fff;
    transition:border-color .2s, box-shadow .2s;
  }
  .search-box:focus-within{
    border-color:var(--purple-700);
    box-shadow:0 0 0 4px var(--purple-100);
  }
  .search-box svg{ flex-shrink:0; }
  .search-box input{
    border:none;
    outline:none;
    font-size:15px;
    width:100%;
    color:var(--ink);
    background:transparent;
  }
  .search-box input::placeholder{ color:#B3AEC2; }

  /* Illustration */
  .illustration{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    height:340px;
  }
  .illustration svg{ width:100%; max-width:460px; height:auto; }

  .sparkle{
    animation:twinkle 2.6s ease-in-out infinite;
    transform-origin:center;
  }
  .sparkle.d2{ animation-delay:.6s; }
  .sparkle.d3{ animation-delay:1.2s; }
  .sparkle.d4{ animation-delay:1.8s; }
  @keyframes twinkle{
    0%,100%{ opacity:.35; transform:scale(0.85); }
    50%{ opacity:1; transform:scale(1.05); }
  }
  .bob{
    animation:bob 4s ease-in-out infinite;
  }
  @keyframes bob{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-8px); }
  }

  @media (max-width: 860px){
    .faq-hero{
      grid-template-columns:1fr;
      padding:60px 24px 40px;
      text-align:center;
    }
    .desc, .search-box{ margin-left:auto; margin-right:auto; }
    h1{ font-size:36px; }
    .illustration{ order:-1; height:260px; }
  }
  
  
.feature-row{
    max-width:1240px;
    margin:0 auto;
    padding:50px 40px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:36px;
    margin-top: -50px;
  }
  .feature{
    display:flex;
    align-items:flex-start;
    gap:16px;
  }
  .icon-circle{
    flex-shrink:0;
    width:56px;
    height:56px;
    border-radius:50%;
    background:var(--purple-100);
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .icon-circle svg{
    width:26px;
    height:26px;
  }
  .feature h3{
    margin:2px 0 6px;
    font-size:16px;
    font-weight:700;
    color:var(--ink);
  }
  .feature p{
    margin:0;
    font-size:13.5px;
    line-height:1.55;
    color:var(--muted);
  }

  @media (max-width: 980px){
    .feature-row{ grid-template-columns:repeat(2, 1fr); }
  }
  @media (max-width: 600px){
    .feature-row{ grid-template-columns:1fr; padding:40px 24px; }
  }
  
  
  .faq-section{
    max-width:950px;
    margin:auto;
    padding:70px 20px;
}

.heading-wrap{
    text-align:center;
    position:relative;
    margin-bottom:45px;
}

.heading-wrap h2{
    font-size:32px;
    font-weight:800;
    color:#171723;
    margin-bottom:10px;
    
}

.line{
    display:inline-block;
    width:55px;
    height:4px;
    background:#7B4BFF;
    border-radius:20px;
}

.doodle{
    position:absolute;
    top:-5px;
}

.left{
    left:0;
}

.right{
    right:0;
}

.faq-box{

    background:#faf8ff;
    border:1px solid #eee9ff;
    border-radius:28px;
    padding:28px;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;

    box-shadow:0 18px 60px rgba(120,85,255,.08);

}

.faq-column{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.faq-item{

    background:white;
    border-radius:18px;
    overflow:hidden;

    transition:.3s;
}

.faq-question{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;   /* center ki jagah */
    background:#fff;
    border:none;
    padding:16px 20px;        /* pehle 18px 22px tha */
    cursor:pointer;
    font-size:15px;
    font-weight:700;
    min-height:32px; 
    
}

.faq-question .left{

    display:flex;
    align-items:center;
    gap:15px;
    
}

.icon{

    width:32px;
    height:32px;

    border-radius:50%;

    background:#F2EDFF;

    color:#7B4BFF;

    display:flex;
    justify-content:center;
    align-items:center;

    font-weight:700;
    margin-top: 20px;

}

.plus{

    font-size:28px;

    color:#24243a;

    transition:.3s;
}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:.35s;

    padding:0 22px;

    color:#666;

    line-height:1.7;
    margin-top: 10px;

}

.faq-item.active .faq-answer{

    max-height:160px;

    padding:0 22px 22px 70px;

}

.faq-item.active .plus{

    transform:rotate(45deg);

}

@media(max-width:900px){

.faq-box{

grid-template-columns:1fr;

}

.heading-wrap h2{

font-size:32px;

}

.doodle{

display:none;

}

}
  
   .section { margin-bottom: 48px; }
  .section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    position: relative;
    margin-bottom: 32px;
  }
  .section-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: #6c5ce7;
    margin: 10px auto 0;
    
  }
  .card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    
  }
  .avatar {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .avatar img, .avatar svg { width: 150px; height: 150px; }
  .faq-list { flex: 1; display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    background: #f4f2fc;
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.2s ease;
  }
  .faq-item.open { background: #ece8fb; }
  .faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
  }
  .q-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e3ddfb;
    color: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
  }
  .q-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
  }
  .q-toggle {
    flex: 0 0 20px;
    text-align: center;
    font-size: 18px;
    color: #6c5ce7;
    transition: transform 0.2s ease;
  }
  .faq-item.open .q-toggle { transform: rotate(45deg); }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 18px 0 58px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a5e;
  }
  .faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 18px 16px 58px;
  }
  @media (max-width: 640px) {
    .card { flex-direction: column; align-items: center; }
    .avatar { flex: none; }
  }
  
  .trust-banner{

    max-width:1250px;
    margin:80px auto;
    padding:26px 40px;
    margin-top: -30px;

    border-radius:22px;

    background:#7c3aed;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:40px;

    overflow:hidden;

    box-shadow:0 18px 45px rgba(92,54,228,.30);

}

/* LEFT */

.trust-left{

    display:flex;
    align-items:center;
    gap:22px;

}

.trust-icon{

    width:78px;
    height:78px;

    flex-shrink:0;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    display:flex;
    justify-content:center;
    align-items:center;

}

.trust-icon svg{

    width:46px;
    height:46px;

}

.trust-content h2{

    margin:0;

    color:#fff;

    font-size:20px;

    font-weight:700;

}

.trust-content p{

    margin-top:6px;

    color:rgba(255,255,255,.85);

    font-size:15px;

    line-height:1.5;

}


/* RIGHT */

.trust-right{

    display:flex;
    align-items:center;

}

.trust-item{

    width:170px;

    text-align:center;

    position:relative;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:12px;

    padding:0 15px;

}

.trust-item:not(:last-child)::after{

    content:"";

    position:absolute;

    right:0;

    top:50%;

    transform:translateY(-50%);

    width:1px;

    height:56px;

    background:rgba(255,255,255,.18);

}

.trust-svg{

    width:28px;
    height:28px;

}

.trust-item span{

    color:#fff;

    font-size:14px;

    font-weight:500;

}


/* Responsive */

@media(max-width:900px){

.trust-banner{

flex-direction:column;

text-align:center;

padding:30px 20px;

gap:28px;

}

.trust-left{

flex-direction:column;

}

.trust-right{

width:100%;

justify-content:space-around;

gap:20px;

}

.trust-item{

width:auto;

flex:1;

}

.trust-item::after{

display:none;

}

}

@media(max-width:600px){

.trust-right{

flex-direction:column;

}

.trust-item{

padding:15px 0;

width:100%;

border-top:1px solid rgba(255,255,255,.15);

}

.trust-item:first-child{

border-top:none;

}

.trust-content h2{

font-size:22px;

}

.trust-content p{

font-size:14px;

}

}


.support-section{

    max-width:1250px;
    margin:80px auto;

    padding:26px 0;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:30px;

}

.support-left{

    display:flex;
    align-items:center;

    gap:22px;
    margin-left: 40px;

}

.support-icon{

    width:90px;
    height:90px;

    border-radius:50%;

    background:#F4F0FF;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

}

.support-icon svg{

    width:46px;
    height:46px;

}

.support-content h2{

    margin:0;

    font-size:26px;

    font-weight:700;

    color:#000000;

}

.support-content p{

    margin-top:8px;

    max-width:470px;

    color:#505067;

    line-height:1.7;

    font-size:17px;

}

.support-btn{

    display:flex;
    align-items:center;
    gap:12px;

    background:linear-gradient(135deg,#6F42F5,#5A28DE);

    color:#fff;

    text-decoration:none;

    padding:18px 34px;

    border-radius:14px;

    font-size:17px;

    font-weight:600;

    transition:.3s;
    
    margin-right: 70px;

}

.support-btn svg{

    width:20px;
    height:20px;

}

.support-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 30px rgba(109,62,245,.35);

}



.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 40px;
    gap: 40px;
    flex-wrap: wrap;
  }

  .contact-left{
    flex:0 0 500px;
    max-width:500px;
    margin-top: -50px;
}

 .badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:10px 22px;      /* top-bottom kam, left-right zyada */

    background:#F2ECFF;
    border-radius:999px;

    color:#6D28D9;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;

    width:fit-content;
    white-space:nowrap;

    margin-bottom:24px;
}

.badge svg{
    width:16px;
    height:16px;
    flex-shrink:0;
}

  h1.contact-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px 0;
    color: #12101a;
  }

  h1.contact-title .accent {
    color: #6d28d9;
    display: block;
  }

  .divider{
    display:flex;
    align-items:center;
    gap:8px;
    margin:18px 0 28px;
}

.divider .line{
    width:64px;
    height:3px;
    border-radius:10px;
    background:#7C3AED;
}

.divider svg{
    width:16px;
    height:16px;
}


  .support-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid #e5e0f5;
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 32px;
    max-width: 440px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.06);
  }

  .support-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .support-icon svg { width: 22px; height: 22px; color: #fff; }

  .support-text .label {
    font-weight: 700;
    font-size: 15px;
    color: #12101a;
    margin-bottom: 2px;
  }

  .support-text a {
    color: #6d28d9;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
  }

  .support-text .sub {
    color: #6b7280;
    font-size: 13px;
    margin-top: 2px;
  }

  .contact-right {
    flex: 1 1 420px;
    min-width: 320px;
    display: flex;
    justify-content: center;
  }

  @media (max-width: 720px) {
    h1.contact-title { font-size: 34px; }
    .contact-section { padding: 40px 20px; }
  }


.features-section{
  max-width:1100px;
  margin:0 auto;
  padding:36px 8px;
  margin-top: -20px;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
}

.feature-item{
  padding:0 32px;
}

.feature-item + .feature-item{
  border-left:1px solid #eceaf3;
}

.feature-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  background:#efeafd;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

.feature-icon svg{
  width:24px;
  height:24px;
  display:block;
}

.feature-item h3{
  margin:0 0 8px 0;
  font-size:17px;
  font-weight:700;
  color:#141026;
}

.feature-item p{
  margin:0;
  font-size:14.5px;
  line-height:1.5;
  color:#5f5a72;
}

@media (max-width:820px){
  .features-grid{grid-template-columns:repeat(2,1fr);}
  .feature-item{padding:20px 20px;}
  .feature-item:nth-child(2n+1){border-left:none;}
  .feature-item:nth-child(1),.feature-item:nth-child(2){border-bottom:1px solid #eceaf3;}
  .feature-item:nth-child(3){border-left:none;}
}

@media (max-width:480px){
  .features-grid{grid-template-columns:1fr;}
  .feature-item{border-left:none !important;border-bottom:1px solid #eceaf3;padding:20px 12px;}
  .feature-item:last-child{border-bottom:none;}
}


.contact-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:40px 16px;
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:60px;
  font-family:'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- LEFT: FORM ---------- */
.form-col h2{
  font-size:24px;
  font-weight:800;
  color:#141026;
  margin:0 0 10px 0;
}

.form-col > p{
  color:#5f5a72;
  font-size:14.5px;
  margin:0 0 22px 0;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:16px;
}

.input-wrap{
  position:relative;
  display:flex;
  align-items:center;
  border:1px solid #e3e1ec;
  border-radius:10px;
  padding:0 14px;
  background:#fff;
}

.input-wrap svg{
  flex:0 0 auto;
  stroke:#8a84a3;
  margin-right:10px;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea{
  border:none;
  outline:none;
  font-size:14.5px;
  padding:13px 0;
  width:100%;
  color:#141026;
  background:transparent;
  font-family:inherit;
  resize:none;
}

.input-wrap textarea{
  padding-top:13px;
}

.input-wrap.full{
  margin-bottom:16px;
}

.input-wrap select{
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
}

.select-arrow{
  pointer-events:none;
  margin-left:auto;
  flex:0 0 auto;
}

textarea.msg{
  min-height:110px;
  padding-top:14px;
}

.textarea-wrap{
  align-items:flex-start;
  padding-top:2px;
}

.textarea-wrap svg{
  margin-top:14px;
}

.submit-btn{
  width:100%;
  border:none;
  cursor:pointer;
  background:linear-gradient(90deg,#6d3ff2,#8b5cf6);
  color:#fff;
  font-size:15.5px;
  font-weight:700;
  padding:15px 0;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:opacity .2s ease;
}

.submit-btn:hover{opacity:.92;}
.submit-btn:disabled{opacity:.6;cursor:not-allowed;}

.privacy-note{
  text-align:center;
  font-size:12.5px;
  color:#8a84a3;
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.form-status{
  margin-top:14px;
  font-size:14px;
  text-align:center;
  min-height:20px;
}

.form-status.success{color:#1f9d55;}
.form-status.error{color:#e0393e;}

/* ---------- RIGHT: OTHER WAYS ---------- */
.reach-col{
  border-left:1px solid #eceaf3;
  padding-left:60px;
}

.reach-col h2{
  font-size:22px;
  font-weight:800;
  color:#141026;
  margin:0 0 6px 0;
}

.reach-underline{
  width:44px;
  height:4px;
  background:#5b3df0;
  border-radius:4px;
  margin-bottom:26px;
}

.reach-item{
  display:flex;
  gap:16px;
  margin-bottom:26px;
}

.reach-icon{
  width:46px;
  height:46px;
  border-radius:12px;
  background:#f1edfe;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.reach-item h3{
  margin:0 0 3px 0;
  font-size:15.5px;
  font-weight:700;
  color:#141026;
}

.reach-item a{
  color:#5b3df0;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}

.reach-item a:hover{text-decoration:underline;}

.reach-item p{
  margin:2px 0 0 0;
  font-size:13.5px;
  color:#8a84a3;
}

@media (max-width:900px){
  .contact-wrap{grid-template-columns:1fr;}
  .reach-col{border-left:none;padding-left:0;border-top:1px solid #eceaf3;padding-top:30px;}
  .form-row{grid-template-columns:1fr;}
}


.wrap{
    max-width:1000px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  @media (max-width:760px){
    .wrap{grid-template-columns:1fr;}
  }

  /* ---------- FAQ CARD ---------- */
  .faq-card{
    background:var(--lav-bg);
    border-radius:20px;
    padding:36px 32px;
    position:relative;
    overflow:hidden;
  }
  .faq-card h2{
    margin:0 0 6px;
    font-size:24px;
    font-weight:700;
    color:var(--ink);
  }
  .underline{
    width:46px;
    height:4px;
    background:var(--purple);
    border-radius:2px;
    margin-bottom:28px;
  }
  .faq-item{
    background:var(--white);
    border-radius:12px;
    margin-bottom:12px;
    padding:16px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    cursor:pointer;
    box-shadow:0 1px 2px rgba(31,27,51,0.04);
    transition:box-shadow .2s ease;
  }
  .faq-item:hover{
    box-shadow:0 2px 8px rgba(31,27,51,0.08);
  }
  .faq-item .q{
    font-size:15px;
    font-weight:600;
    color:var(--ink);
  }
  .faq-item .toggle{
    width:26px;
    height:26px;
    min-width:26px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    color:var(--purple);
    font-weight:700;
    transition:transform .2s ease;
  }
  .faq-item.open .toggle{ transform:rotate(45deg); }
  .faq-answer{
    max-height:0;
    overflow:hidden;
    font-size:13.5px;
    color:var(--muted);
    line-height:1.5;
    transition:max-height .25s ease, padding .25s ease;
  }
  .faq-item-wrap{ margin-bottom:12px; }
  .faq-item-wrap .faq-answer-inner{
    background:var(--white);
    border-radius:0 0 12px 12px;
    padding:0 18px;
  }
  .faq-item-wrap.open .faq-answer{
    max-height:200px;
    padding:0 0 16px;
  }
  .faq-item-wrap.open .faq-item{
    border-radius:12px 12px 0 0;
    box-shadow:none;
    margin-bottom:0;
  }

  .bubble-icon{
    position:absolute;
    bottom:28px;
    right:32px;
    width:64px;
    height:64px;
    background:var(--purple);
    border-radius:50% 50% 4px 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:28px;
    font-weight:700;
    box-shadow:0 6px 16px rgba(108,79,224,0.35);
  }

/* FAQ + Feedback sections styles */
/* Namespaced under .faq-feedback-wrap so it won't clash with your site's existing CSS */
/* IMPORTANT: Link this CSS file AFTER your theme/site's main CSS in <head>, so it doesn't get overridden. */

.faq-feedback-wrap{
  --lav-bg:#F3F1FC;
  --purple:#6C4FE0;
  --purple-dark:#5B3FD6;
  --purple-light:#8B72EA;
  --ink:#1F1B33;
  --muted:#6B6480;
  --white:#ffffff;

  max-width:1000px;
  margin:0 auto;
  padding:40px 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  box-sizing:border-box;
}
.faq-feedback-wrap *{ box-sizing:border-box; }

@media (max-width:760px){
  .faq-feedback-wrap{ grid-template-columns:1fr; }
}

/* ---------- FAQ CARD ---------- */
.faq-feedback-wrap .faq-card{
  background:var(--lav-bg);
  border-radius:20px;
  padding:36px 32px;
  position:relative;
  overflow:hidden;
}
.faq-feedback-wrap .faq-card h2{
  margin:0 0 6px;
  font-size:24px;
  font-weight:700;
  color:var(--ink);
}
.faq-feedback-wrap .underline{
  width:46px;
  height:4px;
  background:var(--purple);
  border-radius:2px;
  margin-bottom:28px;
}

/* faq-item-wrap: reset any theme defaults (border/shadow/bg) that might leak in */
.faq-feedback-wrap .faq-item-wrap{
  margin-bottom:12px;
  border:none;
  box-shadow:none;
  background:transparent;
  border-radius:0;
}
.faq-feedback-wrap .faq-item{
  background:var(--white);
  border-radius:12px;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(31,27,51,0.04);
  transition:box-shadow .2s ease;
}
.faq-feedback-wrap .faq-item:hover{
  box-shadow:0 2px 8px rgba(31,27,51,0.08);
}
.faq-feedback-wrap .faq-item .q{
  font-size:15px;
  font-weight:600;
  color:var(--ink);
}
.faq-feedback-wrap .faq-item .toggle{
  width:26px;
  height:26px;
  min-width:26px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:var(--purple);
  font-weight:700;
  transition:transform .2s ease;
}

/* faq-answer: reset margin/border/bg so it hugs the question directly, no gap */
.faq-feedback-wrap .faq-answer{
  max-height:0;
  overflow:hidden;
  margin:0;
  border:none;
  background:transparent;
  border-radius:0;
  font-size:13.5px;
  color:var(--muted);
  line-height:1.5;
  transition:max-height .25s ease, padding .25s ease;
}
.faq-feedback-wrap .faq-answer-inner{
  background:var(--white);
  border:none;
  box-shadow:none;
  border-radius:0 0 12px 12px;
  padding:0 18px;
}
.faq-feedback-wrap .faq-item-wrap.open .faq-answer{
  max-height:200px;
  padding:0 0 16px;
}
.faq-feedback-wrap .faq-item-wrap.open .faq-item{
  border-radius:12px 12px 0 0;
  box-shadow:none;
  margin-bottom:0;
}
.faq-feedback-wrap .faq-item-wrap.open .toggle{
  transform:rotate(45deg);
}

.faq-feedback-wrap .bubble-icon{
  position:absolute;
  bottom:28px;
  right:32px;
  width:64px;
  height:64px;
  background:var(--purple);
  border-radius:50% 50% 4px 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:28px;
  font-weight:700;
  box-shadow:0 6px 16px rgba(108,79,224,0.35);
}

/* ---------- FEEDBACK CARD ---------- */
.faq-feedback-wrap .feedback-card{
  background:linear-gradient(160deg, var(--purple-dark), var(--purple));
  border-radius:20px;
  padding:40px 36px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:340px;
  color:#fff;
}
.faq-feedback-wrap .heart-icon{
  width:36px;
  height:36px;
  background:rgba(255,255,255,0.15);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  margin-bottom:18px;
}
.faq-feedback-wrap .feedback-card h2{
  font-size:26px;
  font-weight:700;
  margin:0 0 14px;
  max-width:280px;
  line-height:1.25;
  color:#fff;
}
.faq-feedback-wrap .feedback-card p{
  font-size:14px;
  line-height:1.6;
  color:rgba(255,255,255,0.85);
  max-width:270px;
  margin:0 0 26px;
}
.faq-feedback-wrap .feedback-btn{
  background:#fff;
  color:var(--purple-dark);
  border:none;
  border-radius:10px;
  padding:13px 22px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  transition:transform .15s ease;
}
.faq-feedback-wrap .feedback-btn:hover{ transform:translateY(-2px); }

.faq-feedback-wrap .robot{
  position:absolute;
  right:20px;
  bottom:0;
  width:170px;
  height:auto;
}
.faq-feedback-wrap .float-heart{
  position:absolute;
  color:rgba(255,255,255,0.5);
}
.faq-feedback-wrap .fh1{ top:20px; left:40%; font-size:16px; }
.faq-feedback-wrap .fh2{ top:70px; right:70px; font-size:20px; }
.faq-feedback-wrap .fh3{ top:130px; right:30px; font-size:14px; }









/* ===== General Questions section (namespaced with gq- so it never clashes
   with .faq-item / .faq-question used elsewhere on the page) ===== */

.gq-section{
  max-width:950px;
  margin:auto;
  padding:70px 20px;
}

.gq-heading-wrap{
  text-align:center;
  position:relative;
  margin-bottom:45px;
}
.gq-heading-wrap h2{
  font-size:32px;
  font-weight:800;
  color:#171723;
  margin-bottom:10px;
}
.gq-line{
  display:inline-block;
  width:55px;
  height:4px;
  background:#7B4BFF;
  border-radius:20px;
}
.gq-doodle{ position:absolute; top:-5px; }
.gq-doodle.gq-left{ left:0; }
.gq-doodle.gq-right{ right:0; }

.gq-box{
  background:#faf8ff;
  border:1px solid #eee9ff;
  border-radius:28px;
  padding:28px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
  box-shadow:0 18px 60px rgba(120,85,255,.08);
  align-items:start;
}

.gq-column{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
}

.gq-item{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  width:100%;
}

.gq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#fff;
  border:none;
  border-radius:18px;
  padding:16px 20px;
  cursor:pointer;
  font-size:15px;
  font-weight:700;
  color:#171723;
  text-align:left;
  font-family:inherit;
}

.gq-left{
  display:flex;
  align-items:center;
  gap:14px;
  flex:1;
  min-width:0;
}

.gq-icon{
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#F2EDFF;
  color:#7B4BFF;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:13px;
}

.gq-plus{
  flex:0 0 auto;
  font-size:22px;
  color:#24243a;
  transition:transform .25s ease;
  line-height:1;
}

.gq-item.active .gq-plus{
  transform:rotate(45deg);
}

/* Answer always sits BELOW the question, full width, never beside it */
.gq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
  width:100%;
}
.gq-answer-inner{
  padding:0 20px 20px 66px;
  color:#666;
  line-height:1.7;
  font-size:14px;
}
.gq-item.active .gq-answer{
  max-height:220px;
}

@media(max-width:900px){
  .gq-box{ grid-template-columns:1fr; }
  .gq-heading-wrap h2{ font-size:32px; }
  .gq-doodle{ display:none; }
}


/* ===== AI Buddy / Human Buddy FAQ cards (namespaced bf- so it can never
   be overridden by any other .card/.avatar/.faq-item rule on the page) ===== */

.bf-section{ margin-bottom: 48px; max-width: 1000px; margin-left:auto; margin-right:auto; padding: 0 20px; }

.bf-title{
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  position: relative;
  margin-bottom: 32px;
}
.bf-title::after{
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #6c5ce7;
  margin: 10px auto 0;
}

.bf-card{
  background: #ffffff;
  border: 1px solid #ece9f7;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  box-shadow: 0 4px 18px rgba(80, 60, 130, 0.06);
}

.bf-avatar{
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bf-avatar svg{
  width: 100%;
  height: 100%;
  display: block;
}

.bf-list{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.bf-item{
  background: #f4f2fc;
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.2s ease;
}
.bf-item.open{ background: #ece8fb; }

.bf-question{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.bf-q-icon{
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e3ddfb;
  color: #6c5ce7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.bf-q-text{
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}

.bf-q-toggle{
  flex: 0 0 20px;
  text-align: center;
  font-size: 18px;
  color: #6c5ce7;
  transition: transform 0.2s ease;
}
.bf-item.open .bf-q-toggle{ transform: rotate(45deg); }

.bf-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.bf-answer-inner{
  padding: 0 18px 16px 58px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a5e;
}
.bf-item.open .bf-answer{ max-height: 300px; }

@media (max-width: 640px){
  .bf-card{ flex-direction: column; align-items: center; text-align: center; }
  .bf-question{ text-align: left; }
}



/* Trust Banner + Thank You section styles */
/* Namespaced under .trust-thankyou-wrap so it won't clash with your site's existing CSS */
/* IMPORTANT: Link this CSS file AFTER your theme/site's main CSS in <head> */

.trust-thankyou-wrap{
  --lav-bg:#F3F1FC;
  --purple:#6C4FE0;
  --purple-dark:#5B3FD6;
  --purple-light:#8B72EA;
  --ink:#1F1B33;
  --muted:#6B6480;
  --white:#ffffff;

  max-width:980px;
  margin:0 auto !important;
  padding:30px 20px !important;
  box-sizing:border-box;
}
.trust-thankyou-wrap *{ box-sizing:border-box; }

/* ---------- TRUST BANNER ---------- */
.trust-thankyou-wrap .trust-banner{
  background:var(--lav-bg) !important;
  border-radius:18px !important;
  padding:26px 32px !important;
  margin:0 !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px;
  flex-wrap:wrap;
}
.trust-thankyou-wrap .trust-left{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:16px;
  margin:0 !important;
}
.trust-thankyou-wrap .trust-shield{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:50%;
  background:var(--white) !important;
  color:var(--purple);
  display:flex !important;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 6px rgba(31,27,51,0.08) !important;
  margin:0 !important;
}
.trust-thankyou-wrap .trust-text h3{
  margin:0 0 3px !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:var(--purple-dark) !important;
  line-height:1.3 !important;
}
.trust-thankyou-wrap .trust-text p{
  margin:0 !important;
  font-size:13px !important;
  color:var(--muted) !important;
  line-height:1.4 !important;
}

.trust-thankyou-wrap .trust-right{
  display:flex !important;
  align-items:center !important;
  gap:22px;
  margin:0 !important;
  flex-wrap:nowrap;
}
.trust-thankyou-wrap .trust-item{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:6px;
  color:var(--purple);
  margin:0 !important;
  white-space:nowrap;
}
.trust-thankyou-wrap .trust-item span{
  color:var(--ink) !important;
  font-size:13px !important;
  font-weight:700 !important;
}
.trust-thankyou-wrap .trust-divider{
  width:1px;
  height:34px;
  background:rgba(108,79,224,0.25) !important;
  margin:0 !important;
}

@media (max-width:760px){
  .trust-thankyou-wrap .trust-banner{
    flex-direction:column !important;
    align-items:flex-start !important;
  }
  .trust-thankyou-wrap .trust-right{
    width:100%;
    justify-content:space-between !important;
    gap:12px;
  }
}

/* ---------- THANK YOU BLOCK ---------- */
.trust-thankyou-wrap .thankyou-block{
  position:relative;
  text-align:center !important;
  padding:32px 20px 8px !important;
  margin:0 !important;
}
.trust-thankyou-wrap .thankyou-title{
  display:block !important;
  font-family:'Brush Script MT', 'Segoe Script', cursive !important;
  font-size:32px !important;
  font-weight:400 !important;
  color:var(--purple) !important;
  margin:0 0 6px !important;
  line-height:1.3 !important;
}
.trust-thankyou-wrap .tw-heart{
  color:var(--purple-light) !important;
  font-size:24px !important;
  vertical-align:middle;
}
.trust-thankyou-wrap .thankyou-sub{
  display:block !important;
  margin:0 !important;
  font-size:14px !important;
  color:var(--muted) !important;
}

.trust-thankyou-wrap .tw-sparkle{
  position:absolute;
  color:var(--purple) !important;
  opacity:0.6;
}
.trust-thankyou-wrap .ts1{ top:0px; left:38%; font-size:14px; }
.trust-thankyou-wrap .ts2{ top:18px; left:34%; font-size:10px; }
.trust-thankyou-wrap .ts3{ top:2px; right:36%; font-size:12px; }
.trust-thankyou-wrap .ts4{ top:22px; right:32%; font-size:10px; }



/* Privacy Policy page styles */
/* Namespaced under .pp-wrap and pp- prefixed classes so it won't clash with your site's existing CSS */

.pp-wrap{
  --purple:#6C4FE0;
  --purple-dark:#5B3FD6;
  --purple-light:#8B72EA;
  --lav-bg:#F3F1FC;
  --white:#ffffff;
  --ink:#1F1B33;
  --muted:#6B6480;
  --border:#E4DEF8;

  max-width:820px;
  margin:0 auto;
  padding:64px 24px 96px;
  background:var(--white);
  color:var(--ink);
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height:1.7;
  box-sizing:border-box;
}
.pp-wrap *{ box-sizing:border-box; }

.pp-wrap .pp-title{
  color:var(--purple);
  font-size:2.1rem;
  font-weight:700;
  margin:0 0 4px;
}
.pp-wrap .pp-updated{
  color:var(--muted);
  font-size:0.9rem;
  margin:0 0 40px;
}
.pp-wrap .pp-heading{
  color:var(--purple-dark);
  font-size:1.25rem;
  font-weight:700;
  margin-top:40px;
  margin-bottom:0;
  border-bottom:1px solid var(--border);
  padding-bottom:8px;
}
.pp-wrap .pp-subheading{
  color:var(--ink);
  font-size:1.05rem;
  font-weight:700;
  margin-top:24px;
  margin-bottom:8px;
}
.pp-wrap .pp-text{
  color:var(--muted);
  font-size:0.98rem;
  margin:12px 0;
}
.pp-wrap .pp-list{
  padding-left:20px;
  margin:12px 0;
}
.pp-wrap .pp-list li{
  color:var(--muted);
  font-size:0.98rem;
  margin-bottom:6px;
}
.pp-wrap .pp-list strong{
  color:var(--ink);
}
.pp-wrap a{
  color:var(--purple);
  text-decoration:underline;
}
.pp-wrap a:hover{
  color:var(--purple-dark);
}

.pp-wrap .pp-callout{
  background:var(--lav-bg);
  border:1px solid var(--border);
  border-left:3px solid var(--purple);
  border-radius:8px;
  padding:16px 20px;
  margin:24px 0;
}
.pp-wrap .pp-callout p{
  color:var(--ink);
  margin:0;
}

.pp-wrap .pp-placeholder{
  background:rgba(108,79,224,0.12);
  color:var(--purple-dark);
  padding:1px 6px;
  border-radius:4px;
  font-family:monospace;
  font-size:0.9em;
}


/* Terms & Conditions page styles */
/* Namespaced under .tc-wrap and tc- prefixed classes so it won't clash with your site's existing CSS */

.tc-wrap{
  --purple:#6C4FE0;
  --purple-dark:#5B3FD6;
  --purple-light:#8B72EA;
  --lav-bg:#F3F1FC;
  --white:#ffffff;
  --ink:#1F1B33;
  --muted:#6B6480;
  --border:#E4DEF8;

  max-width:820px;
  margin:0 auto;
  padding:64px 24px 96px;
  background:var(--white);
  color:var(--ink);
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height:1.7;
  box-sizing:border-box;
}
.tc-wrap *{ box-sizing:border-box; }

.tc-wrap .tc-title{
  color:var(--purple);
  font-size:2.1rem;
  font-weight:700;
  margin:0 0 4px;
}
.tc-wrap .tc-updated{
  color:var(--muted);
  font-size:0.9rem;
  margin:0 0 40px;
}
.tc-wrap .tc-heading{
  color:var(--purple-dark);
  font-size:1.25rem;
  font-weight:700;
  margin-top:40px;
  margin-bottom:0;
  border-bottom:1px solid var(--border);
  padding-bottom:8px;
}
.tc-wrap .tc-text{
  color:var(--muted);
  font-size:0.98rem;
  margin:12px 0;
}
.tc-wrap .tc-list{
  padding-left:20px;
  margin:12px 0;
}
.tc-wrap .tc-list li{
  color:var(--muted);
  font-size:0.98rem;
  margin-bottom:6px;
}
.tc-wrap .tc-list strong{
  color:var(--ink);
}
.tc-wrap a{
  color:var(--purple);
  text-decoration:underline;
}
.tc-wrap a:hover{
  color:var(--purple-dark);
}

.tc-wrap .tc-callout{
  background:var(--lav-bg);
  border:1px solid var(--border);
  border-left:3px solid var(--purple);
  border-radius:8px;
  padding:16px 20px;
  margin:24px 0;
}
.tc-wrap .tc-callout p{
  color:var(--ink);
  margin:0;
}

.tc-wrap .tc-placeholder{
  background:rgba(108,79,224,0.12);
  color:var(--purple-dark);
  padding:1px 6px;
  border-radius:4px;
  font-family:monospace;
  font-size:0.9em;
}


/* Terms & Privacy checkbox styles */
/* Adjust the --purple / --ink / --muted values below if your auth page already defines
   these as CSS variables elsewhere — otherwise this works standalone. */

.auth-terms-check{
  --purple: #6C4FE0;
  --ink: #1F1B33;
  --muted: #6B6480;

  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:14px 0 4px;
  font-size:13.5px;
  line-height:1.5;
  color:var(--muted);
}
.auth-terms-check .auth-terms-checkbox{
  margin-top:2px;
  width:16px;
  height:16px;
  min-width:16px;
  accent-color:var(--purple);
  cursor:pointer;
}
.auth-terms-check label{
  cursor:pointer;
  color:var(--muted);
}
.auth-terms-check a{
  color:var(--purple);
  font-weight:600;
  text-decoration:underline;
}
.auth-terms-check a:hover{
  color:#5B3FD6;
}

/* Error message — hidden by default, shown only when someone tries to
   submit without checking the box */
.auth-terms-error{
  display:none;
  color:#E0453D;
  font-size:12.5px;
  margin:0 0 10px;
}
.auth-terms-error.show{
  display:block;
}

/* Optional: highlight the checkbox itself when invalid */
.auth-terms-checkbox.invalid{
  outline:2px solid #E0453D;
  outline-offset:2px;
  border-radius:3px;
}

/* Disabled state for the signup/login button while unchecked.
   If your button already has its own styling, you may not need this. */
.is-disabled{
  opacity:0.5;
  cursor:not-allowed !important;
  pointer-events:none;
}



/*-----------Ai buddy Dashboard ----------*/


.dashboard-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: #080810 !important;
  z-index: 999999 !important;
  display: none;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  color: #f1f1f6 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  
}

.dashboard-overlay.active {
  display: block !important;
}

/* App Layout Container */
.b1am-app-layout {
  display: flex !important;
  min-height: 100vh !important;
  background-color: #080810 !important;
}

/* Sidebar */
.b1am-sidebar {
  width: 250px !important;
  min-width: 250px !important;
  background-color: #0d0c18 !important;
  border-right: 1px solid #1c1a2e !important;
  padding: 24px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100vh !important;
  position: sticky !important;
  top: 0 !important;
  box-sizing: border-box !important;
}

.b1am-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 28px !important;
}

.b1am-brand-icon {
  font-size: 20px !important;
  background: #1b1735 !important;
  padding: 8px !important;
  border-radius: 10px !important;
}

.b1am-brand-text h3 {
  font-size: 16px !important;
  margin: 0 !important;
  color: #ffffff !important;
}

.b1am-brand-text p {
  font-size: 11px !important;
  margin: 0 !important;
  color: #7b7893 !important;
}

.b1am-nav-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.b1am-nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  color: #9d99b9 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}

.b1am-nav-item.active {
  background: linear-gradient(90deg, #3827a3 0%, #2a1d82 100%) !important;
  color: #ffffff !important;
}

.b1am-support-card {
  background: radial-gradient(circle at top left, #1e153b, #120e24) !important;
  border: 1px solid #282046 !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin: 16px 0 !important;
}

.b1am-support-card h4 {
  font-size: 13px !important;
  margin: 4px 0 !important;
  color: #ffffff !important;
}

.b1am-support-card p {
  font-size: 11px !important;
  margin: 0 !important;
  color: #8c88a6 !important;
}

.b1am-upgrade-sidebar-btn {
  width: 100%;
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #9d5cf5);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.b1am-upgrade-sidebar-btn:hover {
  opacity: 0.9;
}

.b1am-sidebar-bottom {
  flex-shrink: 0;          /* Settings/Help/Profile hamesha visible rahein */
  margin-top: auto;        /* bacha hua space le le, neeche stick ho jaye */
  padding-bottom: 12px;
}

.b1am-user-profile {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  background-color: #121021 !important;
  border: 1px solid #201c36 !important;
  border-radius: 10px !important;
  margin-top: 10px !important;
}

.b1am-user-avatar {
  width: 30px !important;
  height: 30px !important;
  background-color: #2b2649 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
  font-size: 13px !important;
}

.b1am-user-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.b1am-user-name { font-size: 12px !important; font-weight: 600 !important; }
.b1am-user-plan { font-size: 10px !important; color: #7b7893 !important; }

/* Main Content Area */
.b1am-main-content {
  flex: 1 !important;
  padding: 28px 36px 80px 36px !important;
  max-width: 1100px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.b1am-main-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 28px !important;
}

.b1am-welcome-title {
  font-size: 24px !important;
  margin: 0 0 4px 0 !important;
  color: #ffffff !important;
}

.b1am-welcome-sub {
  color: #8c88a6 !important;
  font-size: 13px !important;
  margin: 0 !important;
}

.b1am-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.b1am-streak-badge {
  background-color: #141124 !important;
  border: 1px solid #262040 !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.b1am-streak-text strong {
  display: block !important;
  font-size: 14px !important;
  color: #ff8c3b !important;
}

.b1am-streak-text span {
  font-size: 10px !important;
  color: #8c88a6 !important;
}

.b1am-dash-close {
  background: transparent !important;
  border: 1px solid #2e284f !important;
  color: #a4a0c1 !important;
  font-size: 22px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
}

/* Section & Grid */
.b1am-section { margin-bottom: 28px !important; }

.b1am-section-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin-bottom: 16px !important;
}

.b1am-section-header h2 { font-size: 16px !important; margin: 0 !important; }
.b1am-section-header p { font-size: 12px !important; color: #7b7893 !important; margin: 2px 0 0 0 !important; }
.b1am-see-all { color: #8c88a6 !important; text-decoration: none !important; font-size: 12px !important; }

.b1am-activities-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
}

.b1am-act-card {
  background-color: #110f21 !important;
  border: 1px solid #201c38 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.b1am-card-check {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  font-size: 11px !important;
}

.b1am-act-card.completed .b1am-card-check {
  background-color: #10b981 !important;
  color: #000 !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
}

.b1am-card-check.circle {
  width: 14px !important;
  height: 14px !important;
  border: 2px solid #322c54 !important;
  border-radius: 50% !important;
}

.b1am-card-emoji { font-size: 24px !important; margin-bottom: 8px !important; }
.b1am-act-card h3 { font-size: 14px !important; margin: 0 0 4px 0 !important; }
.b1am-act-card p { font-size: 11px !important; color: #8c88a6 !important; margin: 0 0 14px 0 !important; min-height: 28px !important; line-height: 1.3 !important; }

/* Buttons inside cards */
.b1am-btn {
  width: 100% !important;
  padding: 7px 0 !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  cursor: pointer !important;
  color: #ffffff !important;
}

.b1am-btn-green { background-color: #279e65 !important; }
.b1am-btn-pink { background-color: #c94b7c !important; }
.b1am-btn-purple { background-color: #6a4ec7 !important; }
.b1am-btn-blue { background-color: #3b74c4 !important; }
.b1am-btn-teal { background-color: #2ca288 !important; }
.b1am-btn-orange { background-color: #d18128 !important; }
.b1am-btn-violet { background-color: #823bc4 !important; }
.b1am-btn-darkgreen { background-color: #2e623c !important; }

/* Dashboard Row Widgets */
.b1am-dash-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}

.b1am-widget-card {
  background-color: #110f21 !important;
  border: 1px solid #201c38 !important;
  border-radius: 14px !important;
  padding: 20px !important;
}

.b1am-widget-card h3 { font-size: 15px !important; margin: 0 0 2px 0 !important; }
.b1am-widget-sub { font-size: 11px !important; color: #7b7893 !important; margin: 0 0 16px 0 !important; }

.b1am-progress-container {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 16px !important;
}

.b1am-progress-circle {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  background: conic-gradient(#10b981 0% 33%, #1b1735 33% 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.b1am-progress-circle::before {
  content: "" !important;
  position: absolute !important;
  width: 74px !important;
  height: 74px !important;
  background-color: #110f21 !important;
  border-radius: 50% !important;
}

.b1am-circle-num { position: relative !important; font-size: 18px !important; font-weight: 700 !important; }
.b1am-circle-label { position: relative !important; font-size: 10px !important; color: #8c88a6 !important; }

.b1am-progress-list {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  font-size: 12px !important;
  color: #8c88a6 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.b1am-progress-list li.done { color: #ffffff !important; }

.b1am-motivate-banner {
  background-color: #17142b !important;
  border-radius: 8px !important;
  padding: 8px !important;
  text-align: center !important;
  font-size: 12px !important;
  color: #c4bbf0 !important;
}

.b1am-widget-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.b1am-streak-stats {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.b1am-stat-row {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 13px !important;
  color: #9d99b9 !important;
}

.b1am-stat-row .orange { color: #ff8c3b !important; }
.b1am-stat-row .yellow { color: #f5b72b !important; }

.b1am-remember-card {
  background: #1a1330 !important;
  border: 1px solid #3a2a5c !important;
  border-radius: 14px !important;
  padding: 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 90px !important;
  box-sizing: border-box !important;
  margin-top: -20px;
}
.b1am-remember-card h4 { font-size: 15px !important; margin: 0 0 6px 0 !important; color: #fff !important; }
.b1am-remember-card p { font-size: 13px !important; color: #b8b0cc !important; margin: 0 !important; line-height: 1.4 !important; }
.b1am-remember-bot { font-size: 30px !important; }

/* Quick Chat Widget — sits inline in the page flow, full width, like the reference design */
.b1am-quickchat-widget {
  width: 100% !important;
  max-width: 100% !important;
  margin: 8px 0 0 0 !important;
  background: linear-gradient(180deg, #211c33 0%, #1a1728 100%) !important;
  border: 1px solid #322c4a !important;
  border-radius: 20px !important;
  padding: 18px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
  box-sizing: border-box !important;
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.b1am-dash-row {
  margin-bottom: -10px !important;
}

.b1am-quickchat-header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
  flex: 1 1 300px !important;
  min-width: 220px !important;
}

.b1am-quickchat-avatar {
  flex-shrink: 0 !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c5cff, #5b3df0) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
}

.b1am-quickchat-header p {
  margin: 0 !important;
  color: #b9b3cf !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.b1am-quickchat-header p strong {
  color: #f2f0f8 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.b1am-quickchat-input-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #100e1a !important;
  border: 1px solid #322c4a !important;
  border-radius: 999px !important;
  padding: 8px 8px 8px 16px !important;
  flex: 1 1 320px !important;
  min-width: 220px !important;
}

.b1am-quickchat-input-box input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #f2f0f8 !important;
  font-size: 13px !important;
}

.b1am-quickchat-input-box input::placeholder {
  color: #6e6884 !important;
}

.b1am-quickchat-send-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: none !important;
  background: linear-gradient(135deg, #8b5cf6, #6d3ff0) !important;
  color: #fff !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.b1am-quickchat-send-btn:hover {
  filter: brightness(1.1) !important;
}


.b1am-chat-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #2a2a3a;
 
}
.b1am-chat-back {
  background: #1a1a2a;
  border: none;
  color: #e5e5e5;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}
.b1am-chat-back:hover { background: #24243a; }

.b1am-chat-identity-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #2a2a3a;
}
.b1am-chat-avatar-sm {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.b1am-chat-title-wrap { flex: 1; }
.b1am-chat-title-wrap h3 { margin: 0; color: #fff; font-size: 15px; }
.b1am-chat-title-wrap p { margin: 2px 0 0; color: #9ca3af; font-size: 12px; }
.b1am-new-chat-mini {
  background: #1a1a2a;
  border: 1px solid #2a2a3a;
  color: #e5e5e5;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}
.b1am-new-chat-mini:hover { background: #24243a; }

.b1am-chat-layout {
  display: flex;
  height: calc(100% - 66px);
}
.b1am-recents-panel {
  width: 220px;
  min-width: 220px;
  border-right: 1px solid #2a2a3a;
  padding: 14px 10px;
  overflow-y: auto;
}
.b1am-recents-label {
  color: #6b6b80;
  font-size: 11px;
  letter-spacing: .5px;
  padding: 0 6px 10px;
  margin: 0;
}
.b1am-recent-item {
  padding: 10px 12px;
  border-radius: 10px;
  color: #d1d1db;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 4px;
}
.b1am-recent-item:hover { background: #1a1a2a; }
.b1am-recent-item.active { background: #241a3d; border: 1px solid #7c3aed; }

.b1am-chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* ===================================================================
   Mood Check-in Panel — Chat View styles only.
   This file does NOT touch/override any existing b1am-* Home classes.
   Add this <link> in your <head>, after your existing stylesheet:
   <link rel="stylesheet" href="mood-checkin.css">
   =================================================================== */

.b1am-mood-checkin-panel{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  max-width: 480px;
  margin-top: 50px;
  margin-left: 250px;
}

.b1am-mood-title{
  margin: 0 0 4px;
  font-size: 18px;
  color: #f2f2f5;
}

.b1am-mood-sub{
  margin: 0 0 18px;
  font-size: 13px;
  color: #9a9aa8;
}

.b1am-mood-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.b1am-mood-option{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #f2f2f5;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.b1am-mood-option:hover{
  transform: translateY(-2px);
  border-color: rgba(139,92,246,0.6);
  background: rgba(139,92,246,0.08);
}

.b1am-mood-emoji{
  font-size: 24px;
}

.b1am-skip-btn{
  width: 100%;
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.3);
  color: #9a9aa8;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
}

.b1am-skip-btn:hover{
  border-color: rgba(139,92,246,0.6);
  color: #f2f2f5;
}

.b1am-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
}
.b1am-chat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.b1am-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b1am-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}
.b1am-bubble.me {
  align-self: flex-end;
  background: #7c3aed;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.b1am-bubble.them {
  align-self: flex-start;
  background: #1e1e2e;
  color: #e5e5e5;
  border-bottom-left-radius: 4px;
}
.b1am-bubble.typing { display: flex; gap: 4px; padding: 12px 16px; }
.b1am-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #9ca3af; animation: b1amBlink 1.2s infinite ease-in-out;
}
.b1am-dot:nth-child(2) { animation-delay: .2s; }
.b1am-dot:nth-child(3) { animation-delay: .4s; }
@keyframes b1amBlink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

@media (max-width: 768px) {
  .b1am-recents-panel { display: none; }
}

.b1am-chat-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

/* Make the chat area noticeably taller */
.b1am-chat-layout {
  display: flex;
  height: calc(100vh - 260px);
  min-height: 500px;
}
.b1am-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 400px;
}

/* Typing indicator - clearer visibility */
.b1am-bubble.typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  background: #1e1e2e;
}
.b1am-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #a78bfa;
  animation: b1amBlink 1.2s infinite ease-in-out;
}

.b1am-mood-option {
  outline: none;
}
.b1am-mood-option:focus,
.b1am-mood-option:focus-visible,
.b1am-mood-option:active {
  outline: none;
  box-shadow: none;
  border-color: transparent; /* agar default border hai toh usi ka original color yaha daal do */
}



.b1am-chat-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #2a2a3a;
  margin-top: -40px;
}

.b1am-recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  position: relative;
}
.b1am-recent-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b1am-recent-menu-wrap { position: relative; flex-shrink: 0; }
.b1am-recent-dots {
  background: none; border: none; color: #9ca3af;
  font-size: 16px; cursor: pointer; padding: 2px 6px;
  border-radius: 6px; line-height: 1;
}
.b1am-recent-dots:hover { background: #2a2a3a; color: #fff; }
.b1am-recent-dropdown {
  display: none; position: absolute; right: 0; top: 100%;
  margin-top: 4px; background: #1a1a24; border: 1px solid #2a2a3a;
  border-radius: 8px; overflow: hidden; z-index: 20; min-width: 120px;
}
.b1am-recent-dropdown.open { display: block; }
.b1am-recent-dropdown-item {
  width: 100%; text-align: left; background: none; border: none;
  color: #ff6b6b; padding: 9px 12px; font-size: 13px; cursor: pointer;
}
.b1am-recent-dropdown-item:hover { background: #2a2a3a; }


.b1am-chat-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: transparent;
  border-top: 1px solid #23232f;
}

.b1am-chat-input-box input {
  flex: 1;
  background: #1a1a24;
  border: 1px solid #2a2a3a;
  border-radius: 999px;
  padding: 13px 18px;
  color: #f2f2f5;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.b1am-chat-input-box input::placeholder {
  color: #6b6b80;
}

.b1am-chat-input-box input:focus {
  border-color: #7c3aed;
}

.b1am-send-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: none;
  background: #7c3aed;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}

.b1am-send-btn:hover {
  background: #6d28d9;
}

.b1am-send-btn:active {
  transform: scale(0.94);
}

.b1am-send-btn:disabled {
  background: #4c3d7a;
  cursor: not-allowed;
}

.b1am-icon-btn{
  position:relative;
  width:38px;height:38px;
  border-radius:50%;
  border:1px solid #eee;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  color:#555;
}
.b1am-icon-btn:hover{ background:#f5f3ff; color:#7c3aed; }
.b1am-notif-badge{
  position:absolute;top:-4px;right:-4px;
  background:#7c3aed;color:#fff;
  font-size:10px;font-weight:700;
  width:16px;height:16px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.b1am-header-avatar{
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg,#7c3aed,#a855f7);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-weight:700;cursor:pointer;
}
.b1am-btn-red{ background:#ef4444; color:#fff; }


.b1am-btn-cyan{ background:#06b6d4; color:#fff; }
.b1am-btn-rose{ background:#f43f5e; color:#fff; }


.b1am-activity-modal{
  display:none;
  position:fixed; inset:0;
  background:rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index:9999;
  align-items:center; justify-content:center;
}
.b1am-activity-modal.open{ display:flex; }

.b1am-activity-modal-box{
  background:#1a1330;
  border:1px solid #3a2a5c;
  border-radius:16px;
  padding:28px;
  width:90%; max-width:480px;
  max-height:85vh; overflow-y:auto;
  position:relative;
  color:#fff;
  box-shadow:0 10px 40px rgba(0,0,0,0.5);
}

.b1am-activity-modal-box h2{
  color:#fff;
  margin-bottom:6px;
  font-size:22px;
}

.b1am-activity-modal-box p{
  color:#b8b0cc;
  margin-bottom:14px;
  font-size:14px;
}

.b1am-activity-close{
  position:absolute; top:14px; right:14px;
  background:none; border:none; color:#b8b0cc;
  font-size:22px; cursor:pointer;
}
.b1am-activity-close:hover{ color:#fff; }

.b1am-activity-modal-box textarea,
.b1am-activity-modal-box input[type="text"]{
  width:100%; padding:12px 14px; margin:8px 0;
  border-radius:8px; border:1px solid #3a2a5c;
  background:#0e0a1a; color:#fff; font-size:14px;
  box-sizing:border-box;
}
.b1am-activity-modal-box textarea::placeholder,
.b1am-activity-modal-box input[type="text"]::placeholder{
  color:#6b6480;
}
.b1am-activity-modal-box textarea:focus,
.b1am-activity-modal-box input[type="text"]:focus{
  outline:none;
  border-color:#7c3aed;
}

.b1am-activity-save{
  margin-top:10px; padding:10px 24px;
  border:none; border-radius:20px;
  background:#7c3aed; color:#fff;
  font-weight:600; cursor:pointer;
  font-size:14px;
}
.b1am-activity-save:hover{ background:#6d28d9; }

.b1am-breathing-circle{
  width:140px; height:140px; margin:24px auto;
  border-radius:50%;
  background:radial-gradient(circle,#7c3aed,#4c1d95);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:600;
  transition: transform 4s ease-in-out;
}

.b1am-emotion-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:14px;
}
.b1am-emotion-chip{
  padding:12px; text-align:center; border-radius:10px;
  background:#2a1f45; border:1px solid #3a2a5c;
  color:#fff; cursor:pointer; font-size:14px;
  transition: background .15s;
}
.b1am-emotion-chip:hover{ background:#3a2a5c; }

.b1am-ground-step{
  font-size:15px; margin:14px 0; color:#fff;
}

canvas#b1amDrawCanvas{
  background:#fff; border-radius:8px;
  touch-action:none; width:100%;
}


.b1am-activity-modal.b1am-modal-lower{
  align-items:flex-start;
  padding-top:100px;
  overflow-y:auto;
  margin-top: 30px;
}



/* ==========================================================
   INSIGHTS VIEW — add this to your style.css
   ========================================================== */

/* Make sure each dashboard view is hidden by default; JS toggles
   which one shows. If you already control this purely via inline
   style="display:none" in the HTML, you can skip this block —
   it's just a safety net in case classes are used instead. */
#b1amHomeView,
#b1amChatView,
#b1amActivitiesView,
#b1amInsightsView {
  display: none;
}
#b1amHomeView.b1am-view-active,
#b1amChatView.b1am-view-active,
#b1amActivitiesView.b1am-view-active,
#b1amInsightsView.b1am-view-active {
  display: block;
}

/* Weekly / Monthly toggle buttons on the Insights report card */
.b1am-report-tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.b1am-report-tab-btn.b1am-tab-active {
  background: #7c3aed;
  color: #fff;
  border: none;
}

.b1am-report-tab-btn:not(.b1am-tab-active) {
  background: transparent;
  color: #7c3aed;
  border: 1px solid #7c3aed;
}

/* Small stat rows inside the report card (reuses your existing
   .b1am-widget-card / .b1am-streak-stats / .b1am-stat-row look —
   nothing new needed there, this is just spacing on the wrapper) */
#b1amWeeklyReport .b1am-widget-card,
#b1amMonthlyReport .b1am-widget-card {
  margin-bottom: 16px;
}


/* ============ My Profile / Settings / Help & Support styling ============ */

.b1am-widget-card {
  background: #1a1330;
  border: 1px solid #3a2a5c;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

.b1am-widget-card h3 {
  color: #fff;
  font-size: 17px;
  margin: 0 0 6px;
}

.b1am-widget-card .b1am-widget-sub {
  color: #b8b0cc;
  font-size: 14px;
  margin: 0 0 4px;
}

/* Profile form labels + inputs */
#b1amProfileView label {
  display: block;
  margin-bottom: 6px;
}

#b1amProfileView input[type="text"] {
  transition: border-color 0.15s;
}
#b1amProfileView input[type="text"]:focus {
  outline: none;
  border-color: #7c3aed;
}
#b1amProfileView input[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

#profileSaveBtn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 12px;
  border-radius: 10px;
}
#profileSaveBtn:hover {
  background: #6d28d9;
}

/* Your Stats rows inside profile */
#b1amProfileView .b1am-streak-stats {
  margin-top: 10px;
}
#b1amProfileView .b1am-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #2a1f45;
  color: #d8d2e8;
  font-size: 14px;
}
#b1amProfileView .b1am-stat-row:last-child {
  border-bottom: none;
}

/* Settings: Logout + Delete buttons */
#settingsLogoutBtn,
#settingsDeleteBtn {
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  border-radius: 10px;
  transition: opacity 0.15s;
}
#settingsLogoutBtn:hover,
#settingsDeleteBtn:hover {
  opacity: 0.9;
}

/* Danger Zone card gets a subtle red border to stand out */
#b1amSettingsView .b1am-widget-card:has(#settingsDeleteBtn) {
  border-color: #7c2d2d;
  background: #1f1420;
}

/* Help & Support: contact / FAQ / crisis cards */
#b1amHelpView .b1am-widget-card p {
  color: #d8d2e8;
  font-size: 14px;
  line-height: 1.6;
}

#b1amHelpView .b1am-btn-purple {
  display: inline-block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
#b1amHelpView .b1am-btn-purple:hover {
  background: #6d28d9;
}

#b1amHelpView .b1am-widget-card:has(h3:-webkit-any(:contains("Crisis"))) {
  /* fallback not needed — styled generically below */
}

/* Crisis Support numbers spacing */
#b1amHelpView .b1am-widget-card p[style*="line-height"] {
  font-size: 15px;
}

/* Make section padding consistent across these 3 views */
#b1amProfileView .b1am-section,
#b1amSettingsView .b1am-section,
#b1amHelpView .b1am-section {
  max-width: 640px;
}

.b1am-paywall-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.b1am-paywall-overlay.active {
  display: flex;
}

.b1am-paywall-box {
  background: #111;
  border-radius: 16px;
  padding: 32px;
  max-width: 380px;
  width: 90%;
  border: 1px solid #7c3aed;
  text-align: center;
  font-family: inherit;
}

.b1am-paywall-title {
  color: #fff;
  margin: 0 0 10px;
  font-size: 20px;
}

.b1am-paywall-text {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 20px;
}

.b1am-paywall-upgrade-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #7c3aed;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.b1am-paywall-close-btn {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #333;
  background: transparent;
  color: #9ca3af;
  font-size: 14px;
  cursor: pointer;
}


.b1am-sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;           /* poora viewport height le */
  overflow-y: auto;        /* content zyada ho to scroll ho jaye, cut na ho */
}

.b1am-sidebar-top {
  flex: 0 0 auto;          /* upar wala content apni natural height le */
}

.b1am-support-card {
  flex-shrink: 0;          /* "You're not alone" card compress na ho */
}

.b1am-upgrade-sidebar-btn {
  flex-shrink: 0;
}


/**********************end ai dashboard****************************/


/* ===================================================================
   ================  MOBILE RESPONSIVE OVERRIDES  =====================
   Sab kuch neeche add kiya hai, upar ka original CSS chhua nahi hai.
   Isse purane desktop styles safe rehte hain aur sirf chhoti screens
   pe overrides fire honge.

   NOTE (IMPORTANT — JS/HTML side se karna hoga):
   Sidebar ko mobile pe drawer (slide-in) banaya hai. Isko open/close
   karne ke liye ek hamburger button chahiye HTML me, jaise:

   <button class="b1am-mobile-menu-btn" onclick="document.querySelector('.b1am-sidebar').classList.toggle('b1am-sidebar-open'); document.querySelector('.b1am-sidebar-backdrop').classList.toggle('active')">☰</button>
   <div class="b1am-sidebar-backdrop" onclick="this.classList.remove('active'); document.querySelector('.b1am-sidebar').classList.remove('b1am-sidebar-open')"></div>

   Backdrop div ko sidebar ke bahar, .b1am-app-layout ke andar kahin
   bhi rakh sakti ho — CSS position:fixed hai to jagah matter nahi karti.
   =================================================================== */

/* Prevent iOS auto-zoom on inputs (font-size must be >=16px) */
.dashboard-overlay input,
.dashboard-overlay textarea {
  font-size: 16px !important;
}

/* Hamburger button — this matches the REAL button already in your HTML:
   <button class="b1am-mobile-sidebar-toggle" id="b1amMobileSidebarToggle">
   Hidden on desktop, shown only on mobile. */
.b1am-mobile-sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100002;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #2e284f;
  background: #14111f !important;
  color: #f1f1f6 !important;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}
.b1am-mobile-sidebar-toggle svg { stroke: #f1f1f6 !important; }

/* Dark backdrop behind the open sidebar drawer on mobile */
.b1am-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100000;
}
.b1am-sidebar-backdrop.active {
  display: block;
}

/* ---------- Tablet & below (<=1024px) ---------- */
@media (max-width: 1024px) {
  .b1am-main-content {
    padding: 24px 22px 70px 22px !important;
    max-width: 100% !important;
  }

  .b1am-activities-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ---------- Mobile (<=768px) ---------- */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden !important;
  }

  /* Stack layout: sidebar becomes an off-canvas drawer, content full width */
  .b1am-app-layout {
    flex-direction: column !important;
  }

  .b1am-mobile-sidebar-toggle {
    display: flex !important;
  }

  .b1am-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 78vw !important;
    max-width: 300px !important;
    min-width: 0 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s ease !important;
    z-index: 100001 !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.5) !important;
  }

  .b1am-sidebar.b1am-sidebar-open {
    transform: translateX(0) !important;
  }

  .b1am-main-content {
    padding: 70px 16px 90px 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Header wraps nicely and shrinks */
  .b1am-main-header {
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .b1am-welcome-title {
    font-size: 19px !important;
  }

  .b1am-welcome-sub {
    font-size: 12px !important;
  }

  .b1am-header-right {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .b1am-streak-badge {
    padding: 6px 10px !important;
  }

  /* Grids collapse for thumb-friendly single/2-col layout */
  .b1am-activities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .b1am-act-card {
    padding: 12px !important;
  }

  .b1am-dash-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: -4px !important;
  }

  .b1am-widget-card {
    padding: 16px !important;
  }

  .b1am-progress-container {
    gap: 14px !important;
  }

  .b1am-progress-circle {
    width: 90px !important;
    height: 90px !important;
  }
  .b1am-progress-circle::before {
    width: 60px !important;
    height: 60px !important;
  }

  .b1am-remember-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 0 !important;
    padding: 18px !important;
  }

  /* Quick chat widget stacks cleanly on small screens */
  .b1am-quickchat-widget {
    padding: 14px !important;
    gap: 12px !important;
  }
  .b1am-quickchat-header,
  .b1am-quickchat-input-box {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  /* Mood check-in panel — remove desktop sidebar offset */
  .b1am-mood-checkin-panel {
    margin-left: 0 !important;
    margin-top: 70px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px !important;
  }

  .b1am-mood-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Chat view: recents panel hidden (already handled above), chat takes full width */
  .b1am-chat-layout {
    height: calc(100vh - 130px) !important;
    min-height: 0 !important;
  }

  .b1am-chat-topbar,
  .b1am-chat-identity-inline {
    padding: 12px 14px !important;
    margin-top: 0 !important;
  }

  .b1am-new-chat-mini {
    padding: 7px 10px !important;
    font-size: 12px !important;
  }

  .b1am-chat-messages {
    padding: 14px !important;
    max-height: none !important;
  }

  .b1am-bubble {
    max-width: 84% !important;
    font-size: 13.5px !important;
  }

  .b1am-chat-input-box {
    padding: 12px 14px !important;
  }

  /* Activity / breathing / journaling modals */
  .b1am-activity-modal-box {
    padding: 20px !important;
    width: 92% !important;
    max-height: 88vh !important;
  }

  .b1am-activity-modal.b1am-modal-lower {
    padding-top: 60px !important;
  }

  .b1am-emotion-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .b1am-breathing-circle {
    width: 110px !important;
    height: 110px !important;
    margin: 18px auto !important;
  }

  /* Profile / Settings / Help sections go full width */
  #b1amProfileView .b1am-section,
  #b1amSettingsView .b1am-section,
  #b1amHelpView .b1am-section {
    max-width: 100% !important;
  }

  .b1am-paywall-box {
    padding: 22px !important;
  }
}

/* ---------- Small phones (<=480px) ---------- */
@media (max-width: 480px) {
  .b1am-main-content {
    padding: 66px 12px 90px 12px !important;
  }

  .b1am-welcome-title {
    font-size: 17px !important;
  }

  .b1am-activities-grid {
    grid-template-columns: 1fr !important;
  }

  .b1am-mood-grid {
    grid-template-columns: 1fr !important;
  }

  .b1am-emotion-grid {
    grid-template-columns: 1fr !important;
  }

  .b1am-progress-list {
    grid-template-columns: 1fr !important;
  }

  .b1am-streak-text strong {
    font-size: 12px !important;
  }

  .b1am-sidebar {
    width: 86vw !important;
  }

  .b1am-bubble {
    max-width: 90% !important;
  }

  .b1am-send-btn,
  .b1am-chat-back {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
}

/* ===== Mini Dashboard preview (replaces old chat-mockup inside .app-mockup) ===== */

.mdb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #2a2440;
}

.mdb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mdb-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mdb-brand-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f2f0ff;
  margin: 0;
  line-height: 1.3;
}

.mdb-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #7a7593;
  margin: 0;
  line-height: 1.3;
}

.mdb-streak {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #1f1930;
  border: 1px solid #2a2440;
  color: #f2f0ff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.mdb-body {
  padding: 20px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.mdb-bottom-row {
  margin-top: auto;
}

.mdb-greeting {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #f2f0ff;
  margin: 0 0 4px;
}

.mdb-greeting-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #8a84a8;
  margin: 0 0 18px;
}

.mdb-activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mdb-act-card {
  background: #1a1428;
  border: 1px solid #2a2440;
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  color: #d6d2e6;
}

.mdb-act-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mdb-icon-green  { background: rgba(52, 211, 153, 0.15); }
.mdb-icon-pink   { background: rgba(236, 89, 144, 0.15); }
.mdb-icon-purple { background: rgba(124, 58, 237, 0.15); }
.mdb-icon-blue   { background: rgba(77, 141, 255, 0.15); }

.mdb-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mdb-progress-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1a1428;
  border: 1px solid #2a2440;
  border-radius: 12px;
  padding: 14px;
}

.mdb-progress-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#34d399 0% 33%, #2a2440 33% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.mdb-progress-ring::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  background: #1a1428;
  border-radius: 50%;
}

.mdb-progress-ring span {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #f2f0ff;
}

.mdb-progress-title {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #f2f0ff;
  margin: 0 0 2px;
}

.mdb-progress-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8a84a8;
  margin: 0;
}

.mdb-remember-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #2a1e4d, #1a1428);
  border: 1px solid #3a2f5c;
  border-radius: 12px;
  padding: 14px;
}

.mdb-remember-bot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #241a3d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mdb-remember-box p {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  line-height: 1.4;
  color: #c9c3e8;
  margin: 0;
}

@media (max-width: 640px) {
  .mdb-activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}




.mdb-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 8px;
  background: #1a1428;
  border: 1px solid #2a2440;
  border-radius: 14px;
}

.mdb-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #8a84a8;
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
}

.mdb-nav-active {
  color: #7c3aed;
}

.mdb-nav-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}



/************************/

.b1am-interests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.b1am-interest-chip {
  background: #1f1f2e;
  border: 1px solid #3a3a4d;
  color: #d1d5db;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.b1am-interest-chip:hover {
  border-color: #6C4CF1;
}
.b1am-interest-chip.active {
  background: #6C4CF1;
  border-color: #6C4CF1;
  color: #fff;
}

/*********see works btn**********/

.b1am-comp-btn-ghost {
  text-decoration: none;
}

.b1am-comp-btn-primary,
.b1am-comp-btn-ghost {
  text-decoration: none;
}




/* ---- Feedback popup ---- */
.feedback-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(4px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
  padding:20px;
}
.feedback-overlay.open{
  display:flex;
}

.feedback-modal{
  background:#0c0c10;
  border:1px solid #2a2a33;
  border-radius:16px;
  width:100%;
  max-width:420px;
  overflow:hidden;
  box-shadow:0 30px 70px rgba(109,94,252,0.25);
  animation:popup .35s ease;
}

.feedback-header{
  background:linear-gradient(135deg,#6d5efc,#8b5cf6);
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.feedback-header h3{
  font-size:22px;
  font-weight:800;
  color:#fff;
  margin:0;
}
.feedback-close{
  background:none;
  border:none;
  font-size:18px;
  color:#fff;
  cursor:pointer;
  opacity:0.8;
}
.feedback-close:hover{
  opacity:1;
}

.feedback-subtext{
  text-align:center;
  color:#9a9aa5;
  font-size:15px;
  line-height:1.5;
  padding:22px 24px 6px;
}

.feedback-body{
  padding:14px 28px 26px;
}

.feedback-body textarea{
  flex:1;
  border:none;
  background:transparent;
  outline:none;
  padding:14px 12px;
  font-size:14px;
  color:#f5f5f7;
  font-family:inherit;
  resize:vertical;
  width:100%;
}
.feedback-body textarea::placeholder{
  color:#6a6a75;
}

/* ---- Mobile ---- */
@media (max-width: 768px){
  .feedback-overlay{
    padding:14px;
  }
  .feedback-modal{
    max-height:88vh;
    overflow-y:auto;
  }
  .feedback-header{
    padding:16px 18px;
  }
  .feedback-subtext{
    padding:16px 18px 4px;
  }
  .feedback-body{
    padding:12px 18px 20px;
  }
  .feedback-body textarea,
  .feedback-body input{
    font-size:16px; /* stops iOS auto-zoom */
  }
}
@media (max-width: 480px){
  .feedback-header h3{
    font-size:18px;
  }
}


/* ---- Copy protection: text select nahi hoga (inputs/textarea allowed) ---- */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Form fields mein typing/selection allowed rakhna zaroori hai */
input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}


/* ============================================================
   HUMAN BUDDY DASHBOARD — FINAL CLEANED CSS (SPACING + HEIGHT FIXED)
   Replace everything from ".dashboard-overlay#humanBuddyOverlay"
   to the end of your file with this single block.

   ROOT CAUSE OF THE CUT-OFF CARDS (updated):
   - The overlay was sitting in normal page flow (not pinned to
     the viewport). So even with height:100vh on it, the whole
     PAGE could still grow taller than the screen and the
     browser's own outer scrollbar (far right edge, the one
     Windows/Chrome draws) ended up scrolling the entire overlay
     — topbar included — instead of just the card grid.
   - Fix: make the overlay position:fixed and pinned to all 4
     edges (inset:0). Now it's completely independent of the
     page's height/flow, it always exactly covers the screen,
     and the ONLY thing that can scroll is .hb-main inside it
     (which already has overflow-y:auto). That's what makes the
     bottom row (Priya, Aarav, Rohan) fully reachable now.
   - Kept from before: .hb-body uses align-items:stretch so
     .hb-main really fills the overlay's height, and .hb-sidebar
     keeps align-self:flex-start so it stays pinned/sticky.
   ============================================================ */

/* ---------- Overlay shell ---------- */
.dashboard-overlay#humanBuddyOverlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 0 !important;
  margin-top: 0 !important;
  height: 100vh;
  width: 100vw;
  background: #0a0a0f;
  z-index: 9998;
  flex-direction: column;
  font-family: inherit;
  box-sizing: border-box;
  overflow: hidden;
}
.dashboard-overlay#humanBuddyOverlay.active { display: flex; }
@media (max-width: 768px) {
  .dashboard-overlay#humanBuddyOverlay {
    top: 112px;
    height: calc(100vh - 112px);
  }
}

/* ---------- Top bar ---------- */
.hb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid #1f1f2e;
  flex-shrink: 0;
}
.hb-topbar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
.hb-close {
  background: #17171f;
  border: none;
  color: #9ca3af;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.hb-close:hover { background: #23232f; color: #fff; }

/* ---------- Body: sidebar + main sit side by side ----------
   FIX: align-items changed from "flex-start" to "stretch" so
   .hb-main actually stretches to fill the full height of
   .hb-body. This is what makes "height: 100%" on .hb-main
   mean something real, which in turn is what makes its
   overflow-y: auto create an INTERNAL scrollbar instead of
   letting the whole page grow past the viewport and clip the
   bottom cards. .hb-sidebar still has "align-self: flex-start"
   below, so it is not affected by this change and stays
   pinned/sticky exactly as before. */
.hb-body {
  flex: 1;
  display: flex;
  align-items: stretch;   /* was: flex-start */
  min-height: 0;
}

/* ---------- Sidebar: sticks to the top as the page scrolls,
   so it never runs out and leaves empty space below it ---------- */
.hb-sidebar {
  width: 280px;
  min-width: 280px;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  background: #0e0e15;
  border-right: 1px solid #1f1f2e;
  padding: 18px 18px 140px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
/* Visible scrollbar (Chrome/Edge/Safari) */
.hb-sidebar::-webkit-scrollbar { width: 10px; }
.hb-sidebar::-webkit-scrollbar-track { background: transparent; }
.hb-sidebar::-webkit-scrollbar-thumb {
  background: #b8b8c8;
  border-radius: 999px;
  border: 2px solid #0e0e15;
}
.hb-sidebar::-webkit-scrollbar-thumb:hover { background: #d1d1e0; }
/* Visible scrollbar (Firefox) */
.hb-sidebar { scrollbar-width: auto; scrollbar-color: #b8b8c8 transparent; }

.hb-welcome-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #17171f;
  border: 1px solid #26263a;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}
.hb-welcome-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hb-welcome-sub { color: #9ca3af; font-size: 12px; margin: 0; }
.hb-welcome-name { color: #fff; font-weight: 600; font-size: 15px; margin: 2px 0 6px; }
.hb-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #241a3d;
  color: #c084fc;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.hb-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.hb-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex: 0 0 auto;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}
.hb-nav-item:hover { background: #17171f; color: #e5e5e5; }
.hb-nav-item.active { background: #241a3d; color: #c084fc; }
.hb-nav-item.active svg { stroke: #c084fc; }

.hb-promo-card {
  margin-top: 16px;
  background: linear-gradient(135deg, #1e1530, #241a3d);
  border: 1px solid #7c3aed55;
  border-radius: 16px;
  padding: 16px;
}
.hb-promo-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 6px;
}
.hb-promo-sub {
  color: #9ca3af;
  font-size: 12.5px;
  margin: 0 0 12px;
  line-height: 1.4;
}
.hb-promo-btn {
  width: 100%;
  padding: 9px;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.hb-promo-btn:hover { background: #6d28d9; }

/* ---------- Main content ---------- */
.hb-main {
  flex: 1;
  min-width: 0;
  height: 100%;          /* now works correctly because .hb-body stretches */
  overflow-y: auto;      /* internal scroll — this is what should scroll, not the page */
  padding: 16px 28px 120px;
  position: relative;
  box-sizing: border-box;
}
/* Visible scrollbar (Chrome/Edge/Safari) */
.hb-main::-webkit-scrollbar { width: 10px; }
.hb-main::-webkit-scrollbar-track { background: transparent; }
.hb-main::-webkit-scrollbar-thumb {
  background: #b8b8c8;
  border-radius: 999px;
  border: 2px solid #0a0a0f;
}
.hb-main::-webkit-scrollbar-thumb:hover { background: #d1d1e0; }
/* Visible scrollbar (Firefox) */
.hb-main { scrollbar-width: auto; scrollbar-color: #b8b8c8 transparent; }

.hb-view { display: none; }
.hb-view.active { display: block; }
.hb-empty-view {
  color: #6b6b80;
  font-size: 14px;
  padding: 60px 0;
  text-align: center;
}

/* ---------- Top banner ---------- */
.hb-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #14101f;
  border: 1px solid #7c3aed44;
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 12px;
}
.hb-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e1530;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hb-banner-text h3 { color: #fff; margin: 0 0 3px; font-size: 16px; }
.hb-banner-text p { color: #9ca3af; margin: 0; font-size: 13px; }

/* ---------- Feature chips ---------- */
.hb-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.hb-feature-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #26263a;
  border-radius: 10px;
  padding: 8px 14px;
  color: #d1d5db;
  font-size: 13px;
  background: #14141f;
}

/* ---------- Grid header (search + filter) ---------- */
.hb-grid-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.hb-grid-header h2 { color: #fff; margin: 0 0 3px; font-size: 19px; }
.hb-grid-header p { color: #9ca3af; margin: 0; font-size: 13px; }
.hb-grid-controls { display: flex; align-items: center; gap: 10px; }
.hb-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #14141d;
  border: 1px solid #26263a;
  border-radius: 10px;
  padding: 8px 12px;
  width: 280px;
}
.hb-search-box input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  width: 100%;
}
#hbFilterSelect {
  background: #14141d;
  border: 1px solid #26263a;
  color: #d1d5db;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}

/* ============================================================
   Buddy grid + cards
   ============================================================ */

.buddy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
  align-content: start;
  grid-auto-rows: min-content;
  padding-bottom: 20px;
}
@media (max-width: 1100px) {
  .buddy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .buddy-grid { grid-template-columns: 1fr; }
}

.hb-buddy-card {
  position: relative;
  background: #14141f;
  border: 1px solid #26263a;
  border-radius: 18px;
  padding: 14px 14px 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .15s, transform .15s;
  box-sizing: border-box;
}
.hb-buddy-card:hover {
  border-color: #7c3aed;
  transform: translateY(-2px);
}

.hb-fav-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #6b6b80;
  cursor: pointer;
  padding: 2px;
  display: flex;
}
.hb-fav-btn:hover { color: #ec5990; }
.hb-fav-btn svg { width: 19px; height: 19px; }

.hb-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 26px;
}
.hb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #d879e8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.hb-name {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 5px;
  line-height: 1.2;
}

.hb-body {
  display: flex;
  align-items: flex-start; /* zaroori hai taaki sidebar apni height khud decide kare */
}
.hb-status-row { display: flex; align-items: center; gap: 6px; }
.hb-status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.hb-status-dot.online { background: #22c55e; }
.hb-status-dot.away { background: #f5a623; }
.hb-status-text { font-size: 13px; font-weight: 500; }
.hb-status-text.online { color: #22c55e; }
.hb-status-text.away { color: #f5a623; }

.hb-rating-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.hb-stars { color: #f5c518; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.hb-rating-num { color: #e5e5e5; font-size: 13.5px; font-weight: 600; }
.hb-chats-count { color: #6b6b80; font-size: 13px; }

.hb-exp { color: #9ca3af; font-size: 13.5px; margin: 0 0 12px; }

.hb-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hb-talk-btn,
.hb-viewslot-btn {
  flex: 1 1 auto;
  min-width: 130px;
  text-align: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: #7c3aed;
  color: #fff;
  transition: background .15s;
}
.hb-talk-btn:hover,
.hb-viewslot-btn:hover { background: #6d28d9; }

.hb-free-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #22c55e55;
  color: #22c55e;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.hb-free-chip svg { width: 12px; height: 12px; flex-shrink: 0; }

.hb-next-avail { color: #9ca3af; font-size: 13px; margin: 0 0 12px; }

.hb-skills-label {
  color: #6b6b80;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 8px;
}
.hb-skills-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.hb-skill-tag {
  background: #1c1c2c;
  border: 1px solid #2a2a3c;
  color: #b8b3cc;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hb-sidebar { display: none; }
  .hb-search-box { width: 100%; }
}
@media (max-width: 640px) {
  .hb-topbar { padding: 12px 16px; }
  .hb-main { padding: 14px 16px 20px; }
  .hb-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .hb-feature-row { gap: 8px; }
  .hb-feature-chip { font-size: 12.5px; padding: 8px 12px; }
  .hb-grid-header { align-items: flex-start; }
  .hb-search-box { width: 100%; }
}















/* ============================================================
   ADD this whole block to the END of your CSS file (after the
   human-buddy-dashboard-fixed.css content). Nothing here replaces
   anything — it's all NEW classes used by the updated HTML.
   ============================================================ */

/* ---------- Wallet / Bookings quick-link cards (sit in the
   Choose Buddy grid where Priya/Aarav used to be) ---------- */
.hb-quicklink-card {
  border: 1px solid #7c3aed55;
  background: linear-gradient(160deg, #14141f, #1a1330);
}
.hb-quicklink-card:hover { border-color: #7c3aed; }
.hb-quicklink-icon {
  background: #241a3d;
  border-radius: 12px;
}
.hb-quicklink-btn { width: 100%; }

/* ---------- Section header used by My Chats / Bookings / Wallet / Settings / Help ---------- */
.hb-mychats-header { margin-bottom: 16px; }
.hb-mychats-header h2 { color: #fff; margin: 0 0 3px; font-size: 19px; }
.hb-mychats-header p { color: #9ca3af; margin: 0; font-size: 13px; }

/* ---------- Generic empty-state card ---------- */
.hb-empty-card {
  background: #14141f;
  border: 1px solid #26263a;
  border-radius: 16px;
  padding: 24px;
  color: #9ca3af;
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- Wallet ---------- */
.hb-wallet-card {
  background: linear-gradient(135deg, #1e1530, #241a3d);
  border: 1px solid #7c3aed55;
  border-radius: 18px;
  padding: 24px;
}
.hb-wallet-label { color: #9ca3af; font-size: 13px; margin: 0 0 6px; }
.hb-wallet-balance { color: #fff; font-size: 32px; font-weight: 700; margin: 0 0 18px; }
.hb-wallet-add-btn {
  padding: 10px 20px;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.hb-wallet-add-btn:hover { background: #6d28d9; }

/* ---------- Settings / Help ---------- */
.hb-settings-card {
  background: #14141f;
  border: 1px solid #26263a;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}
.hb-settings-row {
  padding: 16px 20px;
  border-bottom: 1px solid #26263a;
}
.hb-settings-row:last-child { border-bottom: none; }
.hb-settings-row-title { color: #fff; font-size: 14.5px; font-weight: 600; margin: 0 0 3px; }
.hb-settings-row-sub { color: #9ca3af; font-size: 13px; margin: 0; }
.hb-settings-logout-btn {
  padding: 11px 22px;
  background: transparent;
  border: 1px solid #ff6b6b55;
  color: #ff6b6b;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.hb-settings-logout-btn:hover { background: #ff6b6b15; }


/* ===== HB HOME VIEW ===== */
.hb-home-hero{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  background:linear-gradient(135deg,#1b1030 0%,#120a22 60%,#0d0818 100%);
  border:1px solid rgba(168,85,247,0.25); border-radius:20px;
  padding:32px; margin-bottom:24px; overflow:hidden;
}
.hb-home-hero-text h2{ color:#fff; font-size:26px; margin:0 0 10px; display:flex; align-items:center; gap:8px; }
.hb-home-hero-text .hb-heart{ font-size:22px; }
.hb-home-hero-text p{ color:#b9b3c9; font-size:14px; max-width:420px; margin:0 0 22px; }
.hb-home-hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.hb-hero-btn-primary{ display:flex; align-items:center; gap:8px; background:#7c3aed; color:#fff; border:none; padding:12px 20px; border-radius:12px; font-weight:600; font-size:14px; cursor:pointer; transition:background .15s; }
.hb-hero-btn-primary:hover{ background:#6d28d9; }
.hb-hero-btn-secondary{ display:flex; align-items:center; gap:8px; background:transparent; color:#e5e0f0; border:1px solid rgba(255,255,255,0.18); padding:12px 20px; border-radius:12px; font-weight:600; font-size:14px; cursor:pointer; transition:background .15s; }
.hb-hero-btn-secondary:hover{ background:rgba(255,255,255,0.06); }
.hb-home-hero-art{ flex-shrink:0; }

.hb-stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px; }
.hb-stat-card{ display:flex; align-items:center; gap:12px; background:#141018; border:1px solid #241c33; border-radius:16px; padding:16px 18px; }
.hb-stat-icon{ width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.hb-stat-value{ color:#fff; font-size:20px; font-weight:700; margin:0; }
.hb-stat-label{ color:#8f899e; font-size:12px; margin:2px 0 0; line-height:1.4; }

.hb-home-grid{ display:grid;grid-template-columns: 1fr 1fr;gap: 24px;
  align-items: stretch;margin-bottom:24px; align-items:start; }
  .hb-home-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hb-activity-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;                          /* available space poori le */
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 20px;
  justify-content: flex-start;
}

.hb-conv-cards {
  flex: 1;
}
.hb-conv-cta {
  white-space: nowrap;      /* text ko 2 lines mein todne se roko */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;          /* thoda chhota karo taaki fit ho jaaye */
  padding: 14px 18px;
}
.hb-home-section-header{ display:flex; align-items:center; gap:8px; }
.hb-home-section-header h3{ color:#fff; font-size:16px; margin:0; }
.hb-home-section-header-row{ display:flex; align-items:flex-start; justify-content:space-between; width:100%; }
.hb-home-section-sub{ color:#8f899e; font-size:12px; margin:4px 0 14px; }
.hb-view-all-btn{ background:none; border:none; color:#a855f7; font-size:13px; font-weight:600; cursor:pointer; }

.hb-conv-cards{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.hb-conv-card{ background:#141018; border:1px solid #241c33; border-radius:16px; padding:18px; display:flex; flex-direction:column; min-height:260px; }
.hb-conv-card.ai .hb-conv-icon{ background:linear-gradient(135deg,#7c3aed,#a855f7); }
.hb-conv-card.human .hb-conv-icon{ background:linear-gradient(135deg,#ec4899,#f472b6); }
.hb-conv-icon{ width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.hb-conv-card h4{ color:#fff; font-size:15px; margin:0 0 4px; }
.hb-conv-desc{ color:#8f899e; font-size:12px; margin:0 0 12px; }
.hb-conv-feature{ display:flex; align-items:center; gap:6px; color:#c9c4d8; font-size:12px; margin-bottom:6px; }
.hb-conv-cta{ margin-top:12px; display:flex; align-items:center; justify-content:center; gap:6px; background:#7c3aed; color:#fff; border:none; border-radius:10px; padding:10px 14px; font-size:13px; font-weight:600; cursor:pointer; }
.hb-conv-card.human .hb-conv-cta{ background:#ec4899; }

.hb-activity-list{ background:#141018; border:1px solid #241c33; border-radius:16px; padding:8px; display:flex; flex-direction:column; }
.hb-activity-item{ display:flex; align-items:center; gap:12px; padding:12px; border-bottom:1px solid #201a2c; }
.hb-activity-item:last-child{ border-bottom:none; }
.hb-activity-icon{ width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.hb-activity-title{ color:#fff; font-size:13px; margin:0; }
.hb-activity-time{ color:#8f899e; font-size:11px; margin:2px 0 0; }
.hb-activity-status{ margin-left:auto; font-size:12px; font-weight:600; white-space:nowrap; }
.hb-activity-status.completed{ color:#22c55e; }
.hb-activity-status.upcoming{ color:#f59e0b; }
.hb-activity-status.credit{ color:#22c55e; }

.hb-trust-bar{ background:#141018; border:1px solid #241c33; border-radius:16px; padding:16px 20px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.hb-trust-title{ display:flex; align-items:center; gap:6px; color:#fff; font-size:13px; font-weight:600; }
.hb-trust-sub{ color:#8f899e; font-size:12px; flex:1; min-width:200px; }
.hb-trust-items{ display:flex; gap:14px; flex-wrap:wrap; }
.hb-trust-item{ display:flex; align-items:center; gap:6px; color:#c9c4d8; font-size:12px; }

@media (max-width:768px){
  .hb-home-hero{ flex-direction:column; text-align:center; padding:24px; }
  .hb-home-hero-actions{ justify-content:center; }
  .hb-home-hero-art{ display:none; }
  .hb-stat-row{ grid-template-columns:1fr 1fr; }
  .hb-home-grid{ grid-template-columns:1fr; }
  .hb-conv-cards{ grid-template-columns:1fr; }
}



/***********bookings******************/


.hbk-header{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; margin-bottom:18px;
}
.hbk-tabs{ display:flex; gap:8px; background:#14141f; padding:4px; border-radius:12px; border:1px solid #26263a; }
.hbk-tab{
  background:transparent; border:none; color:#9ca3af;
  padding:9px 18px; border-radius:9px; font-size:13.5px; font-weight:600; cursor:pointer;
  transition:background .15s, color .15s;
}
.hbk-tab.active{ background:#7c3aed; color:#fff; }
.hbk-calendar-btn{
  display:flex; align-items:center; gap:8px;
  background:#14141f; border:1px solid #26263a; color:#d1d5db;
  padding:10px 16px; border-radius:10px; font-size:13px; font-weight:600; cursor:pointer;
}
.hbk-calendar-btn:hover{ border-color:#7c3aed; color:#fff; }

.hbk-list{ display:flex; flex-direction:column; gap:14px; margin-bottom:18px; }

.hbk-card{
  background:#14141f; border:1px solid #26263a; border-radius:16px;
  padding:18px 20px; display:flex; align-items:center; gap:22px; flex-wrap:wrap;
}
.hbk-left{ display:flex; align-items:center; gap:12px; flex:1 1 220px; min-width:200px; }
.hbk-info .hbk-name{ color:#fff; font-size:15px; font-weight:700; margin:0 0 3px; }
.hbk-info .hbk-sub{ color:#9ca3af; font-size:12.5px; margin:0 0 4px; }
.hbk-star{ color:#f5c518; }
.hbk-status-dot{ display:flex; align-items:center; gap:6px; font-size:12px; font-weight:600; margin:0; }
.hbk-status-dot span{ width:7px; height:7px; border-radius:50%; display:inline-block; }
.hbk-status-dot.online{ color:#22c55e; } .hbk-status-dot.online span{ background:#22c55e; }
.hbk-status-dot.away{ color:#f5a623; } .hbk-status-dot.away span{ background:#f5a623; }

.hbk-mid{ display:flex; flex-direction:column; gap:6px; flex:1 1 200px; min-width:180px; }
.hbk-mid p{ display:flex; align-items:center; gap:8px; color:#c9c3e8; font-size:12.5px; margin:0; }

.hbk-price{ text-align:right; flex:0 0 auto; min-width:120px; }
.hbk-amount{ color:#fff; font-size:16px; font-weight:700; margin:0 0 2px; }
.hbk-rate{ color:#8a84a8; font-size:11.5px; margin:0 0 8px; }
.hbk-badge{ display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:600; margin:0; }
.hbk-badge.upcoming{ color:#f5a623; }
.hbk-badge.completed{ color:#22c55e; }
.hbk-badge.cancelled{ color:#ff6b6b; }

.hbk-actions{ display:flex; flex-direction:column; gap:8px; flex:0 0 auto; min-width:150px; }
.hbk-btn{ padding:9px 18px; border-radius:9px; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
.hbk-btn-filled{ background:#7c3aed; border:none; color:#fff; }
.hbk-btn-filled:hover{ background:#6d28d9; }
.hbk-btn-outline{ background:transparent; border:1px solid #3a3a4d; color:#d1d5db; }
.hbk-btn-outline:hover{ border-color:#7c3aed; color:#fff; }
.hbk-btn-danger{ background:transparent; border:1px solid #ff6b6b55; color:#ff6b6b; }
.hbk-btn-danger:hover{ background:#ff6b6b15; }

.hbk-dots{ background:none; border:none; color:#6b6b80; font-size:20px; cursor:pointer; padding:4px 8px; flex:0 0 auto; }
.hbk-dots:hover{ color:#fff; }

.hbk-help-banner{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  background:#14141f; border:1px solid #26263a; border-radius:16px; padding:18px 22px;
}
.hbk-help-left{ display:flex; align-items:center; gap:14px; }
.hbk-help-icon{
  width:38px; height:38px; border-radius:50%; background:#1e1e2a; color:#9ca3af;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.hbk-help-title{ color:#fff; font-size:14px; font-weight:600; margin:0 0 2px; }
.hbk-help-sub{ color:#9ca3af; font-size:12.5px; margin:0; }
.hbk-contact-btn{
  display:flex; align-items:center; gap:8px;
  background:#7c3aed; border:none; color:#fff;
  padding:11px 20px; border-radius:10px; font-size:13.5px; font-weight:600; cursor:pointer;
}
.hbk-contact-btn:hover{ background:#6d28d9; }

.hbk-empty{ text-align:center; color:#6b6b80; font-size:13.5px; padding:30px 0; }

@media (max-width:768px){
  .hbk-card{ flex-direction:column; align-items:flex-start; }
  .hbk-mid, .hbk-price, .hbk-actions{ width:100%; }
  .hbk-price{ text-align:left; }
  .hbk-dots{ position:absolute; top:14px; right:14px; }
  .hbk-card{ position:relative; }
}

/* Human Buddy sidebar — apna independent scroll (AI Buddy jaisa) */
.dashboard-overlay#humanBuddyOverlay .hb-sidebar {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
}






/* Right side (.hb-main) scrollbar hide — scroll chalta rahega, bas bar nahi dikhega.
   Left sidebar (.hb-sidebar) ko yahan touch nahi kiya gaya. */
.hb-main {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* old Edge/IE */
}

.hb-main::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, new Edge */
}


.hb-main {
  position: relative;   /* zaroori hai taaki chat-view isi ke andar absolute rahe */
}

.chat-view {
  display: none;             /* default hidden */
  position: absolute;
  inset: 0;                  /* top:0; right:0; bottom:0; left:0; */
  background: #0a0a0a;       /* apne dashboard ka actual background color daalo */
  flex-direction: column;
  z-index: 5;
  overflow: hidden;
}



.chat-messages {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  margin: 0 280px 16px;   /* left-right se andar khinch di, aur neeche se 10px upar shift ho gayi */
  border-top: 1px solid #2a2a2a;
  flex-shrink: 0;
}














/* ===== WALLET VIEW ===== */
.wallet-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.wallet-stat-card {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-stat-label {
  color: #9ca3af;
  font-size: 13px;
  margin: 0 0 6px;
}

.wallet-stat-value {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.wallet-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.wallet-card {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 24px;
}

.wallet-card-title {
  color: #fff;
  font-size: 17px;
  margin: 0 0 18px;
}

.wallet-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.wallet-view-all {
  color: #a855f7;
  font-size: 13px;
  cursor: pointer;
}

.wallet-amount-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-amount-chip {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #e5e5e5;
  padding: 10px 0;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}

.wallet-amount-chip.active {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border-color: #7c3aed;
  color: #fff;
  font-weight: 600;
}

.wallet-custom-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.wallet-custom-input span {
  color: #9ca3af;
}

.wallet-custom-input input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
  font-size: 14px;
}

.wallet-add-money-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.wallet-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #9ca3af;
  font-size: 12px;
  margin: 14px 0 0;
}

.wallet-txn-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet-txn-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-txn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-txn-title {
  color: #fff;
  font-size: 14px;
  margin: 0 0 3px;
}

.wallet-txn-time {
  color: #6b6b80;
  font-size: 12px;
  margin: 0;
}

.wallet-txn-amount {
  margin-left: auto;
  font-weight: 600;
  font-size: 14px;
}

.wallet-txn-amount.credit { color: #22c55e; }
.wallet-txn-amount.debit { color: #ef4444; }

@media (max-width: 900px) {
  .wallet-stat-row { grid-template-columns: repeat(2, 1fr); }
  .wallet-grid { grid-template-columns: 1fr; }
}



/* ===== MY PROFILE VIEW ===== */
.hb-profile-card {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 28px;
  max-width: 480px;
}

.hb-profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hb-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hb-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-profile-change-photo-btn {
  background: rgba(168,85,247,0.15);
  border: 1px solid #7c3aed;
  color: #c084fc;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}

.hb-profile-field {
  margin-bottom: 16px;
}

.hb-profile-field label {
  display: block;
  color: #9ca3af;
  font-size: 13px;
  margin-bottom: 6px;
}

.hb-profile-field input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  box-sizing: border-box;
}

.hb-profile-field input:disabled {
  color: #6b6b80;
  cursor: not-allowed;
}

.hb-profile-save-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}






/* ===== SETTINGS VIEW ===== */
.hb-settings-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.hb-settings-menu {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: fit-content;
}

.hb-settings-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: #9ca3af;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}

.hb-settings-menu-item:hover {
  background: #1a1a24;
  color: #e5e5e5;
}

.hb-settings-menu-item.active {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

.hb-settings-menu-item.danger {
  color: #ff6b6b;
}

.hb-settings-menu-item.danger:hover {
  background: rgba(255,107,107,0.1);
}

.hb-settings-menu-item.danger.active {
  background: rgba(255,107,107,0.15);
  color: #ff6b6b;
}

.hb-settings-content {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 24px;
}

.hb-settings-panel {
  display: none;
}

.hb-settings-panel.active {
  display: block;
}

.hb-settings-panel-title {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.hb-settings-panel-sub {
  color: #9ca3af;
  font-size: 14px;
  margin: 0 0 18px;
}

.hb-settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #232332;
}

.hb-settings-row:last-child {
  border-bottom: none;
}

.hb-settings-row-title {
  color: #fff;
  font-size: 14px;
  margin: 0 0 4px;
}

.hb-settings-row-sub {
  color: #9ca3af;
  font-size: 13px;
  margin: 0;
}

.hb-settings-goto-btn,
.hb-settings-delete-btn {
  padding: 11px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.hb-settings-goto-btn {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

.hb-settings-delete-btn {
  background: #ff6b6b;
  color: #fff;
}

/* Toggle switch */
.hb-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.hb-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.hb-toggle-slider {
  position: absolute;
  inset: 0;
  background: #2a2a2a;
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}

.hb-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.hb-toggle input:checked + .hb-toggle-slider {
  background: #7c3aed;
}

.hb-toggle input:checked + .hb-toggle-slider::before {
  transform: translateX(18px);
}

@media (max-width: 800px) {
  .hb-settings-layout {
    grid-template-columns: 1fr;
  }
}









/* ===== HELP & SUPPORT VIEW ===== */
.hbhelp-faq-list {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 20px;
}

.hbhelp-faq-item {
  border-bottom: 1px solid #232332;
}

.hbhelp-faq-item:last-child {
  border-bottom: none;
}

.hbhelp-faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #e5e5e5;
  padding: 18px 14px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.hbhelp-faq-icon {
  flex-shrink: 0;
  color: #9ca3af;
  transition: transform .2s;
}

.hbhelp-faq-item.open .hbhelp-faq-icon {
  transform: rotate(90deg);
  color: #a855f7;
}

.hbhelp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 14px;
}

.hbhelp-faq-item.open .hbhelp-faq-answer {
  max-height: 200px;
  padding: 0 14px 18px;
}

.hbhelp-faq-answer p {
  color: #9ca3af;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.hbhelp-contact-banner {
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(124,58,237,0.12));
  border: 1px solid #3a2a5c;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hbhelp-contact-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hbhelp-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hbhelp-contact-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 3px;
}

.hbhelp-contact-sub {
  color: #9ca3af;
  font-size: 13px;
  margin: 0;
}

.hbhelp-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hbhelp-contact-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hbhelp-contact-btn {
    width: 100%;
    justify-content: center;
  }
}










/* ===== HOME — Meet Your Buddies section ===== */
.hb-home-buddies-section {
  margin-top: 24px;
}

.hb-home-buddies-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .hb-home-buddies-row {
    grid-template-columns: 1fr;
  }
}

/* Gap between "Meet Your Buddies" row and Safe & Secure banner */
.hb-home-buddies-section {
  margin-bottom: 24px;
}

/* End mein jo extra gap hai — uska source hb-trust-bar ke baad ka khaali space hai */
.hb-view#hbView-home {
  padding-bottom: 0 !important;
}

.hb-trust-bar {
  margin-bottom: 0 !important;
}



/* ===================== STATS BAR ===================== */
.b1am-stats-bar {
  background: #000000;
  padding: 46px 20px;
  position: relative;
  overflow: hidden;
}
.b1am-stats-bar::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.b1am-stats-bar::after {
  content: "";
  position: absolute;
  bottom: -80px; left: 5%;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.b1am-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.b1am-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 190px;
}
.b1am-stat-icon-badge {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.b1am-stat-num {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}
.b1am-stat-label {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin: 3px 0 0;
}
.b1am-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .b1am-stats-inner { justify-content: center; }
  .b1am-stat-divider { display: none; }
  .b1am-stat-item { min-width: 45%; }
}

/* ===================== TRUST & SAFETY ===================== */
.b1am-trust-section { padding:80px 20px; background:#ffffff; text-align:center; }
.b1am-trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:44px; }
.b1am-trust-card { background:#f9fafb; border:1px solid #e5e7eb; border-radius:16px; padding:28px 20px; text-align:left; }
.b1am-trust-icon { width:46px; height:46px; border-radius:12px; background:rgba(124,58,237,0.1); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.b1am-trust-card h3 { color:#111827; font-size:17px; margin:0 0 8px; }
.b1am-trust-card p { color:#6b7280; font-size:14px; line-height:1.5; margin:0; }

/* ===================== HOW IT WORKS — TWO PATHS ===================== */
.b1am-howtwo-section { padding:80px 20px; background:#ffffff; text-align:center; margin-top: -60px; }
.b1am-howtwo-sub { color:#6b7280; font-size:15px; margin:10px 0 0; }
.b1am-howtwo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:44px; max-width:920px; margin-left:auto; margin-right:auto; text-align:left; }

.b1am-howtwo-col { border-radius:20px; padding:30px 26px; }
.b1am-howtwo-col.ai { background:linear-gradient(160deg,#7c3aed,#4c1d95); }
.b1am-howtwo-col.human { background:#f9fafb; border:1px solid #e5e7eb; }

.b1am-howtwo-col-header { display:flex; align-items:center; gap:14px; margin-bottom:24px; }
.b1am-howtwo-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.b1am-howtwo-icon.ai { background:rgba(255,255,255,0.15); }
.b1am-howtwo-icon.human { background:#111827; }

.b1am-howtwo-col.ai h3 { color:#fff; font-size:19px; margin:0; }
.b1am-howtwo-col.ai .b1am-howtwo-col-header p { color:rgba(255,255,255,0.75); font-size:13px; margin:2px 0 0; }
.b1am-howtwo-col.human h3 { color:#111827; font-size:19px; margin:0; }
.b1am-howtwo-col.human .b1am-howtwo-col-header p { color:#6b7280; font-size:13px; margin:2px 0 0; }

.b1am-howtwo-steps { display:flex; flex-direction:column; gap:18px; }
.b1am-howtwo-step { display:flex; align-items:flex-start; gap:14px; }

.b1am-howtwo-num { width:28px; height:28px; min-width:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; }
.b1am-howtwo-num.ai { background:rgba(255,255,255,0.18); color:#fff; }
.b1am-howtwo-num.human { background:#7c3aed; color:#fff; }

.b1am-howtwo-col.ai h4 { color:#fff; font-size:14.5px; margin:0 0 4px; }
.b1am-howtwo-col.ai .b1am-howtwo-step p { color:rgba(255,255,255,0.75); font-size:13px; margin:0; line-height:1.5; }
.b1am-howtwo-col.human h4 { color:#111827; font-size:14.5px; margin:0 0 4px; }
.b1am-howtwo-col.human .b1am-howtwo-step p { color:#6b7280; font-size:13px; margin:0; line-height:1.5; }

.b1am-howtwo-col.human .cta-button-dark { background:#111827; color:#fff; }

/* ===================== PRICING BANNER ===================== */
.b1am-pricing-banner {
  background: linear-gradient(120deg, #6d28d9, #8b5cf6);
  padding: 56px 20px;
}
.b1am-pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.b1am-pricing-inner h2 {
  color: #ffffff;
  font-size: 28px;
  margin: 0 0 8px;
}
.b1am-pricing-inner h2 span {
  color: #111827;
}
.b1am-pricing-inner p {
  color: rgba(255,255,255,0.9);
  font-size: 14.5px;
  margin: 0;
}
.b1am-pricing-inner .cta-button {
  background: #ffffff;
  color: #7c3aed;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.b1am-pricing-inner .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

/* ===================== FAQ PREVIEW ===================== */
.b1am-faqpreview-section { padding:80px 20px; background:#ffffff; text-align:center; }
.b1am-faqpreview-list { max-width:700px; margin:44px auto 0; text-align:left; }
.b1am-faqpreview-item { border-bottom:1px solid #e5e7eb; padding:18px 0; }
.b1am-faqpreview-q { width:100%; background:none; border:none; display:flex; justify-content:space-between; align-items:center; color:#111827; font-size:15px; font-weight:600; cursor:pointer; padding:0; }
.b1am-faqpreview-toggle { color:#7c3aed; font-size:20px; transition:transform 0.2s; }
.b1am-faqpreview-item.open .b1am-faqpreview-toggle { transform:rotate(45deg); }
.b1am-faqpreview-a { max-height:0; overflow:hidden; transition:max-height .25s ease; color:#6b7280; font-size:14px; line-height:1.6; }
.b1am-faqpreview-item.open .b1am-faqpreview-a { max-height:200px; padding-top:12px; }
.b1am-faqpreview-link { display:inline-block; margin-top:20px; color:#7c3aed; text-decoration:none; font-weight:600; font-size:14px; }

@media (max-width: 900px) {
  .b1am-trust-grid, .b1am-compare-grid { grid-template-columns:1fr; }
  .b1am-howtwo-grid { grid-template-columns:1fr; }
}




/* ============================================================
   MOBILE FIXES — Stats Bar, Trust & Safety, How It Works (Two Paths),
   Pricing Banner, FAQ Preview
   ============================================================ */

@media (max-width: 900px) {

  /* ---- Stats Bar ---- */
  .b1am-stats-bar {
    padding: 32px 20px;
  }
  .b1am-stats-inner {
    justify-content: center;
    gap: 24px;
  }
  .b1am-stat-item {
    min-width: 44%;
    flex: 0 0 44%;
  }
  .b1am-stat-divider {
    display: none;
  }
  .b1am-stat-num {
    font-size: 20px;
  }
  .b1am-stat-label {
    font-size: 12px;
  }

  /* ---- Trust & Safety ---- */
  .b1am-trust-section {
    padding: 56px 20px;
  }
  .b1am-trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .b1am-trust-card {
    padding: 22px 18px;
  }
  .why-exists h2,
  .b1am-trust-section h2 {
    font-size: 26px;
  }

  /* ---- How It Works (Two Paths) ---- */
  .b1am-howtwo-section {
    padding: 56px 20px;
    margin-top: 0;
  }
  .b1am-howtwo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }
  .b1am-howtwo-col {
    padding: 26px 22px;
  }
  .b1am-howtwo-sub {
    font-size: 14px;
    padding: 0 10px;
  }

  /* ---- Pricing Banner ---- */
  .b1am-pricing-banner {
    padding: 40px 20px;
  }
  .b1am-pricing-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .b1am-pricing-inner h2 {
    font-size: 22px;
  }
  .b1am-pricing-inner .cta-button {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  /* ---- FAQ Preview ---- */
  .b1am-faqpreview-section {
    padding: 56px 20px;
  }
  .b1am-faqpreview-q {
    font-size: 14px;
    gap: 10px;
  }
  .b1am-faqpreview-a {
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {

  /* ---- Stats Bar ---- */
  .b1am-stats-bar {
    padding: 26px 16px;
  }
  .b1am-stat-item {
    min-width: 100%;
    flex: 0 0 100%;
    justify-content: flex-start;
  }
  .b1am-stat-icon-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .b1am-stat-icon-badge svg {
    width: 18px;
    height: 18px;
  }

  /* ---- Trust & Safety ---- */
  .b1am-trust-section {
    padding: 44px 16px;
  }
  .b1am-trust-icon {
    width: 40px;
    height: 40px;
  }
  .b1am-trust-card h3 {
    font-size: 15.5px;
  }
  .b1am-trust-card p {
    font-size: 13px;
  }

  /* ---- How It Works (Two Paths) ---- */
  .b1am-howtwo-section {
    padding: 44px 16px;
  }
  .b1am-howtwo-col {
    padding: 22px 18px;
  }
  .b1am-howtwo-col h3 {
    font-size: 17px;
  }
  .b1am-howtwo-icon {
    width: 38px;
    height: 38px;
  }
  .b1am-howtwo-num {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 12px;
  }
  .b1am-howtwo-col h4 {
    font-size: 14px;
  }
  .b1am-howtwo-col .b1am-howtwo-step p {
    font-size: 12.5px;
  }

  /* ---- Pricing Banner ---- */
  .b1am-pricing-inner h2 {
    font-size: 19px;
  }
  .b1am-pricing-inner p {
    font-size: 13px;
  }

  /* ---- FAQ Preview ---- */
  .b1am-faqpreview-section {
    padding: 44px 16px;
  }
  .b1am-faqpreview-q {
    padding: 14px 0;
  }
  .b1am-faqpreview-toggle {
    font-size: 18px;
  }
}




@media (max-width: 768px) {
  .navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999 !important;
    margin-top: -20px;
  }
  body {
    padding-top: 72px;
  }
  /* AI Buddy / Human Buddy dashboard — navbar ke saath, niche se start */
  .dashboard-overlay {
    position: fixed !important;
    top: 112px !important;
    left: 0;
    width: 100%;
    height: calc(100% - 112px) !important;
    z-index: 500 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  /* Login / Signup / Apply as Buddy — full screen, navbar ke bina */
  .auth-overlay,
  .account-overlay,
  .apply-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 100% !important;
    z-index: 999999 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}


.b1am-mobile-sidebar-toggle {
  display: none;   /* laptop pe hidden */
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2100;
  width: 40px;
  height: 40px;
  background: #1a1225;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {

  .b1am-mobile-sidebar-toggle {
    display: flex;
  }

  .b1am-app-layout {
    flex-direction: column;
    height: 100%;
  }

  .b1am-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    z-index: 2000;
    transition: left 0.25s ease;
    overflow-y: auto;
  }
  .b1am-sidebar.mobile-open {
    left: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  }

  .b1am-main-content {
    width: 100%;
    padding: 16px;
    padding-top: 64px; /* toggle button ke liye jagah */
    box-sizing: border-box;
    overflow-y: auto;
  }

  .b1am-main-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .b1am-welcome-title { font-size: 20px; }
  .b1am-header-right { width: 100%; justify-content: space-between; }

  .b1am-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .b1am-activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .b1am-act-card { padding: 14px; }
  .b1am-act-card h3 { font-size: 14px; }
  .b1am-act-card p { font-size: 12px; }

  .b1am-dash-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .b1am-widget-card { padding: 16px; }

  .b1am-progress-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .b1am-quickchat-widget { padding: 14px; }
  .b1am-quickchat-input-box { flex-direction: row; }

  .b1am-chat-layout { flex-direction: column; }
  .b1am-recents-panel { display: none !important; }
  .b1am-chat-topbar { padding: 10px 14px; }
  .b1am-new-chat-mini { display: none; }
  .b1am-mood-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .b1am-chat-card { height: calc(100vh - 200px); }

  #b1amActivitiesView .b1am-activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #b1amInsightsView .b1am-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  #b1amInsightsView .b1am-dash-row {
    grid-template-columns: 1fr;
  }

  .b1am-activity-modal-box {
    width: 92%;
    max-width: 92%;
    padding: 20px;
  }

  .b1am-paywall-box {
    width: 90%;
    padding: 24px;
  }

  #b1amSettingsView .b1am-widget-card,
  #b1amHelpView .b1am-widget-card,
  #b1amProfileView .b1am-widget-card {
    padding: 16px;
  }
}










/* ---- Human Buddy sidebar toggle (mobile) ---- */
.hb-mobile-sidebar-toggle {
  display: none;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 4px;
}

@media (max-width: 768px) {
  .hb-mobile-sidebar-toggle {
    display: flex;
  }

  .hb-sidebar {
    display: flex !important;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    z-index: 2000;
    transition: left 0.25s ease;
  }
  .hb-sidebar.mobile-open {
    left: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  }

  .hb-main {
    width: 100%;
  }
}