/* =============================================
   SALARY PAGE STYLES
   ============================================= */

/* Hero */
.hero-section {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-section h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Calculator Layout */
.calc-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2rem;
  align-items: start;
}

.calc-inputs {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 5rem;
}

.calc-results {
  min-width: 0;
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

/* Input Styles (shared look) */
.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.input-prefix-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.input-prefix-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-prefix {
  padding: 0.65rem 0.75rem;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
}

.input-prefix-wrap input {
  flex: 1;
  border: none;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  min-width: 0;
}

.input-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.input-group select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

/* Result Banner */
.result-banner {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #22c55e 0%, #34d399 100%);
  color: #fff;
}

.banner-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.banner-amount {
  font-size: 2.4rem;
  font-weight: 800;
}

/* Metric Grid */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

/* Educational Content */
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.content-col h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.6rem;
}

.content-col p {
  color: var(--text-muted);
  line-height: 1.75;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  transition: background 0.2s;
}

.faq-item summary:hover {
  background: var(--border);
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  margin: 0.75rem 0 0;
  line-height: 1.75;
  color: var(--text-muted);
}

/* CTA */
.cta-block {
  text-align: center;
  padding: 2rem 0;
}

.cta-block h2 {
  margin-bottom: 0.75rem;
}

.cta-block p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ad Slots */
.ad-slot {
  max-width: 728px;
  margin: 1.5rem auto;
  text-align: center;
}

.ad-placeholder {
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 960px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .calc-inputs {
    position: static;
  }
}

@media (max-width: 768px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
