
/* Minus 80 Scientific – theme override (scoped) */
.theme-minus80 {
  --m80-primary: #1B8BB4;
  --m80-primary-600: #157ea4;
  --m80-primary-700: #0e6d90;
  --m80-primary-800: #0a5a77;
  --m80-accent: #9be8ff;
  --m80-surface: #0e3f52;
  --m80-surface-2: #0a2e3c;
  --m80-bg: #0b2c38;
  --m80-text: #07232d;
  --m80-muted: #64808d;
}

/* Base text color fixes (Tailwind preflight sometimes resets) */
.theme-minus80, .theme-minus80 p, .theme-minus80 li {
  color: #0a2f3c;
}

/* HERO (first section) */
.theme-minus80 main section:first-of-type,
.theme-minus80 > section:first-of-type {
  background: radial-gradient(80% 120% at 80% 20%, rgba(67,186,222,0.25) 0%, rgba(67,186,222,0.06) 40%, rgba(0,0,0,0) 60%),
              linear-gradient(135deg, var(--m80-primary) 0%, #2aa7ce 35%, #0b6d8e 85%);
  color: white;
}

.theme-minus80 header a,
.theme-minus80 section:first-of-type a { color: #e6faff; }

/* Buttons */
.theme-minus80 .btn-primary,
.theme-minus80 a[href*="contact"],
.theme-minus80 a[role="button"] {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1rem;
  border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.35);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  box-shadow: 0 2px 10px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.25);
  color: #04394d;
  background-color: #ffffffcc;
  text-decoration: none;
  font-weight: 600;
}
.theme-minus80 .btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.35);
}
.theme-minus80 .btn-primary:hover { transform: translateY(-1px); }
.theme-minus80 .btn-outline:hover { background: rgba(255,255,255,.08); }

/* Hero stat badges (generic chip style) */
.theme-minus80 .chip, .theme-minus80 .stat, .theme-minus80 .badge {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.5rem .75rem; border-radius:999px;
  border:1px solid rgba(255,255,255,.3);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  color:#ebfbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 rgba(2,32,41,.25);
  font-weight:600;
}

/* Section backgrounds to match mock (soft light alternating) */
.theme-minus80 section:nth-of-type(2n) { background: #f6fafc; }
.theme-minus80 section:nth-of-type(2n+1) { background: #ffffff; }
.theme-minus80 section:first-of-type { background-clip: padding-box; }

/* Generic card styling */
.theme-minus80 .card,
.theme-minus80 article,
.theme-minus80 .shadow-card {
  background: #ffffff;
  border: 1px solid rgba(6,64,82,.08);
  box-shadow: 0 8px 30px rgba(12,80,102,.08);
  border-radius: 1rem;
}

/* Card headers with icon circles */
.theme-minus80 .card .icon,
.theme-minus80 .icon-circle {
  width: 44px; height: 44px; border-radius: 999px;
  display: inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(27,139,180,.18), rgba(27,139,180,.08));
  border: 1px solid rgba(27,139,180,.35);
  color: var(--m80-primary);
}

/* Contact panel (glass) */
.theme-minus80 .contact-panel, .theme-minus80 form.glass {
  background: radial-gradient(100% 100% at 0% 0%, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 60%, rgba(255,255,255,.02) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 1rem;
  box-shadow: 0 10px 35px rgba(8,55,72,.25), inset 0 1px 0 rgba(255,255,255,.25);
}

/* Inputs */
.theme-minus80 input[type="text"],
.theme-minus80 input[type="email"],
.theme-minus80 input[type="tel"],
.theme-minus80 textarea,
.theme-minus80 select {
  border-radius: .75rem;
  border: 1px solid rgba(6,64,82,.2);
  background: #ffffff;
  padding: .625rem .75rem;
  outline: none;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.04);
}
.theme-minus80 input:focus,
.theme-minus80 textarea:focus,
.theme-minus80 select:focus {
  border-color: var(--m80-primary);
  box-shadow: 0 0 0 3px rgba(27,139,180,.18);
}

/* Footer */
.theme-minus80 footer {
  background: linear-gradient(0deg, var(--m80-surface-2), var(--m80-surface));
  color: #d8f5ff;
}
.theme-minus80 footer a { color: #e6fbff; }
.theme-minus80 footer .subtle { color: #b7d7e1; }

/* Utilities to help hook into existing markup */
.theme-minus80 .text-primary { color: var(--m80-primary) !important; }
.theme-minus80 .bg-primary { background: var(--m80-primary) !important; color: white !important; }
.theme-minus80 .ring-primary { box-shadow: 0 0 0 1px var(--m80-primary) inset; }
