/* ─────────────────────────────────────────────────────────────
   INFRADESK BASE STYLES & CORE TYPOGRAPHY
   Primary Color: #27BA36 (Infradesk Green)
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-white);
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

img, svg, video, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ── Container System ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--wide {
  max-width: var(--container-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ── Sections & Theme Bands ────────────────────────────────── */
.section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.section--xl {
  padding: 140px 0;
}

.section--sm {
  padding: 60px 0;
}

.section--dark {
  background-color: var(--bg-deep);
  color: var(--text-white);
}

.section--surface {
  background-color: var(--bg-surface);
  color: var(--text-white);
  border-top: 1px solid var(--border-glass-subtle);
  border-bottom: 1px solid var(--border-glass-subtle);
}

.section--light-soft {
  background-color: var(--bg-light-soft);
  color: var(--text-dark-headline);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section--light-soft p {
  color: var(--text-dark-body);
}

.section--light-soft h1, .section--light-soft h2, .section--light-soft h3, .section--light-soft h4 {
  color: var(--text-dark-headline);
}

/* ── Display Typography ─────────────────────────────────────── */
.display-hero {
  font-size: clamp(2.5rem, 5.8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.display-1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 0.5em;
}

.display-2 {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.5em;
}

.display-3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 680px;
}

.lede--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-gradient-green {
  background: var(--grad-green-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-primary {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Eyebrow / Category Badges ──────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 16px;
}

.eyebrow--green {
  color: var(--brand-green);
}

.eyebrow--orange {
  color: var(--accent-orange);
}

.eyebrow--blue {
  color: var(--brand-blue);
}

/* ── High-Tech Status Chips & Pills ─────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.chip--green, .chip--cyan {
  background: rgba(39, 186, 54, 0.1);
  border-color: rgba(39, 186, 54, 0.35);
  color: #d1fae5;
}

.chip--orange {
  background: rgba(255, 107, 44, 0.1);
  border-color: rgba(255, 107, 44, 0.3);
  color: #ffedd5;
}

.chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
  animation: pulseDot 2.4s infinite ease-in-out;
}

.chip--orange .chip__dot {
  background-color: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange-glow);
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* ── Button Primitives ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary, .btn-custom {
  background: var(--brand-green);
  color: #05070c;
  border-color: var(--brand-green);
  box-shadow: 0 4px 20px var(--brand-green-glow);
  font-weight: 700;
}

.btn--primary:hover, .btn-custom:hover {
  background: var(--brand-green-hover);
  border-color: var(--brand-green-hover);
  color: #000000;
  box-shadow: 0 6px 28px rgba(39, 186, 54, 0.6);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 6px 24px -4px var(--accent-orange-glow);
}

.btn--accent:hover {
  background: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
  box-shadow: 0 10px 32px -4px rgba(255, 107, 44, 0.6);
  transform: translateY(-1px);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(39, 186, 54, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 0.84375rem;
}

.btn--lg {
  min-height: 54px;
  padding: 14px 30px;
  font-size: 1.0625rem;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* ── Section Header Alignment ───────────────────────────────── */
.section-head {
  margin-bottom: 60px;
}

.section-head--center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
}

/* ── Background Glow Blobs ──────────────────────────────────── */
.glow-blob {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
}

.glow-blob--green {
  background: radial-gradient(circle, rgba(39, 186, 54, 0.25) 0%, transparent 70%);
}

.glow-blob--cyan {
  background: radial-gradient(circle, rgba(39, 186, 54, 0.25) 0%, transparent 70%);
}

.glow-blob--orange {
  background: radial-gradient(circle, rgba(255, 107, 44, 0.18) 0%, transparent 70%);
}
