/* ============================================================
   BAYOU CITY COMPUTING - SHARED STYLES
   ============================================================ */

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

:root {
  --ink: #0a0f1a;
  --slate: #1a2233;
  --steel: #2d3a4f;
  --mist: #8b95a8;
  --cloud: #c4cdd9;
  --ice: #e8ecf1;
  --white: #f8f9fb;
  --bayou: #00c97b;
  --bayou-dim: #00a865;
  --glow: rgba(0, 201, 123, 0.12);
  --terminal: #0cff72;
  --red: #ff5f57;
  --yellow: #ffbd2e;
  --green: #28c840;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--cloud);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
  line-height: 1.15;
}

a { color: var(--bayou); text-decoration: none; }
a:hover { color: var(--terminal); }

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 201, 123, 0.08);
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--bayou);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--mist);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-tag {
  font-size: 0.75rem;
  color: var(--mist);
  border: 1px solid var(--steel);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* PAGE CONTENT */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}
.page-header {
  margin-bottom: 3rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bayou);
  margin-bottom: 0.75rem;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 600px;
}

/* CARDS */
.card {
  background: linear-gradient(135deg, var(--slate), rgba(26, 34, 51, 0.6));
  border: 1px solid var(--steel);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(0, 201, 123, 0.3);
  transform: translateY(-2px);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--bayou);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--bayou-dim);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--cloud);
  border: 1px solid var(--steel);
}
.btn-secondary:hover {
  border-color: var(--bayou);
  color: var(--white);
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
.badge-green {
  background: rgba(0, 201, 123, 0.15);
  color: var(--bayou);
}
.badge-yellow {
  background: rgba(255, 189, 46, 0.15);
  color: var(--yellow);
}
.badge-red {
  background: rgba(255, 95, 87, 0.15);
  color: var(--red);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--steel);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--mist);
}

/* LOADING */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--steel);
  border-top-color: var(--bayou);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0.75rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8rem; }
  .page-content { padding: 5rem 1.25rem 3rem; }
}
