@import url("./geral.css");
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
}

/* Spotlight effect container */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Magnetic button effect */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Glass morphism enhancement */
.glass-effect {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated border gradient */
.animated-border {
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  z-index: 1;
}

.animated-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-purple), var(--accent-green), var(--accent-color));
  background-size: 400% 400%;
  animation: gradient-shift 3s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.animated-border:hover::before {
  opacity: 1;
}

/* Enhanced shimmer effect */
@keyframes enhanced-shimmer {
  0% {
    transform: translateX(-100%) rotate(5deg);
  }
  100% {
    transform: translateX(100%) rotate(5deg);
  }
}

.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  transform: translateX(-100%) rotate(5deg);
  transition: transform 0.6s ease;
}

.shimmer-effect:hover::after {
  animation: enhanced-shimmer 0.8s ease forwards;
}

/* Header estilo Portfólio */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* Typewriter effect for title */
.typewriter-title {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--accent-color);
  animation:
    typewriter 1.5s steps(20) forwards,
    blink 0.75s step-end infinite;
  width: 0;
}

.app-info {
  display: flex;
  align-items: center;
}

.app-icon img {
  margin-right: 15px;
  border-radius: 50%;
  border: 2px solid var(--border);
  width: 50px;
  height: 50px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.app-icon img:hover {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(200, 245, 90, 0.2);
}

.app-icon i {
  font-size: 24px;
}

.app-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--off-white);
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.header-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.date-info {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 12px 18px;
  border: 1px solid var(--border-color);
  text-align: center;
  min-width: 140px;
  animation: slideInRight 0.6s ease-out 0.3s both;
}

.current-day {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.current-date {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Botão de Currículo */
.resume-btn {
  background: linear-gradient(135deg, var(--accent-green), #3fb950);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  animation: slideInRight 0.6s ease-out 0.4s both;
  box-shadow: 0 4px 12px rgba(63, 185, 80, 0.3);
}

.resume-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(63, 185, 80, 0.5);
}

.resume-btn:active {
  transform: translateY(-1px);
}

/* Barra de Pesquisa */
.search-section {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease-out 0.4s forwards;
}

.search-container {
  display: flex;
  gap: 10px;
}

.search-input {
  flex-grow: 1;
  background-color: var(--button-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
}

.search-btn {
  background: linear-gradient(135deg, var(--accent-color), #1f6feb);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  justify-content: center;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(88, 166, 255, 0.3);
}

.search-results {
  margin-top: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.search-results.active {
  max-height: 300px;
}

.search-result-item {
  background-color: var(--button-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.3s ease-out forwards;
}

.search-result-title {
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.search-result-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.no-results {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
  font-style: italic;
}

/* Seções gerais - Estilo Portfólio */
.section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.section:hover::before {
  transform: scaleX(1);
}

.section:hover {
  border-color: rgba(200, 245, 90, 0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}

.section:nth-child(2) {
  animation-delay: 0.5s;
}
.section:nth-child(3) {
  animation-delay: 0.65s;
}
.section:nth-child(4) {
  animation-delay: 0.8s;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.section:hover .section-title::after {
  width: 60px;
}

.section-title i {
  margin-right: 10px;
  color: var(--accent);
  font-size: 1rem;
}

/* Botão Saiba Mais */
.learn-more-btn {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(142, 45, 226, 0.1));
  border: 1px solid rgba(79, 172, 254, 0.3);
  color: var(--accent-color);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.learn-more-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;
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(142, 45, 226, 0.2));
  border-color: var(--accent-color);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(79, 172, 254, 0.2);
}

.learn-more-btn:hover::before {
  left: 100%;
}

.learn-more-btn i {
  transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
  transform: rotate(15deg);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  position: relative;
}

.modal-overlay.active .modal {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--accent-color);
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent-color);
  text-align: center;
}

.modal-content {
  line-height: 1.6;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section-title {
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 10px;
  font-size: 18px;
}

/* Redes Sociais - Estilo Portfólio */
.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-block {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.35s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--off-white);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeIn 0.5s ease-out forwards;
}

.social-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.social-block:hover::after {
  transform: scaleX(1);
}

.social-block:nth-child(1) {
  animation-delay: 0.7s;
}
.social-block:nth-child(2) {
  animation-delay: 0.8s;
}
.social-block:nth-child(3) {
  animation-delay: 0.9s;
}
.social-block:nth-child(4) {
  animation-delay: 1s;
}

.social-block:hover {
  background: #161616;
  transform: translateY(-4px);
  border-color: rgba(200, 245, 90, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.social-icon {
  font-size: 24px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-block:hover .social-icon {
  transform: scale(1.1);
}

.social-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.social-block:hover .social-name {
  color: var(--accent);
}

.social-user {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
}

/* Meus Projetos - Estilo Portfólio */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  animation: slideInRight 0.5s ease-out forwards;
}

.project-item:first-child {
  border-radius: 16px 16px 0 0;
}

.project-item:last-child {
  border-radius: 0 0 16px 16px;
}

.project-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,245,90,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}

.project-item:hover::before {
  opacity: 1;
}

.project-item:nth-child(1) {
  animation-delay: 0.7s;
}
.project-item:nth-child(2) {
  animation-delay: 0.8s;
}
.project-item:nth-child(3) {
  animation-delay: 0.9s;
}

.project-item:hover {
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-color: rgba(200, 245, 90, 0.2);
}

.project-info {
  flex-grow: 1;
}

.project-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  color: var(--off-white);
  letter-spacing: -0.02em;
}

.project-title i, .project-title img {
  margin-right: 8px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.project-item:hover .project-title i {
  transform: scale(1.1);
}

.project-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.project-tech {
  font-size: 0.7rem;
  color: var(--accent);
  background: rgba(200, 245, 90, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.project-link {
  color: var(--accent);
  font-size: 18px;
  margin-left: 15px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.project-link:hover {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* Minhas Metas - Estilo Portfólio */
.goals-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goal-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
  position: relative;
  overflow: hidden;
}

.goal-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.goal-item:hover::after {
  transform: scaleX(1);
}

.goal-item:nth-child(1) {
  animation-delay: 0.6s;
}
.goal-item:nth-child(2) {
  animation-delay: 0.75s;
}
.goal-item:nth-child(3) {
  animation-delay: 0.9s;
}
.goal-item:nth-child(4) {
  animation-delay: 1.05s;
}

.goal-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 242, 254, 0.1),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.goal-item:hover {
  border-color: rgba(200, 245, 90, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.goal-checkbox {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--card-bg);
  margin-right: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.goal-checkbox:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(200, 245, 90, 0.2);
}

.goal-checkbox.checked {
  background: var(--accent);
  border-color: var(--accent);
  animation: checkPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.goal-checkbox.checked i {
  color: var(--black);
  font-size: 14px;
  z-index: 2;
  position: relative;
}

/* Mini checks que formam 100% */
.mini-checks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.goal-checkbox.checked .mini-checks {
  opacity: 1;
}

.mini-check {
  width: 5px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  margin: 0.5px;
  flex: 0 0 calc(20% - 1px);
  transition: all 0.3s ease;
}

.goal-checkbox.checked .mini-check {
  animation: miniCheckWave 1.5s ease infinite;
}

.goal-checkbox.checked .mini-check:nth-child(2n) {
  animation-delay: 0.2s;
}

.goal-checkbox.checked .mini-check:nth-child(3n) {
  animation-delay: 0.4s;
}

.goal-content {
  flex-grow: 1;
  min-width: 0;
}

.goal-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.goal-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
  transition: color 0.3s ease;
}

.goal-item:hover .goal-title {
  color: var(--accent-green);
}

.goal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
}

.goal-progress {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-bar {
  height: 100%;
  border-radius: 4px;
  width: 0;
  position: relative;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(90deg, var(--accent-color), var(--accent-purple));
  box-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Para a barra de progresso das metas */
.goal-progress .progress-bar {
  height: 100%;
  border-radius: 4px;
  width: var(--progress-width, 0%);
  position: relative;
}

/* Para a seção de fluência */
.fluency-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink), var(--accent-purple));
  background-size: 200% 100%;
  width: var(--progress-width, 0%);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  animation: gradient-shift 3s ease infinite;
}

/* Remove a animação automática e deixa controlada pelo JavaScript */
.fluency-bar .fluency-fill {
  animation: gradient-shift 3s ease infinite;
}

/* Fluência - Estilo Portfólio */
.fluency-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.2s forwards;
  position: relative;
  overflow: hidden;
}

.fluency-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.fluency-section:hover::after {
  transform: scaleX(1);
}

.fluency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fluency-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--off-white);
  font-size: 16px;
}

.fluency-score {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
}

.fluency-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.fluency-bars {
  display: flex;
  gap: 12px;
}

.fluency-bar {
  height: 40px;
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.fluency-bar:nth-child(1) {
  animation-delay: 1.4s;
}
.fluency-bar:nth-child(2) {
  animation-delay: 1.55s;
}
.fluency-bar:nth-child(3) {
  animation-delay: 1.7s;
}
.fluency-bar:nth-child(4) {
  animation-delay: 1.85s;
}

.fluency-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0;
  position: relative;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fluency-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  z-index: 1;
}

/* Divider - Estilo Portfólio */
.divider {
  height: 1px;
  background: var(--border);
  margin: 30px 0;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 1.6s forwards;
}

/* Footer - Estilo Portfólio */
.footer {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
  padding: 30px 0;
  font-weight: 500;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.8s forwards;
  position: relative;
  border-top: 1px solid var(--border);
}

.footer p {
  margin-bottom: 8px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.contact-link {
  color: var(--muted);
  font-size: 20px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.contact-link:nth-child(1) { animation-delay: 2s; }
.contact-link:nth-child(2) { animation-delay: 2.1s; }
.contact-link:nth-child(3) { animation-delay: 2.2s; }
.contact-link:nth-child(4) { animation-delay: 2.3s; }

.contact-link:hover {
  color: var(--accent);
  border-color: rgba(200, 245, 90, 0.3);
  transform: translateY(-3px);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Responsividade */
@media (max-width: 500px) {
  .container {
    max-width: 100%;
  }

  .section,
  .search-section {
    padding: 16px;
  }

  .header {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
  }
  .app-icon i {
    font-size: 24px;
    margin-right: 10px;
  }

  .header-right {
    display: none;
  }
}

/* ============================================
   Toggle de Seguidores por Rede Social
   ============================================ */

.goal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.goal-title-row .goal-title {
  margin-bottom: 0;
}

.followers-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 245, 90, 0.08);
  border: 1px solid rgba(200, 245, 90, 0.25);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.followers-toggle-btn:hover {
  background: rgba(200, 245, 90, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(200, 245, 90, 0.2);
  transform: translateY(-1px);
}

.followers-toggle-btn.active {
  background: rgba(200, 245, 90, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(200, 245, 90, 0.25);
}

.followers-toggle-icon {
  font-size: 10px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.followers-toggle-btn.active .followers-toggle-icon {
  transform: rotate(180deg);
}

/* Painel expansível */
.followers-breakdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              margin-top 0.35s ease;
  opacity: 0;
  margin-top: 0;
}

.followers-breakdown.open {
  max-height: 200px;
  opacity: 1;
  margin-top: 14px;
}

/* Cada linha de rede social */
.followers-network {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(240, 236, 227, 0.06);
}

.followers-network:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.followers-network-icon {
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.followers-breakdown.open .followers-network-icon {
  animation: fadeInUp 0.4s ease forwards;
}

.followers-network-info {
  flex-grow: 1;
  min-width: 0;
}

.followers-network-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.followers-network-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.followers-network-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.followers-breakdown.open .followers-network-fill {
  width: var(--nw-width, 0%);
}

.followers-network-count {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--off-white);
  min-width: 36px;
  text-align: right;
  flex-shrink: 0;
}
