/* Features Page Specific Styles */

/* Hero Section */
.feature-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background-color: var(--white);
}

.feature-hero-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.breadcrumb {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: var(--muted);
}

.feature-hero-content h1 {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  margin-bottom: 24px;
}

.trust-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mid);
}

/* How It Works (Steps) */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy);
}

.steps-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.step-line {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border);
  z-index: 0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.step-card {
  background-color: var(--white);
  padding: 0 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 4px solid var(--white);
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}

.step-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
}

/* The Tone System */
.tone-system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tone-system-content h2 {
  font-family: var(--font-display);
  font-size: 40px;
  margin-bottom: 24px;
}

.tone-system-content p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.tone-bars-container {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
}

.tone-metric {
  margin-bottom: 24px;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.metric-name {
  color: rgba(255, 255, 255, 0.85);
}

.metric-value {
  color: var(--white);
  font-weight: 500;
}

.metric-bar-bg {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.16, 1, 0.32, 1);
}

.fill-red { background: linear-gradient(90deg, #B45309, #991B1B); }
.fill-amber { background: linear-gradient(90deg, #2E7D32, #B45309); }
.fill-green { background-color: #2E7D32; }

.composite-result {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.composite-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.composite-status {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
}

.status-amber {
  color: #F59E0B; /* Amber text */
}

/* Score Thresholds */
.threshold-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.threshold-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
}

.threshold-indicator {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.indicator-green { background-color: #E8F5E9; color: #2E7D32; }
.indicator-amber { background-color: #FFF8E1; color: #B45309; }
.indicator-red { background-color: #FFEBEE; color: #991B1B; }
.indicator-blocked { background-color: #ECEFF1; color: #37474F; }

.threshold-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
}

.threshold-card strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* The Rewrite Engine */
.rewrite-engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rewrite-content h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy);
  margin-bottom: 24px;
}

.rewrite-content p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 32px;
}

.constraint-callout {
  border-left: 3px solid var(--blue);
  padding: 16px 24px;
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Feature Detail Cards */
.feature-detail-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  height: 100%;
}

.pro-badge {
  display: inline-block;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.feature-detail-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 16px;
}

.feature-detail-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--mid);
  line-height: 1.6;
}

.text-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

/* Single Quote Panel */
.single-quote-panel {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 40px 0;
}

.single-quote-panel .quote-mark {
  left: 50%;
  transform: translateX(-50%);
  top: -20px;
}

/* Responsive */
@media (max-width: 992px) {
  .tone-system-grid,
  .rewrite-engine-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .threshold-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-hero h1 {
    font-size: 40px;
  }
  
  .step-line {
    display: none;
  }
  
  .step-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .step-card {
    padding: 0;
  }
  
  .threshold-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-detail-card {
    padding: 32px 24px;
  }
}
