/* ==========================================================================
   MODERN, COMFORTABLE & CLEAN TECH DESIGN SYSTEM (GREEN & YELLOW)
   Clayton E. de Souza — Desenvolvedor Full Stack
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Relaxing Dark Slate Base */
  --bg-main: #0b0f19;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(26, 36, 56, 0.85);

  /* Primary Emerald Green */
  --green-primary: #10b981;
  --green-light: #34d399;
  --green-dark: #059669;
  --green-subtle: rgba(16, 185, 129, 0.1);
  --green-border: rgba(16, 185, 129, 0.25);

  /* Warm Amber Yellow */
  --yellow-primary: #facc15;
  --yellow-warm: #fbbf24;
  --yellow-amber: #f59e0b;
  --yellow-subtle: rgba(250, 204, 21, 0.1);
  --yellow-border: rgba(250, 204, 21, 0.25);

  /* Calming Text Hierarchy */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border-light: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  /* Static, calming ambient glow - 0 animation, 0 dizziness */
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(250, 204, 21, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.65;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--green-primary);
}

/* Header */
.header-glass {
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.header-scrolled {
  background: rgba(11, 15, 25, 0.98);
  border-bottom-color: var(--green-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Clean, Balanced Cards (No Eye Strain) */
.pro-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.pro-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--green-border);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.pro-card-featured {
  border-color: var(--yellow-border);
}

.pro-card-featured:hover {
  border-color: var(--yellow-primary);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Clean Tags & Badges */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  color: var(--green-light);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tag-badge:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #ffffff;
}

.tag-badge-yellow {
  background: var(--yellow-subtle);
  border: 1px solid var(--yellow-border);
  color: var(--yellow-primary);
}

.tag-badge-yellow:hover {
  background: rgba(250, 204, 21, 0.2);
  color: #ffffff;
}

/* Clean Action Buttons */
.btn-primary-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary-green:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

.btn-secondary-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #facc15;
  color: #0b0f19;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary-yellow:hover {
  background: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.45);
  color: #0b0f19;
}

.btn-outline-clean {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-outline-clean:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Status Indicator Dot */
.status-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-light);
}

.status-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--green-light);
  animation: pulseRipple 2.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes pulseRipple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Clean Scroll Scene Reveal (Gentle, no jarring motions) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Compatibility & Admin Aliases */
.starship-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.25s ease;
}
.macos-glass {
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.traffic-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.btn-starship-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #10b981;
  color: #ffffff;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}
.btn-starship-primary:hover {
  background: #059669;
  color: #ffffff;
}
.font-telemetry {
  font-family: var(--font-mono);
}
.font-space {
  font-family: var(--font-sans);
}
