@import url('https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg-main: #000;
  --bg-gradient-home: linear-gradient(135deg, #000, #1a1a1a);
  --bg-gradient-sobre: linear-gradient(135deg, #000, #2c3e50);
  --bg-gradient-projetos: linear-gradient(135deg, #000, #2e2e2e);
  --bg-gradient-habilidades: linear-gradient(135deg, #000, #34495e);
  --bg-gradient-certificacoes: linear-gradient(135deg, #000, #2e2e2e);
  --bg-gradient-contato: linear-gradient(135deg, #000, #1a1a1a);
  --text-main: #fff;
  --text-secondary: #aaa;
  --header-bg: rgba(0, 0, 0, 0.8);
  --menu-bg: #000;
  --hamburger-color: #fff;
  --close-menu-color: #fff;
  --nav-link-color: #fff;
  --hero-text-color: #fff;
  --texto1-color: #fff;
  --subtitulo-color: #aaa;
  --section-bg: #000;
  --sobre-h2-color: #fff;
  --sobre-text-color: #fff;
  --skill-bg: #1a1a1a;
  --certificate-bg: #1a1a1a;
  --certificate-p-color: #aaa;
  --contato-bg: #000;
  --contato-h2-color: #fff;
  --contato-container-bg: #1a1a1a;
  --input-bg: transparent;
  --input-text: #fff;
  --input-border: #00d4ff;
  --success-color: white;
  --footer-bg: #000;
  --footer-text: #fff;
  --footer-border: #333;
  --card-p-color: #aaa;
  --nextjs-color: #c3c3c3;
  --underline-color: #ffd700;
  --img-border-radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
  padding-top: 80px;
  /* Prevent horizontal scroll on mobile */
  max-width: 100vw;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile container optimization */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
    max-width: 100%;
  }

  .home-hero .container {
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .home-hero .container {
    padding: 0 10px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .home-hero .container {
    padding: 0 8px;
  }
}

/* HEADER TURBO STYLES */
.header-turbo {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-turbo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  opacity: 0.5;
}

.header-turbo .container {
  padding: 0 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

/* Logo Section */
.logo-section {
  flex-shrink: 0;

  & a {
    text-decoration: none;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-container img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: 'Orbitron', monospace;
  letter-spacing: -0.5px;
}

.logo-text .accent {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 12px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* CV Button Turbo */
.btn-cv-turbo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.btn-cv-turbo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-cv-turbo:hover::before {
  left: 100%;
}

.btn-cv-turbo:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-cv-turbo:hover .btn-glow {
  opacity: 1;
}

/* Social Quick Links */
.social-quick {
  display: flex;
  gap: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

.social-icon.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 119, 181, 0.4);
}

.social-icon.github:hover {
  background: #333;
  border-color: #333;
  color: white;
  box-shadow: 0 6px 16px rgba(51, 51, 51, 0.4);
}

.social-icon.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: white;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* HERO SECTION EXTRAORDINÁRIA */
#home.section {
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-gradient-home);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--bg-main) 0%,
    rgba(0, 20, 40, 0.9) 25%,
    rgba(0, 40, 80, 0.8) 50%,
    rgba(0, 60, 120, 0.7) 75%,
    var(--bg-main) 100%
  );
}

/* Background Effects */
.hero-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Particles */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      2px 2px at 20px 30px,
      rgba(0, 212, 255, 0.3),
      transparent
    ),
    radial-gradient(2px 2px at 40px 70px, rgba(0, 212, 255, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0, 212, 255, 0.4), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0, 212, 255, 0.2), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(0, 212, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
  0% {
    transform: translateY(100vh) translateX(0);
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
  }
}

/* Gradient Orbs */
.hero-gradient-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
  top: 20%;
  left: 10%;
  animation-name: orbFloat1;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 153, 204, 0.2), transparent);
  top: 60%;
  right: 20%;
  animation-name: orbFloat2;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 77, 128, 0.15), transparent);
  bottom: 10%;
  left: 30%;
  animation-name: orbFloat3;
}

@keyframes orbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -20px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 30px) scale(0.9);
  }
  75% {
    transform: translate(20px, 10px) scale(1.05);
  }
}

@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-40px, 20px) scale(1.2);
  }
  66% {
    transform: translate(25px, -30px) scale(0.8);
  }
}

@keyframes orbFloat3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -40px) scale(1.1);
  }
}

/* Grid Lines */
.hero-grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(0, 212, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Floating Shapes */
.hero-floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #00d4ff, transparent);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 20%;
  left: 80%;
  animation-name: shapeFloat1;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #ff0080, transparent);
  border-radius: 20px;
  top: 70%;
  left: 15%;
  animation-name: shapeFloat2;
}

.shape-3 {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #00ff80, transparent);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  top: 40%;
  right: 10%;
  animation-name: shapeFloat3;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #ffff00, transparent);
  border-radius: 50%;
  bottom: 20%;
  right: 30%;
  animation-name: shapeFloat4;
}

@keyframes shapeFloat1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes shapeFloat2 {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(40px) rotate(360deg);
  }
}

@keyframes shapeFloat3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(20px, -20px) rotate(120deg);
  }
  66% {
    transform: translate(-15px, 15px) rotate(240deg);
  }
}

@keyframes shapeFloat4 {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 100vh;
}

/* Profile Section */
.hero-profile {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: conic-gradient(
    from 0deg,
    #00d4ff,
    #0099cc,
    #004d80,
    #0066aa,
    #00b8e6,
    #003d66,
    #00d4ff
  );
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.4;
  animation: profileGlow 4s ease-in-out infinite;
}

@keyframes profileGlow {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.7;
  }
}

.profile-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 3px solid transparent;
  border-radius: 50%;
  background: linear-gradient(45deg, #00d4ff, #0099cc, #004d80) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.profile-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
  animation: profileFloat 6s ease-in-out infinite;
  /* Prevent image breaking */
  max-width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
}

@keyframes profileFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.profile-image:hover {
  transform: scale(1.05);
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-main);
  animation: statusPulse 3s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff80;
  border-radius: 50%;
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Hero Text */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-greeting {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
  animation: slideInFromLeft 1s ease-out;
}

.greeting-emoji {
  font-size: 2rem;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(20deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  font-family: 'Orbitron', monospace;
  animation: slideInFromRight 1s ease-out 0.2s both;
}

.name-part {
  display: inline-block;
  color: var(--text-main);
}

.accent-gradient {
  background: linear-gradient(135deg, #00d4ff, #0099cc, #004d80);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-main);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.title-animated {
  position: relative;
  height: 2.2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.15),
    rgba(0, 153, 204, 0.1)
  );
  border-radius: 10px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

.typing-text {
  color: #00d4ff;
  font-weight: 700;
  font-size: 1.8rem;
}

.cursor {
  color: #00d4ff;
  font-weight: 700;
  font-size: 1.8rem;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Remover keyframes não utilizados */

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Highlight global (para home) */
.highlight {
  color: #00d4ff;
  font-weight: 600;
  position: relative;
  display: inline;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  animation: highlightGlow 2s ease-in-out infinite;
}

/* Highlight especifico para seção sobre */
.about-section .highlight {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  position: static;
  color: transparent;
}

.about-section .highlight::after {
  display: none;
}

@keyframes highlightGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
}

/* Action Buttons */
.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary,
.btn-secondary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(0, 212, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: #00d4ff;
  transform: translateY(-3px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover .btn-shine {
  left: 100%;
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(5px);
}

.btn-secondary:hover .btn-icon {
  transform: scale(1.2);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 0;
  animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00d4ff;
  font-family: 'Orbitron', monospace;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none; /* Desativado conforme solicitado */
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  animation: fadeInUp 1s ease-out 1.2s both;
  cursor: pointer;
}

.scroll-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
  .home-hero {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 1rem;
  }

  .profile-image {
    width: 240px;
    height: 240px;
  }

  .hero-name {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  .orb {
    filter: blur(60px);
    opacity: 0.4;
  }

  .orb-1 {
    width: 300px;
    height: 300px;
  }

  .orb-2 {
    width: 250px;
    height: 250px;
  }

  .orb-3 {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
    max-width: 100%;
    min-height: 100vh;
    width: 100%;
  }

  /* OCULTAR elementos para mobile */
  .hero-profile,
  .profile-container,
  .profile-image,
  .profile-glow,
  .profile-ring,
  .profile-status {
    display: none !important;
  }

  .hero-title,
  .title-prefix,
  .title-animated,
  .typing-text,
  .cursor {
    display: none !important;
  }

  /* Text content simplificado */
  .hero-text {
    order: 1;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-greeting {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .greeting-emoji {
    font-size: 2rem;
  }

  .greeting-text {
    font-size: 1.2rem;
    color: var(--text-main);
  }

  .hero-name {
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 700;
  }

  .name-part {
    display: block;
  }

  .accent-gradient {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-description {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Actions */
  .hero-actions {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 320px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    font-weight: 600;
  }

  /* Stats simplificados */
  .hero-stats {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.3rem;
    width: 100%;
    max-width: 380px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem 1rem;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    min-width: 0;
  }

  .stat-number {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #00d4ff;
    font-family: 'Orbitron', monospace;
  }

  .stat-label {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
    color: var(--text-secondary);
  }

  /* Background effects simplificados */
  .hero-particles {
    opacity: 0.2;
    background-size: 100px 50px;
  }

  .hero-grid-lines {
    opacity: 0.1;
  }

  .orb {
    filter: blur(60px);
    opacity: 0.2;
  }

  .orb-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: -30%;
  }

  .orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: -30%;
  }

  .orb-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 20%;
  }

  .hero-floating-shapes {
    opacity: 0.1;
  }

  .shape-1,
  .shape-2,
  .shape-3,
  .shape-4 {
    width: 6px;
    height: 6px;
  }

  /* Scroll indicator - centralizado e com espaço */
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
  }

  .scroll-arrow {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    padding: 1rem 0.5rem;
    gap: 1.2rem;
    min-height: 100vh;
    justify-content: center;
  }

  /* Manter elementos ocultos */
  .hero-profile,
  .profile-container,
  .profile-image,
  .profile-glow,
  .profile-ring,
  .profile-status,
  .hero-title,
  .title-prefix,
  .title-animated,
  .typing-text,
  .cursor {
    display: none !important;
  }

  /* Compact text */
  .hero-greeting {
    margin-bottom: -0.2rem;
    font-size: 1.1rem;
  }

  .greeting-emoji {
    font-size: 1.8rem;
  }

  .hero-name {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-description {
    margin-bottom: -0.5rem;
    padding: 0 0.5rem;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    max-width: 95%;
  }

  /* Compact actions */
  .hero-actions {
    margin-bottom: 1.3rem;
    gap: 1rem;
    max-width: 300px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Compact stats */
  .hero-stats {
    max-width: 340px;
    padding: 1.2rem 0.8rem;
    gap: 0.8rem;
    margin-bottom: 1.3rem;
  }

  .stat-item {
    padding: 0.4rem 0.2rem;
  }

  .stat-number {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 0.3rem;
  }

  .stat-label {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  }

  /* Minimal background effects */
  .hero-particles {
    display: none;
  }

  .orb {
    filter: blur(40px);
    opacity: 0.15;
  }

  .orb-1 {
    width: 150px;
    height: 150px;
  }

  .orb-2 {
    width: 120px;
    height: 120px;
  }

  .orb-3 {
    width: 200px;
    height: 200px;
  }

  .hero-floating-shapes {
    display: none;
  }

  .hero-grid-lines {
    opacity: 0.05;
  }

  /* Scroll indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 0.5rem;
    left: 44%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
  }
}

@media (max-width: 360px) {
  .hero-content {
    padding: 1rem 0.25rem;
    gap: 1rem;
    min-height: 100vh;
    justify-content: center;
  }

  /* Manter elementos ocultos */
  .hero-profile,
  .profile-container,
  .profile-image,
  .profile-glow,
  .profile-ring,
  .profile-status,
  .hero-title,
  .title-prefix,
  .title-animated,
  .typing-text,
  .cursor {
    display: none !important;
  }

  /* Extra small text */
  .hero-greeting {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .greeting-emoji {
    font-size: 1.6rem;
  }

  .hero-name {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    margin-bottom: 0.6rem;
  }

  .hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    padding: 0 0.25rem;
    margin-bottom: 1.2rem;
    max-width: 98%;
  }

  /* Vertical stats layout for very small screens */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    max-width: 250px;
    padding: 1rem 0.8rem;
  }

  .stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.15);
  }

  .stat-number {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 0;
    line-height: 1;
    color: #00d4ff;
    font-weight: bold;
    flex-shrink: 0;
  }

  .stat-label {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    line-height: 1.1;
    margin-bottom: 0;
    text-align: right;
    flex: 1;
  }

  .btn-primary,
  .btn-secondary {
    max-width: 260px;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  .hero-actions {
    max-width: 280px;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  /* Scroll indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
  }
}

.hero-content .subtitulo {
  font-size: 1.3rem;
  color: var(--subtitulo-color);
  margin-bottom: 2rem;
  animation: fadeUp 1.5s ease forwards;
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  color: #fff;
  background: #0099cc;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: fadeIn 2s ease forwards;
}

.btn-cta:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.home-hero .container,
.hero-content {
  position: relative;
  z-index: 1;
}

/* SEÇÃO SOBRE EXTRAORDINÁRIA */
.about-extraordinary {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 20, 40, 0.9) 0%,
    rgba(0, 0, 0, 0.95) 100%
  );
  padding: 100px 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Effects */
.about-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.about-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      2px 2px at 20px 30px,
      rgba(255, 255, 255, 0.3),
      transparent
    ),
    radial-gradient(2px 2px at 40px 70px, rgba(0, 212, 255, 0.4), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0, 212, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: aboutParticlesFloat 20s infinite linear;
}

@keyframes aboutParticlesFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

.about-grid-lines {
  position: absolute;
  width: 120%;
  height: 120%;
  background: linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: aboutGridMove 15s infinite linear;
  transform: rotate(-15deg);
}

@keyframes aboutGridMove {
  0% {
    transform: rotate(-15deg) translate(0, 0);
  }
  100% {
    transform: rotate(-15deg) translate(50px, 50px);
  }
}

.about-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.about-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.2) 0%,
    transparent 70%
  );
  top: 10%;
  left: -10%;
  animation: aboutOrbFloat1 15s infinite ease-in-out;
}

.about-orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.2) 0%,
    transparent 70%
  );
  top: 60%;
  right: -5%;
  animation: aboutOrbFloat2 12s infinite ease-in-out;
}

.about-orb-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(255, 0, 150, 0.2) 0%,
    transparent 70%
  );
  bottom: 20%;
  left: 20%;
  animation: aboutOrbFloat3 18s infinite ease-in-out;
}

@keyframes aboutOrbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 30px) rotate(180deg);
  }
  75% {
    transform: translate(20px, 20px) rotate(270deg);
  }
}

@keyframes aboutOrbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -30px) scale(1.1);
  }
}

@keyframes aboutOrbFloat3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(20px, -20px);
  }
  66% {
    transform: translate(-20px, 10px);
  }
}

.about-glow-lines {
  position: absolute;
  width: 100%;
  height: 100%;
}

.about-glow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.8),
    transparent
  );
}

.about-glow-line-1 {
  width: 300px;
  top: 30%;
  left: 10%;
  animation: aboutGlowLineMove 8s infinite ease-in-out;
}

.about-glow-line-2 {
  width: 200px;
  bottom: 40%;
  right: 15%;
  animation: aboutGlowLineMove 6s infinite ease-in-out reverse;
}

@keyframes aboutGlowLineMove {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(50px);
  }
}

/* About Content */
.about-extraordinary .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* About Header */
.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.about-icon i {
  font-size: 48px;
  color: #00d4ff;
  animation: aboutIconFloat 3s infinite ease-in-out;
}

.about-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: aboutIconGlowRotate 4s infinite linear;
}

@keyframes aboutIconFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateY(180deg);
  }
}

@keyframes aboutIconGlowRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

.about-title {
  margin: 0;
}

.about-title .title-main {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #00d4ff, #8a2be2, #ff0096);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aboutTitleGradientShift 3s ease-in-out infinite;
}

.about-title .title-sub {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

@keyframes aboutTitleGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Main Content Layout */
.about-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Text Container */
.about-text-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.text-glow-background {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 20px;
  filter: blur(20px);
  z-index: -1;
}

/* About Cards */
.about-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: fit-content;
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    rgba(0, 212, 255, 0.3),
    rgba(0, 153, 204, 0.3),
    rgba(0, 77, 128, 0.3)
  );
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: cardGlowPulse 3s infinite ease-in-out;
}

@keyframes cardGlowPulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
}

.about-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.about-card:hover .card-glow {
  opacity: 0.8;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.card-header i {
  font-size: 24px;
  color: #00d4ff;
  transition: all 0.3s ease;
}

.about-card:hover .card-header i {
  transform: scale(1.2) rotate(360deg);
  filter: drop-shadow(0 0 10px currentColor);
}

.card-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.about-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

/* Text Styling */
.gradient-text {
  background: linear-gradient(135deg, #00d4ff, #004d80);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.tech-stack {
  color: #00d4ff;
  font-weight: 500;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0077b5;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 8px;
  background: rgba(0, 119, 181, 0.1);
}

.linkedin-link:hover {
  color: #00a0dc;
  background: rgba(0, 119, 181, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

/* Profile Image Section */
.about-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 350px;
  height: 400px;
  justify-content: center;
}

/* Profile Glow Effect (home colors) */
.profile-frame::before {
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  background: conic-gradient(
    from 0deg,
    #00d4ff,
    #0099cc,
    #004d80,
    #0066aa,
    #00b8e6,
    #003d66,
    #00d4ff
  );
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.4;
  animation: profileGlowHome 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes profileGlowHome {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.7;
  }
}

/* Profile Ring (home colors) */
.profile-frame::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 4px solid transparent;
  border-radius: 50%;
  background: linear-gradient(45deg, #00d4ff, #0099cc, #004d80) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  animation: ringRotateHome 8s linear infinite;
  z-index: 0;
}

@keyframes ringRotateHome {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.profile-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
  transition: transform 0.4s ease;
  animation: profileFloatHome 6s ease-in-out infinite;
  border: 3px solid rgba(0, 212, 255, 0.5);
}

@keyframes profileFloatHome {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.profile-photo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-container {
    order: -1;
  }

  .about-text-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .about-extraordinary {
    padding: 60px 20px;
  }

  .about-title .title-main {
    font-size: 2.2rem;
  }

  .about-card {
    padding: 20px;
  }

  .about-text-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-frame {
    width: 300px;
    height: 350px;
  }

  .profile-photo {
    width: 250px;
    height: 250px;
  }
}
@media (max-width: 480px) {
  .about-title .title-main {
    font-size: 1.8rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .profile-frame {
    width: 280px;
    height: 320px;
  }

  .profile-photo {
    width: 220px;
    height: 220px;
  }
}

.section {
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: var(--bg-gradient-home);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00d4ff;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
  text-align: center;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  min-height: auto;
}

#projetos {
  background: var(--bg-gradient-projetos);
}

#habilidades {
  min-height: 75vh;
  background: var(--bg-gradient-habilidades);
  color: var(--text-main);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

#habilidades .container h2 {
  text-transform: uppercase;
  font-size: 2.5rem;
  color: #00d4ff;
  text-shadow: 0 0 3px #00f7ff;
  margin-bottom: 20px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease forwards;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.skill:hover::before {
  left: 100%;
}

.skill:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
}

.skill i {
  font-size: 36px;
  margin-bottom: 15px;
  display: block;
  transition: all 0.3s ease;
}

.skill:hover i {
  transform: scale(1.1) rotateY(360deg);
  filter: drop-shadow(0 0 20px currentColor);
}

.skill span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.skill:hover span {
  transform: scale(1.05);
}

.skill.html i,
.skill.html span {
  color: #e34f26;
  text-shadow: 0 0 10px rgba(227, 79, 38, 0.5);
  transition: all 0.3s ease;
}

.skill.html:hover i,
.skill.html:hover span {
  color: #f16529;
  text-shadow: 0 0 15px rgba(241, 101, 41, 0.8);
}

.skill.css i,
.skill.css span {
  color: #1572b6;
  text-shadow: 0 0 10px rgba(21, 114, 182, 0.5);
  transition: all 0.3s ease;
}

.skill.css:hover i,
.skill.css:hover span {
  color: #33a9dc;
  text-shadow: 0 0 15px rgba(51, 169, 220, 0.8);
}

.skill.js i,
.skill.js span {
  color: #f0db4f;
  text-shadow: 0 0 10px rgba(240, 219, 79, 0.5);
  transition: all 0.3s ease;
}

.skill.js:hover i,
.skill.js:hover span {
  color: #f7df1e;
  text-shadow: 0 0 15px rgba(247, 223, 30, 0.8);
}

.skill.git i,
.skill.git span {
  color: #f1502f;
  text-shadow: 0 0 10px rgba(241, 80, 47, 0.5);
  transition: all 0.3s ease;
}

.skill.git:hover i,
.skill.git:hover span {
  color: #f64935;
  text-shadow: 0 0 15px rgba(246, 73, 53, 0.8);
}

.skill.responsive i,
.skill.responsive span {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

.skill.responsive:hover i,
.skill.responsive:hover span {
  color: #00f7ff;
  text-shadow: 0 0 15px rgba(0, 247, 255, 0.8);
}

.skill.nodejs i,
.skill.nodejs span {
  color: #68a063;
  text-shadow: 0 0 10px rgba(104, 160, 99, 0.5);
  transition: all 0.3s ease;
}

.skill.nodejs:hover i,
.skill.nodejs:hover span {
  color: #83c878;
  text-shadow: 0 0 15px rgba(131, 200, 120, 0.8);
}

.skill.n8n i,
.skill.n8n span {
  color: #ea4b71;
  text-shadow: 0 0 10px rgba(234, 75, 113, 0.5);
  transition: all 0.3s ease;
}

.skill.n8n:hover i,
.skill.n8n:hover span {
  color: #ff6b91;
  text-shadow: 0 0 15px rgba(255, 107, 145, 0.8);
}

.skill.react i,
.skill.react span {
  color: #61dafb;
  text-shadow: 0 0 10px rgba(97, 218, 251, 0.5);
  transition: all 0.3s ease;
}

.skill.react:hover i,
.skill.react:hover span {
  color: #84e7fb;
  text-shadow: 0 0 15px rgba(132, 231, 251, 0.8);
}

.skill.typescript i,
.skill.typescript span {
  color: #3178c6;
  text-shadow: 0 0 10px rgba(49, 120, 198, 0.5);
  transition: all 0.3s ease;
}

.skill.typescript:hover i,
.skill.typescript:hover span {
  color: #4c96d7;
  text-shadow: 0 0 15px rgba(76, 150, 215, 0.8);
}

.skill.nextjs i,
.skill.nextjs span {
  color: #000000;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.skill.nextjs:hover i,
.skill.nextjs:hover span {
  color: #333333;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.skill.postman i,
.skill.postman span {
  color: #ff6c37;
  text-shadow: 0 0 10px rgba(255, 108, 55, 0.5);
  transition: all 0.3s ease;
}

.skill.postman:hover i,
.skill.postman:hover span {
  color: #ff8c5a;
  text-shadow: 0 0 15px rgba(255, 140, 90, 0.8);
}

.skill.mongodb i,
.skill.mongodb span {
  color: #47a248;
  text-shadow: 0 0 10px rgba(71, 162, 72, 0.5);
  transition: all 0.3s ease;
}

.skill.mongodb:hover i,
.skill.mongodb:hover span {
  color: #5bc05b;
  text-shadow: 0 0 15px rgba(91, 192, 91, 0.8);
}

/* SEÇÃO DE PROJETOS EXTRAORDINÁRIA */
.projects-extraordinary {
  min-height: 100vh;
  background: linear-gradient(135deg, #000814 0%, #001d3d 50%, #000814 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Background Effects */
.projects-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.projects-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 40px 60px, #00d4ff, transparent),
    radial-gradient(2px 2px at 120px 25px, #0099cc, transparent),
    radial-gradient(1px 1px at 190px 120px, #004d80, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: projectsParticlesFloat 20s linear infinite;
  opacity: 0.4;
}

@keyframes projectsParticlesFloat {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-100px) translateX(50px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

.projects-grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: projectsGridMove 15s linear infinite;
}

@keyframes projectsGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.projects-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.proj-orb {
  position: absolute;
  border-radius: 50%;
}

.proj-orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.15) 0%,
    transparent 70%
  );
  top: 20%;
  right: 10%;
  animation: projOrbFloat1 25s ease-in-out infinite;
}

.proj-orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(0, 153, 204, 0.1) 0%,
    transparent 70%
  );
  bottom: 30%;
  left: 15%;
  animation: projOrbFloat2 20s ease-in-out infinite reverse;
}

.proj-orb-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(0, 77, 128, 0.2) 0%,
    transparent 70%
  );
  top: 60%;
  left: 50%;
  animation: projOrbFloat3 18s ease-in-out infinite;
}

@keyframes projOrbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-30px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-50px, 30px) scale(0.9);
  }
  75% {
    transform: translate(20px, -20px) scale(1.05);
  }
}

@keyframes projOrbFloat2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, -30px);
  }
}

@keyframes projOrbFloat3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(25px, -40px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 30px) rotate(240deg);
  }
}

.projects-glow-lines {
  position: absolute;
  width: 100%;
  height: 100%;
}

.proj-glow-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  height: 2px;
  animation: projGlowLineMove 8s ease-in-out infinite;
}

.proj-glow-line-1 {
  top: 25%;
  width: 60%;
  left: 20%;
}

.proj-glow-line-2 {
  bottom: 35%;
  width: 40%;
  right: 30%;
  animation-delay: -4s;
}

@keyframes projGlowLineMove {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-50px);
  }
  50% {
    opacity: 1;
    transform: translateX(50px);
  }
}

/* Projects Content */
.projects-extraordinary .container {
  position: relative;
  z-index: 10;
}

/* Projects Header */
.projects-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 15;
  background: rgba(0, 8, 20, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 20px;
}

.proj-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.proj-icon i {
  font-size: 4rem;
  color: #00d4ff;
  animation: projIconFloat 3s ease-in-out infinite;
}

.proj-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: projIconGlowRotate 4s linear infinite;
}

@keyframes projIconFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-10px) rotateY(180deg);
  }
}

@keyframes projIconGlowRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

.projects-title {
  text-align: center;
  margin: 0;
}

.projects-title .title-main {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #00d4ff, #8a2be2, #ff0096);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: projTitleGradientShift 3s ease-in-out infinite;
}

.projects-title .title-sub {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

@keyframes projTitleGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.projects-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 30px auto 0;
  line-height: 1.8;
  position: relative;
  z-index: 20;
}

.projects-description .highlight-text {
  color: #00d4ff;
  font-weight: 600;
}

/* Filter Buttons */
.projects-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn-proj {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.filter-btn-proj::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.filter-btn-proj:hover::before {
  left: 100%;
}

.filter-btn-proj:hover {
  border-color: #00d4ff;
  color: #00d4ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.filter-btn-proj.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: #00d4ff;
  color: #00d4ff;
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Projects Grid */
.projects-grid-extraordinary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Project Cards */
.project-card-extraordinary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.proj-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 212, 255, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card-extraordinary:hover .proj-glow-bg {
  opacity: 1;
}

.project-card-extraordinary:hover {
  transform: translateY(-10px) rotateX(5deg);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 212, 255, 0.2);
}

.proj-header {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.proj-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.proj-badge.frontend {
  background: rgba(241, 101, 41, 0.2);
  border-color: #f16529;
}

.proj-badge.design {
  background: rgba(255, 20, 147, 0.2);
  border-color: #ff1493;
}

.proj-badge.special {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
}

/* Badges específicos por tecnologia */
.proj-badge.html {
  background: rgba(241, 101, 41, 0.2);
  border-color: #f16529;
  color: #f16529;
}

.proj-badge.css {
  background: rgba(21, 114, 182, 0.2);
  border-color: #1572b6;
  color: #1572b6;
}

.proj-badge.js {
  background: rgba(247, 223, 30, 0.2);
  border-color: #f7df1e;
  color: #f7df1e;
}

.proj-badge.ts {
  background: rgba(49, 120, 198, 0.2);
  border-color: #3178c6;
  color: #3178c6;
}

.proj-level {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.proj-level.special {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
  color: #ffd700;
}

/* Project Image */
.proj-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.proj-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-card-extraordinary:hover .proj-image-container img {
  transform: scale(1.1);
}

.proj-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card-extraordinary:hover .proj-overlay {
  opacity: 1;
}

.proj-actions {
  display: flex;
  gap: 15px;
}

.proj-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.proj-btn.github {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.proj-btn.github:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.proj-btn.demo {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border: 1px solid #00d4ff;
}

.proj-btn.demo:hover {
  background: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

/* Project Content */
.proj-content {
  padding: 25px;
}

.proj-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.proj-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.proj-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.proj-status,
.proj-year {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.proj-status.special {
  color: #ffd700;
}

.proj-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid;
}

.tech-tag.html {
  background: rgba(241, 101, 41, 0.1);
  color: #f16529;
  border-color: #f16529;
}

.tech-tag.css {
  background: rgba(21, 114, 182, 0.1);
  color: #1572b6;
  border-color: #1572b6;
}

.tech-tag.js {
  background: rgba(247, 223, 30, 0.1);
  color: #f7df1e;
  border-color: #f7df1e;
}

.tech-tag.responsive {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  border-color: #00d4ff;
}

.tech-tag.design {
  background: rgba(255, 20, 147, 0.1);
  color: #ff1493;
  border-color: #ff1493;
}

.tech-tag.special {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  border-color: #ffd700;
}

/* Featured Project */
.project-card-extraordinary.featured {
  grid-column: span 2;
}

.project-card-extraordinary.featured .proj-image-container {
  height: 300px;
}

/* Load More Section */
.projects-load-more {
  text-align: center;
  margin: 50px 0;
}

.btn-load-extraordinary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(0, 153, 204, 0.1)
  );
  border: 2px solid #00d4ff;
  border-radius: 30px;
  color: #00d4ff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  overflow: hidden;
  text-decoration: none;
}

.btn-load-extraordinary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-load-extraordinary:hover::before {
  left: 100%;
}

.btn-load-extraordinary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
  border-color: #0099cc;
}

.btn-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.btn-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn-load-extraordinary:hover .btn-glow-effect {
  width: 200px;
  height: 200px;
}

/* Statistics */
.projects-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat-card-proj {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card-proj:hover {
  transform: translateY(-5px);
  border-color: #00d4ff;
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.stat-card-proj .stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  font-size: 1.5rem;
}

.stat-card-proj .stat-info {
  text-align: left;
}

.stat-card-proj .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #00d4ff;
  line-height: 1;
}

.stat-card-proj .stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .projects-grid-extraordinary {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .project-card-extraordinary.featured {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .projects-extraordinary {
    padding: 60px 0;
  }

  .projects-title .title-main {
    font-size: 2.5rem;
  }

  .projects-grid-extraordinary {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-stats {
    flex-direction: column;
    align-items: center;
  }

  .projects-filters {
    gap: 10px;
  }

  .filter-btn-proj {
    font-size: 0.8rem;
    padding: 8px 15px;
  }
}

@media (max-width: 480px) {
  .proj-content {
    padding: 20px;
  }

  .proj-actions {
    flex-direction: column;
    gap: 10px;
  }

  .proj-btn {
    justify-content: center;
  }
}

/* SEÇÃO DE CERTIFICAÇÕES EXTRAORDINÁRIA */
.certificates-extraordinary {
  position: relative;
  min-height: 100vh;
  padding: 80px 0;
  background: var(--bg-gradient-certificacoes);
  overflow: hidden;
}

/* Background Effects */
.certificates-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.certificates-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      2px 2px at 50px 80px,
      rgba(0, 212, 255, 0.3),
      transparent
    ),
    radial-gradient(1px 1px at 150px 200px, rgba(255, 215, 0, 0.4), transparent),
    radial-gradient(1px 1px at 300px 50px, rgba(0, 212, 255, 0.2), transparent),
    radial-gradient(2px 2px at 450px 150px, rgba(255, 215, 0, 0.3), transparent),
    radial-gradient(1px 1px at 600px 100px, rgba(0, 212, 255, 0.4), transparent);
  animation: certificatesParticlesFloat 20s linear infinite;
}

@keyframes certificatesParticlesFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.certificates-grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      rgba(0, 212, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: certificatesGridMove 30s linear infinite;
}

@keyframes certificatesGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

.certificates-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.cert-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.cert-orb-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.2),
    rgba(255, 215, 0, 0.05)
  );
  top: 10%;
  left: 10%;
  animation: certOrbFloat1 15s ease-in-out infinite;
}

.cert-orb-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.2),
    rgba(0, 212, 255, 0.05)
  );
  top: 60%;
  right: 15%;
  animation: certOrbFloat2 12s ease-in-out infinite;
}

.cert-orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.15),
    rgba(255, 215, 0, 0.03)
  );
  bottom: 20%;
  left: 50%;
  animation: certOrbFloat3 18s ease-in-out infinite;
}

@keyframes certOrbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 30px) scale(0.9);
  }
}

@keyframes certOrbFloat2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, -30px);
  }
}

@keyframes certOrbFloat3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(20px, -40px) rotate(180deg);
  }
}

.certificates-glow-lines {
  position: absolute;
  width: 100%;
  height: 100%;
}

.cert-glow-line {
  position: absolute;
  height: 2px;
}

.cert-glow-line-1 {
  width: 300px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.6),
    transparent
  );
  top: 30%;
  left: 20%;
  animation: certGlowLineMove 8s ease-in-out infinite;
}

.cert-glow-line-2 {
  width: 250px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.6),
    transparent
  );
  bottom: 40%;
  right: 25%;
  animation: certGlowLineMove 10s ease-in-out infinite reverse;
}

@keyframes certGlowLineMove {
  0%,
  100% {
    transform: translateX(0) scaleX(1);
    opacity: 0.3;
  }
  50% {
    transform: translateX(50px) scaleX(1.2);
    opacity: 1;
  }
}

/* Certificates Content */
.certificates-extraordinary .container {
  position: relative;
  z-index: 2;
}

/* Certificates Header */
.certificates-header {
  text-align: center;
  margin-bottom: 60px;
}

.cert-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.cert-icon i {
  font-size: 3rem;
  color: #ffd700;
  animation: certIconFloat 3s ease-in-out infinite;
}

.cert-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: certIconGlowRotate 4s linear infinite;
}

@keyframes certIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes certIconGlowRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

.certificates-title {
  margin-bottom: 20px;
}

.certificates-title .title-main {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700, #00d4ff, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: certTitleGradientShift 4s ease-in-out infinite;
  margin-bottom: 10px;
}

.certificates-title .title-sub {
  display: block;
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

@keyframes certTitleGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.certificates-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.certificates-description .highlight-text {
  color: #ffd700;
  font-weight: 600;
}

/* Filter Buttons */
.certificates-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  border-radius: 25px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.filter-btn.active {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  border-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.filter-btn i {
  font-size: 1rem;
}

/* Certificates Grid */
.certificates-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.certificate-card-new {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  animation: certCardSlideIn 0.6s ease-out forwards;
}

@keyframes certCardSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.certificate-card-new:nth-child(1) {
  animation-delay: 0.1s;
}
.certificate-card-new:nth-child(2) {
  animation-delay: 0.2s;
}
.certificate-card-new:nth-child(3) {
  animation-delay: 0.3s;
}
.certificate-card-new:nth-child(4) {
  animation-delay: 0.4s;
}
.certificate-card-new:nth-child(5) {
  animation-delay: 0.5s;
}
.certificate-card-new:nth-child(6) {
  animation-delay: 0.6s;
}

.cert-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.certificate-card-new:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.5);
}

.certificate-card-new:hover .cert-glow-bg {
  opacity: 1;
}

.certificate-card-new.featured {
  border: 2px solid rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
}

.certificate-card-new.featured:hover {
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.6);
}

.certificate-card-new.featured .cert-glow-bg {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 215, 0, 0.1),
    transparent
  );
}

/* Certificate Header */
.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cert-badge {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Cores específicas para cada tecnologia */
.cert-badge.html {
  background: linear-gradient(135deg, #e34f26, #f16529);
  box-shadow: 0 4px 15px rgba(227, 79, 38, 0.3);
}

.cert-badge.javascript {
  background: linear-gradient(135deg, #f7df1e, #f0db4f);
  color: #323330;
  box-shadow: 0 4px 15px rgba(247, 223, 30, 0.3);
}

.cert-badge.nodejs {
  background: linear-gradient(135deg, #339933, #68a063);
  box-shadow: 0 4px 15px rgba(51, 153, 51, 0.3);
}

.cert-badge.css {
  background: linear-gradient(135deg, #1572b6, #33a9dc);
  box-shadow: 0 4px 15px rgba(21, 114, 182, 0.3);
}

.cert-badge.special {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cert-badge.react {
  background: linear-gradient(135deg, #61dafb, #21a0c4);
  color: #000;
  box-shadow: 0 4px 15px rgba(97, 218, 251, 0.3);
}

.cert-badge.ai {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.cert-pdf-preview {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px dashed rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #00d4ff;
  font-size: 1.2rem;
  font-weight: 600;
}

.cert-pdf-preview i {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #e74c3c;
}

.cert-level {
  padding: 6px 12px;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cert-level.special {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.3);
  color: #ffd700;
}

/* Certificate Image */
.cert-image-container {
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.cert-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-weight: 600;
}

.cert-overlay i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #00d4ff;
}

.certificate-card-new:hover .cert-overlay {
  opacity: 1;
}

.certificate-card-new:hover .cert-image-container img {
  transform: scale(1.1);
}

/* Certificate Content */
.cert-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cert-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cert-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 15px;
}

.cert-institution,
.cert-year {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cert-institution i,
.cert-year i {
  color: #00d4ff;
}

.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.skill-tag.special {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
  color: #ffd700;
}

/* Statistics */
.certificates-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.3);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .certificates-grid-new {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .certificates-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .certificates-extraordinary {
    padding: 60px 0;
  }

  .certificates-header {
    margin-bottom: 40px;
  }

  .certificates-title .title-main {
    font-size: 2.5rem;
  }

  .certificates-grid-new {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .certificates-filters {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .certificates-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .certificates-title .title-main {
    font-size: 2rem;
  }

  .certificate-card-new {
    padding: 20px;
  }

  .cert-details {
    flex-direction: column;
    gap: 8px;
  }
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  z-index: 99998;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100000;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 100001;
}

.prev {
  left: 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* SEÇÃO DE CONTATO EXTRAORDINÁRIA */
.contact-extraordinary {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(
    135deg,
    #000 0%,
    #0a0a0a 25%,
    #000 50%,
    #0d1117 75%,
    #000 100%
  );
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

/* Background Effects */
.contact-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.contact-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      2px 2px at 20px 30px,
      rgba(0, 212, 255, 0.4),
      transparent
    ),
    radial-gradient(2px 2px at 40px 70px, rgba(0, 212, 255, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0, 212, 255, 0.5), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0, 212, 255, 0.3), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(0, 212, 255, 0.4), transparent),
    radial-gradient(1px 1px at 200px 90px, rgba(255, 0, 128, 0.3), transparent);
  background-repeat: repeat;
  background-size: 250px 120px;
  animation: contactParticlesFloat 25s linear infinite;
}

@keyframes contactParticlesFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-100px, -50px) rotate(360deg);
  }
}

.contact-grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: contactGridMove 40s linear infinite;
}

@keyframes contactGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

.contact-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation-duration: 25s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.contact-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4), transparent);
  top: -200px;
  left: -200px;
  animation-name: contactOrbFloat1;
}

.contact-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.3), transparent);
  bottom: -100px;
  right: -100px;
  animation-name: contactOrbFloat2;
}

.contact-orb-3 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 255, 128, 0.2), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-name: contactOrbFloat3;
}

@keyframes contactOrbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 40px) scale(0.9);
  }
}

@keyframes contactOrbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, -50px) scale(1.2);
  }
}

@keyframes contactOrbFloat3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1) rotate(180deg);
  }
}

.contact-glow-lines {
  position: absolute;
  width: 100%;
  height: 100%;
}

.glow-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  animation: glowLineMove 8s ease-in-out infinite;
}

.glow-line-1 {
  width: 300px;
  height: 2px;
  top: 20%;
  left: -150px;
  animation-delay: 0s;
}

.glow-line-2 {
  width: 400px;
  height: 2px;
  top: 60%;
  right: -200px;
  animation-delay: 2s;
}

.glow-line-3 {
  width: 250px;
  height: 2px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes glowLineMove {
  0%,
  100% {
    transform: translateX(0) opacity(0);
  }
  50% {
    transform: translateX(100px) opacity(1);
  }
}

/* Contact Content */
.contact-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Contact Header */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.contact-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.3);
}

.contact-icon i {
  font-size: 2rem;
  color: #00d4ff;
  z-index: 1;
  animation: iconFloat 3s ease-in-out infinite;
}

.icon-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #00d4ff,
    #ff0080,
    #00ff80,
    #ffff00,
    #00d4ff
  );
  filter: blur(15px);
  opacity: 0.5;
  animation: iconGlowRotate 4s linear infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes iconGlowRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact-title {
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff, #ff0080, #00ff80);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradientShift 3s ease-in-out infinite;
  margin-bottom: 0.5rem;
}

.title-sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #aaa;
  font-weight: 400;
  opacity: 0.8;
}

@keyframes titleGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.contact-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.highlight-text {
  color: #00d4ff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Main Contact Area */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

/* Contact Form */
.contact-form-container {
  position: relative;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 3rem;
  overflow: hidden;
}

.form-glow-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05) 0%,
    rgba(255, 0, 128, 0.03) 50%,
    rgba(0, 255, 128, 0.05) 100%
  );
  border-radius: 20px;
  filter: blur(40px);
  opacity: 0.8;
}

.contact-form-futuristic {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
  z-index: 5;
}

.input-container {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.input-container input,
.input-container textarea {
  background: transparent;
  border: none;
  padding: 1.2rem 0 0.8rem;
  font-size: 1rem;
  color: #fff;
  margin-left: 8px;
  font-family: inherit;
  outline: none;
  resize: none;
  position: relative;
  z-index: 15;
  cursor: text;
}

/* Fix autocomplete styles */
.input-container input:-webkit-autofill,
.input-container input:-webkit-autofill:hover,
.input-container input:-webkit-autofill:focus,
.input-container input:-webkit-autofill:active {
  background-color: transparent !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.input-container input:-moz-autofill,
.input-container input:-moz-autofill:hover,
.input-container input:-moz-autofill:focus {
  background-color: transparent !important;
  color: #fff !important;
}

.input-container textarea {
  min-height: 120px;
}

.input-container label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: #888;
  pointer-events: none;
  transition: all 0.3s ease;
  transform-origin: left;
  z-index: 5;
}

.input-container input:focus + label,
.input-container input:valid + label,
.input-container textarea:focus + label,
.input-container textarea:valid + label {
  transform: translateY(-1.5rem) scale(0.8);
  color: #00d4ff;
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.input-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #ff0080, #00ff80);
  transition: left 0.5s ease;
}

.input-container input:focus ~ .input-line::before,
.input-container textarea:focus ~ .input-line::before {
  left: 0;
}

.input-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(255, 0, 128, 0.05),
    rgba(0, 255, 128, 0.1)
  );
  opacity: 0;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

/* Additional autocomplete fixes for all browsers */
.input-container input:autofill,
.input-container input[autocomplete]:autofill,
.input-container input[autocomplete='on']:autofill,
.input-container input[autocomplete='email']:autofill,
.input-container input[autocomplete='name']:autofill {
  background-color: transparent !important;
  background-image: none !important;
  color: #fff !important;
  caret-color: #fff !important;
}

.input-container input:autofill::selection {
  background-color: rgba(0, 212, 255, 0.3) !important;
}

.input-container input:focus ~ .input-glow,
.input-container textarea:focus ~ .input-glow {
  opacity: 1;
}

/* Submit Button */
.submit-btn-extraordinary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-btn-extraordinary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

.btn-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.3) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 255, 255, 0.3) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40% 30%,
      rgba(255, 255, 255, 0.3) 1px,
      transparent 1px
    );
  background-size: 30px 30px;
  animation: btnParticlesMove 2s linear infinite;
  opacity: 0;
}

.submit-btn-extraordinary:hover .btn-particles {
  opacity: 1;
}

@keyframes btnParticlesMove {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.btn-glow-effect {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(
    135deg,
    #00d4ff,
    #ff0080,
    #00ff80,
    #ffff00,
    #00d4ff
  );
  border-radius: 50px;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: btnGlowRotate 3s linear infinite;
}

.submit-btn-extraordinary:hover .btn-glow-effect {
  opacity: 0.7;
}

@keyframes btnGlowRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message-futuristic {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 255, 128, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid #00ff80;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: white;
  z-index: 10;
  animation: successSlideIn 0.5s ease forwards;
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.success-icon {
  font-size: 3rem;
  color: #00ff80;
  margin-bottom: 1rem;
  animation: successIconPulse 2s ease-in-out infinite;
}

@keyframes successIconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.success-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #00ff80;
}

.success-text p {
  color: #ccc;
  font-size: 1rem;
}

.success-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(0, 255, 128, 0.3) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 255, 128, 0.3) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 60% 40%,
      rgba(0, 255, 128, 0.3) 1px,
      transparent 1px
    );
  background-size: 20px 20px;
  animation: successParticlesFloat 3s ease-in-out infinite;
  border-radius: 20px;
}

@keyframes successParticlesFloat {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  position: relative;
}

.contact-card {
  position: relative;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2rem;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.3),
    rgba(255, 0, 128, 0.2),
    rgba(0, 255, 128, 0.3)
  );
  border-radius: 20px;
  filter: blur(10px);
  opacity: 0.5;
  animation: cardGlowPulse 4s ease-in-out infinite;
}

@keyframes cardGlowPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

.contact-info-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.contact-info-header h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-info-header p {
  color: #aaa;
  font-size: 0.9rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.contact-method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact-method:hover {
  transform: translateX(10px);
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
}

.method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  font-size: 1.2rem;
}

.method-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.method-value {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
}

.method-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-method:hover .method-glow {
  left: 100%;
}

.response-time {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 255, 128, 0.1);
  border: 1px solid rgba(0, 255, 128, 0.3);
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

.response-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 255, 128, 0.2);
  color: #00ff80;
  font-size: 1.2rem;
}

.response-text {
  display: flex;
  flex-direction: column;
}

.response-text span {
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.response-text strong {
  font-size: 0.9rem;
  color: #00ff80;
  font-weight: 600;
}

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--footer-border);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.footer-glow p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .social-quick {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-content {
    height: 70px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .btn-cv-turbo {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .btn-cv-turbo span {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-turbo .container {
    padding: 0 15px;
  }

  .header-content {
    height: 70px;
  }

  .logo-container {
    gap: 8px;
  }

  .logo-container img {
    width: 35px;
    height: 35px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .nav-list {
    gap: 4px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-cv-turbo {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .btn-cv-turbo span {
    display: none;
  }

  .social-quick {
    gap: 4px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  body {
    padding-top: 70px;
  }
}

@media (max-width: 360px) {
  .header-turbo .container {
    padding: 0 10px;
  }

  .header-content {
    height: 65px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .header-actions {
    gap: 6px;
  }

  .btn-cv-turbo {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  body {
    padding-top: 65px;
  }

  /* Hide some social icons on very small screens */
  .social-quick .social-icon:nth-child(3) {
    display: none;
  }
}

/* Media Queries */

@media (max-width: 878px) {
  .sobre-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .sobre-texto {
    max-width: 100%;
  }
  .sobre-h2 {
    text-align: center;
    width: 100%;
  }

  .sobre-img {
    position: relative;
    margin: 0 auto;
    top: 0;
    left: 30px;
    right: 30px;
  }

  .sobre-img img {
    width: 80%;
    margin: 0 auto;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-image img {
    width: 200px;
    height: auto;
  }
  .projetos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
    min-height: 200px;
  }

  #certificacoes .container h2 {
    font-size: 2rem;
    text-align: center;
  }

  #certificacoes .container h2 {
    font-size: 2rem;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  .subtitulo {
    font-size: 1.1rem;
  }
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  #contact-form {
    max-width: 100%;
  }
  .lightbox-content {
    width: 90%;
  }
  nav ul li.social-links {
    flex-direction: row;
    gap: 15px;
  }
  #sobre .container h2 {
    font-size: 2rem;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .projetos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
    min-height: 200px;
  }
  .sobre-texto h2,
  .sobre-p {
    text-align: center;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  .btn-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .skill i {
    font-size: 25px;
  }
  .skill span {
    font-size: 14px;
  }
  .contato-container {
    padding: 20px;
  }
  #habilidades .container h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  #sobre .container h2 {
    font-size: 1.3rem;
    text-align: center;
  }
}

/* RESPONSIVE DESIGN - CONTACT SECTION */
@media (max-width: 1024px) {
  .contact-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info-sidebar {
    order: -1;
  }

  .contact-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-extraordinary {
    padding: 60px 0;
  }

  .contact-content {
    padding: 0 1rem;
  }

  .contact-main {
    gap: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    padding: 0.8rem;
  }

  .method-info {
    font-size: 0.9rem;
  }

  .title-main {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .contact-orb-1 {
    width: 400px;
    height: 400px;
  }

  .contact-orb-2 {
    width: 300px;
    height: 300px;
  }

  .contact-orb-3 {
    width: 500px;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .contact-extraordinary {
    padding: 40px 0;
  }

  .contact-header {
    margin-bottom: 2rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }

  .contact-form-container {
    padding: 1.5rem;
    border-radius: 15px;
  }

  .contact-card {
    padding: 1.5rem;
    border-radius: 15px;
  }

  .submit-btn-extraordinary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .contact-method {
    padding: 0.7rem;
    border-radius: 10px;
  }

  .method-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .response-time {
    padding: 0.8rem;
  }

  .response-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .contact-orb {
    filter: blur(60px);
    opacity: 0.4;
  }

  .contact-particles {
    background-size: 200px 100px;
  }
}

@media (max-width: 360px) {
  .contact-content {
    padding: 0 0.5rem;
  }

  .contact-form-container {
    padding: 1rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .title-main {
    font-size: clamp(1.8rem, 10vw, 2rem);
  }

  .contact-description {
    font-size: 0.9rem;
  }

  .submit-btn-extraordinary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .contact-method {
    gap: 0.8rem;
    padding: 0.6rem;
  }

  .method-value {
    font-size: 0.8rem;
  }

  .success-message-futuristic {
    padding: 1.5rem;
    margin: 1rem;
  }
}
