/* ===== Time Tracker Pro — Custom Overrides ===== */

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #1c2028;
}
::-webkit-scrollbar-thumb {
  background: #393E46;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #948979;
}

/* Glass utility */
.glass {
  background: rgba(42, 47, 56, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 137, 121, 0.12);
}
.glass-strong {
  background: rgba(42, 47, 56, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(148, 137, 121, 0.18);
}

/* Scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }

/* Hero glow */
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,137,121,0.13) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Navbar active link */
.nav-link.active {
  color: #DFD0B8;
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: #948979;
  border-radius: 1px;
}

/* Pro badge */
.badge-pro {
  font-size: 9px;
  font-weight: 800;
  background: #948979;
  color: #222831;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Card hover lift */
.card-hover {
  transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border-color: rgba(148,137,121,0.3);
}

/* CTA button pulse glow */
.cta-glow {
  box-shadow: 0 0 0 0 rgba(148,137,121,0.4);
  animation: ctaPulse 2.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(148,137,121,0.35); }
  50% { box-shadow: 0 0 20px 4px rgba(148,137,121,0.15); }
}

/* Trust bar subtle divider */
.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(148,137,121,0.2);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.22,1,.36,1), padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron {
  transition: transform 0.3s ease;
}

/* Feature grid connector line (decorative) */
.feature-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(148,137,121,0.12);
  border: 1px solid rgba(148,137,121,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #948979;
  flex-shrink: 0;
}

/* Comparison table checkmark */
.check-yes {
  color: #7a9e7e;
}
.check-no {
  color: #736b5e;
}

/* Image placeholder styling */
.img-placeholder {
  background: rgba(57, 62, 70, 0.4);
  border: 1px dashed rgba(148, 137, 121, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #736b5e;
  font-size: 13px;
  overflow: hidden;
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Section divider gradient */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,137,121,0.2), transparent);
}

/* Pricing highlight border */
.pricing-highlight {
  border: 1px solid rgba(148,137,121,0.4);
  box-shadow: 0 0 40px rgba(148,137,121,0.08);
  position: relative;
}
.pricing-highlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(148,137,121,0.3), transparent 50%, rgba(148,137,121,0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
