/* ============================================================
   BM-THEME.CSS — Brand Messenger Design System
   Dark purple theme matching brand_home_redesign.html
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bm-bg:        #0d0b14;
  --bm-bg-alt:    #120f1e;
  --bm-surface:   #1a1628;
  --bm-border:    #2a2240;
  --bm-purple:    #7c3aed;
  --bm-purple-2:  #9d5cf6;
  --bm-pink:      #ec4899;
  --bm-white:     #ffffff;
  --bm-muted:     #a89bc2;
  --bm-label-col: #b57bee;
  --bm-radius:    14px;
  --bm-radius-lg: 20px;
  --bm-font-head: 'Plus Jakarta Sans', sans-serif;
  --bm-font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: #050409;
  color: var(--bm-white);
  font-family: var(--bm-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border-radius: var(--bm-radius); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bm-bg); }
::-webkit-scrollbar-thumb { background: var(--bm-purple); border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.bm-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  background: rgba(13, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bm-border);
}

.bm-logo {
  font-family: var(--bm-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--bm-white);
  letter-spacing: -0.3px;
}

.bm-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.bm-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--bm-muted);
  transition: color 0.2s;
}
.bm-nav-links a:hover { color: var(--bm-white); }

.bm-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--bm-purple);
  color: var(--bm-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
}
.bm-nav-cta:hover { background: var(--bm-purple-2); transform: translateY(-1px); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.bm-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.bm-section { position: relative; }
.bm-section-pad { padding: 100px 0; }
.bm-alt-bg { background: #2220211c; }

/* ============================================================
   PAGE HERO (inner page header)
   ============================================================ */
.bm-page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 32px 80px;
  overflow: hidden;
  background: var(--bm-bg);
}

.bm-page-hero h1 {
  font-family: var(--bm-font-head);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--bm-white);
}

.bm-page-hero p {
  font-size: 18px;
  color: var(--bm-muted);
  margin-bottom: 24px;
}

/* glow orbs */
.bm-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.bm-glow-a {
  width: 500px; height: 500px;
  background: rgba(124, 58, 237, 0.25);
  top: -100px; left: -100px;
}
.bm-glow-b {
  width: 400px; height: 400px;
  background: rgba(157, 92, 246, 0.18);
  top: 50px; right: 80px;
}
.bm-glow-c {
  width: 300px; height: 300px;
  background: rgba(236, 72, 153, 0.12);
  bottom: 0; left: 40%;
}

/* hero badge */
.bm-page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--bm-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bm-muted);
  margin-bottom: 28px;
  background: rgba(255,255,255,0.03);
}
.bm-page-hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bm-purple-2);
  box-shadow: 0 0 8px var(--bm-purple-2);
}

/* breadcrumb */
.bm-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--bm-muted);
  margin-top: 8px;
}
.bm-breadcrumb a { color: var(--bm-muted); }
.bm-breadcrumb a:hover { color: var(--bm-white); }
.bm-breadcrumb span {
  color: var(--bm-purple-2);
  font-weight: 500;
}
.bm-breadcrumb::before { content: ''; }
.bm-breadcrumb a::after { content: ' /'; margin-left: 10px; }

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.bm-gradient {
  background: linear-gradient(90deg, var(--bm-purple-2), var(--bm-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LABEL / EYEBROW
   ============================================================ */
.bm-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b95236;
  margin-bottom: 14px;
}

/* ============================================================
   HEADINGS
   ============================================================ */
.bm-h2 {
  font-family: var(--bm-font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--bm-white);
  margin-bottom: 20px;
}

/* ============================================================
   PARAGRAPH
   ============================================================ */
.bm-para {
  font-size: 15.5px;
  color: #ffffffc4;
  line-height: 1.75;
  max-width: 560px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.bm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bm-font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  padding: 13px 28px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.bm-btn-primary {
     background: #a4381b;
    color: #fff;
    border: 2px solid #791515;
}
.bm-btn-primary:hover {
 background: #dc7135;
    border-color: #ba623c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(237 104 58 / 35%);
}

.bm-btn-ghost {
  background: transparent;
  color: var(--bm-white);
  border: 2px solid var(--bm-border);
}
.bm-btn-ghost:hover {
  border-color: var(--bm-purple);
  color: var(--bm-purple-2);
}

/* ============================================================
   INTRO GRID (image + text side by side)
   ============================================================ */
.bm-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.bm-intro-grid.reverse {
  direction: rtl;
}
.bm-intro-grid.reverse > * {
  direction: ltr;
}

.bm-intro-img {
  border-radius: var(--bm-radius-lg);
  overflow: hidden;
  position: relative;
}
.bm-intro-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--bm-radius-lg);
  transition: transform 0.5s;
}
.bm-intro-img:hover img { transform: scale(1.03); }

/* ============================================================
   SERVICES GRID (cards)
   ============================================================ */
.bm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bm-card {
background: #554e4e24;
    border: 1px solid #1f1d1d;
    border-radius: var(--bm-radius-lg);
    padding: 32px 28px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;;
}
.bm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.bm-card:hover {
  border-color: #ed3a5f;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgb(237 58 68 / 18%);
}
.bm-card:hover::before { opacity: 1; }

.bm-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
  width: 52px; height: 52px;
  background: rgba(124,58,237,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-card-num {
  font-family: var(--bm-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c0373b;
  margin-bottom: 12px;
}

.bm-card h4 {
  font-family: var(--bm-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--bm-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.bm-card p {
  font-size: 14px;
  color: #fffdfd96;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bm-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #ffb83d;
  transition: color 0.2s, gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bm-card-link:hover { color: var(--bm-pink); }

/* ============================================================
   MANIFESTO / BELIEF SECTION
   ============================================================ */
.bm-manifesto {
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.18) 0%, transparent 70%),
              var(--bm-bg);
  text-align: center;
}
.bm-manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}
.bm-manifesto .bm-h2 { margin-bottom: 8px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.bm-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.25) 0%, rgba(13,11,20,1) 60%),
              var(--bm-bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bm-cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: rgba(124,58,237,0.2);
  border-radius: 50%;
  filter: blur(100px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.bm-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.bm-cta h2 {
  font-family: var(--bm-font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.bm-cta p {
  font-size: 16px;
  color: var(--bm-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.bm-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.bm-footer {
  background: #09070f;
  border-top: 1px solid var(--bm-border);
  padding: 72px 0 32px;
}
.bm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bm-border);
  margin-bottom: 32px;
}
.bm-footer-logo {
  font-family: var(--bm-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--bm-white);
  margin-bottom: 16px;
}
.bm-footer-brand p {
  font-size: 14px;
  color: var(--bm-muted);
  line-height: 1.7;
  max-width: 300px;
}
.bm-footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bm-white);
  margin-bottom: 20px;
}
.bm-footer-col ul { list-style: none; }
.bm-footer-col ul li { margin-bottom: 10px; }
.bm-footer-col ul a {
  font-size: 14px;
  color: var(--bm-muted);
  transition: color 0.2s;
}
.bm-footer-col ul a:hover { color: var(--bm-purple-2); }
.bm-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bm-footer-bottom p {
  font-size: 13px;
  color: var(--bm-muted);
}
.bm-footer-bottom a {
  color: var(--bm-purple-2);
}
.bm-footer-bottom a:hover { color: var(--bm-pink); }

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.bm-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.bm-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bm-services-grid { grid-template-columns: repeat(2, 1fr); }
  .bm-intro-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .bm-nav { padding: 0 20px; }
  .bm-nav-links { display: none; }

  .bm-page-hero { padding: 120px 20px 60px; }
  .bm-page-hero h1 { font-size: 36px; }

  .bm-section-pad { padding: 64px 0; }
  .bm-container { padding: 0 20px; }

  .bm-intro-grid,
  .bm-intro-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .bm-intro-img img { height: 260px; }

  .bm-services-grid { grid-template-columns: 1fr; }

  .bm-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .bm-footer-bottom { flex-direction: column; text-align: center; }

  .bm-cta-actions { flex-direction: column; align-items: stretch; }
  .bm-btn { justify-content: center; }
}

@media (max-width: 480px) {
  .bm-page-hero h1 { font-size: 30px; letter-spacing: -0.5px; }
  .bm-h2 { font-size: 26px; }
}
