/* ==========================================================================
   bml-pages.css — styles for the NEW About / Contact / Pricing pages.
   Everything is scoped under `.bml2` so it never clashes with the shared
   header, footer or the pill `.btn-primary` defined in partials/base.html.
   Primary CTAs deliberately reuse the GLOBAL `.btn-primary` (the curved pill
   from the homepage) so every button matches the homepage — requirement:
   "the Get Started button curve ... I want it across all the pages".
   ========================================================================== */
.bml2 { --navy:#1e1b4b; --navy-2:#2d2a6e; --blue:#1d4ed8; --accent:#1d4ed8;
  --bg-light:#f0f4ff; --bg-section:#f8f9ff; --text-dark:#1a1a2e; --text-mid:#4b5280;
  --text-light:#6b7280; --border:#e2e8f0; --radius:14px; --shadow:0 2px 16px rgba(30,27,75,.08);
  color:var(--text-dark); }

.bml2 section{ padding:5rem 5%; }

/* light-background outline button — pill to match the global primary */
.bml2 .btn-line{ display:inline-flex; align-items:center; justify-content:center;
  padding:.7rem 1.6rem; border-radius:999px; border:2px solid var(--blue);
  color:var(--blue); font-weight:700; font-size:.95rem; text-decoration:none;
  transition:all .2s ease; background:transparent; cursor:pointer; }
.bml2 .btn-line:hover{ background:var(--blue); color:#fff; }

/* HERO (two column) */
.bml2 .hero2{ background:var(--bg-light); padding:4.5rem 5%; display:grid;
  grid-template-columns:1fr 1fr; gap:3rem; align-items:center; border-radius:0; }
.bml2 .hero-badge{ display:inline-block; background:#fff; border:1px solid var(--border);
  border-radius:999px; padding:.25rem .9rem; font-size:.78rem; font-weight:700;
  color:var(--navy); margin-bottom:1rem; letter-spacing:.04em; }
.bml2 .hero2 h1{ font-size:clamp(2rem,4vw,3rem); font-weight:800; line-height:1.15;
  color:var(--text-dark); margin-bottom:1rem; }
.bml2 .hero2 h1 span{ color:var(--blue); }
.bml2 .hero2 p{ color:var(--text-mid); font-size:1.02rem; margin-bottom:1.4rem; max-width:480px; }
.bml2 .hero-features{ display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; margin-bottom:1.6rem; }
.bml2 .hero-features span{ font-size:.85rem; color:var(--text-mid); display:flex; align-items:center; gap:.35rem; }
.bml2 .hero-features span::before{ content:"⚡"; font-size:.8rem; }
.bml2 .hero-cta{ display:flex; gap:1rem; flex-wrap:wrap; }
.bml2 .hero-img{ border-radius:var(--radius); background:linear-gradient(135deg,#e0e7ff,#c7d2fe);
  display:flex; flex-direction:column; align-items:center; padding:1.5rem; box-shadow:var(--shadow); }
.bml2 .hero-img-label{ font-size:.85rem; font-weight:600; color:var(--text-mid); margin-bottom:1rem; }
.bml2 .mock-browser{ background:#fff; border-radius:8px; width:100%; padding:1rem; box-shadow:0 4px 24px rgba(30,27,75,.12); }
.bml2 .mock-bar{ height:8px; background:#e2e8f0; border-radius:4px; margin-bottom:.75rem; }
.bml2 .mock-content{ display:grid; grid-template-columns:2fr 1fr; gap:.5rem; }
.bml2 .mock-block{ background:var(--bg-light); border-radius:4px; height:60px; }
.bml2 .mock-block.tall{ height:100px; }
.bml2 .hero-img-logo{ margin-top:1rem; font-weight:800; color:var(--navy); }

/* SECTION TYPOGRAPHY */
.bml2 .section-label{ display:inline-block; background:#ede9fe; color:var(--accent);
  font-size:.78rem; font-weight:700; letter-spacing:.06em; padding:.2rem .8rem; border-radius:999px; margin-bottom:.75rem; }
.bml2 .section-title{ font-size:clamp(1.6rem,3vw,2.3rem); font-weight:800; color:var(--text-dark);
  line-height:1.2; text-align:left; margin:0; }
.bml2 .section-title span{ color:var(--blue); }
.bml2 .section-sub{ color:var(--text-mid); font-size:1rem; margin-top:.75rem; max-width:580px; line-height:1.7; }
.bml2 .section-center{ text-align:center; }
.bml2 .section-center .section-title{ text-align:center; }
.bml2 .section-center .section-sub{ margin:.75rem auto 0; }
.bml2 .bg-grey{ background:var(--bg-section); }

/* two col */
.bml2 .two-col{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }

/* cards */
.bml2 .cards-grid{ display:grid; gap:1.25rem; margin-top:2.5rem; }
.bml2 .cards-grid.col-5{ grid-template-columns:repeat(5,1fr); }
.bml2 .cards-grid.col-4{ grid-template-columns:repeat(4,1fr); }
.bml2 .cards-grid.col-3{ grid-template-columns:repeat(3,1fr); }
.bml2 .card2{ background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:1.5rem; text-align:center; box-shadow:var(--shadow); }
.bml2 .card-icon{ width:48px; height:48px; background:var(--bg-light); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; font-size:1.3rem; }
.bml2 .card2 h3{ font-size:1rem; font-weight:700; color:var(--text-dark); margin-bottom:.5rem; }
.bml2 .card2 p{ font-size:.85rem; color:var(--text-light); }

/* device mock */
.bml2 .device-wrap{ background:linear-gradient(135deg,#4f46e5,#7c3aed); border-radius:var(--radius);
  padding:2rem; display:flex; align-items:center; justify-content:center; }
.bml2 .device-inner{ background:#fff; border-radius:8px; width:100%; padding:.75rem; display:grid; gap:.4rem; }
.bml2 .device-row{ background:var(--bg-light); border-radius:4px; height:28px; }
.bml2 .device-row.wide{ height:60px; }

/* built to grow */
.bml2 .grow-section{ display:grid; grid-template-columns:1fr 1.4fr; gap:4rem; align-items:center; }
.bml2 .grow-img-placeholder{ background:linear-gradient(135deg,#f59e0b,#f97316); border-radius:var(--radius);
  height:280px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:1.5rem; }
.bml2 .grow-img-placeholder span{ font-size:.9rem; font-weight:400; margin-top:.25rem; }

/* CTA strip */
.bml2 .cta-strip{ background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:#fff;
  text-align:center; padding:4rem 5%; }
.bml2 .cta-strip h2{ font-size:1.7rem; font-weight:800; margin-bottom:.5rem; }
.bml2 .cta-strip p{ color:#c7d2fe; margin-bottom:2rem; }
.bml2 .cta-btns{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.bml2 .cta-strip .btn-line{ border-color:#fff; color:#fff; }
.bml2 .cta-strip .btn-line:hover{ background:#fff; color:var(--navy); }

/* PRICING */
.bml2 .plans-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2.5rem; }
.bml2 .plan-card{ background:#fff; border:1.5px solid var(--border); border-radius:var(--radius);
  padding:2rem; position:relative; box-shadow:var(--shadow); transition:transform .2s; display:flex; flex-direction:column; }
.bml2 .plan-card:hover{ transform:translateY(-4px); }
.bml2 .plan-card.popular{ border-color:var(--blue); }
.bml2 .popular-badge{ position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--blue); color:#fff; font-size:.75rem; font-weight:700; padding:.25rem 1rem; border-radius:999px; white-space:nowrap; }
.bml2 .plan-icon,.bml2 .service-icon{ width:40px; height:40px; background:var(--bg-light); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:1rem; }
.bml2 .plan-name,.bml2 .service-name{ font-size:1.1rem; font-weight:700; color:var(--text-dark); margin-bottom:.75rem; }
/* ADD these after your existing .bml2 .plan-name rule */
.bml2 .plan-card .plan-name { color: var(--navy); }
.bml2 .plan-card .plan-price { color: var(--text-dark); font-size: 2.4rem; }
.bml2 .plan-card .plan-price sup { color: var(--text-dark); }
.bml2 .plan-card .plan-features li { color: var(--text-mid); }

/* Icon row — make icon + name sit side by side like the design */
.bml2 .plan-card .plan-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.bml2 .plan-card .plan-icon { margin-bottom: 0; }
.bml2 .plan-card .plan-name { margin-bottom: 0; font-size: 1.2rem; }
.bml2 .plan-price,.bml2 .service-price{ font-size:2rem; font-weight:800; color:var(--text-dark); }
.bml2 .plan-price sup{ font-size:1.1rem; font-weight:700; vertical-align:super; }
.bml2 .plan-price sub,.bml2 .service-price sub{ font-size:.85rem; font-weight:400; color:var(--text-light); }
.bml2 .plan-features,.bml2 .service-features{ list-style:none; margin:1.5rem 0; display:flex; flex-direction:column; gap:.6rem; padding:0; }
.bml2 .plan-features li,.bml2 .service-features li{ font-size:.9rem; color:var(--text-mid); display:flex; align-items:center; gap:.5rem; }
.bml2 .plan-features li::before,.bml2 .service-features li::before{ content:"⚡"; color:var(--blue); font-size:.8rem; }
.bml2 .plan-btn{ width:100%; text-align:center; margin-top:auto; }
.bml2 .trust-bar{ display:flex; justify-content:center; gap:3rem; flex-wrap:wrap; margin-top:2.5rem;
  padding:1.5rem; background:#fff; border-radius:var(--radius); border:1px solid var(--border); }
.bml2 .trust-item{ display:flex; align-items:center; gap:.5rem; font-size:.85rem; color:var(--text-mid); font-weight:500; }
/* Override services-grid to match plans-grid exactly */
/* REPLACE both .services-grid blocks with this single rule */
.bml2 .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  /* centres cards when there are fewer than 3 */
  justify-content: center;
}

/* 1 card only — cap its width so it doesn't stretch full page */
.bml2 .services-grid:has(.plan-card:only-child) {
  grid-template-columns: minmax(280px, 460px);
  justify-content: center;
}

/* 2 cards — stop them stretching too wide */
@media (min-width: 900px) {
  .bml2 .services-grid:has(.plan-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .bml2 .services-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}
/* plan-btn spacing */
.bml2 .plan-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: .7rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.bml2 .btn-primary.plan-btn {
  background: var(--blue);
  color: #fff;
  border: none;
}

.bml2 .btn-outline.plan-btn {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.bml2 .btn-outline.plan-btn:hover {
  background: var(--blue);
  color: #fff;
}

@media (max-width: 900px) {
  .bml2 .services-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}
.bml2 .service-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:2rem; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.bml2 .service-card .btn-primary,.bml2 .service-card .btn-line{ margin-top:auto; }
.bml2 .service-card .service-icon{ font-size:1.8rem; }
.bml2 .service-card .service-name{ font-size:1.15rem; font-weight:800; color:var(--navy); margin:.5rem 0 .25rem; }
.bml2 .service-card .service-price{ font-size:1.4rem; font-weight:800; color:var(--blue); margin-bottom:.75rem; }
.bml2 .service-card .service-features{ list-style:none; padding:0; margin:0 0 1.25rem; display:flex; flex-direction:column; gap:.4rem; }
.bml2 .service-card .service-features li{ font-size:.85rem; color:var(--text-mid); padding-left:1.25rem; position:relative; line-height:1.5; }
.bml2 .service-card .service-features li::before{ content:"✓"; position:absolute; left:0; color:var(--teal,#10b981); font-weight:800; }

/* HOW IT WORKS (steps) */
.bml2 .steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:2.5rem; }
.bml2 .step-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:2rem; box-shadow:var(--shadow); }
.bml2 .step-card h3{ font-size:1.1rem; font-weight:800; color:var(--navy); margin:1rem 0 .5rem; }
.bml2 .step-card p{ font-size:.88rem; color:var(--text-mid); line-height:1.6; }
.bml2 .step-num{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-weight:800; color:#fff; background:linear-gradient(135deg,var(--blue),var(--teal,#10b981)); }

/* CONTACT */
.bml2 .contact-page-wrap{ padding:4rem 5%; }
.bml2 .contact-wrap{ display:grid; grid-template-columns:1fr 2fr; border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.bml2 .contact-info{ background:var(--navy); color:#fff; padding:2.5rem 2rem; }
.bml2 .contact-info h2{ font-size:1.6rem; font-weight:800; margin-bottom:.75rem; }
.bml2 .contact-info .sub{ color:#c7d2fe; font-size:.9rem; margin-bottom:2rem; }
.bml2 .info-block{ margin-bottom:1.5rem; }
.bml2 .info-block strong{ font-size:.85rem; font-weight:700; display:block; margin-bottom:.4rem; color:#e0e7ff; }
.bml2 .info-block p,.bml2 .info-block a{ font-size:.88rem; color:#c7d2fe; text-decoration:none; display:block; }
.bml2 .social-icons{ display:flex; gap:.75rem; margin-top:.5rem; }
.bml2 .social-icons a{ width:34px; height:34px; background:rgba(255,255,255,.12); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; }
.bml2 .social-icons a:hover{ background:rgba(255,255,255,.25); }
.bml2 .contact-form-wrap{ padding:2.5rem; background:#fff; }
.bml2 .contact-form-wrap h3{ font-size:1.5rem; font-weight:800; text-align:center; color:var(--navy); margin-bottom:.4rem; }
.bml2 .contact-form-wrap .form-sub{ text-align:center; color:var(--text-light); font-size:.9rem; margin-bottom:2rem; }
.bml2 .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:1rem; }
.bml2 .form-group{ margin-bottom:1rem; }
.bml2 .form-group input,.bml2 .form-group textarea{ width:100%; padding:.85rem 1rem; background:var(--bg-light);
  border:1px solid transparent; border-radius:10px; font-size:.9rem; color:var(--text-dark);
  font-family:inherit; resize:vertical; outline:none; transition:border-color .2s; }
.bml2 .form-group input:focus,.bml2 .form-group textarea:focus{ border-color:var(--blue); background:#fff; }
.bml2 .form-group textarea{ min-height:120px; }
.bml2 .btn-submit{ width:100%; padding:.9rem; border-radius:999px; }

/* CART PAGE */
.bml2 .cart-page{ padding:4rem 5%; }
.bml2 .cart-layout{ display:grid; grid-template-columns:1fr 360px; gap:2rem; align-items:start; max-width:1080px; margin:0 auto; }
.bml2 .cart-items{ display:flex; flex-direction:column; gap:1rem; }
.bml2 .cart-row{ background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:1.25rem 1.5rem; display:grid; grid-template-columns:1fr auto auto auto; gap:1rem; align-items:center; box-shadow:var(--shadow); }
.bml2 .cart-row-name{ font-weight:700; color:var(--navy); }
.bml2 .cart-row-note{ font-size:.8rem; color:var(--text-mid); margin-top:.35rem; line-height:1.5; }
.bml2 .cart-row-qty{ color:var(--text-light); font-size:.9rem; }
.bml2 .cart-row-price{ font-weight:800; color:var(--blue); }
.bml2 .cart-row-remove{ border:none; background:var(--bg-light); color:var(--text-mid); width:30px; height:30px;
  border-radius:50%; cursor:pointer; font-size:.8rem; }
.bml2 .cart-row-remove:hover{ background:#fee2e2; color:#dc2626; }
.bml2 .cart-empty{ text-align:center; padding:3rem 1rem; background:#fff; border:1px solid var(--border); border-radius:var(--radius); }
.bml2 .cart-empty-icon{ font-size:2.5rem; }
.bml2 .cart-empty h3{ font-size:1.3rem; font-weight:800; color:var(--navy); margin:.75rem 0 .35rem; }
.bml2 .cart-empty p{ color:var(--text-mid); margin-bottom:1.5rem; }
.bml2 .cart-summary{ background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:1.75rem; box-shadow:var(--shadow); position:sticky; top:1.5rem; }
.bml2 .cart-summary h3{ font-size:1.2rem; font-weight:800; color:var(--navy); margin-bottom:1rem; }
.bml2 .summary-row{ display:flex; justify-content:space-between; font-size:.9rem; color:var(--text-mid); margin-bottom:.6rem; }
.bml2 .summary-row.total{ font-size:1.1rem; font-weight:800; color:var(--navy); border-top:1px solid var(--border); padding-top:.75rem; margin-top:.25rem; }
.bml2 .summary-fine{ font-size:.75rem; color:var(--text-light); line-height:1.5; margin:.75rem 0 1.25rem; }
.bml2 .gateway-choice{ display:flex; flex-direction:column; gap:.6rem; margin:1rem 0; }
.bml2 .gateway-opt{ display:flex; align-items:center; gap:.6rem; padding:.75rem 1rem; border:1px solid var(--border);
  border-radius:10px; cursor:pointer; font-size:.9rem; font-weight:600; color:var(--navy); }
.bml2 .gateway-opt:has(input:checked){ border-color:var(--blue); background:#eef2ff; }
.bml2 .gateway-none{ font-size:.8rem; color:#b45309; background:#fffbeb; border:1px solid #fde68a; border-radius:8px; padding:.75rem; }
.bml2 .btn-checkout{ width:100%; padding:.9rem; border-radius:999px; }
.bml2 .btn-checkout:disabled{ opacity:.55; cursor:not-allowed; }
.bml2 .checkout-err{ color:#dc2626; font-size:.8rem; margin-top:.6rem; min-height:1rem; }
.bml2 .keep-shopping{ display:block; text-align:center; margin-top:1rem; font-size:.85rem; color:var(--blue); text-decoration:none; }

/* SUCCESS PAGE */
.bml2 .success-page{ padding:5rem 5%; display:flex; justify-content:center; }
.bml2 .success-card{ max-width:560px; text-align:center; background:#fff; border:1px solid var(--border);
  border-radius:var(--radius); padding:3rem 2.5rem; box-shadow:var(--shadow); }
.bml2 .success-card.warn{ border-color:#fde68a; background:#fffbeb; }
.bml2 .success-icon{ font-size:3rem; }
.bml2 .success-card h1{ font-size:1.7rem; font-weight:800; color:var(--navy); margin:1rem 0 .75rem; }
.bml2 .success-card p{ color:var(--text-mid); line-height:1.7; margin-bottom:1rem; }
.bml2 .success-next{ font-size:.9rem; }
.bml2 .success-actions{ display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin-top:1.5rem; }

/* RESPONSIVE (#mobile responsiveness) */
@media (max-width:900px){
  .bml2 .hero2{ grid-template-columns:1fr; text-align:center; padding:3rem 5%; }
  .bml2 .hero-features{ justify-content:center; }
  .bml2 .hero2 p{ margin-inline:auto; }
  .bml2 .hero-cta{ justify-content:center; }
  .bml2 .hero-img{ max-width:460px; margin:0 auto; }
  .bml2 .two-col{ grid-template-columns:1fr; }
  .bml2 .cards-grid.col-5,.bml2 .cards-grid.col-4{ grid-template-columns:repeat(2,1fr); }
  .bml2 .plans-grid,.bml2 .services-grid{ grid-template-columns:1fr; max-width:440px; margin-inline:auto; }
  .bml2 .steps-grid{ grid-template-columns:1fr; max-width:440px; margin-inline:auto; }
  .bml2 .contact-wrap{ grid-template-columns:1fr; }
  .bml2 .grow-section{ grid-template-columns:1fr; }
  .bml2 .trust-bar{ gap:1.5rem; }
  .bml2 .cart-layout{ grid-template-columns:1fr; }
  .bml2 .cart-summary{ position:static; }
}
@media (max-width:600px){
  .bml2 section{ padding:3rem 1.2rem; }
  .bml2 .hero2{ padding:2.5rem 1.2rem; }
  .bml2 .cards-grid.col-5,.bml2 .cards-grid.col-4,.bml2 .cards-grid.col-3{ grid-template-columns:1fr; }
  .bml2 .form-row{ grid-template-columns:1fr; }
  .bml2 .cta-btns{ flex-direction:column; align-items:center; }
  .bml2 .contact-page-wrap{ padding:2rem 1.2rem; }
}


/* HERO — real image variant (replaces mock browser) */
.bml2 .hero-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  min-height: 320px;
  max-height: 420px;
}

.bml2 .hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  /* Remove the old gradient background the mock used */
  background: none;
  padding: 0;
  display: block;
}

/* SERVICES GRID (used by {% for section %} loop on pricing page) */
.bml2 .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* TRUST BAR */
.bml2 .trust-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.bml2 .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* Responsive: services grid collapses like plans-grid */
@media (max-width: 900px) {
  .bml2 .services-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}