:root {
  --sb-hero-bg: #f1611b; /* Orange background */
  --sb-hero-text: #ffffff; /* White text for contrast */
  --sb-hero-muted: rgba(255, 255, 255, 0.85); /* Light text for readability */
  --sb-hero-accent: #1a1a1a; /* Dark accent for buttons/eyebrow against orange */
  --sb-hero-accent-hover: #000000;
  --sb-hero-border: rgba(255, 255, 255, 0.2); /* Subtle white border */
  --sb-hero-card-bg: #ffffff;
  --sb-hero-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  --sb-hero-radius: 16px;
  --sb-hero-radius-sm: 8px;
  --sb-hero-font: 'Inter', 'Roboto', sans-serif;
}

/* Base Section */
.sb-hero-audit {
  background-color: var(--sb-hero-bg);
  padding: 180px 0 100px; /* Leave space for sticky header */
  position: relative;
  overflow: hidden;
  font-family: var(--sb-hero-font);
}

/* Background Soft Shapes */
.sb-hero-audit::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.sb-hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left Column */
.sb-hero-content {
  flex: 0 0 55%;
  max-width: 55%;
  padding-right: 48px;
}

.sb-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sb-hero-accent);
  margin-bottom: 24px;
  position: relative;
}

.sb-hero-title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--sb-hero-text);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.sb-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sb-hero-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

/* Form Area */
.sb-hero-form-area {
  margin-bottom: 24px;
}

.sb-audit-form {
  display: flex;
  gap: 12px;
  position: relative;
}

.sb-audit-input-wrap {
  flex: 1;
  position: relative;
}

.sb-audit-input {
  width: 100%;
  height: 56px;
  padding: 0 24px 0 48px; /* Extra left padding for icon */
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 16px;
  color: #1a1a1a; /* Dark text in input */
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--sb-hero-font);
}

.sb-audit-input:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.sb-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #a0a0a0;
  pointer-events: none;
}

.sb-audit-btn {
  height: 56px;
  padding: 0 32px;
  background-color: var(--sb-hero-accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sb-hero-font);
}

.sb-audit-btn:hover {
  background-color: var(--sb-hero-accent-hover);
  transform: translateY(-2px);
}

.sb-audit-btn:active {
  transform: translateY(0);
}

.sb-form-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 8px;
  display: none;
  margin-left: 24px;
}

/* Trust Notes & Positioning */
.sb-hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sb-hero-muted);
  margin-bottom: 24px;
}

.sb-hero-trust svg {
  width: 14px;
  height: 14px;
  fill: #ffffff; /* Make checkmarks white to contrast with orange */
}

.sb-hero-trust-separator {
  color: rgba(255, 255, 255, 0.4);
}

.sb-hero-secondary-cta {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--sb-hero-text);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.sb-hero-secondary-cta:hover {
  color: var(--sb-hero-accent);
}

.sb-hero-positioning {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  border-left: 3px solid rgba(255, 255, 255, 0.3);
  padding-left: 16px;
}


/* Right Column - Dashboard Visual */
.sb-hero-visual {
  flex: 0 0 45%;
  max-width: 45%;
  position: relative;
}

.sb-dashboard-mockup {
  background: var(--sb-hero-card-bg);
  border: 1px solid var(--sb-hero-border);
  border-radius: var(--sb-hero-radius);
  box-shadow: var(--sb-hero-shadow);
  padding: 32px;
  position: relative;
}

.sb-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sb-hero-border);
}

.sb-dashboard-label {
  font-size: 13px;
  font-weight: 700;
  color: #666666; /* Hardcode dark muted text */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sb-dashboard-dots {
  display: flex;
  gap: 6px;
}

.sb-dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
}

.sb-dashboard-dots span:nth-child(1) { background: #ff5f56; }
.sb-dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.sb-dashboard-dots span:nth-child(3) { background: #27c93f; }

/* Dashboard Cards Grid */
.sb-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sb-dash-card {
  background: #ffffff;
  border: 1px solid #eaeaea; /* Hardcode light border since global border is now transparent white */
  border-radius: var(--sb-hero-radius-sm);
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sb-dash-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a; /* Hardcode dark text for white cards */
  margin: 0;
}

.sb-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sb-status-dot.green { background: #28a745; }
.sb-status-dot.yellow { background: #ffc107; }

.sb-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.sb-progress-bar-fill {
  height: 100%;
  border-radius: 3px;
}
.sb-progress-bar-fill.high { background: #28a745; width: 85%; }
.sb-progress-bar-fill.medium { background: #ffc107; width: 55%; }
.sb-progress-bar-fill.low { background: #dc3545; width: 35%; }

.sb-dash-snippet {
  font-size: 11px;
  color: #666666; /* Hardcode dark muted text for white cards */
  margin: 0;
  background: #f9f9f9;
  padding: 6px 8px;
  border-radius: 4px;
}


/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .sb-dash-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .sb-dash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  
  .sb-progress-bar-fill {
    animation: sb-load-progress 1.5s cubic-bezier(0.1, 0.7, 0.1, 1) forwards;
    transform-origin: left;
  }
  
  @keyframes sb-load-progress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
  }
}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .sb-hero-title {
    font-size: 48px;
  }
}

@media (max-width: 992px) {
  .sb-hero-audit {
    padding: 140px 0 80px;
  }
  
  .sb-hero-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 48px;
    text-align: center;
  }
  
  .sb-hero-desc {
    max-width: 100%;
    margin: 0 auto 32px;
  }
  
  .sb-audit-form {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .sb-audit-btn {
    width: 100%;
  }
  
  .sb-hero-trust {
    justify-content: center;
  }
  
  .sb-hero-positioning {
    border-left: none;
    padding-left: 0;
    max-width: 600px;
    margin: 0 auto;
  }

  .sb-hero-visual {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .sb-hero-title {
    font-size: 36px;
  }
  
  .sb-dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .sb-hero-trust {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    line-height: 1.6;
  }
  .sb-hero-trust-separator {
    display: none;
  }
  .sb-hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
  }
}
