/* Read Smarter — custom styles & animations */

:root {
  --brand: #0062FF;
  --brand-dark: #0050D4;
  --navy: #0A1628;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

.font-mono-label {
  font-family: 'JetBrains Mono', 'Geist Mono', monospace;
}

/* Navbar */
#navbar {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#navbar.nav-scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

/* Carousel slides */
[data-slide] {
  transition: opacity 0.8s ease-in-out;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Feature card hover */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 98, 255, 0.1);
}

/* Step circle pulse */
.step-circle {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-circle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(0, 98, 255, 0.12);
}

/* Button hover */
.btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 98, 255, 0.35);
}

.btn-outline-white {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Carousel arrow buttons */
.carousel-btn {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Form focus ring */
.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.15);
}
