@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ========================================
   SPANISH JITSU - UNIFIED STYLES
   For Homepage & Instructores Pages
   ======================================== */

/* ========================================
   BASE & RESET
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #131218;
  color: #f3f4f6;
  line-height: 1.6;
}

/* ========================================
   HOMEPAGE WRAPPER
   ======================================== */
.spanish-jitsu-homepage {
  font-family: "Poppins", sans-serif;
  background-color: #131218;
  color: #f3f4f6;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

/* Headings */
h1, h2, h3, h4, h5, h6,
.spanish-jitsu-homepage h1,
.spanish-jitsu-homepage h2,
.spanish-jitsu-homepage h3,
.spanish-jitsu-homepage h4,
.spanish-jitsu-homepage h5,
.spanish-jitsu-homepage h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1, .spanish-jitsu-homepage h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2, .spanish-jitsu-homepage h2 {
  font-size: 2rem !important;
  letter-spacing: -0.01em;
}

h3, .spanish-jitsu-homepage h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

h4, .spanish-jitsu-homepage h4 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
}

h5, .spanish-jitsu-homepage h5 {
  font-size: 1.125rem !important;
  font-weight: 600;
}

h6, .spanish-jitsu-homepage h6 {
  font-size: 1rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Text Utilities */
.text-primary {
  color: #ec4899;
}

.highlight {
  color: #ec4899;
  font-weight: 800;
}

.text-green {
  color: #10b981;
}

.text-sm {
  font-size: 0.875rem;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 5rem 1rem;
}

.section-dark {
  background: #191825;
}

/* Section Headers */
.section-header,
.section-header-center {
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* Section Badge */
.badge,
.section-badge,
.cta-badge,
.step-badge {
  color: #ec4899;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

/* Section Title */
.section-title,
.hero-title,
.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* Section Subtitle/Description */
.section-subtitle,
.section-description,
.hero-subtitle,
.hero-description,
.cta-description {
  color: #9ca3af;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 700px;
}

.section-header-center .section-subtitle,
.section-header-center .section-description {
  margin: 0 auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn,
.btn-primary,
.btn-secondary,
.btn-buy,
.btn-plan,
.cta-button,
.load-more-button,
.view-all-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #db2777, #ec4899);
  color: white;
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #be185d, #db2777);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4);
  color: white;
  text-decoration: none;
}

/* Secondary Button */
.btn-secondary {
  background: #191825;
  border: 1px solid #ec4899;
  color: white;
}

.btn-secondary:hover {
  background: rgba(25, 24, 37, 0.8);
  color: white;
  text-decoration: none;
}

/* White Button */
.btn-white {
  background: white;
  color: #be185d;
}

.btn-white:hover {
  background: #f3f4f6;
}

/* Outline White Button */
.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Buy Button */
.btn-buy {
  background: #db2777;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-buy:hover {
  background: #be185d;
}

/* Plan Button */
.btn-plan {
  width: 100%;
  background: #191825;
  color: white;
  border: 1px solid #374151;
  padding: 0.75rem;
}

.btn-plan.primary {
  background: #db2777;
  border-color: #db2777;
}

.btn-plan.gradient {
  background: linear-gradient(135deg, #db2777, #ec4899);
  border: none;
}

.btn-plan:hover {
  background: #ec4899;
  border-color: #ec4899;
  transform: translateY(-2px);
}

/* Load More / View All Buttons */
.load-more-button,
.view-all-button {
  background: #191825;
  border: 1px solid #374151;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more-button:hover,
.view-all-button:hover {
  border-color: #ec4899;
  color: white;
  text-decoration: none;
}

/* Button Group */
.btn-group,
.hero-buttons {
  display: flex;
  gap: 1rem;
}

@media (max-width: 640px) {
  .btn-group {
    flex-direction: column;
  }
}

/* ========================================
   HERO SECTIONS
   ======================================== */

/* Homepage Hero */
.hero-section {
  background: linear-gradient(135deg, #131218 0%, #191825 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem !important;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem !important;
  }
}

.hero-title .highlight,
.hero-title strong {
  color: #ec4899;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Instructores Hero (with background image) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1622553716790-25371be89bb5?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&w=1800&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(19, 18, 24, 0.95) 0%, rgba(19, 18, 24, 0.8) 50%, rgba(19, 18, 24, 0.6) 100%);
  z-index: 0;
}

/* Hero with background adjustments */
.hero-section.hero-with-bg .hero-content {
  padding: 7rem 1rem;
}

/* Hero Image/Video */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.02);
}

.hero-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3);
  border: 2px solid rgba(236, 72, 153, 0.2);
}

.hero-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  background: rgba(25, 24, 37, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid #374151;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item,
.stat {
  text-align: center;
  padding: 1rem;
}

.stat-number,
.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ec4899;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Stats Grid (Instructores variant) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: #131218;
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid #1f2937;
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  border-color: #ec4899;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
  transform: translateY(-5px);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.card-icon i {
  font-size: 2rem;
  color: #ec4899;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
  color: white;
}

.card-text {
  color: #9ca3af;
  text-align: center;
  line-height: 1.6;
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #131218 0%, #191825 100%);
}

/* Filters */
.filters-container {
  background: #191825;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .filters-container {
    flex-direction: row;
    align-items: center;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

@media (min-width: 768px) {
  .filter-group {
    flex-direction: row;
  }
}

.filter-select {
  background: #131218;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.filter-select:focus {
  border-color: #ec4899;
}

.sort-select {
  width: 200px;
}

/* Course Grid */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .courses-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Course Card */
.course-card {
  background: #191825;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.1);
  border-color: #ec4899;
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  z-index: 2;
}

.course-badge.bestseller {
  background: #ec4899;
}

.course-badge.new {
  background: #3b82f6;
}

.course-badge.popular {
  background: #10b981;
}

.course-type {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.course-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #131218, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.course-card:hover .course-overlay {
  opacity: 0.8;
}

.preview-button {
  background: #db2777;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(1rem);
  opacity: 0;
  transition: all 0.3s ease;
}

.course-card:hover .preview-button {
  transform: translateY(0);
  opacity: 1;
}

.course-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.instructor-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.instructor-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  margin-right: 0.5rem;
  object-fit: cover;
}

.instructor-name {
  color: #9ca3af;
  font-size: 0.875rem;
}

.course-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.course-title:hover {
  color: #ec4899;
}

.course-rating {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.stars {
  color: #fbbf24;
  margin-right: 0.5rem;
  display: flex;
  gap: 0.25rem;
}

.rating-text {
  color: #9ca3af;
  font-size: 0.875rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.course-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ec4899;
}

.price-old {
  text-decoration: line-through;
  color: #6b7280;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  padding: 5rem 0;
  background: #131218;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #191825;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #ec4899;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.1);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(236, 72, 153, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: #ec4899;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: #9ca3af;
  line-height: 1.6;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #191825 0%, #131218 100%);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  background-color: rgba(25, 24, 37, 0.8);
  padding: 0.5rem;
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.toggle-btn.active,
.toggle-btn:hover {
  background: #db2777;
  color: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: #191825;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: #ec4899;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.1);
}

.pricing-card.popular {
  border-color: #ec4899;
  border-width: 2px;
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

@media (min-width: 768px) {
  .pricing-card.popular {
    transform: translateY(-1rem);
  }
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #ec4899;
  color: white;
  text-align: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #374151;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.plan-price .price,
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.period {
  color: #9ca3af;
  margin-left: 0.5rem;
}

.plan-description {
  color: #9ca3af;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: #9ca3af;
}

.plan-features li i {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  width: 1rem;
  flex-shrink: 0;
}

.plan-features li .fa-check {
  color: #10b981;
}

.plan-features li .fa-times {
  color: #ef4444;
  opacity: 0.5;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
  padding: 5rem 0;
  background: #131218;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-image {
  position: relative;
  height: 16rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #374151;
  transition: all 0.3s ease;
}

.category-card:hover .category-image {
  border-color: #ec4899;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #131218, transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.category-content {
  width: 100%;
}

.category-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(236, 72, 153, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.category-icon i {
  color: #ec4899;
  font-size: 1.25rem;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.category-description {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
  transform: translateY(2rem);
  opacity: 0;
  transition: all 0.3s ease;
}

.category-card:hover .category-description {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================
   VALUES SECTION
   ======================================== */
.values-section {
  padding: 4rem 0;
  background: #191825;
}

.values-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: #26263a;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ec4899;
  margin-bottom: 0.5rem;
}

.value-description {
  color: #9ca3af;
  line-height: 1.5;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  padding: 3rem 0;
  background: #131218;
}

.testimonials-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #191825;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #1f2937;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  border-color: #ec4899;
  transform: translateY(-5px);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid #131218;
  position: absolute;
  top: -24px;
  left: 2rem;
  object-fit: cover;
}

.testimonial-content {
  padding-top: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial-author {
  color: #ec4899;
  font-weight: 500;
  display: block;
}

.testimonial-role {
  color: #ec4899;
  font-size: 0.875rem;
}

.testimonial-stats {
  margin-top: 1rem;
  color: #9ca3af;
  display: flex;
  gap: 0.5rem;
}

.testimonial-stats span {
  background: #131218;
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

/* ========================================
   INSTRUCTORS CTA
   ======================================== */
.instructors-cta {
  padding: 4rem 0;
  background: #131218;
  position: relative;
  overflow: hidden;
}

.instructors-cta::before,
.instructors-cta::after {
  content: "";
  position: absolute;
  width: 50rem;
  height: 50rem;
  background: rgba(236, 72, 153, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
}

.instructors-cta::before {
  top: -24rem;
  left: -24rem;
}

.instructors-cta::after {
  bottom: -24rem;
  right: -24rem;
}

.cta-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-feature {
  background: rgba(25, 24, 37, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  max-width: 260px;
  flex: 1;
  min-width: 200px;
}

.cta-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.cta-feature-icon i {
  color: #ec4899;
  font-size: 0.875rem;
}

.cta-feature-content {
  text-align: left;
}

.cta-feature-title {
  font-weight: 500;
  color: white;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.cta-feature-description {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 5rem 0;
  background: #131218;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item {
  background: #191825;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #ec4899;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: #9ca3af;
  line-height: 1.6;
}

.faq-link {
  color: #ec4899;
  text-decoration: none;
}

.faq-link:hover {
  text-decoration: underline;
}

.faq-footer {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid #374151;
}

.faq-footer-text {
  color: #9ca3af;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.faq-contact-link {
  color: #ec4899;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-contact-link:hover {
  text-decoration: underline;
}

/* ========================================
   BENEFITS SECTION (Instructores)
   ======================================== */
.benefits-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .benefits-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.benefit-item {
  display: flex;
  margin-bottom: 2rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.benefit-icon i {
  font-size: 1.25rem;
  color: #ec4899;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.benefit-text {
  color: #9ca3af;
  line-height: 1.6;
}

/* ========================================
   HOW IT WORKS SECTION (Instructores)
   ======================================== */
.how-it-works {
  position: relative;
  overflow: hidden;
}

.blur-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
}

.blur-circle-1 {
  top: -256px;
  right: -256px;
  background: rgba(236, 72, 153, 0.1);
}

.blur-circle-2 {
  bottom: -256px;
  left: -256px;
  background: rgba(236, 72, 153, 0.1);
}

.steps-container {
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

@media (min-width: 768px) {
  .step {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 8rem;
  }
}

.step-content {
  padding: 1rem;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0 1rem;
  color: white;
}

.step-description {
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.step-list {
  list-style: none;
  padding: 0;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.step-list i {
  color: #ec4899;
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.step-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(to right, #db2777, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  border: 4px solid #191825;
}

.step-image {
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #1f2937;
  position: relative;
  z-index: 10;
  max-width: 400px;
  width: 100%;
}

/* ========================================
   FINAL CTA (Instructores)
   ======================================== */
.final-cta {
  padding: 5rem 1rem;
  background: linear-gradient(to right, #be185d, #ec4899);
  position: relative;
  overflow: hidden;
}

.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.final-cta-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.final-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .final-cta-title {
    font-size: 3rem;
  }
}

.final-cta-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .final-cta-buttons {
    flex-direction: row;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header {
    text-align: center;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
  }

  .cta-feature {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .courses-grid,
  .features-grid,
  .pricing-grid,
  .categories-grid,
  .values-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.section-link-container {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .section-link-container {
    margin-top: 0;
  }
}

.section-link {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-link:hover {
  color: #ec4899;
}

.load-more-container,
.view-all-container {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.more-link {
  text-align: center;
  margin-top: 3rem;
}

.more-link a {
  color: #ec4899;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.more-link a:hover {
  text-decoration: underline;
}

.rating-stars {
  display: flex;
  align-items: center;
}

.rating-stars .stars {
  margin-bottom: 0;
  margin-right: 0.25rem;
}

#page {
    background-color: #fff;
    color: #1a1a2e;
}

.masterstudy-single-course-excerpt
{color: graytext;
}
