/* ============================================================
   Build Ezi — Brand Uplift Stylesheet
   Overrides dark-mode defaults with brand-compliant styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

/* ---- Brand tokens ---- */
:root {
  --be-blue:   #0ab1e9;
  --be-green:  #13b0ac;
  --be-navy:   #294157;
  --be-slate:  #3e3f3f;
  --be-white:  #ffffff;
  --be-text:   #1e293b;
  --be-muted:  #64748b;
  --be-bg:     #f8fafc;
  --be-radius: 10px;
}

/* ---- Base reset for brand pages ---- */
body {
  background: var(--be-bg) !important;
  color: var(--be-text) !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 300;
}

a { color: var(--be-blue); }

/* ============================================================
   NAV BAR
   ============================================================ */
.be-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--be-navy);
  box-shadow: 0 2px 12px rgba(41,65,87,0.18);
}
.be-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.be-nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.be-nav-logo span { color: var(--be-blue); }
.be-nav-demo {
  background: var(--be-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 22px;
  border-radius: var(--be-radius);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.be-nav-demo:hover { background: #09a0d4; opacity: 1; }

/* ============================================================
   HERO OVERRIDES
   ============================================================ */
.hero, section.hero, div.hero {
  background: linear-gradient(135deg, var(--be-navy) 0%, #1a2d40 100%) !important;
  min-height: 72vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 80px 24px 60px !important;
  position: relative !important;
}
.hero h1 {
  color: #ffffff !important;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  max-width: 820px !important;
  margin: 0 auto 16px !important;
  font-family: Georgia, 'Times New Roman', serif !important;
}
.hero .hero-sub, .hero p:not(.hero-badge-text) {
  color: rgba(255,255,255,0.82) !important;
  font-size: 1.1rem !important;
  max-width: 580px !important;
  margin: 0 auto 32px !important;
}

/* Hero CTA buttons */
.be-hero-cta {
  display: inline-block;
  background: var(--be-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: var(--be-radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  margin: 4px 8px;
}
.be-hero-cta:hover { background: #09a0d4; transform: translateY(-1px); opacity: 1; }

/* ============================================================
   TRUST SIGNAL BAR
   ============================================================ */
.be-trust-bar {
  background: var(--be-navy);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.be-trust-bar span {
  display: inline-block;
  margin: 0 12px;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   FEATURES HIGHLIGHT (3-col)
   ============================================================ */
.be-features-section {
  background: #ffffff;
  padding: 64px 24px;
  border-bottom: 1px solid #e2e8f0;
}
.be-features-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.be-features-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--be-navy) !important;
  margin-bottom: 12px;
  font-family: Georgia, 'Times New Roman', serif !important;
}
.be-features-section .be-section-sub {
  color: var(--be-muted) !important;
  font-size: 1rem;
  margin-bottom: 48px;
  font-weight: 300;
}
.be-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.be-feature-card {
  background: var(--be-bg);
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.be-feature-card:hover { box-shadow: 0 8px 28px rgba(41,65,87,0.1); transform: translateY(-3px); }
.be-feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.be-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--be-navy) !important;
  margin-bottom: 10px;
}
.be-feature-card p {
  color: var(--be-muted) !important;
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   EXISTING CONTENT SECTIONS — light-mode override
   ============================================================ */
.section, section.section, div.section {
  background: var(--be-bg) !important;
  color: var(--be-text) !important;
}
.section h2 {
  color: var(--be-navy) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
}
.section h3 { color: var(--be-navy) !important; }
.section p, .section li { color: var(--be-muted) !important; }
.section-label { color: var(--be-blue) !important; }

.feature-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
}
.feature-card h3 { color: var(--be-navy) !important; }
.feature-card p { color: var(--be-muted) !important; }

.use-case {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
}
.use-case h3 { color: var(--be-navy) !important; }
.use-case p { color: var(--be-muted) !important; }

.trust-block {
  background: rgba(10,177,233,0.06) !important;
  border-left: 3px solid var(--be-blue) !important;
}
.trust-block p { color: var(--be-text) !important; }

/* FAQ details */
details {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
}
summary { color: var(--be-navy) !important; }
details p { color: var(--be-muted) !important; }

/* Existing buttons — restyle */
.btn-primary {
  background: var(--be-blue) !important;
  color: #ffffff !important;
  border-radius: var(--be-radius) !important;
  font-weight: 600 !important;
}
.btn-secondary {
  background: transparent !important;
  border: 2px solid var(--be-navy) !important;
  color: var(--be-navy) !important;
  border-radius: var(--be-radius) !important;
  font-weight: 600 !important;
}
.cta-block {
  background: var(--be-navy) !important;
  border-radius: 16px !important;
  padding: 48px !important;
  text-align: center !important;
}
.cta-block h2 { color: #ffffff !important; font-family: Georgia, serif !important; }
.cta-block p { color: rgba(255,255,255,0.82) !important; }

/* ============================================================
   BRAND CTA SECTION
   ============================================================ */
.be-cta-section {
  background: var(--be-navy);
  padding: 72px 24px;
  text-align: center;
  color: #ffffff;
}
.be-cta-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 14px;
  font-family: Georgia, 'Times New Roman', serif !important;
}
.be-cta-section p {
  color: rgba(255,255,255,0.8) !important;
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 300;
}
.be-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.be-btn-primary {
  background: var(--be-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--be-radius);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.be-btn-primary:hover { background: #09a0d4; opacity: 1; }
.be-btn-outline {
  background: transparent;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--be-radius);
  border: 2px solid rgba(255,255,255,0.45);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.be-btn-outline:hover { border-color: #ffffff; background: rgba(255,255,255,0.07); opacity: 1; }

/* App store badges */
.be-app-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.be-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.be-app-badge:hover { background: rgba(255,255,255,0.2); opacity: 1; }
.be-app-badge-icon { font-size: 1.3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.be-footer {
  background: var(--be-navy);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.be-footer p { margin-bottom: 10px; color: rgba(255,255,255,0.75) !important; }
.be-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.15s;
}
.be-footer a:hover { color: #ffffff; opacity: 1; }
.be-footer-links { margin-top: 10px; }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .be-features-grid { grid-template-columns: 1fr !important; }
  .be-cta-btns { flex-direction: column; align-items: center; }
  .be-app-badges { flex-direction: column; align-items: center; }
  .be-nav { padding: 0 16px; }
  .be-nav-demo { padding: 8px 16px; font-size: 0.85rem; }
  .hero { padding: 60px 20px 48px !important; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2.4rem) !important; }
  .be-cta-section { padding: 52px 20px; }
  .be-features-section { padding: 48px 20px; }
  .be-trust-bar { font-size: 0.78rem; }
  .be-trust-bar span { display: block; margin: 4px 0; }
}

/* Hide old nav and footer when brand elements are present */
body.be-upgraded .nav-wrap { display: none !important; }
body.be-upgraded footer:not(.be-footer) { display: none !important; }
