/**
 * NovaG Tech - Estilos modernos e tecnológicos
 * Efeitos visuais avançados para interface moderna
 */

/* Variáveis globais de cores */
:root {
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --secondary-color: #2ecc71;
  --accent-color: #9b59b6;
  --tech-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  --tech-gradient-alt: linear-gradient(135deg, #4A00E0 0%, #8E2DE2 100%);
  --neon-glow: 0 0 10px rgba(52, 152, 219, 0.5), 0 0 20px rgba(52, 152, 219, 0.3), 0 0 30px rgba(52, 152, 219, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --dark-bg: #0f1729;
  --dark-card: #1a2133;
}

/* Fundos tecnológicos */
.tech-grid-bg {
  position: relative;
  background-color: rgba(245, 247, 250, 0.8);
  background-image: radial-gradient(rgba(52, 152, 219, 0.1) 2px, transparent 0);
  background-size: 30px 30px;
  background-position: -15px -15px;
}

body.dark-mode .tech-grid-bg {
  background-color: rgba(10, 15, 25, 0.8);
  background-image: radial-gradient(rgba(52, 152, 219, 0.2) 2px, transparent 0);
}

/* Partículas do Footer */
.footer-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.3;
}

.footer {
  position: relative;
  overflow: hidden;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* Partículas e animações */
.particle {
  position: absolute;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.footer-particle {
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-30px) translateX(30px);
  }
  50% {
    transform: translateY(-50px) translateX(-20px);
  }
  75% {
    transform: translateY(-20px) translateX(-40px);
  }
}

/* Modo escuro */
body.dark-mode {
  background-color: var(--dark-bg);
  color: #f5f5f5;
}

body.dark-mode .card,
body.dark-mode .navbar,
body.dark-mode .footer {
  background-color: var(--dark-card);
}

/* Container para partículas */
.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Seção Hero com partículas */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--tech-gradient);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  color: #fff;
}

/* Efeito de texto digitado */
.typing-effect {
  border-right: 2px solid var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-color); }
}

/* Cards com efeito de vidro (Glassmorphism) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 15px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glass-shadow), 0 10px 20px rgba(0, 0, 0, 0.2);
}

.glass-card-dark {
  background: rgba(26, 33, 51, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card-dark:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Badges tecnológicos */
.tech-badge {
  display: inline-block;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--tech-gradient);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3);
}

.tech-badge-floating {
  position: absolute;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: var(--tech-gradient);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: float-badge 6s infinite ease-in-out;
}

.top-left {
  top: 20px;
  left: 20px;
}

.top-right {
  top: 20px;
  right: 20px;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
}

@keyframes float-badge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-badge {
  animation: float-horizontal 5s ease-in-out infinite;
}

@keyframes float-horizontal {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
}

/* Cards com efeito 3D tilt */
.tilt-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  margin-bottom: 30px;
}

.tilt-card-inner {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s ease;
  height: 100%;
}

body.dark-mode .tilt-card-inner {
  background: var(--dark-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Timeline tecnológica */
.tech-timeline {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
}

.tech-timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: var(--tech-gradient);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 5px;
}

.tech-timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.tech-timeline-item:nth-child(odd) {
  left: 0;
}

.tech-timeline-item:nth-child(even) {
  left: 50%;
}

.tech-timeline-dot {
  position: absolute;
  width: 25px;
  height: 25px;
  background: var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--neon-glow);
}

.tech-timeline-item:nth-child(odd) .tech-timeline-dot {
  right: -12px;
}

.tech-timeline-item:nth-child(even) .tech-timeline-dot {
  left: -12px;
}

.tech-timeline-content {
  padding: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.tech-timeline-year {
  display: inline-block;
  padding: 5px 15px;
  background: var(--tech-gradient);
  color: white;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Botão com efeito neon */
.btn-neon {
  position: relative;
  background: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
  z-index: 1;
}

.btn-neon:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tech-gradient);
  z-index: -1;
  transition: transform 0.5s ease;
  transform: scaleX(0);
  transform-origin: right;
}

.btn-neon:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-neon:hover {
  box-shadow: var(--neon-glow);
  color: white;
  transform: translateY(-3px);
}

/* Gradiente botão */
.gradient-btn {
  background: var(--tech-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.gradient-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tech-gradient-alt);
  z-index: -1;
  transition: transform 0.5s ease;
  transform: scaleX(0);
  transform-origin: right;
}

.gradient-btn:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.gradient-btn:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
  color: white;
}

/* Animações de fade */
.animate-fadeIn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fadeIn.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Círculos de blockchain */
.blockchain-bg {
  position: relative;
  overflow: hidden;
}

.blockchain-circle {
  position: absolute;
  border: 2px solid rgba(52, 152, 219, 0.2);
  border-radius: 50%;
  pointer-events: none;
  animation: rotateCircle 50s linear infinite;
  z-index: 0;
}

@keyframes rotateCircle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.blockchain-circle::before,
.blockchain-circle::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: var(--neon-glow);
}

.blockchain-circle::before {
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.blockchain-circle::after {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}

/* Stats counter */
.counter-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body.dark-mode .counter-box {
  background: var(--dark-card);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.counter {
  font-size: 50px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Contadores com círculos SVG */
.stats-counter-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--tech-gradient);
  color: white;
}

.stats-counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 C60,20 40,50 0,100 Z" fill="%232575fc" opacity="0.2"/></svg>');
  background-size: cover;
  z-index: 0;
}

.stats-counter-inner {
  position: relative;
  z-index: 1;
}

.stats-counter-section h2 {
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.stats-counter-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
}

.circle-counter {
  position: relative;
  margin-bottom: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.circle-counter:hover {
  transform: translateY(-10px);
}

.circle-counter-inner {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.circle-svg {
  transform: rotate(-90deg);
  overflow: visible;
}

.counter-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 10;
}

.counter-circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 1s ease;
}

.counter-circle-1 {
  stroke: #3498db;
  stroke-dashoffset: 0;
  animation: animateCircle1 2s ease forwards;
}

.counter-circle-2 {
  stroke: #2ecc71;
  stroke-dashoffset: 0;
  animation: animateCircle2 2s ease forwards;
}

.counter-circle-3 {
  stroke: #9b59b6;
  stroke-dashoffset: 0;
  animation: animateCircle3 2s ease forwards;
}

.counter-circle-4 {
  stroke: #f1c40f;
  stroke-dashoffset: 0;
  animation: animateCircle4 2s ease forwards;
}

@keyframes animateCircle1 {
  from { stroke-dashoffset: 500; }
  to { stroke-dashoffset: calc(500 - (500 * 85) / 100); }
}

@keyframes animateCircle2 {
  from { stroke-dashoffset: 500; }
  to { stroke-dashoffset: calc(500 - (500 * 90) / 100); }
}

@keyframes animateCircle3 {
  from { stroke-dashoffset: 500; }
  to { stroke-dashoffset: calc(500 - (500 * 75) / 100); }
}

@keyframes animateCircle4 {
  from { stroke-dashoffset: 500; }
  to { stroke-dashoffset: calc(500 - (500 * 95) / 100); }
}

.counter-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 700;
}

.counter-value {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0;
  color: white;
}

.counter-title {
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 0;
  opacity: 0.9;
  font-weight: 500;
}

.counter-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

#particles-js-counter {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.counter-badges {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.tech-badge-floating {
  position: absolute;
  z-index: 0;
  animation-duration: 15s;
}

@media (max-width: 767px) {
  .circle-counter {
    margin-bottom: 40px;
  }
  
  .circle-counter-inner {
    width: 150px;
    height: 150px;
  }
  
  .counter-value {
    font-size: 28px;
  }
}

/* Botão flutuante para contato */
.float-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background: var(--tech-gradient);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  transition: all 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--neon-glow);
}

/* Aviso de cookies */
.cookie-consent {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: var(--dark-card);
  color: white;
  padding: 15px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
}

.cookie-buttons button {
  margin-left: 10px;
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.cookie-accept {
  background: var(--secondary-color);
  color: white;
}

.cookie-settings {
  background: transparent;
  color: white;
  border: 1px solid white !important;
}

/* Tooltip tecnológico */
.tech-tooltip {
  position: relative;
  display: inline-block;
}

.tech-tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background: var(--dark-card);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: var(--glass-border);
}

.tech-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Botão de alternância de modo escuro */
#dark-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#dark-mode-toggle:hover {
  background: rgba(52, 152, 219, 0.1);
  transform: rotate(20deg);
}

/* CEO/Sobre Seção */
.tech-image-container {
  position: relative;
  padding: 10px;
  border-radius: 15px;
  overflow: hidden;
}

.tech-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.tech-feature:hover {
  transform: translateX(10px);
}

.tech-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--tech-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tech-feature h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.tech-feature p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 14px;
}

.ceo-bio .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.tech-skill-container {
  margin-top: 20px;
}

.tech-skill {
  margin-bottom: 15px;
}

.tech-skill span {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.tech-social-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--tech-gradient);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tech-social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white;
}

.tech-social-link i {
  margin-right: 10px;
  font-size: 18px;
}

/* Efeito de recorte hexagonal para imagem */
.hexagon-clip {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all 0.5s ease;
}

.hexagon-clip:hover {
  clip-path: polygon(50% 0%, 95% 20%, 95% 80%, 50% 100%, 5% 80%, 5% 20%);
}

/* Contador Seção */
.counter-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  color: white;
}

.counter-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.counter-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.counter-circle-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.counter-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 5;
}

.counter-circle {
  fill: none;
  stroke: white;
  stroke-width: 5;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s ease;
}

.counter-circle-1 {
  stroke: #4facfe;
  animation: animateCircle1 2s forwards;
}

.counter-circle-2 {
  stroke: #00f2fe;
  animation: animateCircle2 2s forwards;
}

.counter-circle-3 {
  stroke: #38ef7d;
  animation: animateCircle3 2s forwards;
}

.counter-circle-4 {
  stroke: #ffe259;
  animation: animateCircle4 2s forwards;
}

@keyframes animateCircle1 {
  to {
    stroke-dashoffset: 42; /* 283 * (1 - 85%) */
  }
}

@keyframes animateCircle2 {
  to {
    stroke-dashoffset: 28; /* 283 * (1 - 90%) */
  }
}

@keyframes animateCircle3 {
  to {
    stroke-dashoffset: 56; /* 283 * (1 - 80%) */
  }
}

@keyframes animateCircle4 {
  to {
    stroke-dashoffset: 70; /* 283 * (1 - 75%) */
  }
}

.counter-value {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.counter-badge-item {
  margin: 10px;
}

/* Estilos para a seção de contador */
.counter-section {
    position: relative;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient-bg 15s ease infinite;
    color: #fff;
}

.counter-card {
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.counter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.counter-icon {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    width: 120px;
    height: 120px;
    line-height: 120px;
}

.counter-circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.counter-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 5;
}

.counter-circle {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease;
}

.counter-circle-1 {
    stroke: #f72585;
}

.counter-circle-2 {
    stroke: #4cc9f0;
}

.counter-circle-3 {
    stroke: #4361ee;
}

.counter-circle-4 {
    stroke: #7209b7;
}

.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #f72585, #4cc9f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-content h5 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    color: white;
}

.counter-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.counter-badge-item {
    animation: float 3s ease-in-out infinite;
}

.counter-badge-item:nth-child(2) {
    animation-delay: 0.5s;
}

.counter-badge-item:nth-child(3) {
    animation-delay: 1s;
}

.floating-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.floating-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes gradient-bg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Portfolio Seção */
.tech-filter {
  margin-bottom: 30px;
}

.tech-filter-btn {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  margin: 0 5px 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-filter-btn.active,
.tech-filter-btn:hover {
  background: var(--tech-gradient);
  color: white;
  border-color: transparent;
}

.portfolio-card {
  height: 100%;
  overflow: hidden;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-content {
  background: white;
}

body.dark-mode .portfolio-content {
  background: var(--dark-card);
}

.portfolio-tech {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tech-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--tech-gradient);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Gradiente para textos */
.gradient-blue-purple {
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.gradient-blue-purple::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--tech-gradient);
  border-radius: 3px;
}

/* Media queries para responsividade */
@media (max-width: 767px) {
  .tech-timeline::after {
    left: 31px;
  }
  
  .tech-timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    left: 0 !important;
  }
  
  .tech-timeline-item .tech-timeline-dot {
    left: 18px !important;
  }
  
  .counter-card {
    margin-bottom: 20px;
  }
  
  .tech-filter-btn {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .tech-badge-floating {
    padding: 5px 10px;
    font-size: 12px;
  }
}