/* ============================================================
   Built to Automate — Landing Page Styles
   Palette: Rich Emerald/Teal (#0a8f87, #14a39a) + Gold/Amber (#f59e0b)
============================================================ */

:root {
  --bta-teal: #14a39a;
  --bta-teal-dark: #0a6f69;
  --bta-teal-glow: rgba(20, 163, 154, 0.35);
  --bta-gold: #f59e0b;
  --bta-gold-light: #fbbf24;
  --bta-dark: #070b0b;
  --bta-dark-card: #0f1615;
  --bta-card-border: rgba(20, 163, 154, 0.15);
  --bta-text-muted: #9aa8a6;
}

body.built-to-automate-page {
  background-color: var(--bta-dark);
  color: #e5eceb;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* Hero Section */
.bta-hero {
  position: relative;
  min-height: 85vh;
  padding: 110px 0 80px;
  background-color: var(--bta-dark);
  background-image: url('../img/built-to-automate-hero-bg.png');
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.bta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 11, 0.96) 0%, rgba(7, 11, 11, 0.85) 50%, rgba(7, 11, 11, 0.2) 100%);
  pointer-events: none;
}

.bta-hero .container {
  position: relative;
  z-index: 2;
}

.bta-hero-content {
  padding-top: 20px;
}

.bta-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bta-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  background: rgba(20, 163, 154, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(20, 163, 154, 0.25);
}

.bta-tagline .badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--bta-teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--bta-teal);
}

.bta-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.bta-highlight {
  color: var(--bta-teal);
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(45, 212, 191, 0.25);
}

.bta-subtitle {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.gold-text {
  color: var(--bta-gold);
  font-style: italic;
  font-weight: 600;
}

.bta-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.bta-divider .line {
  height: 2px;
  width: 45px;
  background: linear-gradient(90deg, var(--bta-teal), transparent);
}

.bta-divider .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--bta-gold);
}

.bta-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--bta-text-muted);
  max-width: 520px;
  margin-bottom: 35px;
}

.bta-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-bta-primary {
  background: linear-gradient(135deg, #14a39a, #0a6f69);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid rgba(45, 212, 191, 0.4);
  box-shadow: 0 8px 24px var(--bta-teal-glow);
  transition: all 0.3s ease;
}

.btn-bta-primary:hover {
  background: linear-gradient(135deg, #17b9af, #0d847c);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 163, 154, 0.55);
}

.btn-bta-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e5eceb;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.btn-bta-secondary:hover {
  background: rgba(20, 163, 154, 0.12);
  color: var(--bta-teal);
  border-color: var(--bta-teal);
}

.bta-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-chip {
  font-size: 13px;
  color: #8fa09d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-chip i {
  color: var(--bta-teal);
}

/* Quote Strip */
.bta-quote-strip {
  background: linear-gradient(180deg, #0b1111 0%, #0d1514 100%);
  padding: 65px 0;
  border-top: 1px solid rgba(20, 163, 154, 0.15);
  border-bottom: 1px solid rgba(20, 163, 154, 0.15);
  position: relative;
}

.quote-mark {
  font-size: 40px;
  color: var(--bta-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.bta-quote {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
  font-style: italic;
  max-width: 820px;
  margin: 0 auto 18px;
}

.quote-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--bta-teal);
  margin-bottom: 0;
}

.quote-author span {
  color: #7d8f8d;
  font-weight: 400;
}

/* Section Common Titles */
.bta-section-tag {
  color: var(--bta-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bta-section-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.bta-section-subtitle {
  color: var(--bta-text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto;
}

/* 4 Pillars */
.bta-pillars-section {
  padding: 85px 0;
}

.pillar-card {
  background: var(--bta-dark-card);
  border: 1px solid var(--bta-card-border);
  border-radius: 12px;
  padding: 34px 24px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bta-teal), transparent);
  opacity: 0;
  transition: 0.3s;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 163, 154, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: rgba(20, 163, 154, 0.1);
  border: 1px solid rgba(20, 163, 154, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--bta-teal);
  transition: 0.3s;
}

.pillar-card:hover .pillar-icon-box {
  background: var(--bta-teal);
  color: #fff;
  box-shadow: 0 0 20px var(--bta-teal-glow);
}

.pillar-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--bta-text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ASCEND Framework */
.bta-framework-section {
  padding: 85px 0;
  background: #0a100f;
  border-top: 1px solid #141c1b;
  border-bottom: 1px solid #141c1b;
}

.ascend-card {
  background: var(--bta-dark-card);
  border: 1px solid var(--bta-card-border);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
}

.ascend-card:hover {
  border-color: var(--bta-teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(20, 163, 154, 0.15);
}

.ascend-letter {
  font-family: 'Raleway', sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--bta-teal);
  margin-bottom: 14px;
  display: inline-block;
  background: linear-gradient(135deg, var(--bta-teal), var(--bta-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ascend-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.ascend-card p {
  color: var(--bta-text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Readers Section */
.bta-readers-section {
  padding: 90px 0;
}

.bta-desc-text {
  color: #b0bfbd;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.reader-box {
  display: flex;
  gap: 18px;
  background: var(--bta-dark-card);
  border: 1px solid var(--bta-card-border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 18px;
  transition: 0.3s;
}

.reader-box:hover {
  border-color: rgba(20, 163, 154, 0.4);
}

.reader-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: rgba(20, 163, 154, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--bta-teal);
}

.reader-box h5 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.reader-box p {
  font-size: 13.5px;
  color: var(--bta-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Maturity preview */
.maturity-preview-card {
  background: #0d1413;
  border: 1px solid rgba(20, 163, 154, 0.25);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.maturity-preview-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.maturity-level-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 3px solid #2a3836;
  font-size: 13.5px;
  color: #d1dedc;
}

.maturity-level-bar.highlight {
  background: rgba(20, 163, 154, 0.1);
  border-left-color: var(--bta-teal);
}

.level-badge {
  background: #1b2624;
  color: var(--bta-teal);
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 12px;
}

.maturity-level-bar.highlight .level-badge {
  background: var(--bta-teal);
  color: #070b0b;
}

/* Blueprints Section */
.bta-blueprints-section {
  padding: 85px 0;
  background: #090e0e;
}

.blueprint-card {
  background: var(--bta-dark-card);
  border: 1px solid var(--bta-card-border);
  border-radius: 12px;
  padding: 30px 24px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.blueprint-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 163, 154, 0.45);
}

.blueprint-number {
  font-family: 'Raleway', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: rgba(20, 163, 154, 0.4);
  margin-bottom: 12px;
}

.blueprint-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.blueprint-card p {
  font-size: 13.5px;
  color: var(--bta-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.blueprint-tools {
  font-size: 12px;
  color: var(--bta-teal);
  background: rgba(20, 163, 154, 0.08);
  padding: 7px 12px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid rgba(20, 163, 154, 0.15);
}

/* Context Strip */
.bta-context-strip {
  padding: 65px 0;
  background: linear-gradient(180deg, #0f1816 0%, #070b0b 100%);
  border-top: 1px solid rgba(20, 163, 154, 0.15);
  border-bottom: 1px solid rgba(20, 163, 154, 0.15);
}

.bta-context-strip h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: #ffffff;
}

/* Author Links */
.bta-author-link {
  color: var(--bta-teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: 0.2s;
}

.bta-author-link:hover {
  color: #2dd4bf;
  text-decoration: underline;
}

/* Final CTA */
.bta-cta-section {
  padding: 70px 0 90px;
}

.bta-cta-banner {
  background: linear-gradient(135deg, #0e1d1b 0%, #122926 100%);
  border: 1px solid rgba(20, 163, 154, 0.35);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bta-badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--bta-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .bta-hero {
    background-position: center top;
    padding: 90px 0 60px;
    text-align: center;
  }
  .bta-hero::before {
    background: rgba(7, 11, 11, 0.88);
  }
  .bta-desc {
    margin: 0 auto 30px;
  }
  .bta-hero-actions {
    justify-content: center;
  }
  .bta-meta-chips {
    justify-content: center;
  }
  .bta-divider {
    justify-content: center;
  }
  .bta-quote-strip {
    padding: 45px 0;
  }
  .bta-cta-banner {
    padding: 35px 25px;
  }
}
