/* ============================================
   HESED DISCIPLESHIP NETWORK
   Brand Stylesheet v1.0
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --color-darker-blue: #4d85cf;
  --color-turquoise: #4db3d0;
  --color-light-blue: #b4d6f1;
  --color-cream: #f5f4f2;
  --color-white: #ffffff;
  --color-soft-gray: #6b7280;
  --color-dark-gray: #374151;
  --color-warm-black: #1f2937;

  /* Typography */
  --font-heading: "Marcellus", Georgia, serif;
  --font-body:
    "Mukta Mahee", "PT Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(77, 133, 207, 0.08);
  --shadow-medium: 0 8px 30px rgba(77, 133, 207, 0.12);
  --shadow-hover: 0 12px 40px rgba(77, 133, 207, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark-gray);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-darker-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-turquoise);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-warm-black);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.5rem;
  }
}

p {
  margin-bottom: var(--space-md);
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.75;
}

.text-small {
  font-size: 0.875rem;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-darker-blue);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: var(--space-4xl) 0;
}

/* ---------- Header & Navigation ---------- */
.header {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-light-blue);
}

.header-top a {
  color: var(--color-soft-gray);
  margin: 0 var(--space-sm);
}

.header-top a:hover {
  color: var(--color-darker-blue);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.top-nav {
  display: flex;
  gap: var(--space-lg);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  flex-wrap: wrap;
}

/* Mobile: Logo centered at top, hamburger to the right */
@media (max-width: 1023px) {
  .header-main {
    flex-direction: row;
    justify-content: center;
    position: relative;
    padding: var(--space-sm) var(--space-md);
  }

  .header-main .logo {
    order: 1;
  }

  .header-main .nav-toggle {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Header/Nav Logo */
.logo-nav {
  height: 65px;
  width: auto;
}

@media (max-width: 1023px) {
  .logo-nav {
    height: 70px;
  }
}

@media (min-width: 1024px) {
  .logo-nav {
    height: 65px;
  }
}

/* Footer Logo */
.logo-footer {
  height: auto;
  width: 100%;
  max-width: 350px;
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .logo-footer {
    max-width: none;
    padding: 24px 32px;
  }
}

.nav-main {
  display: none;
}

.nav-main ul {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-main a {
  font-weight: 500;
  color: var(--color-dark-gray);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-main a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-turquoise);
  transition: width var(--transition-normal);
}

.nav-main a:hover::after,
.nav-main a.active::after {
  width: 100%;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark-gray);
  transition: var(--transition-fast);
}

@media (min-width: 1024px) {
  .nav-main {
    display: block;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-medium);
  padding: var(--space-2xl);
  transition: right var(--transition-normal);
  z-index: 1001;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark-gray);
}

.mobile-nav ul {
  list-style: none;
  margin-top: var(--space-2xl);
}

.mobile-nav li {
  margin-bottom: var(--space-lg);
}

.mobile-nav a {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 244, 242, 0.95) 0%,
    rgba(180, 214, 241, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-welcome {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-turquoise);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  color: var(--color-soft-gray);
}

.hero-image {
  display: none;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 90vh;
  }

  .hero-content {
    width: 50%;
  }

  .hero-image {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 70%;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    box-shadow: var(--shadow-medium);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-darker-blue);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-turquoise);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-darker-blue);
  border: 2px solid var(--color-darker-blue);
  padding: 12px 30px;
}

.btn-secondary:hover {
  background: var(--color-darker-blue);
  color: var(--color-white);
}

.btn-gentle {
  background: var(--color-cream);
  color: var(--color-darker-blue);
  border: 1px solid var(--color-light-blue);
  padding: 12px 28px;
}

.btn-gentle:hover {
  background: var(--color-light-blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ---------- Divider ---------- */
.divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-turquoise),
    transparent
  );
  max-width: 200px;
  margin: var(--space-xl) auto;
}

.divider-left {
  margin-left: 0;
  background: linear-gradient(90deg, var(--color-turquoise), transparent);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ---------- Feature Section ---------- */
.features {
  background: var(--color-white);
}

.features-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  text-align: center;
  padding: var(--space-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-blue);
  border-radius: 50%;
  color: var(--color-darker-blue);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-item h4 {
  margin-bottom: var(--space-sm);
}

.feature-item p {
  color: var(--color-soft-gray);
  margin-bottom: 0;
}

/* ---------- Quote/Highlight Section ---------- */
.quote-section {
  background: linear-gradient(
    135deg,
    var(--color-light-blue) 0%,
    var(--color-cream) 100%
  );
  text-align: center;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-warm-black);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .quote-text {
    font-size: 2rem;
  }
}

/* ---------- Two Column Section ---------- */
.two-col {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.two-col-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.two-col-image img {
  width: 100%;
  height: auto;
}

.two-col-content h2 {
  margin-bottom: var(--space-lg);
}

.two-col-content p {
  color: var(--color-soft-gray);
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  margin: var(--space-lg) 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--color-dark-gray);
}

.checklist li::before {
  content: "✓";
  color: var(--color-turquoise);
  font-weight: bold;
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--color-white);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: var(--space-xl);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-warm-black);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-soft-gray);
}

/* Testimonial Navigation */
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-light-blue);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--color-turquoise);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-darker-blue) 0%,
    var(--color-turquoise) 100%
  );
  color: var(--color-white);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
}

.cta-section p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-darker-blue);
}

.cta-section .btn-primary:hover {
  background: var(--color-cream);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-warm-black);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  text-align: center;
}

.footer-brand .logo {
  justify-content: center;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .footer-brand {
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: flex-start;
  }
}

.footer h5 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: var(--space-sm);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--color-light-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-turquoise);
  transform: translateY(-3px);
}

/* ---------- Form Elements ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--color-dark-gray);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-light-blue);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-turquoise);
  box-shadow: 0 0 0 3px rgba(77, 179, 208, 0.2);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Email Signup */
.email-signup {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 500px;
}

@media (min-width: 640px) {
  .email-signup {
    flex-direction: row;
  }
}

.email-signup .form-input {
  flex: 1;
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}
.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.mt-0 {
  margin-top: 0;
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}
.mt-2xl {
  margin-top: var(--space-2xl);
}

/* ---------- Animations ---------- */

/* Base animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealText {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes growDivider {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Animation utility classes - Initial hidden states */
.anim-fade-up,
.anim-fade-down,
.anim-fade-left,
.anim-fade-right,
.anim-scale-in,
.anim-reveal {
  opacity: 0;
  will-change: transform, opacity;
}

.anim-fade-up {
  transform: translateY(40px);
}

.anim-fade-down {
  transform: translateY(-40px);
}

.anim-fade-left {
  transform: translateX(-60px);
}

.anim-fade-right {
  transform: translateX(60px);
}

.anim-scale-in {
  transform: scale(0.9);
}

.anim-reveal {
  transform: translateY(30px);
  filter: blur(10px);
}

/* Animated state - applied by JS when in viewport */
.anim-fade-up.is-visible {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.anim-fade-down.is-visible {
  animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.anim-fade-left.is-visible {
  animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.anim-fade-right.is-visible {
  animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.anim-scale-in.is-visible {
  animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.anim-reveal.is-visible {
  animation: revealText 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered animation delays */
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }
.anim-delay-6 { animation-delay: 0.6s; }

/* Divider animation */
.divider.anim-divider {
  transform: scaleX(0);
  transform-origin: center;
}

.divider.anim-divider.is-visible {
  animation: growDivider 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.divider-left.anim-divider {
  transform-origin: left;
}

/* Parallax hero background */
.hero-parallax {
  position: relative;
  overflow: hidden;
}

.hero-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 244, 242, 0.92) 0%,
    rgba(180, 214, 241, 0.4) 100%
  );
  z-index: 0;
}

.hero-parallax::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--parallax-offset, 0), 0);
  will-change: transform;
  z-index: -1;
}

/* Image hover effects */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-hover-zoom:hover img {
  transform: scale(1.05);
}

/* Floating animation for decorative elements */
.anim-float {
  animation: floatGentle 4s ease-in-out infinite;
}

/* Card hover lift enhancement */
.card.anim-card,
.feature-item.anim-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.anim-card:hover,
.feature-item.anim-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Button micro-interactions */
.btn-animated {
  position: relative;
  overflow: hidden;
}

.btn-animated::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-animated:hover::after {
  width: 300px;
  height: 300px;
}

/* Legacy class support */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
