/* ═══════════════════════════════════════════════════════════════════
   LANDING PAGE - LIGHT THEME
   ═══════════════════════════════════════════════════════════════════ */

body { background: var(--bg); color: var(--text); }

/* ─── NAVBAR ──────────────────────────────────────────────────────── */
header .navbar {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 0 1rem; z-index: 1000;
}
header{
  position: sticky;
    top: 0;
    z-index: 9999;

}
header .navbar-brand img { max-height: 40px; }
.cb-brand-name {
  font-size: 1.3rem; letter-spacing: 0.5px;
  color: #202020 !important; font-family: 'Figtree', sans-serif;
}
.cb-brand-name span { color: var(--primary) !important; }
header .nav-login-link {
  color: #4d4d4d; text-decoration: none; font-size: 0.875rem;
  padding: 8px 10px; display: inline-flex; align-items: center; gap: 6px;
  border-radius: 20px; transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
header .nav-login-link:hover { color: var(--primary-dark); background: rgba(0,95,158,0.06); }
.nav-login-icon { flex-shrink: 0; color: #4d4d4d; transition: color 0.2s; }
header .nav-login-link:hover .nav-login-icon { color: var(--primary-dark); }
header .navbar .btn.cb-btn-primary { white-space: nowrap; }
.dashboard-icon { display: none; flex-shrink: 0; }
.nav-link.main-menu-link {
  position: relative; color: #4d4d4d; font-weight: 500;
  padding: 0.5rem 1rem; transition: color 0.3s ease; font-size: 0.95rem;
}
.nav-link.main-menu-link:hover {     color: var(--primary-dark); }
.nav-link.main-menu-link::after {
  content: ''; position: absolute; left: .5rem;
  bottom: var(--bottom-position, -0.75rem);
  width: 0; height: 2px; background-color: var(--primary-dark);;
  transition: width 0.3s ease; border-radius: 1px;
}
.nav-link.main-menu-link:hover::after { width: calc(100% - 1rem); }
.cb-btn-primary {
  background-color: #005f9e !important;
  border-color: #005f9e !important;
  color: #fff !important; transition: all 0.3s ease-out;
}
.cb-btn-primary:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 8px 15px var(--primary-glow);
}
.cb-btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4); border-radius: 8px;
  padding: 6px 16px; font-size: 0.875rem; font-weight: 500; transition: all 0.2s;
}
.cb-btn-ghost:hover { border-color: #fff; color: #fff; }

/* ─── LANDING BUTTONS ─────────────────────────────────────────────── */
.btn-primary { background: var(--primary-dark); color: #fff; box-shadow: 0 0 0 rgba(33,170,225,0); }
.btn-primary:hover { background: var(--primary); color: #4d4d4d; box-shadow: 0 8px 15px rgba(33,170,225,0.5); }
.btn-ghost { background: #fff; color: var(--primary-dark); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff !important; color: var(--primary-dark) !important; }
.btn-white:hover { background: #f0f0f0; box-shadow: 0 8px 15px rgba(0,0,0,0.15); color: #4d4d4d !important; }
.btn-outline-white { background: transparent; color: rgba(255,255,255,0.95) !important; border: 1.5px solid rgba(255,255,255,0.6) !important; }
.btn-outline-white:hover { color: #fff !important; border-color: rgba(255,255,255,0.8); }

/* ─── SECTIONS ────────────────────────────────────────────────────── */
.section { padding: 70px 32px; }
.container { max-width: 1160px; margin: 0 auto; }
.section-label {
  display: inline-block; color: #005f9e; font-weight: 700;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 14px; padding: 4px 14px;
  background: var(--primary-light); border: 1px solid rgba(33,170,225,0.22);
  border-radius: 20px;
}
.section-title { font-size: 40px; line-height: 46px; font-weight: 800; color: #0d1117; margin-bottom: 16px; }
.section-title span { color: #005f9e; }
.section-sub { font-size: 16px; color: #3d505f; max-width: 580px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero { padding: 70px 32px; background-color: #005f9e; overflow: hidden; position: relative; }
.hero-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px 6px 8px; border-radius: 24px;
  font-size: 13px; color: #fff; margin-bottom: 28px;
}
.hero-badge-dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.hero-title { font-size: 4rem; line-height: 1.15; font-weight: 700; color: #fff; margin-bottom: 22px; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.96); line-height: 1.68; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-actions .btn-primary { background: #fff; color: #005f9e; font-weight: 700; }
.hero-actions .btn-primary:hover { background: #f0f0f0; color: #4d4d4d; box-shadow: 0 8px 15px rgba(0,0,0,0.15); }
.hero-actions .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }
.hero-note { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.95); display: flex; align-items: center; gap: 6px; }
.hero-note::before { content: '✓'; color: #fff; font-weight: 700; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 420px; }
.hero-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.hero-card-main { position: relative; z-index: 2; }
.hero-card-bg { position: absolute; top: 24px; left: 24px; right: -24px; background: rgba(33,170,225,0.15); border: 1px solid rgba(33,170,225,0.3); border-radius: 12px; height: 100%; z-index: 1; }
.store-mini-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.store-mini-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.store-mini-name { font-size: 14px; font-weight: 600; color: #000; }
.store-mini-domain { font-size: 11px; color: #005f9e; }
.store-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.mini-stat { background: var(--bg-gray); border-radius: 8px; padding: 10px 12px; }
.mini-stat-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.mini-stat-value { font-size: 18px; font-weight: 600; color: #000; margin-top: 2px; }
.mini-pipeline { display: flex; gap: 4px; align-items: center; }
.mini-dot { flex: 1; height: 4px; border-radius: 2px; }
.mini-dot.done { background: var(--primary); }
.mini-dot.pending { background: #E4EDF1; }

/* ─── STATS STRIP ─────────────────────────────────────────────────── */
.stats-bg { background: var(--bg-gray); border-top: 1px solid #D4E2EA; border-bottom: 1px solid #D4E2EA; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 50px 0; }
.stat-item { text-align: center; }
.stat-value { font-weight: 800; font-size: 40px; color: var(--primary-dark); margin-bottom: 6px; }
.stat-label { font-size: 14px; color: #3d505f; font-weight: 500; }

/* ─── HOW IT WORKS ────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 50px; }
.step-card { background: var(--bg-card); border: 1.5px solid #E4EDF1; border-radius: var(--radius); padding: 32px 28px; text-align: center; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 20px; }
.step-icon { background: var(--bg-gray); width: 80px; height: 80px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 14px; transition: transform 0.3s; }
.step-card:hover .step-icon { transform: translateY(-5px); }
.step-title { font-size: 18px; font-weight: 700; color: #0d1117; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: #3d505f; line-height: 1.7; }

/* ─── STORE TYPES ─────────────────────────────────────────────────── */
.types-bg { background: #edf2f7; }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.type-card { background: #fff; border: 1.5px solid #D4E2EA; border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: all 0.3s; }
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); background: #fff; }
.type-icon-wrap { width: 52px; height: 52px; border-radius: 8px; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; font-size: 24px; transition: transform 0.3s; }
.type-card:hover .type-icon-wrap { transform: translateY(-3px); }
.type-title { font-size: 16px; font-weight: 700; color: #0d1117; }
.type-desc { font-size: 13px; color: #1b446c; line-height: 1.65; flex: 1; }
.type-features { display: flex; gap: 6px; flex-wrap: wrap; }
.type-tag { font-size: 11px; padding: 3px 10px; border-radius: 20px; background: var(--primary-light); color: #005f9e; font-weight: 600; border: 1px solid rgba(33,170,225,0.25); }

/* ─── FEATURES ────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
.feature-card { background: var(--bg-card); border: 1.5px solid #D4E2EA; border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.feature-card:hover { box-shadow: var(--shadow-hover); border-color: var(--primary); }
.feature-icon-wrap { width: 46px; height: 46px; flex-shrink: 0; border-radius: 8px; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.feature-title { font-size: 15px; font-weight: 700; color: #0d1117; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: #3d505f; line-height: 1.7; }

/* ─── CTA ─────────────────────────────────────────────────────────── */
.cta-bg { background: #005f9e; position: relative; overflow: hidden; }
.cta-bg::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%); pointer-events: none; }
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; padding: 70px 32px; }
.cta-title { font-weight: 700; font-size: 40px; color: #fff; line-height: 1.2; margin-bottom: 18px; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.92); margin-bottom: 36px; line-height: 1.65; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer { background: #e8eef4; border-top: 1px solid #ccd9e3; padding: 40px 32px; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-link { font-size: 13px; color: #1b446c; font-weight: 500; transition: color 0.2s; text-decoration: none; padding: 8px 2px; display: inline-block; }
.footer-link:hover { color: var(--primary-dark); }
.footer-copy { font-size: 12px; color: #516479; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: 2.8rem; }
  .steps-grid, .types-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav: let the collapsed menu drop down as a full-width panel
     instead of being squeezed into the half-width logo column. */
  #navbarNav.navbar-collapse {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 6px 20px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-top: 1px solid #e4edf5;
  }
  #navbarNav .navbar-nav { flex-direction: column; gap: 2px; }
  .nav-link.main-menu-link { padding: 12px 8px; font-size: 1rem; }
  .nav-link.main-menu-link::after { display: none; }
}
@media (max-width: 767px) {
  .steps-grid, .types-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-badge { flex-wrap: wrap; max-width: 100%; }
  .section-title { font-size: 30px; line-height: 36px; }
  .section { padding: 50px 20px; }
  .hero { padding: 50px 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .cta-title { font-size: 30px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
  /* Icon-only login button + compact Get Started button so both fit
     comfortably in the half-width mobile nav column without crowding. */
  header .nav-login-link {
    padding: 9px; border: 1px solid rgba(0,0,0,0.08); border-radius: 50%;
  }
  header .nav-login-link .nav-login-text { display: none; }

  header .navbar .btn.cb-btn-primary {
    padding: 0 !important; width: 38px; height: 38px;
    display: inline-flex !important; align-items: center; justify-content: center;
    font-size: 1rem !important; line-height: 1;
  }
  header .navbar .btn.cb-btn-primary .get-started-text { display: none; }
  header .navbar .btn.cb-btn-primary .dashboard-text { display: none; }
  header .navbar .btn.cb-btn-primary .dashboard-icon { display: inline-block; }

  header .navbar-brand img { max-height: 28px; }
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: 15px; }
  .section-title { font-size: 26px; line-height: 32px; }
  .section { padding: 40px 16px; }
  .hero { padding: 40px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 32px 0; }
  .stat-value { font-size: 30px; }
  .stat-label { font-size: 12.5px; }
  .cta-title { font-size: 26px; }
  .cta-inner { padding: 50px 20px; }
}
