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

:root {
  /* Ultra Premium Dark Palette */
  --bg-deep: #05060a;
  --bg-main: #0a0c12;
  --accent-cyan: #00f2ff;
  --accent-blue: #0066ff;
  --accent-purple: #7000ff;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --neon-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
  --card-gradient: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Canvas Background */
#digital-blocks-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Animated Background Mesh */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(112, 0, 255, 0.05) 0%, transparent 40%);
  z-index: -2;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Modern Glass */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 0;
}

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

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 2.5rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

/* Hero Section - Padrão Visual Melhorado */
.page-hero {
  text-align: center;
  padding: 5rem 0 1rem;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  justify-content: space-between;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-photo-wrapper {
  flex: 0 0 auto;
}

/* Availability Badge - Open To Work */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.4);
  color: var(--accent-cyan);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
  animation: floatBadge 4s ease-in-out infinite;
}

.status-dot {
  display: block;
  width: 10px;
  height: 10px;
  background: #00f2ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
  opacity: 1;
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.role {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #fff, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 500px;
}

/* Hero Photo - Cyber Frame */
.hero-photo-wrapper {
  position: relative;
  justify-self: center;
  padding: 20px;
}

.hero-photo {
  width: 420px;
  height: 420px;
  border-radius: 40px; /* Solid geometric shape */
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
}

/* Glowing Border Effect */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -5px;
  background: linear-gradient(45deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  z-index: -1;
  filter: blur(10px);
  opacity: 0.5;
  transition: var(--transition);
}

.hero-photo:hover::before {
  opacity: 1;
  filter: blur(15px);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  /* Full color - mix-blend-mode removed */
}

.hero-photo:hover img {
  transform: scale(1.05);
}

/* Glowing Buttons */
.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn.primary {
  background: white;
  color: black;
}

.btn.primary:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
  transform: translateY(-5px);
}

.btn.ghost {
  border: 1px solid var(--glass-border);
  color: white;
  backdrop-filter: blur(10px);
}

.btn.ghost:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 255, 0.05);
  transform: translateY(-5px);
}

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

/* Impact Metrics Panel - Refined */
.metrics-panel {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Force side-by-side */
  gap: 2rem;
  margin-top: 4rem;
  width: 100%;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03); /* More visible glass */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 242, 255, 0.1);
  padding: 2rem;
  border-radius: 24px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-cyan);
  transform: translateY(-8px);
}

.metric-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; /* Larger */
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.metric-story {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.metric-story strong {
  color: #fff;
}

/* Section Styling */
.section {
  padding: 2rem 0; /* Further reduced to minimize excessive spacing */
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem; /* Further reduced to minimize excessive spacing */
  background: linear-gradient(to bottom, #fff, #444);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Feature Cards - Interactive */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; /* Reduced from 2rem to minimize excessive spacing */
  justify-items: center;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 242, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.05);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Floating WhatsApp */
.whatsapp {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp:hover {
  transform: scale(1.15) rotate(15deg);
}

/* Robot Assistant Button */
.robot-assistant {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
  color: white;
}

.robot-assistant:hover {
  transform: scale(1.15) rotate(15deg);
}

/* CV Modal */
.cv-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--card-gradient);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

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

.modal-header h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin: 0;
}

.modal-close {
  background: var(--card-gradient);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-body {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 10rem;
  }
  
  h1 { font-size: 3rem; }
  
  .hero-photo {
    width: 300px;
    height: 300px;
    order: -1;
  }
  
  .hero-ctas { justify-content: center; }
  
  .metrics { justify-content: center; text-align: center; }
}
