/* ─── Box•E Brand Tokens ──────────────────────────────────────── */
:root {
  --brand-primary:   #6C63FF;
  --brand-dark:      #4B44CC;
  --brand-light:     #EDE9FF;
  --brand-accent:    #10B981;
  --body-bg:         #F8F9FC;
  --surface:         #FFFFFF;
  --surface-alt:     #F3F4F8;
  --text-dark:       #1A1A2E;
  --text-muted:      #6B7280;
  --border-color:    #E5E7EB;
  --radius-card:     16px;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:       0 4px 16px rgba(108,99,255,.15);
  --shadow-lg:       0 12px 40px rgba(108,99,255,.18);
}

/* ─── Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--body-bg);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* ─── Navbar ──────────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.5px;
  color: var(--brand-primary) !important;
}
.navbar-brand span { color: var(--text-dark); }

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: var(--brand-primary) !important; }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn-brand {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: .6rem 1.4rem;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-brand:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-brand {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  border-radius: 10px;
  font-weight: 600;
  padding: .55rem 1.4rem;
  background: transparent;
  transition: background .15s, color .15s, transform .1s;
}
.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ─── Hero ────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #EDE9FF 0%, #F0FDFA 60%, #F8F9FC 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,.12) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text-dark);
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--brand-primary), #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--brand-primary);
  max-width: 520px;
  line-height: 1.4;
  min-height: 1.6em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}
.hero-mockup {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  width: 100%;
}
.marketing-screenshot {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-color);
}
.hero-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-dark);
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.hero-store-btn:hover {
  background: #2d2d2d;
  color: #fff;
  transform: translateY(-1px);
}
.hero-store-btn .store-label { font-size: .65rem; font-weight: 400; opacity: .8; display: block; }
.hero-store-btn .store-name  { font-size: .95rem; font-weight: 700; display: block; line-height: 1; }

/* ─── Section Typography ──────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .6px;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-dark);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ─── Feature Cards ───────────────────────────────────────────── */
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-light);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-title { font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.feature-desc  { color: var(--text-muted); font-size: .9rem; line-height: 1.6; margin: 0; }

/* ─── Pricing ─────────────────────────────────────────────────── */
.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 4px 6px;
}
.pricing-toggle-wrap label {
  font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: 6px 18px;
  border-radius: 100px;
  transition: background .15s, color .15s;
  color: var(--text-muted);
}
.pricing-toggle-wrap input[type="radio"] { display: none; }
.pricing-toggle-wrap input[type="radio"]:checked + label {
  background: var(--brand-primary);
  color: #fff;
}

.save-badge {
  background: #D1FAE5;
  color: #065F46;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 6px;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card.featured {
  border-color: var(--brand-primary);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.pricing-card:hover { transform: translateY(-4px); }
.featured-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand-primary), #A78BFA);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 18px;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--text-dark);
}
.price-amount sup { font-size: 1.4rem; font-weight: 700; vertical-align: top; margin-top: .5rem; }
.price-period { font-size: .85rem; color: var(--text-muted); margin-left: 2px; }
.price-free    { font-size: 2.6rem; font-weight: 800; color: var(--text-dark); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border-color);
}
.check-list li:last-child { border-bottom: none; }
.check-list .bi-check-circle-fill { color: var(--brand-accent); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.check-list .bi-dash-circle         { color: #D1D5DB;            font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.check-list .lock-icon              { color: var(--brand-primary); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* ─── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #fff;
  border-radius: 24px;
  padding: 4rem 3rem;
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  font-weight: 600;
  font-size: .97rem;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.faq-question:hover { background: var(--surface-alt); }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.faq-answer.open { max-height: 200px; padding: .5rem 1.5rem 1.2rem; }
.faq-chevron { transition: transform .3s; flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }

/* ─── Comparison Table ────────────────────────────────────────── */
.compare-table { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border-color); }
.compare-table thead { background: var(--brand-primary); color: #fff; }
.compare-table th, .compare-table td { padding: .85rem 1.2rem; font-size: .9rem; }
.compare-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.compare-table .bi-check-circle-fill { color: var(--brand-accent); }
.compare-table .bi-x-circle          { color: #D1D5DB; }

/* ─── Page Header ─────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, #EDE9FF 0%, #F0FDFA 100%);
  padding: 80px 0 60px;
}

/* ─── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 2rem;
}
footer .footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
footer a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .88rem; }
footer a:hover { color: #fff; }
footer .footer-heading { color: rgba(255,255,255,.9); font-weight: 700; font-size: .85rem; letter-spacing: .5px; text-transform: uppercase; }
footer .footer-divider { border-color: rgba(255,255,255,.12); }
footer .footer-copy { font-size: .82rem; }

/* ─── Utilities ───────────────────────────────────────────────── */
.text-brand   { color: var(--brand-primary) !important; }
.bg-brand     { background: var(--brand-primary) !important; }
.rounded-xl   { border-radius: var(--radius-card) !important; }
.section-pad  { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section  { padding: 72px 0 56px; }
  .cta-section   { padding: 2.5rem 1.5rem; text-align: center; }
  .section-pad   { padding: 56px 0; }
}
@media (min-width: 1px) { .page-header, .hero-section, .global-mt { margin-top: 66px !important; } }

.page-header, .hero-section, .mt-header { margin-top: 66px; }
