/* EduPredictor Global Design System */
:root {
  --bg-primary: #0B1020;
  --bg-card: #11172A;
  --bg-glass: rgba(255,255,255,0.05);
  --text-primary: #E8EBF1;
  --text-secondary: #9AA4B2;
  --accent-cyan: #00E5FF;
  --accent-green: #2BFF88;
  --accent-amber: #FFB020;
  --border-soft: rgba(255,255,255,0.08);
  --radius-lg: 24px;
  --radius-md: 12px;
  --ease-out-custom: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  scroll-snap-align: start;
  height: 90vh !important;
  min-height: 90vh !important;
}

.hero-slide {
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.translate-x--full {
  transform: translateX(-100%);
}

/* Stats Animation */
.slide-metadata {
  transform-style: preserve-3d;
}

.stats-item {
  position: relative;
  z-index: 30;
  transition: all 0.7s var(--ease-out-custom);
}

.stats-item.active-stat {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* CTA Button Animation */
.animate-cta-pulse {
  animation: ctaPulse 2s var(--ease-out-custom) infinite;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
}

@keyframes ctaPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.6);
  }
}

.animate-ping-slow {
  animation: pingSlow 2s var(--ease-out-custom) infinite;
}

@keyframes pingSlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Exams Section */
.exam-card {
  position: relative;
  transition: all 0.5s var(--ease-out-custom);
  will-change: transform, box-shadow;
}

.exam-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-custom);
}

.exam-card:hover::before {
  opacity: 1;
}

.exam-card[data-status="live"]:hover {
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
}

.exam-card[data-status="coming-soon"]:hover {
  box-shadow: 0 20px 40px rgba(255, 176, 32, 0.15);
}

/* Scroll Indicator */
.animate-pulse-scroll {
  animation: pulseScroll 2s var(--ease-out-custom) infinite;
}

@keyframes pulseScroll {
  0%, 100% { 
    height: 12px; 
    opacity: 0.6; 
  }
  50% { 
    height: 24px; 
    opacity: 1; 
  }
}

/* Parallax Sections */
[data-parallax-section] {
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
/* Live Counters Section */
.counter-item {
  padding: 2rem 1rem;
  transition: all 0.3s var(--ease-out-custom);
}

.counter-item:hover {
  transform: translateY(-4px);
}

/* Counter Animation */
@keyframes countUp {
  from { 
    opacity: 0.8;
    transform: translateY(10px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.counter-animated {
  animation: countUp 0.6s var(--ease-out-custom) forwards;
}
/* Benchmark Section */
.benchmark-row {
  transition: all 0.3s var(--ease-out-custom);
}

@media (hover: hover) {
  .benchmark-row:hover {
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.03), transparent);
  }
}

/* Parallax Fix */
[data-parallax-section] {
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.1s linear;
}


/* Mobile optimizations for benchmark table */
@media (max-width: 768px) {
  .benchmark-row {
    padding: 0.75rem 1rem !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 0.5rem !important;
  }
  
  .benchmark-row > div {
    padding: 0.25rem 0;
  }
  
  .benchmark-row span, 
  .benchmark-row div {
    font-size: 0.875rem !important;
  }
}

/* Competitive Benchmark Section */
.exam-tab {
  position: relative;
  transition: all 0.3s var(--ease-out-custom);
}

.exam-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.exam-tab.active-tab {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(43, 255, 136, 0.1));
  color: white;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
}

/* Top Performers Cards */
.top-performer-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.4s var(--ease-out-custom);
  overflow: hidden;
}

.top-performer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.1);
}

.top-performer-card.rank-1 {
  border-color: rgba(255, 193, 7, 0.3);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
}

.top-performer-card.rank-2 {
  border-color: rgba(192, 192, 192, 0.3);
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.05), rgba(192, 192, 192, 0.02));
}

.top-performer-card.rank-3 {
  border-color: rgba(205, 127, 50, 0.3);
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.05), rgba(205, 127, 50, 0.02));
}

/* Profile Picture Placeholder */
.profile-pic {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Rank Badge */
.rank-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.25rem;
  z-index: 10;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
  color: white;
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #CD7F32, #8B4513);
  color: white;
}

/* List Rows */
.benchmark-row {
  transition: all 0.3s var(--ease-out-custom);
}

.benchmark-row:hover {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.05), transparent);
}

/* State Badge */
.state-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.exam-content {
  animation: slideIn 0.5s var(--ease-out-custom) forwards;
}

@media (max-width: 768px) {
  .exam-tab {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem;
  }
  
  .top-performer-card {
    padding: 1.5rem !important;
  }
  
  .profile-pic {
    width: 60px;
    height: 60px;
  }
}
/* Value Proposition Cards */
.value-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-card:hover::before {
  opacity: 1;
}

/* Card icon hover effect */
.value-card:hover .w-14.h-14 {
  transform: scale(1.1);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* List item animations */
.value-card li {
  transition: transform 0.3s ease;
}

.value-card:hover li {
  transform: translateX(4px);
}

.value-card:hover li:nth-child(1) { transition-delay: 0.1s; }
.value-card:hover li:nth-child(2) { transition-delay: 0.2s; }
.value-card:hover li:nth-child(3) { transition-delay: 0.3s; }

@media (max-width: 768px) {
  .value-card {
    padding: 1.5rem !important;
  }
  
  .value-card h3 {
    font-size: 1.5rem !important;
  }
  
  .value-card .w-14.h-14 {
    width: 3rem !important;
    height: 3rem !important;
  }
}
/* Comparison Section */
.comparison-row {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.comparison-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
}

/* Feature Icons */
.feature-icon-check {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.comparison-row:hover .feature-icon-check {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(72, 187, 120, 0.3);
}

.feature-icon-cross {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.comparison-row:hover .feature-icon-cross {
  transform: scale(1.1);
}

/* Column Emphasis */
.bg-gradient-to-br.from-cyan-500\\/5.to-transparent {
  position: relative;
  overflow: hidden;
}

.bg-gradient-to-br.from-cyan-500\\/5.to-transparent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.5), transparent);
}

.bg-gradient-to-br.from-cyan-500\\/5.to-transparent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.5), transparent);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .comparison-row > div {
    padding: 1rem !important;
  }
  
  .comparison-row h4 {
    font-size: 1rem !important;
  }
  
  .comparison-row p.text-sm {
    font-size: 0.75rem !important;
  }
}

/* Hover Effects for Desktop */
@media (min-width: 768px) {
  .comparison-row:hover .feature-icon-check {
    animation: pulseGreen 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .comparison-row:hover .feature-icon-cross {
    animation: pulseRed 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 rgba(72, 187, 120, 0); }
  50% { box-shadow: 0 0 20px rgba(72, 187, 120, 0.4); }
}

@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 rgba(248, 113, 113, 0); }
  50% { box-shadow: 0 0 20px rgba(248, 113, 113, 0.2); }
}

/* Trust & Transparency Section */
.step-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-card:hover::before {
  opacity: 1;
}

/* Step number animation */
.step-card:hover .w-14.h-14 {
  transform: scale(1.1);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bullet point animations */
.step-card:hover .w-2.h-2 {
  animation: bulletPulse 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-card:hover .w-2.h-2:nth-child(1) { animation-delay: 0.1s; }
.step-card:hover .w-2.h-2:nth-child(2) { animation-delay: 0.2s; }
.step-card:hover .w-2.h-2:nth-child(3) { animation-delay: 0.3s; }

@keyframes bulletPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Connecting line animation */
@media (min-width: 768px) {
  .step-card:hover {
    z-index: 10;
  }
  
  .step-card:hover + .step-card {
    z-index: 5;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .step-card {
    padding: 1.5rem !important;
  }
  
  .step-card .w-20.h-20 {
    width: 4rem !important;
    height: 4rem !important;
  }
  
  .step-card .w-14.h-14 {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
}

/* Fade-in animation for content */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card, .bg-black\\/30 {
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }


/* Testimonials Section */
.testimonial-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* Avatar hover effect */
.testimonial-card:hover .w-14.h-14 {
  transform: scale(1.1);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Star rating animation */
.testimonial-card:hover .w-4.h-4.text-amber-400 {
  animation: starTwinkle 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover .w-4.h-4.text-amber-400:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:hover .w-4.h-4.text-amber-400:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:hover .w-4.h-4.text-amber-400:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:hover .w-4.h-4.text-amber-400:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:hover .w-4.h-4.text-amber-400:nth-child(5) { animation-delay: 0.5s; }

@keyframes starTwinkle {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1;
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.8;
  }
}

/* Fade in animation for testimonials */
@keyframes testimonialFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  animation: testimonialFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

/* Mobile optimizations */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem !important;
  }
  
  .testimonial-card .w-14.h-14 {
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .testimonial-card p.italic {
    font-size: 0.875rem !important;
  }
}
/* Final CTA Section */
.final-cta-button {
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.final-cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(45deg, rgba(0, 229, 255, 0.5), rgba(43, 255, 136, 0.5), rgba(0, 229, 255, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.final-cta-button:hover::before {
  opacity: 1;
}

/* Glow animation on hover */
.final-cta-button:hover {
  animation: ctaGlow 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.3), 0 0 60px rgba(43, 255, 136, 0.2);
  }
  50% {
    box-shadow: 0 15px 50px rgba(0, 229, 255, 0.5), 0 0 80px rgba(43, 255, 136, 0.3);
  }
}

/* Arrow animation */
.final-cta-button .arrow {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.final-cta-button:hover .arrow {
  transform: translateX(12px);
}

/* Value recap cards animation */
@keyframes recapFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flex.items-start.p-4.bg-white\\/5 {
  animation: recapFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.flex.items-start.p-4.bg-white\\/5:nth-child(1) {
  animation-delay: 0.2s;
}

.flex.items-start.p-4.bg-white\\/5:nth-child(2) {
  animation-delay: 0.4s;
}

/* Main content fade in */
.final-cta-section > * {
  animation: contentFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .final-cta-button {
    padding: 1rem 2.5rem !important;
    font-size: 1.25rem !important;
  }
  
  .final-cta-button .arrow {
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin-left: 0.75rem !important;
  }
  
  .flex.items-start.p-4.bg-white\\/5 {
    padding: 1rem !important;
  }
  
  .flex.items-start.p-4.bg-white\\/5 .w-10.h-10 {
    width: 2.5rem !important;
    height: 2.5rem !important;
    margin-right: 0.75rem !important;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 85vh !important;
  }
  
  .hero h1 { 
    font-size: 2.75rem !important; 
  }
  
  .hero-cta { 
    padding: 0.75rem 1.5rem !important; 
    font-size: 1.125rem !important; 
  }
  
  .exam-card {
    padding: 1.5rem !important;
  }
  
  .exam-card h3 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh !important;
  }
  
  .exam-card {
    padding: 1.25rem !important;
  }
}

