/* 
   AVTEC - Plataforma Web Design System
   Aesthetics: Dark Mode, Glassmorphism, Neon Cyberpunk Accents, Smooth Animations
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  /* Color Palette */
  --bg-deep: #060913;
  --bg-space: #0b1126;
  --glass-bg: rgba(13, 20, 44, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-glow: rgba(0, 242, 254, 0.1);
  
  --primary: #00f2fe;     /* Electric Cyan */
  --primary-rgb: 0, 242, 254;
  --secondary: #4facfe;   /* Deep Blue */
  --accent-solar: #00ff87; /* Solar Green */
  --accent-solar-rgb: 0, 255, 135;
  --accent-alert: #ff007f; /* Neon Magenta */
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Transition timings */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Core Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Glowing Ambient Orbs */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

body::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(var(--accent-solar-rgb), 0.1) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Extensions */
h1, h2, h3, h4, .nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 9, 19, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--bg-deep);
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.logo-text h1 {
  font-size: 1.4rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0;
}

nav a:hover, nav a.active {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.btn-nav-login {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(79, 172, 254, 0.15));
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-nav-login:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-deep);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
  transform: translateY(-2px);
}

/* Structure of sections */
main {
  padding-top: 80px;
}

section {
  padding: 5rem 10% 4rem 10%;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hidden-section {
  display: none !important;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.08);
}

/* Hero Section Styles */
#hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  align-items: center;
  gap: 2rem;
}

.hero-glow-sphere {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, rgba(0,0,0,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-tag {
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.1); border-color: rgba(var(--primary-rgb), 0.2); }
  50% { box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.25); border-color: rgba(var(--primary-rgb), 0.5); }
}

.hero h2 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 800px;
}

.hero h2 span {
  background: linear-gradient(135deg, var(--primary), var(--accent-solar));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-deep);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
  transform: translateY(-3px);
}

/* Grid & Section Layout Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h3 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(to right, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent-solar));
  margin: 1.2rem auto 0 auto;
  border-radius: 2px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 55px;
  height: 55px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-deep);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.service-list {
  list-style: none;
  margin-top: 0.5rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: '✓';
  color: var(--accent-solar);
  font-weight: bold;
}

/* About Us Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-graphics {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-badge {
  width: 280px;
  height: 280px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(79, 172, 254, 0.2));
  border: 2px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: morphingBlob 12s infinite alternate ease-in-out;
  box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.15);
}

.about-badge .val {
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  background: linear-gradient(to bottom, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-badge .lbl {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

@keyframes morphingBlob {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 50% 50% / 50% 70% 30% 50%; }
  100% { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
}

.about-text h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item h5 {
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent-solar);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.portfolio-img-stub {
  height: 180px;
  width: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(79, 172, 254, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.5rem;
  position: relative;
}

.portfolio-img-stub::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
}

.portfolio-card .portfolio-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.portfolio-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portfolio-tags span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.contact-detail p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.form-control {
  background: rgba(6, 9, 19, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Login Page/Section */
#login {
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.login-header {
  text-align: center;
}

.login-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.login-error {
  background: rgba(255, 0, 127, 0.1);
  border: 1px solid var(--accent-alert);
  color: var(--accent-alert);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.login-help {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.8rem;
  border-radius: 8px;
  line-height: 1.4;
}

.login-help code {
  color: var(--primary);
  font-weight: 600;
}

/* Dashboard Styles */
#dashboard {
  padding-top: 100px;
  min-height: 100vh;
  justify-content: flex-start;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.dash-title h3 {
  font-size: 2rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dash-company {
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.dash-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.device-selector {
  background: var(--bg-deep);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  outline: none;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.device-selector:focus {
  border-color: var(--primary);
}

.btn-logout {
  background: transparent;
  border: 1px solid var(--accent-alert);
  color: var(--accent-alert);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-logout:hover {
  background: var(--accent-alert);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}

/* Telemetry Grid & Indicators */
.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  width: 100%;
}

.telemetry-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.telemetry-card {
  background: rgba(6, 9, 19, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tel-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.tel-icon.solar {
  color: var(--accent-solar);
  background: rgba(var(--accent-solar-rgb), 0.08);
  border-color: rgba(var(--accent-solar-rgb), 0.15);
}

.tel-details {
  display: flex;
  flex-direction: column;
}

.tel-lbl {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tel-val {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin: 0.1rem 0;
}

.tel-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.tel-status {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0, 255, 135, 0.1);
  color: var(--accent-solar);
  border: 1px solid rgba(0, 255, 135, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0.25rem;
  align-self: flex-start;
}

.tel-status.off {
  background: rgba(255, 0, 127, 0.1);
  color: var(--accent-alert);
  border-color: rgba(255, 0, 127, 0.2);
}

/* Visualization Panel */
.visual-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.5rem;
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visual-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.visual-status {
  font-size: 0.8rem;
  color: var(--accent-solar);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.visual-status::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-solar);
  animation: blinker 1.5s infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

.visual-content {
  background: rgba(6, 9, 19, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  width: 100%;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-footer-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* SVG Chart styling */
svg.telemetry-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: url(#chart-gradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 0.3s ease;
}

.chart-area {
  fill: url(#area-gradient);
  transition: d 0.3s ease;
}

.chart-dot {
  fill: var(--primary);
  stroke: var(--bg-deep);
  stroke-width: 2;
  transition: cx 0.3s ease, cy 0.3s ease;
}

/* Oxygen gauge layout */
.gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
}

.circular-gauge {
  width: 160px;
  height: 160px;
  position: relative;
}

.circular-gauge svg {
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 12;
}

.gauge-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 439.8; /* 2 * pi * 70 */
  stroke-dashoffset: 439.8;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.5s ease;
}

.gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-val {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

.gauge-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  background: var(--bg-deep);
  padding: 3rem 5% 2rem 5%;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h5 {
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsiveness */
@media (max-width: 968px) {
  section {
    padding: 4rem 5% 3rem 5%;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .about-container, .contact-container, .telemetry-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-graphics {
    order: -1;
  }
  
  header {
    padding: 1rem 5%;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  nav ul {
    width: 100%;
    justify-content: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
