
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #4f8cff, var(--accent));
  background-size: 200% 100%;
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(33, 230, 117, 0.5);
  animation: gradient-move 3s linear infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), #4f8cff);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(33, 230, 117, 0.4);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(33, 230, 117, 0.5);
}

.back-to-top:active {
  transform: scale(0.95);
}

.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float-around 20s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent), transparent);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #4f8cff, transparent);
  top: 60%;
  right: -3%;
  animation-delay: -5s;
}

.floating-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--accent), transparent);
  bottom: 20%;
  left: 10%;
  animation-delay: -10s;
}

@keyframes float-around {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(0, 20px) rotate(180deg);
  }
  75% {
    transform: translate(-30px, -10px) rotate(270deg);
  }
}

.card {
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, transparent 40%, var(--accent) 100%) border-box;
  border: 2px solid transparent;
}

.card:hover {
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--accent), #4f8cff) border-box;
}

.btn, .card, nav a, .footer-social a {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(33, 230, 117, 0.15);
  border-color: var(--accent);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(33, 230, 117, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.card:hover::before {
  left: 100%;
}

.card-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

.card-icon img {
  transition: filter 0.3s ease;
}

.card:hover .card-icon img {
  filter: drop-shadow(0 4px 8px rgba(33, 230, 117, 0.3));
}

.btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.35);
}

.btn:active {
  transform: scale(0.95);
}

nav a {
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

nav a:hover::after {
  width: 80%;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.card.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.card.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.card.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.card.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }

.logo {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 4px 12px rgba(33, 230, 117, 0.25));
}

.section-title {
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #4f8cff);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.section-title.revealed::after {
  width: 120px;
}

.info-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-box .info-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.info-box:hover .info-icon {
  transform: scale(1.2);
  color: var(--accent);
}

.footer-social a {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a:hover {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 8px 25px rgba(33, 230, 117, 0.4);
}

.slider-arrow-custom {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slider-arrow-custom:hover {
  transform: translateY(-50%) scale(1.15);
}

.slider-arrow-custom:active {
  transform: translateY(-50%) scale(0.95);
}

.hamburger span {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.clickable-feedback {
  transition: transform 0.15s ease;
}

.clickable-feedback:active {
  transform: scale(0.95);
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(33, 230, 117, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(33, 230, 117, 0.6), 0 0 30px rgba(33, 230, 117, 0.3);
  }
}

.glow-effect {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--accent); }
  50% { border-color: transparent; }
}

.typing-cursor {
  border-right: 3px solid var(--accent);
  animation: blink-cursor 0.8s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: page-fade-in 0.5s ease-out;
}

.btn:focus-visible,
.card:focus-visible,
nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right {
    opacity: 1;
    transform: none;
  }
  
  .floating-shapes {
    display: none;
  }
}

@media (max-width: 900px) {
  .card:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  nav a::after {
    bottom: 8px;
  }
  
  .section-title.revealed::after {
    width: 80px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .floating-shapes {
    display: none;
  }
}

@media (max-width: 600px) {
  .card:hover {
    transform: translateY(-2px);
  }
  
  .slider-arrow-custom:hover {
    transform: translateY(-50%) scale(1.08);
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), #4f8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-effect {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.4) 50%, 
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-divider {
  width: 100%;
  height: 80px;
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--accent) 20%, 
    #4f8cff 50%, 
    var(--accent) 80%, 
    transparent);
}

.section-divider::after {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 0 20px;
  color: var(--accent);
  font-size: 1.2rem;
}

.stat-item {
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #4f8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number::after {
  content: '+';
  font-size: 1.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .stats-section .stat-item {
    min-width: 140px !important;
  }
  
  .stats-section .stat-number {
    font-size: 2rem;
  }
  
  .stats-section .stat-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .stats-section {
    padding: 40px 15px !important;
  }
  
  .stats-section .stat-item {
    min-width: 120px !important;
  }
  
  .stats-section .stat-number {
    font-size: 1.75rem;
  }
}

[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.animated-link {
  position: relative;
  text-decoration: none;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.animated-link:hover::after {
  width: 100%;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.pulse-cta {
  position: relative;
}

.pulse-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: inherit;
  transform: translate(-50%, -50%);
  animation: pulse-ring 2s ease-out infinite;
}

.icon-box {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-box:hover {
  transform: translateY(-10px);
}

.icon-box:hover .icon-box-icon {
  animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

.img-reveal.revealed::after {
  transform: translateX(101%);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-item.revealed {
  animation: stagger-in 0.5s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes stagger-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
