/* ============================================================================
   Nosso Controle — Landing Page & Legal CSS Stylesheet
   Design Tech Premium: Cyberpunk Grid, Deep Blue & Vibrant Orange Theme
   ============================================================================ */

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

:root {
  /* Deep Blue Base Palette */
  --bg-deep: #020813;
  --bg-surface: rgba(4, 15, 38, 0.6);
  --bg-card: rgba(6, 22, 54, 0.85);
  
  /* Cyberpunk Orange Accents */
  --primary: #ff6a00;
  --primary-hover: #e05300;
  --accent: #ffa200;
  --accent-glow: rgba(255, 162, 0, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 106, 0, 0.15);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* 1. Global Reset & Theme Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 2. Cyberpunk Grid & Light Effects */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 106, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -3;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

.glow-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 15, 38, 0.8) 0%, transparent 70%);
  bottom: 100px;
  left: -100px;
  z-index: -2;
  pointer-events: none;
  filter: blur(60px);
}

/* 3. Header / Navbar */
.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo-nosso {
  color: var(--primary);
}

.logo-controle {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-btn {
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 20px;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--primary);
  color: var(--bg-deep);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* 4. Fullscreen Hero Dobra with Background Image */
.hero-section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 20px 80px 20px;
  background-image: 
    linear-gradient(to right, rgba(2, 8, 19, 0.96) 35%, rgba(2, 8, 19, 0.8) 60%, rgba(2, 8, 19, 0.4) 100%),
    url('substation_blueprint.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-info {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 106, 0, 0.05);
  border: 1px solid rgba(255, 106, 0, 0.2);
  padding: 6px 14px;
  border-radius: 30px;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.badge-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
  color: var(--bg-deep);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

.btn-cta::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(30deg);
  transition: 0.8s;
  opacity: 0;
}

.btn-cta:hover::after {
  left: 120%;
  opacity: 1;
}

/* 5. Footer (Dobra 2) */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: rgba(2, 8, 19, 0.98);
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

/* 6. Legal Content Layout (Privacy & Terms) */
.legal-container {
  max-width: 800px;
  margin: 120px auto 80px auto;
  padding: 0 20px;
  z-index: 2;
  position: relative;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 50px;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.legal-title {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.legal-meta {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-body h2 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 10px;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.legal-body p {
  color: var(--text-muted);
}

.legal-body ul {
  list-style-type: none;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-body li {
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.legal-body li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 11px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.btn-back:hover {
  transform: translateX(-4px);
}

/* 7. Responsive Design Media Queries */
@media (max-width: 992px) {
  .hero-section {
    background-image: 
      linear-gradient(to bottom, rgba(2, 8, 19, 0.95) 0%, rgba(2, 8, 19, 0.85) 60%, rgba(2, 8, 19, 0.95) 100%),
      url('substation_blueprint.jpg');
    background-position: center;
    padding-top: 140px;
  }
  
  .hero-info {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  
  .cta-group {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 38px;
  }
  
  .legal-card {
    padding: 30px 20px;
  }
  
  .legal-title {
    font-size: 30px;
  }
}
