/* =============================================
   bTool — styles.css
   Full page styles
   ============================================= */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:             #F9FAFB;
  --white:          #ffffff;
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #EFF6FF;
  --primary-mid:    #DBEAFE;
  --text:           #111827;
  --text-muted:     #6B7280;
  --text-soft:      #9CA3AF;
  --border:         #E5E7EB;
  --border-strong:  #D1D5DB;
  --green:          #059669;
  --green-bg:       #ECFDF5;
  --green-border:   #A7F3D0;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card:    0 8px 32px rgba(37,99,235,0.10), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-live:    0 8px 32px rgba(37,99,235,0.15), 0 2px 8px rgba(0,0,0,0.05);
  --radius-nav:     9px;
  --radius-card:    16px;
  --radius-btn:     10px;
  --radius-icon:    12px;
  --radius-video:   10px;

}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}



.btn-support:hover {
  background: #16A34A;
  transform: translateY(-1px);
}


/* ── HERO ── */
.hero {
  text-align: center;
  padding: 52px 40px 36px;
  animation: fadeUp 0.5s ease both;
}

.hero__title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.hero__sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── MODULES SECTION ── */
.modules-section {
  padding: 8px 40px 72px;
  animation: fadeUp 0.5s 0.1s ease both;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── CARD BASE ── */
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  cursor: default;
}

.module-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

/* Live card — blue top accent */
.module-card.live {
  border-top: 3px solid var(--primary);
  padding-top: 21px;
  cursor: pointer;
}

.module-card.live:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-live);
}

/* ── CARD TOP ROW ── */
.module-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* ── ICON ── */
.module-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.module-card__icon--blue   { background: #EFF6FF; }
.module-card__icon--violet { background: #F5F3FF; }
.module-card__icon--green  { background: #ECFDF5; }
.module-card__icon--orange { background: #FFF7ED; }
.module-card__icon--rose   { background: #FFF1F2; }
.module-card__icon--yellow { background: #FEFCE8; }

/* ── BADGE ── */
.module-card__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 11px;
  border-radius: 100px;
  margin-top: 4px;
  white-space: nowrap;
}

.module-card__badge--live {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.module-card__badge--soon {
  background: var(--bg);
  color: var(--text-soft);
  border: 1px solid var(--border);
}

/* ── TITLE & DESC ── */
.module-card__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.module-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

/* ── VIDEO THUMB ── */
.module-card__video {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-video);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  background: var(--bg);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.module-card__video:hover {
  background: var(--primary-light);
  border-color: var(--primary-mid);
}

/* ── PLAY BUTTON ── */
.module-card__play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  pointer-events: none;
  flex-shrink: 0;
}

.module-card__play svg { margin-left: 2px; }

.play-arrow {
  fill: var(--primary);
  transition: fill 0.2s;
}

.module-card__video:hover .module-card__play {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.module-card__video:hover .play-arrow {
  fill: #ffffff;
}

.module-card__video-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s;
  pointer-events: none;
}

.module-card__video:hover .module-card__video-label {
  color: var(--primary);
}

/* ── FOOTER BUTTONS ── */
.module-card__footer {
  display: flex;
}

.btn-open-tool {
  flex: 1;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
}

.btn-open-tool:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-coming-soon {
  flex: 1;
  background: #F3F4F6;
  color: var(--text-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 16px;
  cursor: not-allowed;
  text-align: center;
  user-select: none;
}

/* ── CARD ENTRANCE ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.module-card:nth-child(1) { animation: fadeUp 0.4s 0.10s ease both; }
.module-card:nth-child(2) { animation: fadeUp 0.4s 0.17s ease both; }
.module-card:nth-child(3) { animation: fadeUp 0.4s 0.24s ease both; }
.module-card:nth-child(4) { animation: fadeUp 0.4s 0.31s ease both; }
.module-card:nth-child(5) { animation: fadeUp 0.4s 0.38s ease both; }
.module-card:nth-child(6) { animation: fadeUp 0.4s 0.45s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar {
    padding: 0 20px;
  }
  .hero,
  .modules-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 36px;
  }
}






.btn-logout {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-nav);
  padding: 7px 18px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}

.btn-logout:hover {
  border-color: var(--primary);
  color: var(--primary);
}



/* WhatsApp Support Button in Navbar */
.btn-whatsapp-support {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white !important;
    padding: 6px 18px; 
    border-radius: var(--radius-nav);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 12px;
    border: 1.5px solid #25D366;
    transition: all 0.2s ease;
}

.btn-whatsapp-support:hover {
    background: #20b858;
    border-color: #20b858;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}


/* bTOOL's b color changed to blue */
.btool-b {
  color: #2563EB;
}
/* bTOOL's b color changed to blue */



.navbar__logo-img {
  height: 48px;
  width: auto;
}



/* SIDE BAR STYLE */

/* SIDE BAR STYLE */
