/* V2.0 Upgrade: 8-Industry Matrix + Interactive Drying Load & Energy Estimator */

.industry-section {
  background: var(--paper-alt);
  color: var(--ink);
  padding-block: clamp(64px, 7vw, 108px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.industry-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.industry-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.15;
  margin: 8px 0 0;
  color: var(--ink);
}

.industry-heading p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1120px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.industry-card {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 12px 28px rgba(11, 13, 14, 0.08);
}

.industry-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.series-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: #f4f5f4;
  border: 1px solid #d9ddda;
  border-radius: 4px;
  padding: 3px 8px;
}

.maturity-badge {
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.maturity-badge.is-verified {
  background: rgba(213, 44, 37, 0.12);
  color: #b11f19;
}

.maturity-badge.is-focus {
  background: rgba(213, 44, 37, 0.18);
  color: #9e1a15;
}

.maturity-badge.is-expand {
  background: rgba(15, 118, 110, 0.12);
  color: #0f6b64;
}

.maturity-badge.is-adapt {
  background: rgba(180, 83, 9, 0.12);
  color: #9a4406;
}

.maturity-badge.is-rd {
  background: rgba(78, 86, 90, 0.14);
  color: #3e4549;
}

.industry-card h3 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}

.industry-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}

.industry-card__btn {
  align-self: flex-start;
  background: transparent;
  border: 0;
  padding: 4px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  transition: color 0.15s ease;
}

.industry-card__btn:hover {
  color: #9e1a15;
}

.industry-disclaimer {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* Drying Load & Energy Estimator */
.calc-section {
  background: var(--dark);
  color: #f5f5f2;
  padding-block: clamp(68px, 7.5vw, 112px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calc-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
  margin-bottom: 28px;
}

.calc-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.15;
  margin: 8px 0 0;
}

.calc-heading p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(245, 245, 242, 0.74);
  line-height: 1.7;
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.calc-preset-btn {
  background: var(--dark-elevated);
  color: rgba(245, 245, 242, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.calc-preset-btn:hover,
.calc-preset-btn.is-active {
  border-color: var(--red);
  background: rgba(213, 44, 37, 0.16);
  color: #ffffff;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 980px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }
}

.calc-panel {
  background: var(--dark-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 2.5vw, 30px);
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

@media (max-width: 580px) {
  .calc-inputs {
    grid-template-columns: 1fr;
  }
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field label {
  font-size: 13px;
  color: rgba(245, 245, 242, 0.78);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.calc-field label span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 245, 242, 0.5);
}

.calc-field input {
  width: 100%;
  background: #0b0d0e;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #ffffff;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 15px;
}

.calc-field input:focus {
  border-color: var(--red-hover);
}

.calc-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.calc-kpi {
  background: rgba(11, 13, 14, 0.75);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.calc-kpi__label {
  display: block;
  font-size: 12.5px;
  color: rgba(245, 245, 242, 0.65);
  margin-bottom: 6px;
}

.calc-kpi__val {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: #ffffff;
}

.calc-kpi__val em {
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: rgba(245, 245, 242, 0.65);
  margin-left: 4px;
}

.calc-scenarios {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 16px;
}

.calc-scenarios h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(245, 245, 242, 0.9);
}

.calc-scenario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
}

.calc-scenario-row span:first-child {
  color: rgba(245, 245, 242, 0.75);
}

.calc-scenario-row strong {
  font-family: var(--font-mono);
  color: #ff9c96;
}

.calc-feasibility {
  background: rgba(213, 44, 37, 0.1);
  border-left: 3px solid var(--red);
  padding: 12px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(245, 245, 242, 0.9);
  margin-bottom: 18px;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.calc-disclaimer {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(245, 245, 242, 0.56);
}
