/* TheStartupOps — Custom Styles */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
  background: #00b4d8;
  border-radius: 4px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered fade-in for cards */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Card hover glow */
.card-glow {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.card-glow:hover {
  border-color: #00b4d8;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15), 0 0 40px rgba(0, 180, 216, 0.05);
  transform: translateY(-4px);
}

/* CTA button pulse */
.btn-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(0, 180, 216, 0); }
}

/* Floating tech tags */
.float-tag {
  animation: float 3s ease-in-out infinite;
}
.float-tag:nth-child(2) { animation-delay: 0.5s; }
.float-tag:nth-child(3) { animation-delay: 1s; }
.float-tag:nth-child(4) { animation-delay: 1.5s; }
.float-tag:nth-child(5) { animation-delay: 2s; }
.float-tag:nth-child(6) { animation-delay: 0.3s; }
.float-tag:nth-child(7) { animation-delay: 0.8s; }
.float-tag:nth-child(8) { animation-delay: 1.3s; }
.float-tag:nth-child(9) { animation-delay: 1.8s; }
.float-tag:nth-child(10) { animation-delay: 0.6s; }

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

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #00b4d8, #0077b6, #00b4d8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero background gradient */
.hero-bg {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 180, 216, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0a0a0f 0%, #0d1117 100%);
}

/* Section divider glow line */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #00b4d8, transparent);
  opacity: 0.3;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Stat counter */
.stat-value {
  font-variant-numeric: tabular-nums;
}

/* Audit section gradient bg */
.audit-bg {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(0, 119, 182, 0.05) 100%);
  border: 1px solid rgba(0, 180, 216, 0.2);
}

/* Nav blur */
.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Tech stack pill hover */
.tech-pill {
  transition: all 0.3s ease;
}
.tech-pill:hover {
  border-color: #00b4d8;
  background: rgba(0, 180, 216, 0.05);
}

/* Back to top button */
#back-to-top {
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Contact form focus glow */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.2);
}

/* Selection color */
::selection {
  background: rgba(0, 180, 216, 0.3);
  color: #ffffff;
}
