/* ============================================
   Traccia Zero - Main Stylesheet
   ============================================ */

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
}

/* ============================================
   Keyframe Animations
   ============================================ */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes checkBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   Background & Gradient Styles
   ============================================ */
.hero-gradient {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(40px);
}

/* ============================================
   Card Styles
   ============================================ */
.card-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
}

.number-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(14, 165, 233, 0.1);
}

.content-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(14, 165, 233, 0.1);
}

/* ============================================
   Text Styles
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Button Styles
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(14, 165, 233, 0.5);
}

/* ============================================
   Form Styles
   ============================================ */
.input-modern {
  transition: all 0.3s ease;
}

.input-modern:focus {
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
  border-color: #0ea5e9;
}

/* ============================================
   Badge Styles
   ============================================ */
.badge-float {
  animation: float 4s ease-in-out infinite;
}

.badge-float:nth-child(2) {
  animation-delay: 0.5s;
}

.badge-float:nth-child(3) {
  animation-delay: 1s;
}

/* ============================================
   Divider Styles
   ============================================ */
.section-divider {
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
  height: 1px;
}

/* ============================================
   Thank You Page Specific Styles
   ============================================ */
.success-ring {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.list-item-appear {
  animation: slideIn 0.5s ease-out forwards;
  opacity: 0;
}

.list-item-appear:nth-child(1) {
  animation-delay: 0.2s;
}

.list-item-appear:nth-child(2) {
  animation-delay: 0.4s;
}

.list-item-appear:nth-child(3) {
  animation-delay: 0.6s;
}

/* ============================================
   Legal Pages Content Styles
   ============================================ */
.content-card h2 {
  color: #0ea5e9;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}

.content-card h2:first-of-type {
  margin-top: 0;
}

.content-card p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.content-card ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: #475569;
}

.content-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  border-radius: 50%;
}

.content-card a {
  color: #0ea5e9;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.content-card a:hover {
  color: #6366f1;
}

/* ============================================
   Info & Highlight Boxes
   ============================================ */
.info-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid #0ea5e9;
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
}

.info-box p {
  margin: 0;
  color: #1e293b;
}

.highlight-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin: 0;
  color: #78350f;
}
