/**
 * Bio'lock — Landing Page Styles
 *
 * Scoped under `.bl-landing` to avoid conflicts with Astra / Elementor.
 *
 * @package Astra Child
 * @since   1.0.0
 */

/* ===== SCOPED RESET ===== */
.bl-landing *, .bl-landing *::before, .bl-landing *::after { margin: 0; padding: 0; box-sizing: border-box; }
.bl-landing { font-family: 'Lato', sans-serif; color: #364151; line-height: 1.7; width: 100%; }
.bl-landing img { max-width: 100%; height: auto; }
.bl-landing a { text-decoration: none; color: inherit; }

/* ===== DESIGN TOKENS ===== */
.bl-landing {
  --navy: #0E2B67;
  --navy-dark: #002C6B;
  --blue: #0067FF;
  --blue-hover: #0052CC;
  --mint: #72F5C4;
  --mint-soft: rgba(114, 245, 196, 0.15);
  --light-bg: #E7F6FF;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-200: #E2E8F0;
  --gray-500: #64748B;
  --gray-700: #364151;
  --gray-900: #0F172A;
  --section-padding: 80px 0;
  --bl-container: 1140px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 50px -12px rgba(14,43,103,0.25);
}

/* ===== CONTAINER ===== */
.bl-landing .bl-container { max-width: var(--bl-container); margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
.bl-landing .section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 12px;
}
.bl-landing .section-label.dark { color: var(--blue); }

.bl-landing h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  color: var(--white);
}

.bl-landing h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 20px;
}

.bl-landing h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.bl-landing h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.bl-landing p { margin-bottom: 16px; font-size: 17px; }
.bl-landing .lead { font-size: 19px; line-height: 1.8; color: var(--gray-500); }

/* SVG icons global */
.bl-landing .icon svg { stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ===== BUTTONS ===== */
.bl-landing .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bl-landing .btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.bl-landing .btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bl-landing .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.bl-landing .btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.bl-landing .btn-sm { padding: 12px 28px; font-size: 14px; }

/* ===== HERO ===== */
.bl-landing .bl-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3a7a 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.bl-landing .bl-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(114,245,196,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.bl-landing .bl-hero .bl-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.bl-landing .hero-content { max-width: 560px; }
.bl-landing .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(114, 245, 196, 0.12);
  border: 1px solid rgba(114, 245, 196, 0.3);
  color: var(--mint);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.bl-landing .bl-hero h1 { margin-bottom: 24px; }
.bl-landing .bl-hero h1 span { color: var(--mint); }
.bl-landing .hero-desc { font-size: 18px; line-height: 1.8; color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.bl-landing .hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; flex-direction: row; margin-bottom: 48px; }

/* Hero Visual — Animated shield */
.bl-landing .hero-visual { display: flex; justify-content: center; align-items: center; }
.bl-landing .shield-container { position: relative; width: 380px; height: 380px; }
.bl-landing .shield-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(114,245,196,0.15);
}
.bl-landing .shield-ring.r1 { width: 380px; height: 380px; animation: bl-pulse 4s ease-in-out infinite; }
.bl-landing .shield-ring.r2 { width: 300px; height: 300px; border-color: rgba(114,245,196,0.25); animation: bl-pulse 4s ease-in-out 1s infinite; }
.bl-landing .shield-ring.r3 { width: 220px; height: 220px; border-color: rgba(114,245,196,0.35); animation: bl-pulse 4s ease-in-out 2s infinite; }
@keyframes bl-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); }
}
.bl-landing .shield-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: rgba(114,245,196,0.1);
  border: 2px solid var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bl-landing .shield-center svg { width: 60px; height: 60px; stroke: var(--mint); stroke-width: 1.5; fill: none; }
.bl-landing .shield-label {
  position: absolute;
  background: rgba(14,43,103,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(114,245,196,0.2);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}
.bl-landing .shield-label .check { color: var(--mint); margin-right: 6px; }
.bl-landing .shield-label.l1 { top: 30px; right: 10px; }
.bl-landing .shield-label.l2 { bottom: 80px; right: 0; }
.bl-landing .shield-label.l3 { bottom: 30px; left: 10px; }
.bl-landing .shield-label.l4 { top: 80px; left: 0; }

/* ===== TRUST BAR ===== */
.bl-landing .bl-trust-bar { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.bl-landing .bl-trust-bar .bl-container { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.bl-landing .trust-item { text-align: center; }
.bl-landing .trust-number { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 36px; color: var(--navy); line-height: 1; }
.bl-landing .trust-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== PAIN POINTS ===== */
.bl-landing .bl-pain { padding: var(--section-padding); background: var(--gray-50); }
.bl-landing .bl-pain .bl-container { max-width: 900px; }
.bl-landing .pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.bl-landing .pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--mint);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.bl-landing .pain-card:hover { transform: translateY(-4px); }
.bl-landing .pain-card .icon { margin-bottom: 12px; }
.bl-landing .pain-card .icon svg { width: 28px; height: 28px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bl-landing .pain-card h3 { font-size: 16px; color: var(--gray-900); margin-bottom: 8px; }
.bl-landing .pain-card p { font-size: 15px; color: var(--gray-500); margin-bottom: 0; line-height: 1.6; }

/* ===== SOLUTION ===== */
.bl-landing .bl-solution { padding: var(--section-padding); background: var(--white); }
.bl-landing .bl-solution .bl-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bl-landing .solution-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
}
.bl-landing .solution-feature { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.bl-landing .solution-feature:last-child { border-bottom: none; }
.bl-landing .solution-feature .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(114,245,196,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bl-landing .solution-feature .icon svg { width: 22px; height: 22px; stroke: var(--mint); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bl-landing .solution-feature h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; color: var(--mint); margin-bottom: 4px; }
.bl-landing .solution-feature p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 0; line-height: 1.5; }

/* ===== DIFFERENTIATORS ===== */
.bl-landing .bl-differentiators { padding: var(--section-padding); background: var(--light-bg); }
.bl-landing .diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.bl-landing .diff-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border-top: 3px solid transparent;
  text-align: center;
}
.bl-landing .diff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-top-color: var(--blue); }
.bl-landing .diff-card .icon { margin-bottom: 16px; }
.bl-landing .diff-card .icon svg { width: 36px; height: 36px; stroke: var(--blue); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bl-landing .diff-card h3 { font-size: 16px; margin-bottom: 10px; }
.bl-landing .diff-card p { font-size: 14px; color: var(--gray-500); margin-bottom: 0; line-height: 1.6; }

/* ===== WORKFLOW ===== */
.bl-landing .bl-workflow { padding: var(--section-padding); background: var(--white); }
.bl-landing .workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.bl-landing .workflow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border-radius: 2px;
}
.bl-landing .step { text-align: center; position: relative; padding: 0 16px; }
.bl-landing .step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(14,43,103,0.3);
}
.bl-landing .step h3 { font-size: 16px; margin-bottom: 8px; }
.bl-landing .step p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 0; }

/* ===== USE CASES ===== */
.bl-landing .bl-use-cases { padding: var(--section-padding); background: var(--gray-50); }
.bl-landing .cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.bl-landing .case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
}
.bl-landing .case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bl-landing .case-card .icon { margin-bottom: 14px; }
.bl-landing .case-card .icon svg { width: 32px; height: 32px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bl-landing .case-card h3 { font-size: 15px; margin-bottom: 8px; }
.bl-landing .case-card p { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; line-height: 1.5; }
.bl-landing .case-card .product-tag {
  display: inline-block;
  background: var(--mint-soft);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

/* ===== SOCIAL PROOF ===== */
.bl-landing .bl-social-proof {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}
.bl-landing .testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px auto;
  max-width: 700px;
  text-align: center;
}
.bl-landing .testimonial-quote { font-size: 20px; font-style: italic; line-height: 1.7; color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.bl-landing .testimonial-author { color: var(--mint); font-weight: 700; font-size: 14px; }
.bl-landing .testimonial-role { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }
/* .client-logos / .client-logo-img — moved to ds-components.css (Level 2) */

/* ===== FAQ ===== */
.bl-landing .bl-faq { padding: var(--section-padding); background: var(--white); }
.bl-landing .faq-list { max-width: 800px; margin: 40px auto 0; }
.bl-landing .faq-item { border-bottom: 1px solid var(--gray-200); }
.bl-landing .faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.bl-landing .faq-question:hover { color: var(--blue); }
.bl-landing .faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--blue);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.bl-landing .faq-item.open .faq-question::after { content: '\2212'; }
.bl-landing .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.bl-landing .faq-item.open .faq-answer { max-height: 400px; padding-bottom: 24px; }
.bl-landing .faq-answer p { font-size: 15px; color: var(--gray-500); line-height: 1.7; }

/* ===== CTA FINAL ===== */
.bl-landing .bl-cta-final {
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3a7a 100%);
}
.bl-landing .bl-cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(114,245,196,0.05) 0%, transparent 60%);
  border-radius: 50%;
}
.bl-landing .bl-cta-final .bl-container { position: relative; z-index: 1; }
.bl-landing .bl-cta-final h2 { color: var(--white); margin-bottom: 16px; }
.bl-landing .bl-cta-final p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 36px; }
.bl-landing .bl-cta-final .hero-buttons { justify-content: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bl-landing .bl-hero .bl-container { grid-template-columns: 1fr; }
  .bl-landing .hero-visual { display: none; }
  .bl-landing .diff-grid { grid-template-columns: 1fr 1fr; }
  .bl-landing .cases-grid { grid-template-columns: 1fr 1fr; }
  .bl-landing .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .bl-landing .workflow-steps::before { display: none; }
  .bl-landing .bl-solution .bl-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .bl-landing .diff-grid,
  .bl-landing .cases-grid { grid-template-columns: 1fr; }
  .bl-landing .pain-grid { grid-template-columns: 1fr; }
  .bl-landing .workflow-steps { grid-template-columns: 1fr; }
  .bl-landing .bl-trust-bar .bl-container { gap: 32px; }
  .bl-landing .bl-hero { padding: 120px 0 60px; }
  .bl-landing .hero-buttons { flex-direction: column; }
  .bl-landing .btn { width: 100%; justify-content: center; }
}

/* ===== REDUCED MOTION (WCAG 2.1 AA — DS Personality 2, rule #195) ===== */
@media (prefers-reduced-motion: reduce) {
  .bl-landing *,
  .bl-landing *::before,
  .bl-landing *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bl-landing .shield-ring { animation: none !important; opacity: 0.6 !important; }
}
