/* css/styles.css */
.star-border-container {
  display: inline-block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.border-gradient-bottom {
  position: absolute;
  width: 300%;
  height: 50%;
  opacity: 0.7;
  bottom: -12px;
  right: -250%;
  border-radius: 50%;
  animation: star-movement-bottom linear infinite alternate;
  z-index: 0;
}

.border-gradient-top {
  position: absolute;
  opacity: 0.7;
  width: 300%;
  height: 50%;
  top: -12px;
  left: -250%;
  border-radius: 50%;
  animation: star-movement-top linear infinite alternate;
  z-index: 0;
}

.inner-content {
  position: relative;
  border: 1px solid #222;
  background: #000;
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 16px 26px;
  border-radius: 20px;
  z-index: 1;
}

@keyframes star-movement-bottom {
  0% {
    transform: translate(0%, 0%);
    opacity: 1;
  }
  100% {
    transform: translate(-100%, 0%);
    opacity: 0;
  }
}

@keyframes star-movement-top {
  0% {
    transform: translate(0%, 0%);
    opacity: 1;
  }
  100% {
    transform: translate(100%, 0%);
    opacity: 0;
  }
}

body {
  font-family: 'Inter', sans-serif;
}
/* e.g., increase modal scroll area */
#privacy-modal .overflow-y-auto {
  max-height: 60vh;
}

/* in your global CSS (e.g. styles.css or inside a <style> block) */
html {
  scroll-behavior: smooth;
}
    :root{
      --bg:#0b1220;
      --bg-soft:#121a2b;
      --bg-softer:#0e1627;
      --text:#e7eefb;
      --muted:#96a3c2;
      --primary:#5aa6ff;
      --primary-strong:#3f8cff;
      --outline:#1f2a44;
      --success:#35d0a0;
      --radius:18px;
      --shadow:0 10px 30px rgba(0,0,0,.35);
      --container: 1120px;
    }

    *{box-sizing:border-box}
    html,body{height:100%; overflow-x:hidden;}
    body{
      margin:0; font-family:Inter,system-ui,Segoe UI,Roboto,Arial,Helvetica,sans-serif; color:var(--text); background:radial-gradient(1000px 600px at 20% -10%, #17233b 0%, transparent 60%),radial-gradient(900px 600px at 100% 10%, #0f1a30 0%, transparent 60%), var(--bg);
      letter-spacing:.1px;
      width:100%;
      max-width:100vw;
    }
    a{color:inherit}
    .container{max-width:var(--container); margin-inline:auto; padding-inline:18px}
    .section{padding:64px 0}
    /* Full-bleed alternating background bands per content block */
    .block-bg{ position:relative; z-index:0 }
    .block-bg::before{
      content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
      min-width:100vw; width:100vw; height:100%; z-index:-1; pointer-events:none;
      background: var(--bg);
    }
    .bg-1::before{ background: #0b1220 }
    .bg-2::before{ background: #0e1627 }
    .bg-3::before{ background: #121a2b }
    .bg-4::before{ background: #0c1424 }
    .bg-5::before{ background: #0b1220 }
    .card{background:linear-gradient(180deg, var(--bg-soft), var(--bg-softer)); border:1px solid var(--outline); border-radius:var(--radius); box-shadow:var(--shadow)}
    .pill{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; border:1px solid var(--outline); background:rgba(255,255,255,.02); color:var(--muted); font-weight:600; font-size:12px}
    .muted{color:var(--muted)}

    /* header */
    header{position:sticky; top:0; z-index:40; backdrop-filter:saturate(130%) blur(8px); background:rgba(11,18,32,.55); border-bottom:1px solid var(--outline)}
    .nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
    .brand{display:flex; align-items:center; gap:12px; font-weight:800}
    .nav a{color:var(--muted); text-decoration:none; margin-left:20px; font-weight:600; font-size:14px; padding:6px 8px; border-radius:8px}
    .nav a:hover{background:rgba(255,255,255,.03)}
    .btn{appearance:none; border:none; padding:12px 18px; border-radius:12px; font-weight:700; cursor:pointer; transition:.2s ease; display:inline-flex; align-items:center; gap:10px}
    .btn.primary{background:linear-gradient(180deg,var(--primary),var(--primary-strong)); color:#04122a; box-shadow:0 8px 18px rgba(63,140,255,.35)}
    .btn.primary:hover {
      transform: scale(1.06);
    }
    .btn.ghost{background:transparent; color:var(--text); border:1px solid var(--outline)}

    /* hero (centered like reference) */
    .hero{padding:92px 0 42px; text-align:center; position:relative; overflow:visible}
    .hero .hero-bg{ position:absolute; top:0; bottom:0; left:50%; transform:translateX(-50%); min-width:100vw; width:100vw; height:100%; display:block; z-index:0; pointer-events:none }
    .hero > *:not(.hero-bg){ position:relative; z-index:1 }
    .hero .icon-wrap{display:inline-grid; place-items:center; width:44px; height:44px; margin-inline:auto; border-radius:12px; background:linear-gradient(180deg,#1b2a48,#0e1a33); border:1px solid #2b3a5f; box-shadow:inset 0 0 0 2px rgba(255,255,255,.02)}
    .hero .icon-wrap img{width:22px; height:22px}
    .hero h1{font-size:44px; line-height:1.1; margin:16px 0 10px; text-wrap:balance}
    .hero h1 .accent{color:var(--primary)}
    .hero p{color:var(--muted); max-width:720px; margin-inline:auto}
    .hero-ctas{display:flex; gap:12px; margin-top:20px; flex-wrap:wrap; justify-content:center}

    /* Features row — wide, spaced like the reference */
.feature-row{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;                 /* more space between cards */
  max-width:1100px;         /* wider row */
  margin-inline:auto;
}

/* Feature card — big, centered, with dashed border kept */
.feature{
  padding:32px 34px;        /* larger padding */
  min-height:160px;         /* consistent height */
  border:1px dashed var(--outline);   /* keep dashed line */
  border-radius:18px;       /* rounder corners */
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    var(--bg-softer);       /* subtle inner glow on dark card */
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),       /* depth */
    inset 0 1px 0 rgba(255,255,255,.03);
  
  /* center the content vertically like the screenshot */
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;

  color:#cfe0ff;           /* light text inside */
}

/* Hide any small icons you previously had in the cards */
.feature svg{ display:none; }

/* Title (blue, bold, larger) */
.feature .title{
  font-size:16px;
  line-height:1.15;
  font-weight:500;
  color:var(--primary);
  letter-spacing:.2px;
  margin:0;
}

/* Subtitle (centered, comfortable width) */
.feature .subtitle{
  font-size:14px;
  line-height:1.5;
  color:var(--muted);
  max-width:32ch;           /* wrap like the screenshot */
  margin:0;
}

/* Hover lift (optional but nice) */
.feature:hover{
  transform:translateY(-2px);
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow: 
    0 14px 34px rgba(var(--primary-rgb), 0.85),
    inset 0 1px 0 rgba(var(--primary-rgb), 0.14);

}

/* Mobile: stack nicely */
@media (max-width: 820px){
  .feature-row{ grid-template-columns:1fr; max-width:640px }
  .feature{ min-height:0; }
}

    /* upload */
    .upload{display:grid; grid-template-columns: 1.1fr .9fr; gap:24px}
    .dropzone{padding:24px; border:1px dashed var(--outline); border-radius:14px; background:rgba(255,255,255,.02); text-align:center}
    .dropzone p{color:var(--muted)}
    .dropzone.drag{border-color:var(--primary)}

    /* analysis area */
    .analysis-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px}
    .kpis{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:14px}
    .kpi{padding:14px; border:1px solid var(--outline); border-radius:12px; text-align:center; color:#c9d6fb; background:rgba(255,255,255,.02)}
    .kpi small{display:block; color:var(--muted)}

    .list{padding:16px; border:1px solid var(--outline); border-radius:12px}
    .list h4{margin:0 0 10px}
    .list ul{margin:0; padding:0; list-style:none; display:grid; gap:10px}
    .list li{display:grid; grid-template-columns:18px 1fr; gap:10px; align-items:flex-start; color:#cfe0ff}
    .list li svg{width:18px; margin-top:2px; color:#7cd4a8}

    .recommend{display:grid; gap:8px}
    .recommend .item{padding:12px 14px; border:1px solid var(--outline); border-radius:12px; background:rgba(255,255,255,.02)}

    .export-row{display:flex; justify-content:center; margin-top:12px}

    /* sims */
    .tabs{display:flex; gap:8px; margin-bottom:12px}
    .tab{padding:8px 12px; border-radius:999px; border:1px solid var(--outline); color:var(--muted); cursor:pointer; user-select:none}
    .tab.active{background:rgba(90,166,255,.12); color:var(--text); border-color:#25407a}

    .controls{display:grid; gap:12px}
    .control{display:grid; grid-template-columns:140px 1fr 64px; align-items:center; gap:14px}
    .control input[type=range]{width:100%}
    .control .value{color:#cde0ff; text-align:right}

    .toggles{display:flex; gap:10px; flex-wrap:wrap}
    .toggle{display:flex; gap:8px; align-items:center; padding:8px 10px; border:1px solid var(--outline); border-radius:999px; cursor:pointer}
    .toggle input{accent-color:var(--primary)}

    canvas{width:100%; height:240px}

    /* ========= Why section ========= */
.why-block { padding: 32px 0 10px; }

/* three cards */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  margin-bottom:28px;
}

.why-card{
  background: rgba(255,255,255,.02);
  border: 1px solid var(--outline);
  border-radius: 18px;
  padding: 28px 28px 30px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

/* Icon medallion look */
.why-icon{
  width: 84px; height: 84px; border-radius: 999px;
  display:grid; place-items:center; margin: 6px auto 16px;
  background: radial-gradient(60% 60% at 50% 35%, #203154 0%, #13213c 60%, #0f1a30 100%);
  border: 1px solid #2b3a5f;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.02),
    0 6px 18px rgba(0,0,0,.30);
}

/* Outline icons like the screenshot */
.why-icon svg{
  width: 36px; height: 36px;
  stroke: var(--primary);
  fill: none;
  opacity: .95;
}

.why-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #e6eeff;
}
.why-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 46ch;
  margin-inline: auto;
}

/* two-column lists */
.benefits-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 16px;
}

.benefits-grid h4{
  font-size: 28px;
  margin: 0 0 14px;
  color: #e9f0ff;
  letter-spacing: .2px;
}

.dot-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.dot-list li{
  position: relative;
  padding-left: 20px;
  color: #cbd7f6;
  line-height: 1.6;
}
.dot-list li::before{
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(90,166,255,.18);
}

/* responsive */
@media (max-width: 1024px){
  .why-grid{ grid-template-columns: 1fr; }
  .benefits-grid{ grid-template-columns: 1fr; gap: 28px; }
}


    .two-col{display:grid; grid-template-columns:1fr 1fr; gap:18px}
    .bullet{
      padding:16px;
      border:none;
      border-radius:12px;
    }
    .bullet ul{margin:8px 0 0 18px}

    footer{border-top:1px solid var(--outline); margin-top:48px}
    .foot{display:grid; gap:24px; grid-template-columns:1fr 1fr 1fr 1fr; padding:28px 0; color:var(--muted)}
    .foot small{display:block; color:#6e7ba0}

    /* responsive */
    @media (max-width: 1000px){
      .upload{grid-template-columns:1fr}
      .analysis-grid{grid-template-columns:1fr}
      .why{grid-template-columns:1fr}
      .two-col{grid-template-columns:1fr}
      .foot{grid-template-columns:1fr 1fr}
    }
    
    /* Tablet improvements */
    @media (max-width: 768px){
      .nav a {
        margin-left: 12px;
        font-size: 14px;
      }
      
      .brand {
        font-size: 20px;
      }
      
      .hero {
        padding: 70px 0 36px;
      }
      
      .hero h1 {
        font-size: 42px;
      }
      
      .hero-ctas {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
      }
      
      .hero-ctas .btn {
        width: auto;
        min-width: 160px;
      }
    }
    @media (max-width: 640px){
      .hero h1{font-size:34px}
      .feature-row{grid-template-columns:1fr}
      .foot{grid-template-columns:1fr}
      .control{grid-template-columns:1fr; gap:6px}
      
      /* Mobile header improvements */
      .nav {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 0;
      }
      
      .nav a {
        margin-left: 0;
        margin-right: 12px;
        font-size: 13px;
        padding: 8px 10px;
      }
      
      .brand {
        font-size: 18px;
      }
      
      /* Hide some nav items on very small screens */
      .nav a:nth-child(2),
      .nav a:nth-child(3) {
        display: none;
      }
      
      /* Make login button more prominent on mobile */
      .nav a.btn.ghost {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.2);
        font-size: 13px;
        padding: 8px 14px;
      }
      
      /* Hero section mobile improvements */
      .hero {
        padding: 60px 0 32px;
      }
      
      .hero h1 {
        line-height: 1.2;
        margin-bottom: 16px;
      }
      
      .hero p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
      }
      
      .hero-ctas {
        flex-direction: column;
        gap: 12px;
        align-items: center;
      }
      
      .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
      }
    }

    /* --- Instant Results & Insights layout --- */
.insights-header{
  text-align:center; margin-bottom:24px;
}
.insights-header h2{
  margin:0 0 6px; font-size:40px; letter-spacing:.2px;
}
.insights-header p{
  margin:0; color:var(--muted);
}

.insights-grid{
  display:grid; grid-template-columns: 1.2fr .95fr; gap:24px;
}
.panel .panel-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px 4px;
}
.panel .chip{
  border:1px solid var(--outline); border-radius:999px; padding:4px 8px; color:#bcd0ff;
}

/* charts */
.chart{ width:100%; display:block; margin-top:6px }

/* KPI row under charts */
.kpi-row{
  margin-top:16px; display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
}
.kpi-card{
  background:rgba(255,255,255,.02); border:1px solid var(--outline);
  border-radius:14px; padding:18px; text-align:center;
}
.kpi-value{ font-size:28px; font-weight:800; color:#e6eeff; }
.kpi-green{ color:var(--success) }
.kpi-card small{ color:var(--muted) }

/* steps card */
.step-card{ padding:14px 16px 18px }
.step-head{ display:flex; align-items:center; gap:10px; padding:4px 2px 10px }
.step-head .ring{
  width:20px; height:20px; display:inline-grid; place-items:center;
  color:var(--primary); border:2px solid var(--primary); border-radius:999px; font-size:4px;
  position:relative;
}
.step-head .ring::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  border: 2px solid var(--primary);
}
.step-list{ counter-reset: step; list-style:none; padding:0; margin:0 }
.step-list li{
  position:relative; padding-left:38px; margin:10px 6px 14px; color:#cbd7f6;
}
.step-list li::before{
  counter-increment: step; content: counter(step);
  position:absolute; left:0; top:2px; width:26px; height:26px; border-radius:999px;
  display:grid; place-items:center; background:rgba(90,166,255,.12); color:#d7e6ff;
  border:1px solid #25407a; font-weight:700;
}
.step-list h5{ margin:0 0 4px; color:#e7eefb; }

/* recommendations card */
.reco-card{ padding:14px 16px 18px }
.reco-head{ display:flex; align-items:center; gap:10px; margin-bottom:10px }
.bolt{ width:20px; height:20px; color:var(--primary) }
.callout{
  padding:12px 14px; border:1px solid var(--outline); border-radius:12px;
  background:rgba(255,255,255,.03); margin:8px 0; color:#cfe0ff;
}
.export-wrap{ display:flex; justify-content:center; margin-top:12px }

/* responsiveness */
@media (max-width: 1024px){
  .insights-grid{ grid-template-columns:1fr; }
}

/* Mobile fixes for insights section */
@media (max-width: 640px){
  .insights-grid {
    width: 100%;
    overflow-x: hidden;
  }
  
  .insights-left,
  .insights-right {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Fix KPI row to prevent overflow */
  .kpi-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  /* Ensure panels don't overflow */
  .panel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Ensure chart images are contained */
  .chart-img {
    width: 100%;
    max-width: 100%;
  }
  
  /* Fix step card */
  .step-card {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    overflow-x: hidden;
  }
  
  .step-list li {
    padding-left: 32px;
    margin-right: 0;
  }
}

/* make SVGs scale nicely */
.chart-img {
  width: 80%;
  height: auto;
  display: block;
  margin: 6px auto 0 auto;
  padding-top: 18px;
  padding-bottom: 18px;
  border-radius: 10px;
}

/* ShinyText effect */
.shiny-text{
  color:rgba(63, 140, 255, 0.9);
  background:linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 60%);
  background-size:200% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  display:inline-block;
  animation:shine 2s linear infinite;
}
@keyframes shine{ 0%{background-position:100%} 100%{background-position:-100%} }
.shiny-text.disabled{ animation:none }

/* Upload card */
.upload-card{ padding:20px; border-radius:20px }
.upload-head{
  display:flex; align-items:center; gap:10px;
  padding:6px 6px 14px; border-bottom:1px solid var(--outline);
}
.upload-head h3{ margin:0; font-size:28px }
.head-icon{
  width:28px; height:28px; display:grid; place-items:center;
  border:1px solid #2b3a5f; border-radius:8px;
  background:linear-gradient(180deg,#1b2a48,#0e1a33);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.02);
}
.head-icon svg{ width:18px; height:18px; color:var(--primary) }

/* Inner dashed dropzone */
.dz-wrap{ padding:20px }
.dz-large{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:16px; padding:54px 24px;
  border:2px dashed var(--outline);
  border-radius:18px;
  background:rgba(255,255,255,.02);
  transition:border-color .2s ease, background .2s ease;
  cursor:pointer;
}
.dz-large:hover{ border-color:#2a4376; background:rgba(90,166,255,.04) }

.dz-icon{
  width:72px; height:72px; border-radius:999px;
  display:grid; place-items:center;
  background:radial-gradient(60% 60% at 50% 35%, #203154 0%, #13213c 60%, #0f1a30 100%);
  border:1px solid #2b3a5f; box-shadow:inset 0 0 0 2px rgba(255,255,255,.02);
}
.dz-icon svg{ width:32px; height:32px; color:var(--primary) }

.dz-title{ font-size:28px; font-weight:800 }
.dz-sub{ color:var(--muted); font-size:16px; margin-top:-4px }

/* dark button like screenshot */
.btn.btn-dark{
  background:#0e1422; color:#dfe7ff; border:1px solid var(--outline);
  padding:12px 18px; border-radius:12px; font-weight:700;
}
.btn.btn-dark:hover{ transform:translateY(-1px) }

@media (max-width: 640px){
  .dz-title{ font-size:22px }
  .upload-head h3{ font-size:24px }
}

/* Tabs bar */
.sim-tabs{
  display:flex; gap:10px; padding:6px; border-radius:14px;
  background:rgba(255,255,255,.03); border:1px solid var(--outline);
  margin-bottom:18px;
}
.sim-tab{
  flex:1; padding:10px 14px; border-radius:10px; border:1px solid transparent;
  color:#cfe0ff; background:transparent; cursor:pointer; font-weight:700;
  display:flex; align-items:center; gap:10px; justify-content:center;
}
.sim-tab.active{
  background:rgba(255,255,255,.04); border-color:#2a4376; color:#eaf1ff;
}
.sim-tab {
  display: flex;
  align-items: center;
  gap: 6px; /* adjust spacing between SVG and text */
  padding: 8px 16px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sim-tab .ico img {
  width: 14px;
  height: 14px;
  display: block;
}



/* Layout */
.sim-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap:24px; }
.sim-left, .sim-right{ padding:18px 18px 20px; }
.sim-head{ display:flex; align-items:center; gap:10px; margin-bottom:12px }
.sim-head h3{ margin:0; font-size:24px }
.gear{ color:var(--primary) }

/* Fields */
.field{ margin:16px 0 22px }
.field label{ color:#e6eeff; font-weight:600; display:inline-block; margin-bottom:6px }
.field .field-val{ float:right; color:#bcd0ff }
.field input[type="range"]{ width:100%; accent-color:#5aa6ff }
.field input[type="range"]::-webkit-slider-runnable-track{ height:6px; background:#2e3a55; border-radius:999px }
.field input[type="range"]::-webkit-slider-thumb{
  margin-top:-6px; width:16px; height:16px; border-radius:50%; background:#5aa6ff; border:none;
}
.field input[type="range"]::-moz-range-track{ height:6px; background:#2e3a55; border-radius:999px }
.field input[type="range"]::-moz-range-thumb{ width:16px; height:16px; border-radius:50%; background:#5aa6ff; border:none }

/* Live box */
.live-title{ color:var(--muted); margin-bottom:8px }
.live-box{
  background:#1b2438; border:1px solid var(--outline); border-radius:12px;
  padding:14px; color:#d6e4ff; line-height:1.5; max-width:999px;
}

/* Chart card */
.viz{ width:100%; height:auto; display:block; }

/* Responsive */
@media (max-width: 1024px){
  .sim-grid{ grid-template-columns:1fr; }
}

/* Mobile refinements for Model Parameters and charts */
@media (max-width: 640px){
  .sim-left, .sim-right{ padding:14px; }
  .sim-head h3{ font-size:20px }
  .field{ margin:12px 0 16px }
  .field label{ font-size:14px }
  .field .field-val{ font-size:14px }
  .live-box{ font-size:14px }
  /* ensure canvases shrink nicely; height set inline by JS */
  canvas.viz{ width:100%; max-width:100%; }
}

.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }
.sim-tab[aria-selected="true"]{ background:rgba(255,255,255,.04); border-color:#2a4376; color:#eaf1ff; }

/* Remove default focus outline */
.sim-tab:focus {
  outline: none;
  box-shadow: none;
}

/* Keep the blue highlight ONLY when the tab is active */
.sim-tab.active {
  border: 2px solid #3b82f6;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
  background-color: #1e293b; /* Optional: keep active tab darker */
}

/* Inactive tabs — no border or glow */
.sim-tab:not(.active) {
  border: none;
  box-shadow: none;
}

/* Remove default browser focus outline when clicking with mouse */
.sim-tab:focus-visible {
  outline: none;
  box-shadow: none;
}

/* reuse your .sim-grid/.sim-left/.sim-right/.field/.viz styles */
#mc-section .sim-left, #mc-section .sim-right { padding:18px 18px 20px; }

/* Status badge (green) */
.status-ok{
  margin-top:8px;
  background:rgba(28, 84, 50, .75);
  color:#8ff0b0;
  border:1px solid rgba(46, 160, 93, .45);
  border-radius:12px;
  padding:14px 16px;
  font-weight:600;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

/* Make sliders look like the mock (you already have similar; this just ensures consistency) */
#mc-section input[type="range"]::-webkit-slider-runnable-track{ height:6px; background:#2e3a55; border-radius:999px }
#mc-section input[type="range"]::-webkit-slider-thumb{
  margin-top:-6px; width:16px; height:16px; border-radius:50%; background:#5aa6ff; border:none;
}
#mc-section input[type="range"]::-moz-range-track{ height:6px; background:#2e3a55; border-radius:999px }
#mc-section input[type="range"]::-moz-range-thumb{ width:16px; height:16px; border-radius:50%; background:#5aa6ff; border:none }
