/* ===== 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;
    margin-left: 30px;
  }
  .logo-only {
    height: 44px;
    width: 44px;
    margin-left: 80px;
  }

  /* 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-left: -50px;
  }
  .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;

}

/* ===================== MOBILE: Why Exists — 2x2 grid ===================== */
@media (max-width: 768px) {

  .why-exists {
    padding: 50px 16px 60px;
    margin-top: 0;
  }

  .section-tag {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
  }

  .why-exists h2 {
    font-size: 25px;
    max-width: 100%;
  }

  .exists-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 40px;
  }

  .exists-card {
    padding: 20px 14px;
    margin-top: 0;
    border-radius: 16px;
  }

  .icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
  }

  .icon svg {
    width: 24px;
    height: 24px;
  }

  .exists-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .exists-card p {
    font-size: 12.5px;
    line-height: 1.5;
  }
}


/* ===== 2 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%;
}

/* ===== 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;
}

.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;
}



/* ===================== MOBILE: Conv Section — STACKED (768px) ===================== */
@media (max-width: 768px) {
  .conv-section {
    padding: 40px 16px;
    margin-top: 0;
  }
  .conv-inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .conv-left,
  .conv-right {
    flex: 1 1 100%;
    max-width: 480px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .conv-left {
    order: 1;
  }
  .conv-right {
    order: 2;
  }
  .app-mockup {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px;
  }

  /* ===== Left: Mini Dashboard mockup ===== */
  .mdb-topbar {
    padding: 12px 16px;
  }
  .mdb-brand-icon {
    width: 26px;
    height: 26px;
  }
  .mdb-brand-title {
    font-size: 13px;
  }
  .mdb-brand-sub {
    font-size: 9.5px;
  }
  .mdb-streak {
    font-size: 10px;
    padding: 4px 9px;
  }
  .mdb-body {
    padding: 14px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mdb-greeting {
    font-size: 15px;
    margin: 0 0 2px;
  }
  .mdb-greeting-sub {
    font-size: 11.5px;
    margin: 0 0 6px;
  }
  .mdb-activities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 0;
  }
  .mdb-act-card {
    padding: 9px 5px;
    font-size: 9px;
    gap: 6px;
  }
  .mdb-act-icon {
    width: 26px;
    height: 26px;
  }
  .mdb-bottom-row {
    gap: 8px;
    margin-top: 0;
  }
  .mdb-progress-box,
  .mdb-remember-box {
    padding: 12px;
  }
  .mdb-progress-ring {
    width: 38px;
    height: 38px;
  }
  .mdb-progress-ring::before {
    width: 28px;
    height: 28px;
  }
  .mdb-progress-ring span {
    font-size: 10px;
  }
  .mdb-progress-title {
    font-size: 12px;
  }
  .mdb-progress-sub,
  .mdb-remember-box p {
    font-size: 10.5px;
  }
  .mdb-remember-bot {
    width: 28px;
    height: 28px;
  }
  .mdb-bottom-nav {
    padding: 8px 6px;
    margin-top: 4px;
  }
  .mdb-nav-item {
    font-size: 9px;
  }

  /* ===== Right: Chat App mockup — sidebar shown, stacked on top ===== */
 .app-mockup {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px;
  }

  .app-body {
    display: flex !important;
    flex-direction: row !important;
    min-height: 300px !important;
  }

  .app-sidebar {
    display: block !important;
    width: 130px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    border-right: 1px solid #2a2440 !important;
    border-bottom: none !important;
    padding: 12px 10px !important;
  }

  .new-chat-btn {
    width: 100% !important;
    padding: 8px 8px !important;
    font-size: 10.5px !important;
    gap: 5px !important;
    margin-bottom: 12px !important;
    border-radius: 7px !important;
  }

  .side-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin-bottom: 14px !important;
  }

  .side-link {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 6px !important;
    font-size: 10.5px !important;
    background: transparent !important;
    border-radius: 5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .recent-label {
    font-size: 9px !important;
    margin-bottom: 6px !important;
  }

  .recent-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
  }

  .recent-item {
    display: block !important;
    padding: 6px 6px !important;
    font-size: 10px !important;
    background: transparent !important;
    border-radius: 5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .chat-panel {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 12px 10px !important;
    gap: 10px !important;
    min-height: 260px !important;
  }

  .app-topbar {
    padding: 10px 14px !important;
  }
  .app-logo {
    font-size: 13px !important;
  }
  .app-logo-badge {
    width: 22px !important;
    height: 22px !important;
  }
  .chat-date {
    font-size: 9px !important;
  }
  .entry {
    font-size: 11px !important;
    max-width: 90% !important;
  }
  .entry-bot {
    padding: 9px 11px !important;
    border-radius: 11px !important;
    border-bottom-right-radius: 4px !important;
  }
  .entry-time {
    font-size: 8.5px !important;
  }
  .bot-avatar {
    bottom: 10px !important;
    right: 10px !important;
  }
  .bot-avatar svg {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 420px) {
  .mdb-activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .app-mockup {
    max-width: 100%;
  }
  .entry {
    max-width: 92%;
  }
}

/*********************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; }



/* 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;
    margin-right: 60px;
}
  
  /* 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:58px ;
    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. */
  /* ===================== MOBILE: Hero Right (Chat Card + Find a Buddy) ===================== */
@media (max-width: 768px) {

  .hero-right {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    gap: 40px;
  }

  /* ===== Chat Card ===== */
  .chat-card {
    width: 100%;
    max-width: 420px;
    margin-left: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .chat-header {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 14px;
  }

  .chat-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .chat-header-text {
    min-width: 0;
    flex: 1 1 auto;
  }

  .chat-name {
    font-size: 14px;
  }

  .chat-status {
    font-size: 11px;
  }

  .chat-menu {
    flex-shrink: 0;
  }

  .chat-body {
    min-height: 280px;
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    gap: 10px;
  }

  .msg {
    max-width: 85%;
    padding: 8px 12px;
    font-size: 13px;
    word-wrap: break-word;
  }

  .msg-bot,
  .msg-bot-long {
    max-width: 90%;
  }

  .msg-user {
    max-width: 85%;
  }

  .msg-followup {
    font-size: 13px;
  }

  .msg-time {
    font-size: 10px;
  }

  .typing-indicator {
    padding: 6px 10px;
  }

  .typing-indicator span {
    width: 6px;
    height: 6px;
  }

  .chat-input {
    flex-wrap: nowrap;
    padding: 10px 12px;
    gap: 8px;
  }

  .chat-input input {
    font-size: 13px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .send-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  /* ===== Find a Buddy Phone Mockup ===== */
  .find-right {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }

  .phone-frame {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 14px;
  }

  .phone-header {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .phone-title {
    font-size: 15px;
  }

  .phone-back,
  .phone-search {
    flex-shrink: 0;
  }

  .phone-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 4px;
  }

  .phone-tabs .tab {
    flex-shrink: 0;
    font-size: 13px;
    padding: 6px 12px;
    white-space: nowrap;
  }

  .buddy-list {
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .buddy-card {
    flex-wrap: wrap;
    padding: 10px 8px;
    gap: 8px;
  }

  .buddy-avatar {
    width: 40px;
    height: 40px;
  }

  .avatar-initials {
    font-size: 13px;
  }

  .buddy-info {
    min-width: 0;
    flex: 1 1 auto;
  }

  .buddy-name {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 140px;
  }

  .buddy-rating,
  .buddy-status {
    font-size: 11px;
  }

  .talk-btn {
    padding: 6px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .match-banner {
    flex-wrap: wrap;
    text-align: center;
    padding: 10px;
    font-size: 13px;
  }
}

/* Extra tight fix for very small phones */
@media (max-width: 400px) {
  .chat-card {
    max-width: 100%;
  }

  .phone-frame {
    max-width: 100%;
    padding: 10px;
  }

  .buddy-name {
    max-width: 110px;
  }

  .msg {
    max-width: 90%;
  }
}

  /* ---- 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: 130px;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    margin-top: 0;
}
.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: Waitlist — keep form row LEFT-RIGHT (768px) ---- */
@media (max-width: 768px) {
  .waitlist-section {
    padding: 40px 14px;
  }

  .waitlist-card {
    padding: 36px 16px 32px;
  }

  .waitlist-heading {
    font-size: 22px;
  }

  .waitlist-sub {
    font-size: 13px;
    margin: 0 auto 24px;
  }

  .waitlist-form-row {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 100%;
  }

  .waitlist-form-row input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 12px;
    font-size: 12px;
    border-radius: 9px;
  }

  .waitlist-join-btn {
    flex-shrink: 0;
    padding: 11px 14px;
    font-size: 12px;
    border-radius: 9px;
    gap: 4px;
  }

  .waitlist-join-btn .arrow {
    display: inline-block;
  }
}

@media (max-width: 380px) {
  .waitlist-join-btn span:not(.arrow) {
    display: none;
  }
}

.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; }

/* ===================== MOBILE: Footer — 3 link columns in one row ===================== */
@media (max-width: 768px) {

  .buddy-footer {
    padding: 44px 18px 22px;
    width: 100vw;
    box-sizing: border-box;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
  }

  .buddy-footer .footer-inner {
    max-width: 100%;
    width: 100%;
  }

  .buddy-footer .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    row-gap: 28px;
    padding-bottom: 28px;
  }

  .buddy-footer .footer-brand-col {
    grid-column: 1 / -1;
  }

  .buddy-footer .footer-logo-img {
    width: 34px;
    height: 34px;
  }

  .buddy-footer .footer-logo-text {
    font-size: 16px;
  }

  .buddy-footer .footer-tagline {
    font-size: 13px;
    max-width: 100%;
  }

  .buddy-footer .footer-status {
    font-size: 11.5px;
  }

  .buddy-footer .footer-col-title {
    font-size: 9.5px;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
  }

  .buddy-footer .footer-links {
    gap: 10px;
  }

  .buddy-footer .footer-links a {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .buddy-footer .footer-divider {
    margin-bottom: 18px;
  }

  .buddy-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-center;
    gap: 14px;
  }

  .buddy-footer .footer-copy {
    font-size: 12px;
  }

  .buddy-footer .footer-legal {
    gap: 16px;
    flex-wrap: wrap;
  }

  .buddy-footer .footer-legal a {
    font-size: 12px;
  }

  .buddy-footer .footer-social a {
    width: 30px;
    height: 30px;
  }

  .buddy-footer .footer-social svg {
    width: 14px;
    height: 14px;
  }
}


/* ===================== 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; }
}

/* ===================== 1AM COMPANION — 768px MOBILE FIX (FINAL v3) =====================
   REPLACES any earlier 768px block you added for .b1am-comp. Delete old
   versions first, then paste this one.
   ======================================================================================= */

@media (max-width: 768px) {

  .b1am-comp {
    margin-left: -50px;
    margin-right: -50px;
    padding: 64px 50px 90px;
    margin-top: -20px;
  }

  .b1am-comp-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 0;
  }

  /* ---------- Left content ---------- */

  .b1am-comp-left {
    text-align: center;
  }

  .b1am-comp-title {
    font-size: 28px;
    line-height: 1.28;
    margin: 0 auto 16px;
    max-width: 420px;
    margin-top:-20px;
  }

  .b1am-comp-sub {
    font-size: 14.5px;
    margin: 0 auto 24px;
    max-width: 380px;
    padding: 0 4px;
  }

  /* ---------- CTA buttons: side-by-side (left-right) ---------- */
  .b1am-comp-cta-row {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
  }

  .b1am-comp-btn-primary {
    padding: 9px 10px;
    font-size: 11.5px;
    border-radius: 8px;
    gap: 5px;
    flex: 0 1 auto;      /* was flex: 1 1 auto — no longer stretches to fill space */
    max-width: 150px;    /* caps the long "Meet Your Buddy" button's width */
    width: auto;
    justify-content: center;
    white-space: nowrap;
  }

  .b1am-comp-btn-ghost {
    padding: 10px 6px;
    font-size: 13px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* ---------- Trust row: all 3 items on ONE line ---------- */
  .b1am-comp-trust-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
  }
 
  .b1am-comp-trust {
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    min-width: 0;
  }
 
  .b1am-comp-trust svg {
    width: 22px;
    height: 22px;
    margin-top: 0;
  }
 
  .b1am-comp-trust-title {
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
 
  .b1am-comp-trust-sub {
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* ---------- Right / bot illustration ---------- */

  .b1am-comp-right {
    min-height: 320px;
    margin-top: 24px;
    margin-top: -20px;
    margin-bottom: -100px;
  }

  .b1am-comp-glow {
    width: 300px;
    height: 300px;
  }

  .b1am-comp-glow-ring {
    width: 220px;
    height: 220px;
    margin-left:-60px;
  }

  .b1am-comp-bot {
    width: 190px;
    margin-left:100px;

  }

  .b1am-comp-sparkle {
    bottom: 30px;
    left: 4%;
    
  }

  .b1am-comp-bubble {
    position: static;
    transform: none;
    margin: 18px auto 0;
    max-width: 220px;
    text-align: left;
    margin-top: -20px;
  }

}

@media (max-width: 400px) {
  .b1am-comp {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .b1am-comp-title { font-size: 25px; }
  .b1am-comp-bot { width: 160px; }
  .b1am-comp-glow { width: 250px; height: 250px; }

  .b1am-comp-btn-primary,
  .b1am-comp-btn-ghost {
    font-size: 12px;
    padding: 11px 10px;
  }

  .b1am-comp-trust-title { font-size: 9.5px; }
  .b1am-comp-trust-sub { font-size: 8px; }
}


/* ===================== 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;
}

.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;
}

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .b1am-grid {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 48px 16px 60px;
    box-sizing: border-box;
  }
  .b1am-grid-title {
    font-size: 24px;
    margin-bottom: 26px;
    text-align: center;
  }
  .b1am-grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .b1am-grid-card {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .b1am-grid-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: 14px;
  }
  .b1am-grid-icon svg {
    width: 20px;
    height: 20px;
  }
  .b1am-grid-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .b1am-grid-card p {
    font-size: 12.5px;
    line-height: 1.5;
  }
}

/* ===== VERY SMALL PHONES ===== */
@media (max-width: 360px) {
  .b1am-grid-card {
    padding: 14px 10px;
  }
  .b1am-grid-card h3 {
    font-size: 14px;
  }
  .b1am-grid-card p {
    font-size: 12px;
  }
}

/* ===================== 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);
}

/* ===================== TABLET (1024px) ===================== */
@media (max-width: 1024px) {
  .b1am-how-phone {
    width: 400px;
    height: 340px;
  }
  .b1am-how-left {
    padding-left: 24px;
  }
}

@media (max-width: 768px) {
  .b1am-how {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -40px;
    padding: 50px 16px 60px;
    box-sizing: border-box;
  }
  .b1am-how-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* Text/steps first, phone mockup after */
  .b1am-how-left {
    order: 1;
    padding-left: 0;
  }
  .b1am-how-right {
    order: 2;
  }
  .b1am-how-title {
    font-size: 24px;
    margin: 0 0 28px;
    text-align: center;
  }
  .b1am-how-step-content {
    padding-bottom: 28px;
  }
  .b1am-how-step-content h3 {
    font-size: 16px;
    margin: 4px 0 6px;
  }
  .b1am-how-step-content p {
    font-size: 13.5px;
    max-width: 100%;
  }
  .b1am-how-num {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .b1am-how-line {
    min-height: 40px;
  }
  .b1am-how-phone {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 320px;
    margin: 0 auto;
    padding: 10px;
  }
}

/* ===================== SMALL PHONES (380px and below) ===================== */
@media (max-width: 380px) {
  .b1am-how-phone {
    height: 300px;
  }
  .b1am-how-bubble {
    font-size: 11px;
  }
  .b1am-how-title {
    font-size: 21px;
  }
}




/* ===================== 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;
}

/* ===== TABLET (900px) ===== */
@media (max-width: 900px) {
  .b1am-talk-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
}

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .b1am-talk {
    padding: 50px 0 30px; /* bottom 60px se 30px kar diya */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .b1am-talk-title {
    font-size: 24px;
    margin-bottom: 32px;
    padding: 0 20px;
  }
  .b1am-talk-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4px 20px 6px; /* bottom 14px se 6px kar diya */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .b1am-talk-grid::-webkit-scrollbar {
    display: none;
  }
  .b1am-talk-card {
    flex: 0 0 auto;
    width: 110px;
    scroll-snap-align: start;
  }
  .b1am-talk-icon {
    width: 54px;
    height: 54px;
  }
  .b1am-talk-icon svg {
    width: 20px;
    height: 20px;
  }
  .b1am-talk-card h3 {
    font-size: 13px;
  }
  .b1am-talk-card p {
    font-size: 11.5px;
    color: #ffffff; /* fix: extra 'f' hata diya, ab white lagega */
  }
}

/* ===== SMALL PHONES (360px and below) ===== */
@media (max-width: 360px) {
  .b1am-talk-card {
    width: 98px;
  }
  .b1am-talk-icon {
    width: 48px;
    height: 48px;
  }
  .b1am-talk-card h3 {
    font-size: 12.5px;
  }
  .b1am-talk-card p {
    font-size: 11px;
  }
}




/* ===================== 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;
  }
}
/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .b1am-built {
    padding: 50px 0 60px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .b1am-built-inner {
    max-width: 100%;
  }
  .b1am-built-title {
    font-size: 24px;
    margin-bottom: 28px;
    padding: 0 20px;
  }
  .b1am-built-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 4px 20px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .b1am-built-grid::-webkit-scrollbar {
    display: none;
  }
  .b1am-built-card {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: start;
    padding: 20px 18px 24px;
  }
  .b1am-built-art {
    max-width: 130px;
  }
  .b1am-built-card h3 {
    font-size: 15.5px;
  }
  .b1am-built-card p {
    font-size: 12.5px;
  }
}
/******************wellbing************/

.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;
}
 
/* ===== TABLET (900px) ===== */
@media (max-width: 900px) {
  .wellbeing-banner {
    padding: 50px 40px;
    gap: 30px;
  }
  .wellbeing-banner-illustration {
    width: 300px;
  }
}

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .wellbeing-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 50px 24px 40px;
    gap: 32px;
    min-height: unset;
    width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
  }
  .wellbeing-banner::before {
    top: -80px;
    right: 20px;
    width: 240px;
    height: 240px;
  }
  .wellbeing-banner-text {
    max-width: 100%;
  }
  .wellbeing-banner-text h1 {
    font-size: 1.7rem;
  }
  .wellbeing-banner-text p {
    font-size: 0.9rem;
    max-width: 100%;
    margin-top: 12px;
  }
  .cta-btn {
    margin-top: 22px;
    padding: 12px 22px;
    font-size: 0.9rem;
    display: flex;
    width: fit-content;
    margin-left:100px;
    
  }
  .wellbeing-banner-illustration {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    margin-top: -20px;
  }
}

/* ===== SMALL PHONES (360px and below) ===== */
@media (max-width: 360px) {
  .wellbeing-banner-text h1 {
    font-size: 1.5rem;
  }
  .wellbeing-banner-illustration {
    max-width: 260px;
  }
}

/* ===================== 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;
}
/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .b1am-ev {
    padding: 40px 0 50px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .b1am-ev-inner {
    max-width: 100%;
  }
  .b1am-ev-title {
    font-size: 22px;
    margin-bottom: 24px;
    padding: 0 20px;
  }
  .b1am-ev-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0;
    padding: 4px 20px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .b1am-ev-row::-webkit-scrollbar {
    display: none;
  }
  .b1am-ev-item {
    flex: 0 0 auto;
    width: 130px;
    padding: 0 14px;
    scroll-snap-align: start;
  }
  .b1am-ev-icon svg {
    width: 28px;
    height: 28px;
  }
  .b1am-ev-item h3 {
    font-size: 16px;
  }
  .b1am-ev-item p {
    font-size: 12.5px;
  }
  .b1am-ev-divider {
    flex: 0 0 auto;
  }
}

/* ===== SMALL PHONES (360px and below) ===== */
@media (max-width: 360px) {
  .b1am-ev-item {
    width: 115px;
    padding: 0 10px;
  }
}


/*************how its work page***********************/
/* ===================== 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: 768px) {
  .b1am-two-row { grid-template-columns: 1fr; }
  .b1am-two-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .b1am-two-right { margin-top: 40px; padding: 0 20px; }
  .b1am-two-phone { width: min(320px, 100%);margin-top: -40px;}
  .b1am-two-card { padding: 18px 14px; }
  .b1am-two-card-icon { width: 46px; height: 46px; margin-bottom: 12px; }
  .b1am-two-card h4 { font-size: 15px; }
  .b1am-two-card li { font-size: 12px; }
  .b1am-two-btn {
    font-size: 11.5px;
    padding: 10px 6px;
    white-space: nowrap;
    gap: 4px;
  }
  .b1am-two-title {
    font-size: 25px;
    line-height: 1.35;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .b1am-two-btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
}
@media (max-width: 480px) {
  .b1am-two-title { font-size: 24px; }
  .b1am-two-phone { width: min(280px, 90%); }
  .b1am-two-cards { gap: 10px; }
  .b1am-two-card { padding: 16px 12px; }
  .b1am-two-btn {
    font-size: 10.5px;
    padding: 9px 4px;
  }
}

/* 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;
}

/* ===== TABLET (900px) ===== */
@media (max-width: 900px) {
  .hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
    justify-content: unset;
  }
  .hiw-arrow {
    display: none;
  }
  .hiw-step {
    flex: unset;
    width: 100%;
  }
}

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .hiw-section {
    width: 100vw;
    max-width: 100vw;
    padding: 16px 0 40px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .hiw-header {
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .hiw-badge {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .hiw-title {
    font-size: 19px;
  }
  .hiw-subtitle {
    font-size: 13px;
  }
  .hiw-steps {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 4px 20px 14px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .hiw-steps::-webkit-scrollbar {
    display: none;
  }
  .hiw-step {
    flex: 0 0 auto;
    width: 130px;
    scroll-snap-align: start;
  }
  .hiw-step:last-child {
    margin-right: 20px;
  }
  .hiw-arrow {
    display: none;
  }
  .hiw-icon-circle {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
  }
  .hiw-icon {
    width: 18px;
    height: 18px;
  }
  .hiw-step-title {
    font-size: 12.5px;
    margin-bottom: 5px;
  }
  .hiw-step-desc {
    font-size: 11px;
    line-height: 1.4;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .hiw-header {
    align-items: flex-start;
  }
  .hiw-step {
    width: 120px;
  }
}


/* 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;
}
/* ===== TABLET (900px) ===== */
@media (max-width: 900px) {
  .hbw-inner {
    flex-direction: column;
  }
  .hbw-right {
    flex: 0 0 auto;
    width: 100%;
    order: 2;
    margin-top: 20px;
  }
  .hbw-illustration {
    max-width: 280px;
  }
}


   /* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .hbw-section {
    width: 100vw;
    max-width: 100vw;
    padding: 40px 0 40px;
    box-sizing: border-box;
    overflow-x: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .hbw-inner {
    flex-direction: column;
    gap: 0;
  }
  .hbw-left {
    width: 100%;
  }
  .hbw-header {
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .hbw-badge {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .hbw-title {
    font-size: 19px;
  }
  .hbw-subtitle {
    font-size: 13px;
  }
  .hbw-steps {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 4px 20px 14px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    margin-left: 30px;
  }
  .hbw-steps::-webkit-scrollbar {
    display: none;
  }
  .hbw-step {
    flex: 0 0 auto;
    width: 130px;
    scroll-snap-align: start;
  }
  .hbw-step:last-child {
    margin-right: 20px;
  }
  .hbw-arrow {
    display: none;
  }
  .hbw-icon-circle {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
  }
  .hbw-icon {
    width: 18px;
    height: 18px;
  }
  .hbw-step-title {
    font-size: 12.5px;
    margin-bottom: 5px;
  }
  .hbw-step-desc {
    font-size: 11px;
    line-height: 1.4;
  }

  /* Right illustration */
  .hbw-right {
    flex: 0 0 auto;
    width: 100%;
    order: 2;
    margin-top: 30px;
  }
  .hbw-illustration {
    max-width: 240px;
    margin-top: -60px;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .hbw-step {
    width: 120px;
  }
  .hbw-illustration {
    max-width: 200px;
  }
}


/* ==========================
   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 {
    width: 100vw;
    max-width: 100vw;
    padding: 50px 0 40px;
    box-sizing: border-box;
    overflow-x: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .love-container {
    padding: 0;
  }
  .love-heading {
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .love-badge {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .love-heading h2 {
    font-size: 19px;
  }

  .love-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 4px 20px 14px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    margin-left: 30px;
  }
  .love-grid::-webkit-scrollbar {
    display: none;
  }
  .love-card {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    min-height: auto;
    gap: 12px;
  }
  .love-card:last-child {
    margin-right: 20px;
  }
  .love-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }
  .love-icon svg {
    width: 22px;
    height: 22px;
  }
  .love-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .love-card p {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

/* ==========================
   SMALL PHONES (480px and below)
========================== */
@media (max-width: 480px) {
  .love-card {
    width: 190px;
  }
}
/****************Book & Connect with Human Buddies********************/
.bcw-section {
  width: 100%;
  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;
}

/* ===== TABLET (1100px) ===== */
@media (max-width: 1100px) and (min-width: 769px) {
  .bcw-right {
    display: none;
  }
}

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .bcw-section {
    width: 100vw;
    max-width: 100vw;
    padding: 40px 0 40px;
    box-sizing: border-box;
    overflow-x: hidden;
    margin-top: -20px;
  }
  .bcw-inner {
    padding: 0;
  }
  .bcw-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .bcw-header {
    gap: 12px;
  }
  .bcw-badge {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .bcw-title {
    font-size: 19px;
  }
  .bcw-subtitle {
    font-size: 13px;
  }
  .bcw-cta {
    padding: 10px 16px;
    font-size: 13px;
    align-self: center;
  }

  .bcw-content {
    display: block;
  }
  .bcw-cards {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 4px 20px 14px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .bcw-cards::-webkit-scrollbar {
    display: none;
  }
  .bcw-card {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
    padding: 18px;
    gap: 12px;
  }
  .bcw-card:last-child {
    margin-right: 20px;
  }
  .bcw-card-icon {
    width: 46px;
    height: 46px;
  }
  .bcw-card-icon svg {
    width: 20px;
    height: 20px;
  }
  .bcw-card-title {
    font-size: 14px;
  }
  .bcw-card-desc {
    font-size: 12.5px;
  }

  /* Right illustration - now shown, stacked below cards */
  .bcw-right {
    display: flex !important;
    width: 100%;
    margin: 24px 0 0;
    padding: 0 20px;
    box-sizing: border-box;
    flex: unset;
    margin-top: -20px;
  }
  .bcw-illustration {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .bcw-card {
    width: 190px;
  }
  .bcw-illustration {
    max-width: 220px;
  }
}

/**********************Who Can Use Buddy1AM******************/

.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;
  }

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .who-section {
    width: 100vw;
    max-width: 100vw;
    padding: 40px 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .who-heading {
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .badge {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .who-heading h2 {
    font-size: 19px;
    margin-top: -20px;
  }

  .who-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 4px 20px 16px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .who-grid::-webkit-scrollbar {
    display: none;
  }
  .row {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;
    margin-left:-30px;
    margin-top: -20px;
  }
  .row:last-child {
    margin-right: 20px;
  }
  .row + .row {
    border-left: 1px solid #ece9f7;
    padding-left: 20px;
  }
  .row > div {
    min-width: 0;
    width: 100%;
  }
  .icon-circle {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  .icon-circle svg {
    width: 22px;
    height: 22px;
  }
  .item-title {
    font-size: 14.5px;
    white-space: normal;
  }
  .item-desc {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .row {
    width: 195px;
  }
}

/*******************************our promise to you********************/
 .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;
  }

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .promise-section {
    width: 100vw;
    max-width: 100vw;
    padding: 40px 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background: #100a1f;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    
   
  }
  .promise-heading {
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .promise-badge {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .promise-heading h2 {
    font-size: 19px;
  }

  .promise-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px;
    padding: 4px 20px 16px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    margin-left:30px;
    
  }
  .promise-grid::-webkit-scrollbar {
    display: none;
  }
  .promise-row {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
    align-items: center;
    gap: 14px;
    overflow: hidden;
   
    
  }
  .promise-row:last-child {
    margin-right: 20px;
  }
  .promise-row + .promise-row {
    border-left: 1px solid #2b2440;
    padding-left: 20px;
  }
  .promise-row > div {
    min-width: 0;
    flex: 1 1 auto;
  }
  .promise-icon-circle {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  .promise-icon-circle svg {
    width: 22px;
    height: 22px;
  }
  .promise-item-title {
    font-size: 14.5px;
    white-space: normal;
  }
  .promise-item-desc {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .promise-row {
    width: 230px;
  }
}


/******************************ready to feel heard*****************/
.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;
  }

  /* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .ready-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .ready-left {
    gap: 12px;
    margin-bottom: 20px;
  }
  .ready-badge {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .ready-title {
    font-size: 18px;
  }
  .ready-subtitle {
    font-size: 13px;
  }
  .ready-actions {
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .ready-btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 12px 10px;
    font-size: 13px;
    gap: 6px;
  }
  .ready-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .ready-btn {
    font-size: 12px;
    padding: 11px 8px;
  }
}
  
/*********************end how its work page**********************/  

/**************founder page start*******************/


 .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; }

  .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; }

  /* ============================================
     MOBILE FRIENDLY — 768px and below
     ============================================ */
  @media (max-width:900px){
    .fsh-deco{ display:none; }
  }

  @media (max-width:768px){
    /* ---- Founder Story Heading ---- */
    .fsh-section{
      padding:32px 20px 16px;
    }
    .fsh-pill{
      font-size:11px;
      padding:5px 14px;
      margin-bottom:24px;
    }
    .fsh-heading{
      font-size:26px;
      line-height:1.25;
      margin-bottom:10px;
      padding:0 4px;
    }
    .fsh-subtitle{
      font-size:14px;
      line-height:1.55;
      max-width:100%;
      padding:0 6px;
    }
    .fsh-divider{
      margin-top:10px;
    }
    .fsh-divider .line{
      width:30px;
    }
    /* ---- Founder Card: stack everything vertically ---- */
    .fsc-card{
      width:100%;
      max-width:100%;
      margin:0;
      border-radius:16px;
      display:flex;
      flex-direction:column;
    }
    .fsc-photo{
      flex:none;
      width:100%;
      min-height:320px;
      max-height:420px;
      height:auto;
      
    }
    .fsc-photo img{
      width:100%;
      height:100%;
      object-fit:cover;
      object-position:center top;
      display:block;
    }
    .fsc-text{
      flex:none;
      width:100%;
      padding:28px 22px 8px;
      box-sizing:border-box;
      margin-top: 70px;
    }
    .fsc-hi{
      font-size:16px;
    }
    .fsc-name{
      font-size:30px;
      margin-bottom:8px;
    }
    .fsc-role{
      font-size:13px;
    }
    .fsc-rule{
      margin-bottom:16px;
    }
    .fsc-para{
      font-size:14px;
      line-height:1.6;
      margin-bottom:14px;
    }
    /* quote block moves below the text, full width */
    .fsc-quote{
      flex:none;
      width:250px;
      margin:8px 22px 28px;
      align-self:center;
      padding:22px 20px;
    }
    .fsc-quote-mark{
      font-size:28px;
      margin-bottom:10px;
    }
    .fsc-quote-text{
      font-size:14px;
    }
  }
  @media (max-width:420px){
    .fsh-heading{
      font-size:22px;
    }
    .fsh-subtitle{
      font-size:13.5px;
    }
    .fsc-name{
      font-size:26px;
    }
    .fsc-photo{
      min-height:300px;
      max-height:380px;
    }
    .fsc-text{
      padding:24px 18px 6px;
    }
    .fsc-quote{
      margin:8px 18px 24px;
      padding:20px 16px;
    }
  }

/********************mision and vision************************/
.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; }

  /* ============================================
     MOBILE FRIENDLY — 768px and below
     ============================================ */
  @media (max-width:768px){
    .mv-section{
      padding:28px 20px;
      gap:24px;
      flex-direction:column;
    }

    .mv-left{
      flex:1 1 auto;
      width:100%;
    }
    .mv-heading{
      font-size:20px;
      text-align:left;
    }
    .mv-underline{
      margin-bottom:18px;
    }
    .mv-row{
      gap:12px;
      padding-bottom:16px;
    }
    .mv-row + .mv-row{
      padding-top:16px;
    }
    .mv-icon{
      width:38px;
      height:38px;
    }
    .mv-icon svg{ width:18px; height:18px; }
    .mv-item-title{
      font-size:14px;
    }
    .mv-item-desc{
      font-size:12.5px;
    }

    .mv-right{
      flex:1 1 auto;
      width:100%;
      padding:28px 24px;
      flex-direction:column;
      align-items:flex-start;
      gap:20px;
      box-sizing:border-box;
      margin-top: -20px;
    }
    .mv-quote-col{
      width:100%;
      margin-top: -20px;
    }
    .mv-quote-mark{
      font-size:28px;
      margin-bottom:8px;
    }
    .mv-quote-line{
      font-size:15px;
    }
    .mv-robot-wrap{
      flex:0 0 auto;
      width:110px;
      align-self:center;
    }
  }

  @media (max-width:420px){
    .mv-section{
      padding:24px 16px;
    }
    .mv-heading{
      font-size:18px;
    }
    .mv-right{
      padding:24px 18px;
    }
    .mv-quote-line{
      font-size:14px;
    }
    .mv-robot-wrap{
      width:90px;
    }
  }
  
/***************my journey so far section*********************/

.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; }
  }
  @media (max-width:768px){
    .journey-section{
  padding: 28px 20px 20px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 24px;
}
    .journey-heading{
      font-size:16px;
    }
    .journey-underline{
      margin-bottom:24px;
    }

    /* keep it in one line — horizontal scroll if needed */
    .journey-track{
      flex-direction:row;
      overflow-x:auto;
      overflow-y:hidden;
      -webkit-overflow-scrolling:touch;
      gap:0;
      padding-bottom:8px;
      scrollbar-width:thin;
    }
    .journey-track::-webkit-scrollbar{
      height:4px;
    }
    .journey-track::-webkit-scrollbar-thumb{
      background:#3a3050;
      border-radius:4px;
    }

    .journey-step{
      flex:0 0 140px;
      padding:0 8px;
      text-align:center;
      align-items:center;
      flex-direction:column;
    }
    .journey-line{
      display:block;
      top:20px;
    }
    .journey-icon{
      width:40px;
      height:40px;
      margin-bottom:12px;
      margin-right:0;
    }
    .journey-icon svg{
      width:18px;
      height:18px;
    }
    .journey-title{
      font-size:12.5px;
      margin-bottom:6px;
    }
    .journey-desc{
      font-size:11px;
      line-height:1.45;
    }
  }
  
/**********what drives me *****************/

.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; }
  }
  /* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .wdm-section {
    width: 100vw;
    max-width: 100vw;
    padding: 28px 0 32px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .wdm-heading {
    font-size: 19px;
    padding: 0 20px;
    margin-left: -20px;
  }
  .wdm-underline {
    margin-left: 20px;
    margin-left: -20px;
  }

  .wdm-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 4px 20px 16px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .wdm-grid::-webkit-scrollbar {
    display: none;
  }
  .wdm-card {
    flex: 0 0 auto;
    width: 160px;
    scroll-snap-align: start;
    padding: 0;
  }
  .wdm-card:last-child {
    margin-right: 20px;
  }
  .wdm-icon {
    width: 40px;
    height: 40px;
  }
  .wdm-icon svg {
    width: 18px;
    height: 18px;
  }
  .wdm-title {
    font-size: 13px;
  }
  .wdm-desc {
    font-size: 12px;
    line-height: 1.45;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .wdm-card {
    width: 145px;
  }
}
  
/*******************buddy1am numbers***************/  
  
  .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;
    margin-left:-20px;
  }
  .bin-underline{
    width:34px;
    height:3px;
    border-radius:2px;
    background:#6C4CF1;
    margin-left:-20px;
  }
  .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; }
  }
 /* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .bin-section {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    padding: 22px 0;
    box-sizing: border-box;
    overflow-x: hidden;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .bin-heading-wrap {
    padding: 0 20px;
  }
  .bin-heading {
    font-size: 15px;
  }

  .bin-stats {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
    padding: 4px 20px 10px 20px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
    width: 100%;
  }
  .bin-stats::-webkit-scrollbar {
    display: none;
  }
  .bin-stat {
    flex: 0 0 auto;
    scroll-snap-align: start;
    gap: 10px;
  }
  .bin-stat:last-child {
    margin-right: 20px;
  }
  .bin-icon {
    width: 48px;
    height: 48px;
  }
  .bin-icon svg {
    width: 16px;
    height: 16px;
  }
  .bin-number {
    font-size: 16px;
  }
  .bin-label {
    font-size: 11px;
    white-space: nowrap;
  }
}
  
/*************join the journey**************/


.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; }
  }
  
  /* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .jtj-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 28px 16px;
    flex-direction: row;
    text-align: left;
    gap: 12px;
    min-height: unset;
    box-sizing: border-box;
    overflow: hidden;
  }
  .jtj-envelope-wrap {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    overflow: hidden;
  }
  .jtj-envelope-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .jtj-center {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
  }
  .jtj-title {
    font-size: 15px;
    margin-bottom: 5px;
  }
  .jtj-subtitle {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .jtj-btn {
    font-size: 12px;
    padding: 9px 16px;
  }
  .jtj-btn svg {
    width: 14px;
    height: 14px;
  }
  .jtj-deco-wrap {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    overflow: hidden;
  }
  .jtj-deco-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
  }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {
  .jtj-envelope-wrap,
  .jtj-deco-wrap {
    display: none;
  }
  .jtj-title {
    font-size: 14px;
  }
  .jtj-subtitle {
    font-size: 10.5px;
  }
}
/****************END FOUNDER PAGE****************************/

/************faq page start****************/
 .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; }
}

@media (max-width: 768px){
  .faq-hero{
    grid-template-columns: 1fr;
    padding: 50px 20px 32px;
    text-align: center;
    gap: 28px;
    margin-top: -20px;
  }
  .eyebrow{
    font-size: 12px;
  }
  h1{
    font-size: 30px;
    line-height: 1.2;
  }
  .desc{
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  .search-box{
    margin-left: auto;
    margin-right: auto;
    padding: 12px 16px;
  }
  .illustration{
    order: 0;
    height: 220px;
  }
  .illustration svg{
    max-width: 280px;
  }
}
  
/*****************feature rows*******************/ 
.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: 768px){
  .feature-row{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    gap:20px;
    padding:32px 20px;
    margin-top:-30px;
  }
  .feature{
    flex:0 0 auto;
    width:220px;
    scroll-snap-align:start;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .icon-circle{
    width:44px;
    height:44px;
  }
  .icon-circle svg{
    width:20px;
    height:20px;
  }
  .feature h3{
    font-size:14.5px;
    white-space:nowrap;
  }
  .feature p{
    font-size:12.5px;
  }
  .feature-row::-webkit-scrollbar{
    display:none;
  }
}

/* ===== General Questions section ===== */
.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);
}
.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-heading-wrap h2{ font-size:32px; }
  .gq-doodle{ display:none; }
}
@media(max-width:768px){
  .gq-section{
    padding:36px 12px;
  }
  .gq-heading-wrap{
    margin-bottom:24px;
  }
  .gq-heading-wrap h2{
    font-size:20px;
  }
  .gq-box{
    padding:10px;
    border-radius:16px;
    gap:8px;
  }
  .gq-column{
    gap:8px;
  }
  .gq-question{
    padding:10px 8px;
    font-size:11px;
    gap:6px;
  }
  .gq-left{
    gap:6px;
  }
  .gq-icon{
    width:20px;
    height:20px;
    font-size:9px;
  }
  .gq-plus{
    font-size:15px;
  }
  .gq-answer-inner{
    padding:0 8px 12px 34px;
    font-size:11px;
    line-height:1.5;
  }
}

/* ===== 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) ===== */

/* ===== 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: 768px){
  .bf-section{
    padding: 0 16px;
    margin-bottom: 32px;
  }
  .bf-title{
    font-size: 20px;
    margin-bottom: 22px;
  }
  .bf-card{
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
    gap: 16px;
    border-radius: 16px;
  }
  .bf-avatar{
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
  }
  .bf-list{
    width: 100%;
    gap: 10px;
  }
  .bf-question{
    text-align: left;
    padding: 12px 14px;
    gap: 10px;
  }
  .bf-q-icon{
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .bf-q-text{
    font-size: 13.5px;
  }
  .bf-q-toggle{
    font-size: 16px;
  }
  .bf-answer-inner{
    padding: 0 14px 14px 46px;
    font-size: 12.5px;
    line-height: 1.55;
  }
}

.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:768px){
.trust-banner{
margin:48px auto;
margin-top:20px;
padding:26px 18px;
gap:22px;
border-radius:18px;
}
.trust-icon{
width:60px;
height:60px;
}
.trust-icon svg{
width:34px;
height:34px;
}
.trust-right{
flex-direction:row;
gap:0;
}
.trust-item{
flex-direction:column;
padding:0 8px;
gap:8px;
border-top:none;
}
.trust-item:not(:last-child)::after{
display:block;
right:0;
height:40px;
}
.trust-svg{
width:22px;
height:22px;
}
.trust-item span{
font-size:11px;
}
.trust-content h2{
font-size:20px;
}
.trust-content p{
font-size:13.5px;
}
}

.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);
}
@media(max-width:768px){
.support-section{
    flex-direction:column;
    align-items:stretch;
    text-align:center;
    margin:48px auto;
    padding:0 20px;
    gap:22px;
}
.support-left{
    flex-direction:column;
    margin-left:0;
    gap:14px;
}
.support-icon{
    width:64px;
    height:64px;
}
.support-icon svg{
    width:32px;
    height:32px;
}
.support-content h2{
    font-size:20px;
}
.support-content p{
    margin-left:auto;
    margin-right:auto;
    font-size:14px;
}
.support-btn{
    justify-content:center;
    width:auto;
    align-self:center;
    margin-right:0;
    padding:14px 28px;
    font-size:14.5px;
}
}

/**********************************/

.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; }
  }

/*************contact page start**************************/
  
.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; }
  }
  
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
    text-align: center;
    margin-top: -20px;
  }

  .contact-left {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
  }

  .badge {
    margin-left: auto;
    margin-right: auto;
  }

  h1.contact-title {
    font-size: 30px;
  }

 .divider {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  } 
  
  .divider .line {
    width: 64px;   /* original size wapas, stretch nahi hone dena */
  }

  .support-card {
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
    text-align: left;
  }

  .contact-right {
    flex: 1 1 auto;
    width: 100%;
    min-width: unset;
  }
}


/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 480px) {

  .contact-section {
    padding: 35px 16px 30px;
    gap: 25px;
  }
  
   .contact-left {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    text-align: center;
  }
  
  .contact-left p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }


  h1.contact-title {
    font-size: 30px;
    line-height: 1.18;
    text-align: center;
  }

  .badge {
    font-size: 10px;
    padding: 8px 14px;
    margin-left: auto;
    margin-right: auto;
  }

  .support-card {
    padding: 14px;
  }

  .support-icon {
    width: 40px;
    height: 40px;
  }

  .support-text .label {
    font-size: 13px;
  }

  .support-text a {
    font-size: 13px;
  }

  .support-text .sub {
    font-size: 11px;
  }
  
   .divider {
    justify-content: center;
  }

}
/***********features-section******/

.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***************************/

.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; }

/* ---- 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;
  gap:12px;
}
.feedback-header h3{
  font-size:22px;
  font-weight:800;
  color:#fff;
  margin:0;
  word-break:break-word;
}
.feedback-close{
  background:none;
  border:none;
  font-size:18px;
  color:#fff;
  cursor:pointer;
  opacity:0.8;
  flex-shrink:0;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.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;
  display:flex;
  flex-direction:column;
}
.feedback-body textarea{
  border:none;
  background:transparent;
  outline:none;
  padding:14px 12px;
  font-size:14px;
  color:#f5f5f7;
  font-family:inherit;
  resize:vertical;
  width:100%;
  box-sizing:border-box;
}
.feedback-body textarea::placeholder{
  color:#6a6a75;
}
.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; }

@media (max-width: 768px){
  .feedback-overlay{
    padding:16px;
    padding-top:110px;
    align-items:flex-start;
    overflow-y:auto;
  }
  .feedback-modal{
    max-width:380px;
    width:100%;
    max-height:calc(100vh - 110px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:16px;
    padding-bottom:0;
    margin:0 auto;
  }
  .success-wrap{
    padding:14px 6px 4px;
    margin-bottom: 60px/* success block ko niche shift karega */
  }
  .success-tick{
    width:52px;
    height:52px;
    margin:0 auto 14px;
  }
  .success-tick svg{
    width:22px;
    height:22px;
  }
  .success-title{
    font-size:17px;
    margin:0 0 5px;
  }
  .success-sub{
    font-size:13px;
    padding:0 10px;
  }
  .feedback-header{
    padding:16px 18px;
  }
  .feedback-close{
    width:36px;
    height:36px;
  }
  .feedback-subtext{
    padding:16px 18px 4px;
    font-size:14px;
  }
  .feedback-body{
    padding:12px 18px 20px;
  }
  .feedback-body textarea,
  .feedback-body input{
    font-size:16px;
  }
}
@media (max-width: 480px){
  .feedback-header h3{
    font-size:18px;
  }
  .feedback-subtext{
    font-size:13px;
  }
}
/* 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;
}

/* ---------- THANK YOU BLOCK (base, in case not already in your CSS) ---------- */
.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; }

/* ===================== MOBILE (768px and below) ===================== */
@media (max-width: 768px){
  .trust-thankyou-wrap{
    padding:20px 16px !important;
  }

  /* ---- Trust banner: stack vertically ---- */
  .trust-thankyou-wrap .trust-banner{
    flex-direction:column !important;
    align-items:flex-start !important;
    padding:20px 18px !important;
    gap:16px;
    border-radius:16px !important;
  }
  .trust-thankyou-wrap .trust-left{
    gap:12px;
  }
  .trust-thankyou-wrap .trust-shield{
    width:38px;
    height:38px;
    min-width:38px;
  }
  .trust-thankyou-wrap .trust-shield svg{
    width:18px;
    height:18px;
  }
  .trust-thankyou-wrap .trust-text h3{
    font-size:14.5px !important;
  }
  .trust-thankyou-wrap .trust-text p{
    font-size:12px !important;
  }

  /* ---- Trust right: all 4 items in one row, evenly spaced ---- */
  .trust-thankyou-wrap .trust-right{
    width:100%;
    justify-content:space-between !important;
    gap:6px;
    flex-wrap:nowrap;
  }
  .trust-thankyou-wrap .trust-item{
    flex:1 1 0;
    gap:5px;
  }
  .trust-thankyou-wrap .trust-item svg{
    width:17px;
    height:17px;
  }
  .trust-thankyou-wrap .trust-item span{
    font-size:10.5px !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
  }
  .trust-thankyou-wrap .trust-divider{
    height:26px;
  }

  /* ---- Thank you block ---- */
  .trust-thankyou-wrap .thankyou-block{
    padding:26px 14px 4px !important;
  }
  .trust-thankyou-wrap .thankyou-title{
    font-size:24px !important;
  }
  .trust-thankyou-wrap .tw-heart{
    font-size:19px !important;
  }
  .trust-thankyou-wrap .thankyou-sub{
    font-size:12.5px !important;
  }
  .trust-thankyou-wrap .ts1{ font-size:11px; }
  .trust-thankyou-wrap .ts2{ font-size:8px; }
  .trust-thankyou-wrap .ts3{ font-size:9px; }
  .trust-thankyou-wrap .ts4{ font-size:8px; }
}

/* ===================== SMALL PHONES (480px and below) ===================== */
@media (max-width: 480px){
  .trust-thankyou-wrap .trust-right{
    flex-wrap:wrap !important;
    justify-content:center !important;
    gap:14px 10px;
  }
  .trust-thankyou-wrap .trust-item{
    flex:0 1 40%;
  }
  .trust-thankyou-wrap .trust-divider{
    display:none;
  }
  .trust-thankyou-wrap .thankyou-title{
    font-size:21px !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;
    margin-left:-50px;
  }
}

/* ---------- 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;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  transform: none !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;
  transform: none !important;
}

/* ---- Force Human Buddy + AI Buddy overlay ko top se flush rakho ----
   JS (hbFixLayoutHeights / fixOverlayPositioning) inline marginTop/paddingTop
   set karta hai jo gap create karta hai. !important se usko override kar rahe hain,
   bina JS chhue — isliye buttons kaam karte rahenge. */
/* ---- Overlay ko navbar ke NEECHE rakho (z-index fix) ---- */
#dashboardOverlay,
#humanBuddyOverlay {
  z-index: 99999 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
}

/* AI Buddy dashboard */
#dashboardOverlay .b1am-sidebar,
#dashboardOverlay .b1am-main-content {
  padding-top: 115px !important;
}

/* Human Buddy dashboard — sidebar + topbar + main sab cover karo */
/* Human Buddy dashboard */
#humanBuddyOverlay .hb-topbar {
  margin-top: 115px !important;
}
#humanBuddyOverlay .hb-sidebar {
  padding-top: 0 !important;
}
#humanBuddyOverlay .hb-main {
  padding-top: 0 !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;
 
}

.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 #7c3aed;
  background: #7c3aed !important;
  color: #fff !important;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
}
.b1am-mobile-sidebar-toggle svg { stroke: #fff !important; }

.b1am-mobile-sidebar-toggle.b1am-toggle-hidden {
  opacity: 0 !important;
  pointer-events: none !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;
    top: 14px !important;
    left: 14px !important;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35) !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: 0 16px 90px 16px !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .b1am-main-content > *:first-child {
    margin-top: 0 !important;
  }
  /* CHANGED: header ab toggle ke bagal mein, same line pe — left space diya
     taaki text purple toggle button se overlap na kare */
.b1am-main-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: -115px 0 18px 0 !important;
    padding: 14px 0 0 56px !important;
    min-height: 40px !important;
    position: relative !important;
  }

  .b1am-welcome-title,
  .b1am-welcome-sub {
    margin: 0 0 4px 0 !important;
  }

  .b1am-welcome-title {
    font-size: 19px !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.25 !important;
  }

  .b1am-welcome-sub {
    font-size: 12.5px !important;
    max-width: 220px !important;
  }

  /* Streak badge + close button ek row mein right-aligned, compact */
  .b1am-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    flex-wrap: wrap !important;
  }

  .b1am-streak-badge {
    padding: 6px 10px !important;
  }

  .b1am-streak-text strong {
    font-size: 13px !important;
  }

  .b1am-dash-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !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;
    margin-bottom: 16px !important;
    padding: 18px !important;
  }

  /* Quick chat widget stacks cleanly on small screens */
  .b1am-quickchat-widget {
    padding: 14px !important;
    gap: 12px !important;
    margin-bottom: 30px !important;
  }
  .b1am-quickchat-header,
  .b1am-quickchat-input-box {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

 

 @media (max-width: 768px) {
  /* #b1amChatView pe koi margin NAHI — ye dono states (mood + chat) ko
     saath mein affect karta hai isliye hata diya */
  #dashboardOverlay #b1amChatView {
    margin-top: -70px
  }

  #b1amChatView {
    
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 100% !important;
    
  }

  .b1am-mood-checkin-panel {
  margin: 0 auto !important;
  
  max-width: 300px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px !important;
}
  .b1am-mood-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .b1am-mood-option { padding: 10px 6px !important; }
  .b1am-mood-emoji { font-size: 20px !important; }
  

  /* Margin ab sirf topbar pe hai — jab wo hidden hota hai (mood-panel state),
     ye margin bhi apply nahi hota, isliye mood panel affect nahi hoga */
 .b1am-chat-topbar {
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px 6px 62px !important;
  margin-top: -115px !important;
  min-height: 40px;
}
.b1am-chat-back {
  margin-left: 8px !important;
  flex-shrink: 0;
}
.b1am-chat-identity-inline {
  min-width: 0;
  flex: 0 1 auto !important;   /* grow hata diya, ab space nahi lega */
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
}
.b1am-chat-title-wrap h3 {
  font-size: 15px !important;
  white-space: nowrap;
}
.b1am-chat-title-wrap p,
#b1amChatSubtitle {
  white-space: nowrap !important;
  font-size: 11px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.b1am-new-chat-mini {
  padding: 6px 8px !important;   /* pehle 7px 10px tha, thoda chhota */
  font-size: 15px !important;    /* pehle 12px tha */
  white-space: nowrap !important;
  flex-shrink: 0;
  margin-left: auto !important;
  margin-right: -4px !important;  /* right edge se thoda gap */
}
.b1am-chat-layout {
  height: calc(100dvh - 190px) !important;
  min-height: 0 !important;
}

  .b1am-recents-panel {
    display: none !important;
    width: 108px !important;
    min-width: 108px !important;
    padding: 10px 6px !important;
  }
  .b1am-recents-label { font-size: 9.5px !important; padding: 0 4px 6px !important; }
  .b1am-recent-item { padding: 8px 6px !important; font-size: 11px !important; }
  .b1am-recent-title { font-size: 11px !important; }
  .b1am-chat-layout.b1am-chat-active .b1am-recents-panel {
    display: block !important;
  }

  .b1am-chat-main {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  .b1am-chat-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }
  .b1am-chat-layout.b1am-chat-active .b1am-chat-card {
    display: flex !important;
  }

  .b1am-chat-messages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }
  .b1am-bubble {
    max-width: 82% !important;
    font-size: 13px !important;
  }
  .b1am-chat-input-box {
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
  }
  .b1am-chat-input-box input {
    font-size: 16px !important;
    padding: 11px 14px !important;
  }

 @media (max-width: 768px) {
  /* ---- Modal wrapper ---- */
  .b1am-activity-modal {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 999999 !important;
    display: none;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .b1am-activity-modal.open {
    display: flex !important;
  }
  .b1am-activity-modal.b1am-modal-lower {
    padding-top: 0 !important;   /* box ka apna margin hi spacing dega */
  }

  /* ---- Modal box ---- */
  .b1am-activity-modal-box {
    position: relative !important;
    z-index: 1 !important;
    width: 92% !important;
    max-width: 420px !important;
    max-height: 82vh !important;
    overflow-y: auto !important;
    margin: 180px auto 20px auto !important;
    padding: 18px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .b1am-activity-modal-box h2 {
    font-size: 18px !important;
    padding-right: 24px !important;   /* close button se overlap na ho */
  }
  .b1am-activity-modal-box p {
    font-size: 13px !important;
  }

  .b1am-activity-close {
    top: 12px !important;
    right: 12px !important;
    font-size: 20px !important;
  }

  /* ---- Inputs ---- */
  .b1am-activity-modal-box textarea,
  .b1am-activity-modal-box input[type="text"] {
    font-size: 16px !important;   /* iOS zoom-on-focus rokne ke liye */
    padding: 11px 12px !important;
  }

  .b1am-activity-save {
    width: 100% !important;
    padding: 12px !important;
    font-size: 14px !important;
  }

  /* ---- Breathing ---- */
  .b1am-breathing-circle {
    width: 110px !important;
    height: 110px !important;
    margin: 18px auto !important;
    font-size: 13px !important;
  }

  /* ---- Emotion wheel ---- */
  .b1am-emotion-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .b1am-emotion-chip {
    padding: 10px !important;
    font-size: 13px !important;
  }

  /* ---- Grounding ---- */
  .b1am-ground-step {
    font-size: 13px !important;
    margin: 10px 0 !important;
  }

  /* ---- Drawing canvas ---- */
  canvas#b1amDrawCanvas {
    max-height: 45vh !important;
  }

  /* ---- Activities grid (main list) ---- */
  .b1am-activities-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .b1am-act-card {
    padding: 14px 10px !important;
    text-align: center !important;
    border-radius: 14px !important;
  }
  .b1am-card-emoji {
    margin: 0 auto 8px auto !important;
  }
  .b1am-act-card h3 {
    font-size: 13px !important;
    margin: 4px 0 !important;
  }
  .b1am-act-card p {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .b1am-act-card .b1am-btn {
    font-size: 12px !important;
    padding: 7px 10px !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .b1am-activities-grid {
    grid-template-columns: 1fr !important;
  }
  .b1am-activity-modal-box {
    width: 94% !important;
    padding: 16px !important;
  }
  .b1am-emotion-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}


@media (max-width: 768px) {
  /* Profile / Settings / Help — container */
  #b1amProfileView .b1am-section,
  #b1amSettingsView .b1am-section,
  #b1amHelpView .b1am-section {
    max-width: 100% !important;
    padding: 0 14px !important;
  }

  .b1am-widget-card {
    padding: 18px !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
  }

  .b1am-widget-card h3 {
    font-size: 15.5px !important;
  }

  /* Profile avatar + change photo row */
  #b1amProfileView .b1am-profile-top,
  .hb-profile-top {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* Profile inputs */
  #b1amProfileView input[type="text"] {
    font-size: 16px !important;   /* iOS zoom fix */
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #profileSaveBtn {
    padding: 13px !important;
    font-size: 14px !important;
  }

  /* Stat rows (Check-ins etc inside profile) */
  #b1amProfileView .b1am-stat-row {
    font-size: 13px !important;
    padding: 9px 0 !important;
  }

  /* Settings buttons */
  #settingsLogoutBtn,
  #settingsDeleteBtn {
    width: 100% !important;
    padding: 13px !important;
    font-size: 13.5px !important;
  }

  /* Help & Support text */
  #b1amHelpView .b1am-widget-card p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  #b1amHelpView .b1am-btn-purple {
    width: 100% !important;
    padding: 12px !important;
    font-size: 13.5px !important;
  }

  /* Paywall popup on small screens */
  .b1am-paywall-box {
    padding: 22px !important;
    width: 88% !important;
  }
}

@media (max-width: 480px) {
  .b1am-widget-card {
    padding: 14px !important;
  }
  #b1amProfileView .b1am-stat-row {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
}

@media (max-width: 420px) {
  .b1am-recents-panel {
    width: 88px !important;
    min-width: 88px !important;
  }
  .b1am-recent-item { font-size: 10px !important; padding: 7px 4px !important; }
}

/* ---------- Small phones (<=480px) ---------- */
@media (max-width: 480px) {
  .b1am-main-content {
    padding: 12px 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;
  }
}
}
}



/************************/

.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;
}






/* ---- 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;
  margin-top: -100px;
}
.dashboard-overlay#humanBuddyOverlay.active { display: flex; }


/* ---------- 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;
  margin-top: 20px;
}
/* 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;
  margin-top: 20px;
}
/* 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: 460px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: -40px auto 0 !important;
}

.hb-profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.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;
  white-space: nowrap;
}

.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% !important;
  max-width: 100% !important;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  box-sizing: border-box !important;
}

.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 !important;
  grid-template-columns: 300px 1fr !important;
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}
.hb-settings-menu {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 14px;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
  height: fit-content;
  overflow: visible !important;
}
.hb-settings-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: #9ca3af;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 15.5px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}
.hb-settings-menu-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.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.active {
  background: rgba(255,107,107,0.15);
  color: #ff6b6b;
}
.hb-settings-content {
  background: #15151f;
  border: 1px solid #232332;
  border-radius: 16px;
  padding: 32px;
  min-width: 0;
}
.hb-settings-panel {
  display: none;
}
.hb-settings-panel.active {
  display: block;
}
.hb-settings-panel-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}
.hb-settings-panel-sub {
  color: #9ca3af;
  font-size: 15px;
  margin: 0 0 20px;
}
.hb-settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #232332;
}
.hb-settings-row:last-child {
  border-bottom: none;
}
.hb-settings-row-title {
  color: #fff;
  font-size: 15px;
  margin: 0 0 4px;
}
.hb-settings-row-sub {
  color: #9ca3af;
  font-size: 14px;
  margin: 0;
}
.hb-settings-goto-btn,
.hb-settings-delete-btn {
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 15.5px;
  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: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  width: fit-content;
  max-width: 260px;
  margin: 0 auto;
}

@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;
}

/**************human buddy mobile**************************/


/* ============================================================
   HUMAN BUDDY — MOBILE HAMBURGER SIDEBAR
   (class names match JS: hb-sidebar-open, hb-toggle-hidden, hb-sidebar-backdrop.active)
   ============================================================ */

.hb-mobile-sidebar-toggle {
  display: none;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 38px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(124,58,237,0.4);
  align-self: center;
  
}
.hb-mobile-sidebar-toggle:hover { background: linear-gradient(135deg, #9d6ffb, #8b4fed); }
.hb-mobile-sidebar-toggle svg { stroke: #fff; display: block; }
.hb-mobile-sidebar-toggle.hb-toggle-hidden { display: none; }

.hb-sidebar-backdrop {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.7);
  z-index: 99997 !important;
}
.hb-sidebar-backdrop.active { display: block; }

@media (max-width: 860px) {
  .hb-mobile-sidebar-toggle { display: flex; }
  .hb-topbar { align-items: center; padding: 10px 14px; }
  .hb-topbar-title { font-size: 15.5px; }
  .hb-close { width: 30px; height: 30px; flex-shrink: 0; align-self: center; }
  .hb-mobile-sidebar-toggle { width: 30px; height: 30px; align-self: center; }

  /* FORCE the drawer to always render full-height from the real top of
     the screen, no matter what inline styles hbFixLayoutHeights() (JS)
     has set on this element — that JS was written for the desktop
     sticky-sidebar layout and conflicts with the mobile drawer. */
  .hb-sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    margin-top: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    width: 260px !important;
    min-width: 260px !important;
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 99998 !important;
    padding: 18px 16px 100px !important;
    overflow-y: auto !important;
    background: #0e0e15 !important;
    box-sizing: border-box;
    
  }
  .hb-sidebar.hb-sidebar-open { transform: translateX(0); }

  .hb-welcome-card { padding: 14px; margin-bottom: 16px; }
  .hb-promo-card { padding: 12px; }

  .hb-grid-controls { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; }
  .hb-search-box { width: 100%; }
  #hbFilterSelect { width: 100%; }

  .chat-input-row { margin: 0 12px 12px; }
}

@media (max-width: 640px) {
  .hb-stat-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hb-home-hero-art { display: none; }
  .hb-home-hero-actions { flex-direction: column; }
  .hb-hero-btn-primary, .hb-hero-btn-secondary { width: 100%; justify-content: center; }
}


/* ============================================================
   HUMAN BUDDY DASHBOARD — FULL MOBILE FIX (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  .dashboard-overlay#humanBuddyOverlay,
  .hb-body,
  .hb-main {
    max-width: 100vw;
    overflow-x: hidden;
  }
  * { box-sizing: border-box; }

  .hb-topbar { padding: 10px 14px; align-items: center; }
  .hb-topbar-title { font-size: 20px; margin-right: 40px;}
  .hb-close { width: 30px; height: 30px; flex-shrink: 0; align-self: center;  margin-right:30px; }
  .hb-mobile-sidebar-toggle { width: 30px; height: 30px; align-self: center; }

  /* same forced full-height drawer rules repeated here since this
     block loads after the 860px one and would otherwise win */
.hb-sidebar {
  display: flex !important;
  position: fixed !important;
  top: 130px !important;
  left: 0 !important;
  margin-top: 0 !important;
  height: calc(100vh - 130px) !important;
  max-height: calc(100vh - 130px) !important;
  width: 260px !important;
  min-width: 260px !important;
  transform: translateX(-100%);
  transition: transform .25s ease;
  z-index: 99998 !important;
  padding: 20px 16px 100px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #0e0e15 !important;
  box-sizing: border-box;
}
.hb-sidebar.hb-sidebar-open { transform: translateX(0); }

.hb-welcome-card {
  margin: 0 0 16px 0 !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.hb-promo-card { padding: 12px; }

  .hb-main { padding: 14px 14px 90px; width: 90%; margin-top:80px; } 

  .hb-home-hero {
  flex-direction: column;
  text-align: center;
  padding: 20px;
  gap: 16px;
}
  .hb-home-hero-text h2 { font-size: 21px; justify-content: center; }
  .hb-home-hero-text p { font-size: 13px; max-width: 100%; }
  .hb-home-hero-actions {
  justify-content: center;
  flex-direction: row;      /* column se row kar diya */
  gap: 10px;
  width: 100%;
}
.hb-hero-btn-primary, .hb-hero-btn-secondary {
  flex: 1;                  /* dono buttons equal width lenge, side-by-side fit honge */
  justify-content: center;
  padding: 12px 8px;
  font-size: 12.5px;        /* thoda chhota kiya taaki text ek line mein fit ho jaaye */
  white-space: nowrap;
}
  .hb-home-hero-art { display: flex; }

  .hb-stat-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hb-stat-card { padding: 14px; gap: 10px; }
  .hb-stat-icon { width: 34px; height: 34px; flex-shrink: 0; }
  .hb-stat-value { font-size: 17px; }
  .hb-stat-label { font-size: 11px; }

  .hb-home-grid { grid-template-columns: 1fr; gap: 18px; }
  .hb-conv-cards {
  grid-template-columns: 1fr 1fr;   /* 1fr se 1fr 1fr kar diya */
  gap: 10px;
}
.hb-conv-card {
  min-height: unset;
  padding: 12px;          /* thoda compact kiya taaki narrow width mein fit ho */
}
.hb-conv-card h4 {
  font-size: 13.5px;      /* "AI Buddy" / "Human Buddy" heading thodi chhoti */
}
.hb-conv-desc {
  font-size: 11px;
}
.hb-conv-feature {
  font-size: 11px;
  gap: 4px;
}
.hb-conv-cta {
  font-size: 12px;
  padding: 10px 8px;
}
  .hb-activity-list { padding: 14px; }

 .hb-home-buddies-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;       /* Firefox scrollbar hide */
}
.hb-home-buddies-row::-webkit-scrollbar {
  display: none;                /* Chrome/Safari scrollbar hide */
}
.hb-home-buddies-row > * {
  flex: 0 0 82%;                 /* har card ~82% width lega, agla thoda peek karega */
  scroll-snap-align: start;
}

  .hb-trust-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .hb-trust-sub { min-width: 0; }

/* ===== Choose Your Buddy — Mobile ===== */

.hb-grid-header {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;          /* nowrap se wrap kiya — yehi fix hai */
  gap: 8px;
  margin-bottom: 12px;
}
.hb-grid-header > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.hb-grid-header h2 {
  font-size: 20px;
  margin: 0 0 2px;
  white-space: nowrap;
}
.hb-grid-header p {
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-grid-controls {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  width: auto;
  margin: 0;
}
.hb-search-box {
  flex: 0 0 130px;
  box-sizing: border-box;
  min-width: 0;
  padding: 8px 10px;
}
.hb-search-box input { font-size: 10.5px; min-width: 0; }
.hb-search-box svg { flex-shrink: 0; width: 14px; height: 14px; }
#hbFilterSelect {
  flex: 0 0 100px;
  box-sizing: border-box;
  min-width: 0;
  font-size: 11px;
  padding: 8px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.hb-feature-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 10px;
  width: 100%;
}
.hb-feature-chip {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9.5px;
  padding: 8px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hb-feature-chip svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
/* ===== Buddy Cards — single column stack ===== */
/* ===== Buddy Cards — 2 per row on mobile ===== */
.buddy-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.hb-buddy-card {
  padding: 12px;
}
.hb-card-top {
  padding-right: 20px;
}
.hb-name { font-size: 13px; }
.hb-rating-row { margin-bottom: 4px; flex-wrap: wrap; gap: 4px; }
.hb-exp { font-size: 11px; margin-bottom: 8px; }
.hb-action-row {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
}
.hb-talk-btn {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  font-size: 12.5px;
  padding: 9px 10px;
}
.hb-free-chip {
  flex: 0 0 auto;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
  font-size: 9.5px;
}
.hb-skills-row { margin-top: 8px; }

#myChatsGrid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  width: 100%;
  box-sizing: border-box;
}

/* har card */
#myChatsGrid > div {
  display: flex !important;
  flex-direction: column !important;
  padding: 12px !important;
  gap: 8px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* left: avatar + naam/skill/lang */
#myChatsGrid > div > div:first-child {
  gap: 8px !important;
  min-width: 0;
}
#myChatsGrid > div > div:first-child > div:first-child {
  width: 40px !important;
  height: 40px !important;
  font-size: 13px !important;
}
#myChatsGrid > div > div:first-child p:first-child {
  font-size: 13.5px !important;
  white-space: normal !important;
  word-break: break-word;
}
#myChatsGrid > div > div:first-child p {
  font-size: 11.5px !important;
}

/* right: stars + Exp left, Chat button right — same row */
#myChatsGrid > div > div:last-child {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: 10px;
  row-gap: 2px;
  width: 100% !important;
}
#myChatsGrid > div > div:last-child span:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px !important;
}
#myChatsGrid > div > div:last-child span:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2;
  font-size: 11px !important;
}
#myChatsGrid > div > div:last-child button {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 8px 14px !important;
  font-size: 12px !important;
}

@media (max-width: 768px) {

  .hbk-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .hbk-tabs {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 6px;
  }

  .hbk-tab {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hbk-calendar-btn {
    flex-shrink: 0;
    width: auto;
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* ---- Card: ab wrap-based row layout, HTML change ki zaroorat nahi ---- */
  .hbk-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    position: relative;
    height: auto;
  }

  .hbk-left {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hbk-info {
    flex: 1;
    min-width: 0;
  }

  .hbk-name {
    font-size: 16px;
    margin: 0 0 2px;
  }

  .hbk-sub {
    font-size: 13px;
    margin: 0 0 4px;
  }

  /* ---- Date/time block: ab left side, partial width ---- */
  .hbk-mid {
    flex: 1 1 60%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .hbk-mid p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin: 0;
  }

  /* ---- Price + status: ab right side, same row as mid ---- */
  .hbk-price {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    padding: 10px 0;
    
    margin-top:-100px;
  }

  .hbk-amount {
    font-size: 18px;
    margin: 0;
    color: #fff;
    text-align: right;
  }

  .hbk-rate {
    font-size: 12px;
    margin: 0;
    text-align: right;
  }

  .hbk-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  /* ---- Action buttons: full width, own line ---- */
    .hbk-actions {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: row;      /* NEW: explicitly row force kiya */
    flex-wrap: nowrap;        /* NEW: kabhi wrap na ho */
    gap: 10px;
  }

  .hbk-actions .hbk-btn {
    flex: 1 1 0;               /* NEW: 0 basis, equal share of space */
    width: auto;               /* NEW: override kisi bhi width:100% ko */
    min-width: 0;              /* NEW: overflow se text ko squeeze hone do */
    text-align: center;
    padding: 10px 12px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hbk-dots {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  /* ---- Help banner ---- */
  .hbk-help-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }

  .hbk-help-left {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

    .hbk-contact-btn {
    width: 70%;
    max-width: 280px;
    margin: 0 auto;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
  }

  /* ---- Empty state ---- */
  .hbk-empty {
    text-align: center;
    padding: 20px;
    font-size: 14px;
  }

}

  /* ---- Header ---- */
  .hb-mychats-header h2 {
    font-size: 20px;
    margin: 0 0 4px;
  }

  .hb-mychats-header p {
    font-size: 13px;
  }

  /* ---- Stat cards: 2x2 grid ---- */
  .wallet-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .wallet-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .wallet-stat-label {
    font-size: 12px;
    margin: 0 0 4px;
    white-space: nowrap;
  }

  .wallet-stat-value {
    font-size: 17px;
    margin: 0;
    white-space: nowrap;
  }

  .wallet-stat-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  /* ---- Add Money + Transactions: stacked, single column ---- */
  .wallet-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 16px;
    
    
  }

  .wallet-card {
    padding: 18px;
  }

  .wallet-card-title {
    font-size: 15px;
    margin: 0 0 12px;
  }

  /* ---- Amount chips: 4 in a row, equal width ---- */
  .wallet-amount-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .wallet-amount-chip {
    padding: 9px 0;
    font-size: 13px;
    text-align: center;
  }

  /* ---- Custom amount input ---- */
  .wallet-custom-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 10px 12px;
  }

  .wallet-custom-input input {
    width: 100%;
    font-size: 14px;
    border: none;
    outline: none;
    background: transparent;
  }

  /* ---- Add money button ---- */
  .wallet-add-money-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    text-align: center;
  }

  .wallet-secure-note {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
  }

  /* ---- Recent transactions header row ---- */
  .wallet-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .wallet-view-all {
    font-size: 13px;
  }

  .wallet-txn-list p {
    font-size: 13px;
    text-align: center;
  }

}

  /* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  .hb-profile-card {
    max-width: 100% !important;
    width: calc(100% - 84px) !important;
    padding: 18px !important;
    border-radius: 12px !important;
    margin: 16px auto 0 !important;
  }
  .hb-profile-top {
    gap: 12px;
    margin-bottom: 20px;
  }
  .hb-profile-avatar {
    width: 52px;
    height: 52px;
  }
  .hb-profile-avatar svg {
    width: 26px;
    height: 26px;
  }
  .hb-profile-change-photo-btn {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  .hb-profile-field {
    margin-bottom: 14px;
  }
  .hb-profile-field label {
    font-size: 12.5px;
  }
  .hb-profile-field input {
    font-size: 13.5px !important;
    padding: 10px 12px !important;
  }
  .hb-profile-save-btn {
    font-size: 14px;
    padding: 12px;
  }
}

/* ===== SMALL MOBILE (≤360px) ===== */
@media (max-width: 360px) {
  .hb-profile-top {
    flex-direction: column;
    align-items: flex-start;
  }
}


 /* ===== MOBILE (≤768px) — SAME left-right layout, just smaller ===== */
@media (max-width: 768px) {
  .hb-settings-layout {
    grid-template-columns: 150px 1fr !important;
    gap: 10px;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .hb-settings-menu {
    padding: 8px;
    gap: 5px;
  }
  .hb-settings-menu-item {
    padding: 11px 9px !important;
    font-size: 13.5px !important;
    gap: 7px;
  }
  .hb-settings-menu-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
  .hb-settings-content {
    padding: 16px;
    box-sizing: border-box;
  }
  .hb-settings-panel-title {
    font-size: 16px;
  }
  .hb-settings-panel-sub {
    font-size: 13px;
  }
  .hb-settings-goto-btn,
  .hb-settings-delete-btn {
    width: 100%;
    padding: 12px;
    font-size: 13.5px;
    box-sizing: border-box;
  }
}

/* ===== SMALL MOBILE (≤380px) ===== */
@media (max-width: 380px) {
  .hb-settings-layout {
    grid-template-columns: 125px 1fr !important;
    gap: 8px;
    padding: 0 8px;
  }
  .hb-settings-menu-item {
    font-size: 12px !important;
    padding: 10px 7px !important;
  }
  .hb-settings-menu-item svg {
    width: 14px;
    height: 14px;
  }
  .hb-settings-content {
    padding: 12px;
  }
}


  .hbhelp-faq-question { padding: 15px 12px; font-size: 13.5px; }
  .hbhelp-faq-question span:first-child { flex: 1; }
  .hbhelp-contact-banner { flex-direction: column; align-items: stretch; text-align: center; padding: 18px; }
  .hbhelp-contact-left { flex-direction: column; text-align: center; }
  .hbhelp-contact-btn { width: 100%; justify-content: center; }

#chatView.active {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}
.chat-top {
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 2;
}
.chat-messages {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  min-height: 0 !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  margin-top: 20px;
}
.chat-messages .msg {
  position: static !important;
  max-width: 80%;
  word-wrap: break-word;
}
.chat-input-row {
  flex-shrink: 0 !important;
  position: static !important;
  margin: 0 10px 20px !important;
  padding: 10px 14px !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;
}

/* ===================== MOBILE: Stats Bar — SINGLE LINE, FULL WIDTH, BIGGER ===================== */
@media (max-width: 768px) {

  .b1am-stats-bar {
    padding: 26px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }

  .b1am-stats-bar::before {
    width: 110px !important;
    height: 110px !important;
    top: -25px !important;
    right: -25px !important;
  }

  .b1am-stats-bar::after {
    width: 130px !important;
    height: 130px !important;
    bottom: -30px !important;
    left: -20px !important;
  }

  .b1am-stats-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .b1am-stat-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
  }

  .b1am-stat-icon-badge {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 12px !important;
  }

  .b1am-stat-icon-badge svg {
    width: 19px !important;
    height: 19px !important;
  }

  .b1am-stat-num {
    font-size: 16px !important;
    white-space: nowrap !important;
  }

  .b1am-stat-label {
    font-size: 9.5px !important;
    margin-top: 2px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  .b1am-stat-divider {
    display: none !important;
  }
}


/* ===================== 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; }


/* ===================== MOBILE: Trust & Safety — 2x2 grid, BIGGER ===================== */
@media (max-width: 768px) {

  .b1am-trust-section {
    padding: 50px 16px !important;
  }

  .b1am-trust-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-top: 32px !important;
  }

  .b1am-trust-card {
    padding: 26px 18px !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .b1am-trust-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 13px !important;
    margin-bottom: 16px !important;
  }

  .b1am-trust-icon svg {
    width: 26px !important;
    height: 26px !important;
  }

  .b1am-trust-card h3 {
    font-size: 17px !important;
    margin: 0 0 8px !important;
  }

  .b1am-trust-card p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }
}

/* ===================== 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; }


/* ===================== MOBILE: How It Works — Two Paths ===================== */
@media (max-width: 768px) {

  .b1am-howtwo-section {
    padding: 50px 16px;
    margin-top: 0;
  }

  .b1am-howtwo-sub {
    font-size: 13.5px;
  }

  .b1am-howtwo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
    max-width: 100%;
  }

  .b1am-howtwo-col {
    border-radius: 16px;
    padding: 22px 18px;
  }

  .b1am-howtwo-col-header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .b1am-howtwo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .b1am-howtwo-icon svg {
    width: 20px;
    height: 20px;
  }

  .b1am-howtwo-col.ai h3,
  .b1am-howtwo-col.human h3 {
    font-size: 16.5px;
  }

  .b1am-howtwo-col.ai .b1am-howtwo-col-header p,
  .b1am-howtwo-col.human .b1am-howtwo-col-header p {
    font-size: 12px;
  }

  .b1am-howtwo-steps {
    gap: 14px;
  }

  .b1am-howtwo-step {
    gap: 11px;
  }

  .b1am-howtwo-num {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 11.5px;
  }

  .b1am-howtwo-col.ai h4,
  .b1am-howtwo-col.human h4 {
    font-size: 13px;
  }

  .b1am-howtwo-col.ai .b1am-howtwo-step p,
  .b1am-howtwo-col.human .b1am-howtwo-step p {
    font-size: 12px;
  }

  .b1am-howtwo-col .cta-button,
  .b1am-howtwo-col .cta-button-dark {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 14.5px !important;
    margin-top: 18px !important;
    height: auto !important;
    min-height: unset !important;
    line-height: 1.3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* ===================== 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);
}

/* ===================== MOBILE: Pricing Banner (768px) ===================== */
@media (max-width: 768px) {

  .b1am-pricing-banner {
    padding: 36px 18px;
    width: 100vw;
    box-sizing: border-box;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .b1am-pricing-inner {
    flex-direction: column;
    gap: 18px;
    text-align: left;
    align-items: center !important;
    text-align: center !important;
  }

  .b1am-pricing-inner h2 {
    font-size: 21px;
    line-height: 1.3;
  }

  .b1am-pricing-inner p {
    font-size: 13px;
    line-height: 1.5;
  }

 .b1am-pricing-inner .cta-button {
    width: auto !important;
    padding: 13px 24px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    height: auto !important;
    min-height: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.3 !important;
    margin: 0 auto !important;
  }

}

/* ===================== 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; }

/* ===================== MOBILE: FAQ Preview (768px) ===================== */
@media (max-width: 768px) {

  .b1am-faqpreview-section {
    padding: 44px 16px;
  }

  .b1am-faqpreview-list {
    margin: 28px auto 0;
  }

  .b1am-faqpreview-item {
    padding: 14px 0;
  }

  .b1am-faqpreview-q {
    font-size: 13.5px;
    gap: 10px;
  }

  .b1am-faqpreview-toggle {
    font-size: 17px;
    flex-shrink: 0;
  }

  .b1am-faqpreview-a {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .b1am-faqpreview-item.open .b1am-faqpreview-a {
    max-height: 260px;
    padding-top: 8px;
  }

  .b1am-faqpreview-link {
    font-size: 13px;
    margin-top: 16px;
  }
}

/* ===== FIX: mobile pe popups ke header ke peeche chhup jaane ka issue =====
   .hero-inner apna stacking context banata hai (z-index:5) jisme sab
   overlays (auth/apply/account/mood/dashboard) nested hain, isliye wo
   navbar (z-index:100) se upar nahi aa paate the.
   Yeh sirf tab z-index badhata hai jab koi popup actually "open/active"
   class ke saath visible ho — normal scroll ya desktop pe koi asar nahi. */
@media (max-width: 768px) {
  .hero-inner:has(.auth-overlay.open),
  .hero-inner:has(.apply-overlay.open),
  .hero-inner:has(.account-overlay.open),
  .hero-inner:has(.mood-overlay.active),
  .hero-inner:has(.feedback-overlay.open),
  .hero-inner:has(.dashboard-overlay.active) {
    z-index: 999999 !important;
  }
}


