/* Simwide Heat identity override
   Load this AFTER ecosystem.css and heat.css.
   It keeps the Ecosystem layout grammar but changes the visual identity.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --green: #ff5a3c;
  --green-mid: #ff765f;
  --green-light: rgba(255, 90, 60, 0.10);
  --green-accent: #3ddc97;
  --green-rgb: 255, 90, 60;

  --brick: #ffb800;
  --brick-light: rgba(255, 184, 0, 0.12);
  --gold: #ffb800;

  --ink: #e6edf3;
  --ink-mid: #b7c2cc;
  --ink-soft: #8b98a5;

  --paper: #0b0f14;
  --paper-warm: #101720;
  --surface: #121821;
  --rule: rgba(230, 237, 243, 0.10);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --shadow-card: 0 14px 42px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 16px 48px rgba(255, 90, 60, 0.22);

  --nav-bg: rgba(11, 15, 20, 0.86);
  --nav-text: #b7c2cc;
}

[data-theme="light"] {
  --ink: #14191f;
  --ink-mid: #3d4852;
  --ink-soft: #667482;
  --paper: #f5f2ed;
  --paper-warm: #ebe6dd;
  --surface: #ffffff;
  --rule: rgba(20, 25, 31, 0.12);
  --nav-bg: rgba(245, 242, 237, 0.88);
  --nav-text: #3d4852;
}

[data-theme="dark"] {
  --ink: #e6edf3;
  --ink-mid: #b7c2cc;
  --ink-soft: #8b98a5;
  --paper: #0b0f14;
  --paper-warm: #101720;
  --surface: #121821;
  --rule: rgba(230, 237, 243, 0.10);
  --green-light: rgba(255, 90, 60, 0.11);
  --brick-light: rgba(255, 184, 0, 0.12);
  --nav-bg: rgba(11, 15, 20, 0.86);
  --nav-text: #b7c2cc;
}

/* Simwide Heat additions over Ecosystem visual system */
:root {
  --heat-amber: #d28a23;
  --heat-amber-soft: #f8e8cf;
}

[data-theme="dark"] {
  --heat-amber-soft: rgba(210, 138, 35, .16);
}

.heat-logo .heat-mark,
.heat-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brick), var(--heat-amber));
  box-shadow: 0 8px 22px rgba(139, 58, 42, .18);
}

.lang-select {
  border: 1.5px solid var(--rule);
  border-radius: 100px;
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .34rem .75rem;
  outline: none;
}

.lang-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 107, 74, .12);
}

.heat-hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  display: flex;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.heat-grid-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(210, 138, 35, .22), transparent 28%),
    radial-gradient(circle at 88% 62%, rgba(26, 107, 74, .18), transparent 30%),
    linear-gradient(105deg, rgba(249,247,244,.98) 0%, rgba(249,247,244,.94) 45%, rgba(249,247,244,.54) 100%);
}

.heat-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.heat-grid-bg::after {
  content: '';
  position: absolute;
  right: clamp(1rem, 8vw, 9rem);
  top: 50%;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  border: 1.5px solid rgba(139, 58, 42, .22);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    inset 0 0 0 34px rgba(210, 138, 35, .08),
    inset 0 0 0 76px rgba(26, 107, 74, .06),
    0 24px 80px rgba(15, 26, 21, .08);
}

[data-theme="dark"] .heat-grid-bg {
  background:
    radial-gradient(circle at 72% 18%, rgba(210, 138, 35, .18), transparent 28%),
    radial-gradient(circle at 88% 62%, rgba(0, 201, 122, .12), transparent 30%),
    linear-gradient(105deg, rgba(11,18,32,.98) 0%, rgba(11,18,32,.94) 45%, rgba(11,18,32,.54) 100%);
}

.heat-hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 650px;
}

.heat-title {
  max-width: 720px;
}

.heat-sub {
  max-width: 560px;
}

.heat-intro {
  font-size: .94rem;
  color: var(--ink-mid);
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: 2.2rem;
}

.heat-strip {
  background: #20160d;
}

.heat-strip .dot {
  color: var(--heat-amber);
}

.heat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--heat-amber-soft);
  color: var(--brick);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.heat-flow-grid .suite-card {
  background: var(--surface);
}

.heat-two-col {
  align-items: center;
}

.heat-timeline {
  max-width: 780px;
  margin: 0 auto;
}

.footer-heat-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: .7rem;
}

.heat-footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media(max-width: 768px) {
  .heat-hero {
    min-height: auto;
  }
  .heat-grid-bg::after {
    display: none;
  }
  .heat-grid-bg::before {
    mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  }
  .heat-hero-content {
    padding: 3.5rem 0 3rem;
  }
  .heat-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 480px) {
  .heat-footer-grid {
    grid-template-columns: 1fr;
  }
}


body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 90, 60, 0.12), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(255, 184, 0, 0.10), transparent 28%),
    var(--paper);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
}

.eco-nav {
  border-bottom-color: rgba(255, 90, 60, 0.14);
}

.nav-logo span:first-of-type,
.footer-logo-wrap span:first-of-type {
  font-family: var(--font-display) !important;
  font-weight: 700;
  letter-spacing: -0.035em !important;
}

.nav-logo span:last-of-type,
.footer-logo-wrap span:last-of-type {
  color: var(--green) !important;
}

.heat-mark {
  text-align: center;
  border-radius: 10px;
  color: #0b0f14;
  background: linear-gradient(135deg, #ffb800 0%, #ff5a3c 60%, #f43f5e 100%);
  box-shadow: 0 12px 34px rgba(255, 90, 60, 0.30);
  padding:10px;
  width:46px;
}

.lang-select {
  background: transparent;
  border-color: rgba(230, 237, 243, 0.12);
  color: var(--ink-soft);
  border-radius: 8px;
}

.lang-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.14);
}

.btn-primary {
  border-radius: 8px;
  background: var(--green);
  border-color: var(--green);
  color: #0b0f14;
  box-shadow: 0 10px 28px rgba(255, 90, 60, 0.18);
}

.btn-primary:hover {
  background: #ff765f;
  border-color: #ff765f;
  color: #0b0f14;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(255, 90, 60, 0.28);
}

.btn-ghost,
.btn-icon-sm {
  border-radius: 8px;
  border-color: rgba(230, 237, 243, 0.12);
}

.btn-ghost:hover,
.btn-icon-sm:hover {
  background: rgba(255, 90, 60, 0.10);
  border-color: rgba(255, 90, 60, 0.42);
  color: var(--green);
}

.eyebrow {
  color: var(--green);
  text-shadow: 0 0 14px rgba(255, 90, 60, 0.24);
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--green), transparent);
}

.section-title em,
.hero-h1 .accent,
.accent {
  color: var(--green) !important;
  font-style: normal;
}

.heat-hero {
  background: #0b0f14;
  border-bottom-color: rgba(255, 90, 60, 0.14);
}

.heat-grid-bg {
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 90, 60, 0.20), transparent 38%),
    radial-gradient(circle at 80% 18%, rgba(255, 184, 0, 0.16), transparent 32%),
    radial-gradient(circle at 74% 72%, rgba(61, 220, 151, 0.10), transparent 34%),
    linear-gradient(105deg, rgba(11, 15, 20, 0.98) 0%, rgba(11, 15, 20, 0.94) 48%, rgba(11, 15, 20, 0.58) 100%);
}

.heat-grid-bg::before {
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(230, 237, 243, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 237, 243, 0.10) 1px, transparent 1px);
}

.heat-grid-bg::after {
  border-color: rgba(255, 90, 60, 0.24);
  border-radius: 18px;
  transform: translateY(-50%) rotate(8deg);
  box-shadow:
    inset 0 0 0 32px rgba(255, 90, 60, 0.06),
    inset 0 0 0 76px rgba(255, 184, 0, 0.045),
    0 24px 90px rgba(0, 0, 0, 0.36);
}

.badge-eco,
.badge-green,
.badge-brick,
.badge-outline,
.badge-gold,
.badge-dark {
  border-radius: 8px;
}

.badge-green {
  background: rgba(255, 90, 60, 0.11);
  color: var(--green);
  border-color: rgba(255, 90, 60, 0.28);
}

.badge-brick,
.badge-gold {
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold);
  border-color: rgba(255, 184, 0, 0.28);
}

.pulse-dot {
  background: var(--green);
  box-shadow: 0 0 14px rgba(255, 90, 60, 0.55);
}

.benefit-strip {
  background: #05080c;
  border-top: 1px solid rgba(255, 90, 60, 0.16);
  border-bottom: 1px solid rgba(255, 90, 60, 0.16);
}

.benefit-item .dot {
  color: var(--green);
}

.role-card,
.suite-card,
.extra-card,
.pricing-card,
.form-card,
.check-box,
.check-result-box,
.info-card,
.current-stage-card,
.thermal-card {
  background: rgba(18, 24, 33, 0.88);
  border-color: rgba(230, 237, 243, 0.10);
  box-shadow: var(--shadow-card);
}

.role-card:hover,
.suite-card:hover,
.pricing-card:hover {
  border-color: rgba(255, 90, 60, 0.48);
  box-shadow: var(--shadow-hover);
}

.check-circle,
.role-icon,
.contact-icon,
.f-ico {
  background: rgba(255, 90, 60, 0.12);
  color: var(--green);
}

.form-input,
.form-select {
  background: rgba(11, 15, 20, 0.82);
  border-color: rgba(230, 237, 243, 0.12);
  color: var(--ink);
  border-radius: 8px;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.14);
}

.eco-footer {
  background: #05080c;
  border-top: 1px solid rgba(255, 90, 60, 0.14);
}

.footer-link:hover {
  color: var(--green);
}

.fade-up.visible {
  transition-duration: 0.44s;
}

/* ============================================================
   HEAT FINAL LIGHT/DARK FIX
   Add at the end of heat-identity-override.css
   ============================================================ */

[data-theme="light"] .role-card,
[data-theme="light"] .suite-card,
[data-theme="light"] .extra-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .form-card,
[data-theme="light"] .check-box,
[data-theme="light"] .check-result-box,
[data-theme="light"] .info-card,
[data-theme="light"] .current-stage-card,
[data-theme="light"] .thermal-card {
  background: var(--surface) !important;
  border-color: var(--rule) !important;
  color: var(--ink) !important;
}

[data-theme="dark"] .role-card,
[data-theme="dark"] .suite-card,
[data-theme="dark"] .extra-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .form-card,
[data-theme="dark"] .check-box,
[data-theme="dark"] .check-result-box,
[data-theme="dark"] .info-card,
[data-theme="dark"] .current-stage-card,
[data-theme="dark"] .thermal-card {
  background: rgba(18, 24, 33, 0.88) !important;
  border-color: rgba(230, 237, 243, 0.10) !important;
  color: var(--ink) !important;
}

.info-card *,
.form-card *,
.current-stage-card *,
.thermal-card * {
  color: inherit;
}

.info-card p,
.form-card p,
.current-stage-card p,
.thermal-card p,
.info-card .muted,
.form-card .muted,
.current-stage-card .muted,
.thermal-card .muted {
  color: var(--ink-soft) !important;
}

.form-input,
.form-select,
.form-control,
textarea {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--rule) !important;
}

.form-input::placeholder,
.form-control::placeholder,
textarea::placeholder {
  color: var(--ink-soft) !important;
  opacity: 0.75;
}

.form-input:focus,
.form-select:focus,
.form-control:focus,
textarea:focus {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.14) !important;
}

[data-theme="light"] .heat-grid-bg {
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 90, 60, 0.12), transparent 38%),
    radial-gradient(circle at 80% 18%, rgba(255, 184, 0, 0.13), transparent 32%),
    radial-gradient(circle at 74% 72%, rgba(61, 220, 151, 0.08), transparent 34%),
    linear-gradient(105deg, rgba(245, 242, 237, 0.98) 0%, rgba(245, 242, 237, 0.94) 48%, rgba(245, 242, 237, 0.60) 100%) !important;
}

[data-theme="light"] .heat-hero {
  background: var(--paper) !important;
}

[data-theme="dark"] .heat-hero {
  background: #0b0f14 !important;
}

[data-theme="light"] .heat-grid-bg::before {
  background-image:
    linear-gradient(rgba(20, 25, 31, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 25, 31, 0.10) 1px, transparent 1px);
}

[data-theme="light"] .heat-grid-bg::after {
  border-color: rgba(255, 90, 60, 0.18);
  box-shadow:
    inset 0 0 0 32px rgba(255, 90, 60, 0.05),
    inset 0 0 0 76px rgba(255, 184, 0, 0.045),
    0 24px 70px rgba(20, 25, 31, 0.10);
}

[data-theme="light"] .lang-select {
  background: var(--surface);
  border-color: var(--rule);
  color: var(--ink-mid);
}

[data-theme="dark"] .lang-select {
  background: transparent;
  border-color: rgba(230, 237, 243, 0.12);
  color: var(--ink-soft);
}