/* =============================================
   ABOUT PAGE — page-specific styles
   Shared reset, nav, buttons, footer → styles.css
   ============================================= */

/* ===== HERO ===== */
.about-hero {
  background: var(--gradient);
  padding: 96px 28px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

/* Badge row in hero */
.about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* Women Owned badge on about page — uses shared .hero-badge-women from styles.css */
.hero-badge-women {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255,255,255,0.38);
}

.about-hero-heading {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 16px 0 20px;
}

/* Founder note below subheading */
.about-hero-women-note {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 18px;
  font-style: italic;
  line-height: 1.6;
}

.about-hero-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HOW IT WORKS — STEPS ===== */
.steps-list {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 24px;
}

.step-number-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(224, 90, 43, 0.35);
}

.step-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin: 10px 0 0;
  min-height: 32px;
}

.step-body {
  padding-bottom: 48px;
}

.step:last-child .step-body {
  padding-bottom: 0;
}

.step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(224, 90, 43, 0.09);
  border: 1px solid rgba(224, 90, 43, 0.18);
  border-radius: 50px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.step-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.step-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== SPLIT LAYOUT (BCBA + PARENT sections) ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
  margin-top: 16px;
}

.split-layout-reverse {
  direction: rtl;
}

.split-layout-reverse > * {
  direction: ltr;
}

.split-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.split-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(224, 90, 43, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.split-checklist li div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.split-checklist strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

.split-checklist span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== BCBA DASHBOARD VISUAL ===== */
.dashboard-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}

.dc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.dc-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(224, 90, 43, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
}

.dc-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.dc-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-client-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dc-client-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  width: 68px;
  flex-shrink: 0;
}

.dc-bar-track {
  flex: 1;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
}

.dc-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
}

.dc-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.dc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.dc-link {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

/* ===== PARENT APP PHONE MOCKUP ===== */
.phone-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  max-width: 340px;
  margin: 0 auto;
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.phone-dot-green {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

.phone-behavior-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
}

.phone-behavior-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.phone-behavior-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.phone-behavior-strategy {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 3px;
}

.phone-behavior-badge {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
}

.phone-behavior-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.phone-btn {
  width: 100%;
  padding: 9px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.phone-log-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-log-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.phone-log-chips {
  display: flex;
  gap: 8px;
}

.phone-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.phone-chip-good {
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.2);
}

/* ===== HIPAA GRID ===== */
.hipaa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.hipaa-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hipaa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(224, 90, 43, 0.18);
}

.hipaa-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(224, 90, 43, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hipaa-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.hipaa-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== ABOUT CTA ===== */
.about-cta {
  text-align: center;
}

.btn-about-cta {
  padding: 15px 40px;
  font-size: 16px;
  border-radius: 50px;
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split-layout,
  .split-layout-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .split-layout-reverse > * {
    direction: ltr;
  }

  .hipaa-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 72px 20px 64px;
  }

  .about-hero-heading {
    letter-spacing: -1px;
  }

  .steps-list {
    padding: 0 4px;
  }

  .step-body h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .about-hero-sub {
    font-size: 17px;
  }

  .step {
    grid-template-columns: 40px 1fr;
    gap: 0 16px;
  }
}
