/* ================================
   KITALE Landing Page - Modern Styles
   ================================ */

:root {
  --gradient-primary: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --gradient-secondary: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ================================
   Animations
   ================================ */

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animation-delay-1000 {
  animation-delay: 1s;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

.fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animation-delay-100 {
  animation-delay: 0.1s;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-500 {
  animation-delay: 0.5s;
}

/* ================================
   Feature Cards
   ================================ */

.feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 1.5rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #fb923c, #fbbf24);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-hover:hover .feature-card {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(249, 115, 22, 0.2);
}

.card-hover:hover .feature-card::before {
  opacity: 1;
  animation: gradient-shift 3s ease infinite;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-hover:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ================================
   Steps
   ================================ */

.step {
  display: flex;
  gap: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(251, 146, 60, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover {
  transform: translateX(8px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step:hover::before {
  opacity: 1;
}

.step > span {
  display: inline-flex;
  min-width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
  position: relative;
  z-index: 1;
}

/* ================================
   Testimonials
   ================================ */

.testimonial {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(249, 115, 22, 0.1);
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(249, 115, 22, 0.2);
}

.testimonial footer {
  margin-top: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ================================
   Pricing Cards
   ================================ */

.price {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 2px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.price::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.price:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  border-color: rgba(249, 115, 22, 0.3);
}

.price:hover::before {
  transform: scaleX(1);
}

.price h3 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price ul li {
  position: relative;
  padding-left: 1.5rem;
}

.price ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* ================================
   Buttons
   ================================ */

.btn-primary {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  background-size: 200% 100%;
  color: white;
  font-weight: 800;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}

/* ================================
   Form Inputs
   ================================ */

.input {
  width: 100%;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* ================================
   FAQ
   ================================ */

.faq {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.faq:hover {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-md);
}

.faq > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq > summary::-webkit-details-marker {
  display: none;
}

.faq > summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #f97316;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq[open] > summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin-top: 1rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ================================
   Responsive & Mobile
   ================================ */

@media (max-width: 768px) {
  .fade-in-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
