/* =========== DESIGN SYSTEM & VARIABLES =========== */
:root {
  /* Colors - Premium Dark Mode with Professional Blue/Gray */
  --bg-color: #0b0f19; /* Very dark slate blue/grey */
  --surface-color: #1a2235; /* Lighter surface for cards */
  --surface-hover: #232d44;
  --surface-border: rgba(255, 255, 255, 0.08);
  
  --primary: #3b82f6; /* Trustworthy professional blue */
  --primary-hover: #2563eb;
  --primary-light: rgba(59, 130, 246, 0.15);
  
  --accent: #06b6d4; /* Vibrant cyan for consciousness/innovation aspects */
  --accent-light: rgba(6, 182, 212, 0.15);

  --text-main: #f8fafc; /* Crisp white for readable text */
  --text-muted: #94a3b8; /* Slate grey for secondary text */

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-xxl: 8rem;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========== RESET & BASE =========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-main);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

/* =========== TYPOGRAPHY UTILITIES =========== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

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

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

.title-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

.title-lg {
  font-size: clamp(2rem, 4vw, 3rem);
}

.title-md {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* =========== LAYOUT =========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-xxl) 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* =========== HEADER & NAVIGATION =========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  transition: all var(--transition-normal);
}

header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo span {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========== BUTTONS =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  gap: 0.5rem;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: #fff; /* Override global a:hover */
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-main);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  color: var(--text-main);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.btn-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* =========== CARDS & SURFACES =========== */
.card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--surface-border);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.3);
}

/* =========== ANIMATIONS =========== */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Magic line glow for sections */
.glow-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
  margin: var(--space-xl) 0;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left var(--transition-normal);
  }

  .nav-links.nav-active {
    left: 0;
  }

  .section {
    padding: var(--space-xl) 0;
  }
}

/* =========== HERO SECTION ESPECIFICAÇÕES =========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Background blob effects */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.15;
}

.hero::before {
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: var(--primary);
}

.hero::after {
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: var(--accent);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.roles-badge {
  display: inline-flex;
  gap: 1rem;
  margin-bottom: var(--space-md);
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-tech {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-consciousness {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Footer */
footer {
  background: var(--surface-color);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--surface-border);
  text-align: center;
}
