/* O-NET Page Specific Styles */

/* Hero Enhancements */
.onet-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero {
  background: white !important;
  color: var(--primary-color) !important;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-outline {
  background: transparent !important;
  color: white !important;
  border: 2px solid white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: white !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

/* Overview Section */
.onet-overview {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.overview-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.overview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.overview-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.overview-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.overview-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Subject Cards Enhanced */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.subject-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.subject-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.subject-card:hover::before {
  transform: scaleX(1);
}

.subject-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.subject-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.subject-icon::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.subject-card:hover .subject-icon::after {
  transform: rotate(45deg) translateX(100%);
}

.subject-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  color: var(--text-primary);
}

.subject-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.subject-card p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.subject-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.subject-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.subject-features i {
  color: #10b981;
  font-size: 0.9rem;
}

.subject-stats {
  display: flex;
  justify-content: space-around;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 15px;
}

.stat-item {
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.btn-subject {
  width: 100%;
  margin-top: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-subject:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Study Plan Timeline */
.study-plan-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 0;
}

.study-plan-section .section-title {
  color: white;
}

.study-plan-section .section-title::after {
  background: white;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  background: white;
  color: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin: 0 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.timeline-content {
  background: white;
  color: var(--text-primary);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  flex: 1;
  max-width: 400px;
}

.timeline-content h3 {
  color: #667eea;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn-timeline {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-timeline:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Practice Tests Grid */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.practice-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.practice-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.practice-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.practice-header i {
  font-size: 2rem;
}

.practice-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.practice-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.practice-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

.practice-info i {
  font-size: 0.8rem;
  color: var(--primary-color);
}

.practice-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-practice {
  width: 100%;
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: block;
  transition: all 0.3s ease;
}

.btn-practice:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn-special {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-special:hover {
  background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

/* Modern Tip Cards */
.modern-tip {
  position: relative;
  overflow: hidden;
}

.modern-tip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.modern-tip:hover::before {
  transform: scaleX(1);
}

/* Resource Cards Modern */
.resource-card.modern {
  position: relative;
  overflow: hidden;
}

.resource-card.modern::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
  border-radius: 17px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.resource-card.modern:hover::before {
  opacity: 1;
}

/* CTA Section Enhanced */
.onet-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.onet-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse-slow 15s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10%, 10%) scale(1.1);
  }
}

.btn-cta-primary {
  background: white !important;
  color: #667eea !important;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
  background: transparent !important;
  color: white !important;
  border: 2px solid white;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: white !important;
  color: #667eea !important;
  transform: translateY(-3px) scale(1.05);
}

/* Dark Theme Support */
body.dark-theme .overview-card,
body.dark-theme .subject-card,
body.dark-theme .practice-card,
body.dark-theme .resource-card.modern,
body.dark-theme .timeline-content {
  background: #1f2937;
  color: #f9fafb;
}

body.dark-theme .overview-card h3,
body.dark-theme .subject-card h3,
body.dark-theme .practice-header h3 {
  color: #f9fafb;
}

body.dark-theme .overview-card p,
body.dark-theme .subject-card p,
body.dark-theme .practice-card p {
  color: #d1d5db;
}

body.dark-theme .subject-stats {
  background: #374151;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero,
  .btn-hero-outline {
    width: 100%;
    max-width: 300px;
  }

  .overview-grid,
  .subjects-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-marker {
    margin: 0 1rem 0 0;
  }

  .timeline-content {
    max-width: none;
  }

  .subject-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .practice-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .overview-card,
  .subject-card,
  .practice-card {
    padding: 1.5rem;
  }

  .subject-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
