/* ── Base ── */
html { scroll-behavior: smooth; }

body { -webkit-font-smoothing: antialiased; }

/* ── Nav links ── */
.nav-link {
  color: #9ca3af;
  transition: color 0.15s;
}
.nav-link:hover, .nav-link.active {
  color: #4ade80;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover { background: #16a34a; }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid #374151;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-secondary:hover { border-color: #4ade80; color: #4ade80; }

/* ── Hero background ── */
.hero-bg-img {
  position: absolute;
  inset: -6%;
  background-image: url('images/SampleSim-blur.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(12px);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,94,0.10) 0%, transparent 70%),
    rgba(3, 7, 18, 0.62);
}

/* ── Stats ── */
.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Sections ── */
.section {
  padding: 6rem 1rem;
}
.section-alt {
  background: rgba(255,255,255,0.015);
}
.section-inner {
  max-width: 72rem;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ade80;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}
.section-desc {
  color: #9ca3af;
  font-size: 1.1rem;
  max-width: 48rem;
}

/* ── Feature cards ── */
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(74,222,128,0.3); }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.feature-list li {
  color: #9ca3af;
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}
.feature-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #4ade80;
}

/* ── Equipment cards ── */
.equip-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.equip-card:hover { border-color: rgba(74,222,128,0.3); }
.equip-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.equip-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.equip-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.equip-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.equip-specs li {
  font-size: 0.8rem;
  color: #6b7280;
  padding-left: 0.9rem;
  position: relative;
}
.equip-specs li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-size: 1rem;
  line-height: 1;
}

/* ── Software cards ── */
.software-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.2s;
}
.software-card:hover { border-color: rgba(74,222,128,0.3); }
.software-card.primary {
  border-color: rgba(74,222,128,0.2);
  background: rgba(74,222,128,0.03);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.col-span-2 { grid-column: span 1; }
  .gallery-item.row-span-2 { grid-row: span 1; }
}
.gallery-item { border-radius: 0.75rem; overflow: hidden; }
.gallery-placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}
.gallery-placeholder.tall { aspect-ratio: 3/4; }
@media (max-width: 640px) {
  .gallery-placeholder.tall { aspect-ratio: 4/3; }
}
.gallery-placeholder:hover { background: rgba(74,222,128,0.05); }
.gallery-emoji { font-size: 2.5rem; }
.gallery-caption { font-size: 0.75rem; color: #6b7280; }

/* ── Step cards ── */
.step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(74,222,128,0.3); }
.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ── Form ── */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.35rem;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  color: #f9fafb;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-input::placeholder { color: #4b5563; }
.form-input:focus { border-color: #4ade80; }
