/*
Theme Name: askOSHA
Theme URI: https://askOSHA.app
Author: Pope's Brand Media
Author URI: https://popesbrandmedia.com
Description: A clean, high-trust WordPress theme for askOSHA, an AI-powered OSHA compliance chatbot for contractors and small businesses. Designed for use with AI Engine Pro.
Version: 1.9.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: osha-answers-ai
Tags: one-column, custom-colors, featured-images, full-width-template, theme-options
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a2332;
  background: #ffffff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1570c2; text-decoration: none; transition: color 0.2s; }
a:hover { color: #0a4a82; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo .logo-img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #0f5a9e;
}

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0f5a9e, #1570c2);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(15, 90, 158, 0.25);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #0a4a82, #0f5a9e);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 90, 158, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f1923;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ============================================
   HERO SECTION: High contrast, commanding
   ============================================ */
.hero {
  position: relative;
  padding: 180px 24px 120px;
  text-align: center;
  overflow: hidden;
  background: #0b1929;
  color: #fff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/wp-content/uploads/2026/04/Hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.60;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg,
    rgba(8, 20, 38, 0.55) 0%,
    rgba(15, 40, 75, 0.50) 50%,
    rgba(10, 25, 50, 0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #5eb8ff, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 19px;
  color: #ffffff;
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #1570c2, #1e8ae6);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(21, 112, 194, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f5a9e, #1570c2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21, 112, 194, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .check {
  color: #34d399;
  font-weight: 700;
}

/* ============================================
   CHATBOT SECTION
   ============================================ */
.chatbot-section {
  padding: 100px 24px;
  background: #ffffff;
}

.chatbot-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1570c2;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: #0f1923;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 17px;
  color: #4a5568;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.chatbot-wrapper {
  max-width: 840px;
  margin: 0 auto;
  background: #f7f9fc;
  border-radius: 20px;
  border: 1px solid #dde4ed;
  padding: 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

.chatbot-wrapper .chatbot-note {
  text-align: center;
  font-size: 13px;
  color: #718096;
  margin-top: 20px;
}

.chatbot-wrapper .chatbot-note a {
  font-weight: 600;
}

/* AI Engine chatbot style overrides */
.mwai-chatbot {
  border-radius: 14px !important;
  font-family: 'Inter', sans-serif !important;
  border: 1px solid #dde4ed !important;
  overflow: hidden !important;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
  color: #fff;
  background: #0b1929;
}

.hiw-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/wp-content/uploads/2026/04/safety-bg.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.50;
}

.hiw-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(8, 15, 28, 0.55) 0%,
    rgba(12, 30, 55, 0.50) 50%,
    rgba(8, 18, 35, 0.60) 100%);
}

.hiw-content {
  position: relative;
  z-index: 2;
}

.how-it-works .section-title {
  color: #fff;
}

.how-it-works .section-desc {
  color: #fff;
}

.how-it-works .section-label {
  color: #5eb8ff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.step-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  transition: all 0.25s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0f5a9e, #1e8ae6);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(15, 90, 158, 0.25);
}

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

.step-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
  padding: 100px 24px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.feature-card {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: #f7f9fc;
  border-radius: 14px;
  border: 1px solid #e8edf4;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: #b8ccdf;
  background: #f0f5fb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background: rgba(21, 112, 194, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f1923;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
}

/* ============================================
   PENALTY BAND: Dark with background image
   ============================================ */
.penalty-band {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #0b1929;
}

.penalty-band .band-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/wp-content/uploads/2026/04/construction-bg.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.55;
}

.penalty-band .band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(8, 15, 28, 0.50) 0%,
    rgba(12, 30, 55, 0.45) 50%,
    rgba(8, 18, 35, 0.55) 100%);
}

.penalty-band .band-content {
  position: relative;
  z-index: 2;
}

.penalty-band h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.penalty-band .band-desc {
  font-size: 18px;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.penalty-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.penalty-stat {
  min-width: 160px;
}

.penalty-stat .amount {
  font-size: 42px;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(245, 158, 11, 0.2);
}

.penalty-stat .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-top: 6px;
}

.btn-warning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section {
  padding: 100px 24px;
  background: #f5f8fc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 840px;
  margin: 52px auto 0;
}

.price-card {
  background: #fff;
  border-radius: 18px;
  padding: 44px 32px;
  border: 2px solid #e2e8f0;
  position: relative;
  transition: all 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.price-card.featured {
  border-color: #1570c2;
  box-shadow: 0 8px 32px rgba(21, 112, 194, 0.12);
}

.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0f5a9e, #1570c2);
  color: #fff;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(15, 90, 158, 0.3);
}

.price-card .plan-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #718096;
  margin-bottom: 10px;
}

.price-card .price {
  font-size: 52px;
  font-weight: 800;
  color: #0f1923;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.price-card .price span {
  font-size: 16px;
  font-weight: 500;
  color: #718096;
}

.price-card .plan-desc {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 28px;
  line-height: 1.5;
}

.price-card .plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-card .plan-features li {
  padding: 10px 0;
  font-size: 15px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f4f8;
}

.price-card .plan-features li:last-child {
  border-bottom: none;
}

.price-card .plan-features .check-icon {
  color: #22c55e;
  font-weight: 700;
  font-size: 16px;
}

.price-card .plan-features .lock-icon {
  color: #cbd5e0;
  font-size: 14px;
}

.plan-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.plan-btn-primary {
  background: linear-gradient(135deg, #0f5a9e, #1570c2);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 90, 158, 0.25);
}

.plan-btn-primary:hover {
  background: linear-gradient(135deg, #0a4a82, #0f5a9e);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 90, 158, 0.35);
}

.plan-btn-secondary {
  background: #f0f4f8;
  color: #1a2332;
  border: 1px solid #d1d9e0;
}

.plan-btn-secondary:hover {
  border-color: #1570c2;
  color: #1570c2;
}

/* ============================================
   CTA BAND: with background image
   ============================================ */
.cta-band {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
}

.cta-band .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f5a9e, #1570c2);
}

.cta-band .cta-content {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: #ffffff;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: #fff;
  color: #0f5a9e;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  color: #0a4a82;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 100px 24px;
  background: #fff;
}

.faq-list {
  max-width: 720px;
  margin: 52px auto 0;
}

.faq-item {
  border-bottom: 1px solid #edf2f7;
  padding: 22px 0;
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: #0f1923;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  font-family: inherit;
  line-height: 1.4;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: #1570c2;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-top: 14px;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #080f1a;
  color: #fff;
  padding: 72px 24px 36px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo-img {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom .disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  max-width: 560px;
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero h1 { font-size: 40px; }
  .section-title { font-size: 30px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .penalty-stats { gap: 32px; }
  .penalty-stat .amount { font-size: 34px; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .hero { padding: 140px 20px 80px; }
  .hero h1 { font-size: 34px; }
  .hero .subtitle { font-size: 16px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .penalty-band h2, .cta-band h2 { font-size: 28px; }
}
