/* Variables */
:root {
  --brand: #0ea5e9;
  --brand-dark: #0284c7;
  --accent: #fcd34d;
}

/* Base */
body {
  font-family: 'Inter', ui-sans-serif, system-ui;
}

/* Utilities */
.gradient-bg {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.glass {
  backdrop-filter: saturate(160%) blur(10px);
  background: rgba(255, 255, 255, 0.8);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Card effects */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.15);
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays */
.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(7) { transition-delay: 0.35s; }

/* Button hover effects */
.gradient-bg:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
}

/* Link underline animation */
nav a {
  position: relative;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Pulse animation for CTAs */
@keyframes pulse-soft {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
  }
}

.pulse-cta {
  animation: pulse-soft 2s ease-in-out infinite;
}

/* Notion mockup enhancement */
.notion-mockup {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Input focus states */
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transition: all 0.2s ease;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .card:hover {
    transform: none;
  }

  nav a::after {
    display: none;
  }
}
