@import url('./app.css');

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

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

/* ─── NAVBAR ──────────────────────────────────────────────────────── */
header .navbar {
  background: #000000 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 0 1rem; z-index: 1000;
}
header .navbar-brand img { max-height: 40px; }
.cb-brand-name {
  font-size: 1.3rem; letter-spacing: 0.5px;
  color: #ffffff !important; font-family: 'Figtree', sans-serif;
}
.cb-brand-name span { color: var(--primary) !important; }
header .nav-login-link {
  color: #ffffff; text-decoration: underline; font-size: 0.875rem;
}
.nav-link.main-menu-link {
  position: relative; color: #ffffff; font-weight: 500;
  padding: 0.5rem 1rem; transition: color 0.3s ease; font-size: 0.95rem;
}
.nav-link.main-menu-link:hover { color: #ffffff; }
.nav-link.main-menu-link::after {
  content: ''; position: absolute; left: 1rem;
  bottom: var(--bottom-position, -0.75rem);
  width: 0; height: 2px; background-color: #02de07;
  transition: width 0.3s ease; border-radius: 1px;
}
.nav-link.main-menu-link:hover::after { width: calc(100% - 2rem); }
.cb-btn-primary {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !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); 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; color: var(--primary-dark); }
.btn-white:hover { background: #f0f0f0; box-shadow: 0 8px 15px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { color: #fff; 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: var(--primary); font-weight: 600; font-size: 19px; margin-bottom: 12px; }
.section-title { font-size: 40px; line-height: 46px; font-weight: 700; color: #000; margin-bottom: 16px; }
.section-title span { color: var(--primary); }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 580px; line-height: 1.65; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero { padding: 70px 32px; background-color: var(--primary-dark); 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.85); 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: var(--primary-dark); }
.hero-actions .btn-primary:hover { background: #f0f0f0; 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.6); 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: var(--primary); }
.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 #E4EDF1; border-bottom: 1px solid #E4EDF1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 50px 0; }
.stat-item { text-align: center; }
.stat-value { font-weight: 700; font-size: 40px; color: var(--primary); margin-bottom: 6px; }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* ─── 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: none; 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); }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); 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: 22px; font-weight: 600; color: #000; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─── STORE TYPES ─────────────────────────────────────────────────── */
.types-bg { background: var(--bg-gray); }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.type-card { background: var(--bg-card); border: 2px solid #E4EDF1; 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: var(--bg-gray); }
.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: 600; color: #000; }
.type-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; 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: var(--primary-dark); border: 1px solid rgba(33,170,225,0.2); }

/* ─── FEATURES ────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
.feature-card { background: var(--bg-card); border: 1px solid #E4EDF1; 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: 600; color: #000; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ─── CTA ─────────────────────────────────────────────────────────── */
.cta-bg { background: var(--primary-dark); 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.75); margin-bottom: 36px; line-height: 1.65; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer { background: var(--bg-gray); border-top: 1px solid #E4EDF1; 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: var(--text-muted); transition: color 0.2s; }
.footer-link:hover { color: var(--primary); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ─── 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); }
}
@media (max-width: 767px) {
  .steps-grid, .types-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 30px; line-height: 36px; }
  .section { padding: 50px 20px; }
  .hero { padding: 50px 20px; }
}
