/* src/css/pages/index.css */

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 10%, #f97316 60%, #ff4500 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientShift 6s ease infinite, fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  text-shadow: 0 10px 40px rgba(234, 88, 12, 0.15);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: #a1a1aa;
  text-align: center;
  max-width: 600px;
  margin-bottom: 3.5rem;
  line-height: 1.6;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes textGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Roles Layout Grid */
.roles-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  perspective: 1000px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Premium Card Design (Glassmorphism & Neon Glow) */
.role-card {
  width: 100%;
  max-width: 250px;
  padding: 2.2rem 1.8rem;
  background: rgba(22, 22, 26, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Card hover glow and lift */
.role-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(234, 88, 12, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Subtle overlay shine effect */
.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.role-card:hover::before {
  left: 150%;
  transition: 0.75s;
}

/* Micro-animations inside Cards */
.role-image-container {
  width: 100%;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.role-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-card:hover .role-image {
  transform: scale(1.1);
}

.role-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.role-desc {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.5;
  margin-bottom: 2rem;
  min-height: 54px; /* Align buttons horizontally */
}

/* Buttons in Cards */
.role-card .btn-primary,
.role-card .btn-secondary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-card .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.role-card .btn-secondary:hover {
  background: rgba(234, 88, 12, 0.1);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.2);
}

/* Entry Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Adjustments for modern glassmorphism */
header.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 13, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.2rem 2rem;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.header h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive Scaling */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .roles-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .role-card {
    max-width: 320px;
    padding: 2rem 1.5rem;
  }
  
  header.header {
    padding: 1rem 1.2rem;
  }
}


