@tailwind base;
@tailwind components;
@tailwind utilities;

/* Additional styles for special components */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.compare-table thead th {
  background: #f8fafc;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid #e5e7eb;
}

.compare-table thead th:first-child {
  text-align: left;
}

.compare-table tbody td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.card span {
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
}

.promo-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.cta {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.team-photo {
  width: 200px;
  height: auto;
  border-radius: 1rem;
}

.support-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.support-btn {
  display: inline-block;
  background: #004AAD;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.support-btn:hover {
  background: #003a8a;
  transform: translateY(-2px);
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

form input:focus {
  outline: none;
  border-color: #004AAD;
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}


@media (max-width: 768px) {
  
  .support-banner h2 {
    font-size: 1.55rem;
  }
  
  .support-btn {
    font-size: 1.15rem;
  }
}

.testimonial-card-item {
  break-inside: avoid;
}

.testimonials-container {
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testimonials-scroller {
  display: flex;
  gap: 1.5rem;
  height: 70vh;
  max-height: 800px;
}

.testimonial-column {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.scrolling-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.animate-scroll-down {
  animation: scroll-down 100s linear infinite;
}

.animate-scroll-up {
  animation: scroll-up 100s linear infinite;
}

@keyframes scroll-down {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes scroll-up {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.testimonial-card-item > div {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.testimonial-card-item:hover > div {
  transform: scale(1.02);
  background-color: #222;
}

.testimonial-column:hover .scrolling-wrapper {
  animation-play-state: paused;
} 

.holographic-card {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.5s ease;
}
.holographic-card h2 {
  /* font-size: 2rem; */
  position: relative;
  z-index: 2;
}
.holographic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(0,255,255,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.7s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.holographic-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}
.holographic-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(120%);
}
.holographic-card > * {
  position: relative;
  z-index: 1;
}