:root {
  --primary-blue: #1b226f;
  --secondary-blue: #3c6cce;
  --light-blue-bg: #f4f8fb;
  --text-dark: #333333;
  --card-bg: #ffffff;
  --accent-cyan: #4dc9ff;
  
  /* Platzi Dark Theme UI Colors */
  --platzi-dark-bg: #FFFFFF; /* Changed to white */
  --platzi-card-bg: #1C2025;
  --platzi-card-border: #3A3E45;
  --platzi-text-main: #FFFFFF;
  --platzi-text-sub: #A0A6B1;
  --platzi-green: #1090e9;
  --platzi-gray-icon: #6C7480;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--platzi-dark-bg);
  color: #000000;
}

.tickets-hero {
  color: var(--platzi-text-main);
  padding: 8rem 1rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-title, .hero-subtitle {
  color: #000000 !important;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-header-image {
  max-width: 600px;
  width: 60%;
  height: auto;
}

.tickets-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  padding: 0 1.5rem 8rem;
  max-width: 1000px;
  margin: -20px auto 0;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

.ticket-card {
  background: var(--platzi-card-bg);
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--platzi-card-border);
  transition: all 0.3s ease;
}

.ticket-card:hover {
  transform: translateY(-4px);
  border-color: #535965;
}

/* Base header styles */
.ticket-header {
  padding: 2rem 2rem 0.5rem;
  text-align: left;
  background: transparent;
  color: var(--platzi-text-main);
}

.ticket-header h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Pill "Mensual/Anual" */
.pill-mensual {
  background: transparent;
  border: 1px solid var(--platzi-card-border);
  color: var(--platzi-text-main);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

.subtitle {
  color: var(--platzi-text-sub);
  margin-top: 0.8rem;
  font-size: 1rem;
}
.subtitle strong {
  color: var(--platzi-text-main);
}

/* Pricing Block */
.pricing-block {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.flag-icon {
  font-size: 1.5rem;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.8rem;
  height: 1.8rem;
  overflow: hidden;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--platzi-text-main);
}

.price-period {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--platzi-text-main);
}

.recurring-text {
  color: var(--platzi-text-sub);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Recommended badge for premium card */
.ticket-card.black-vip {
  border: 1px solid #484D55; 
}
.ticket-card.black-vip:hover {
  border-color: #6a7485;
}

/* Body & Benefits list */
.ticket-body {
  padding: 1rem 2rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

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

.ticket-benefits li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--platzi-text-main);
  font-weight: 400;
}

.ticket-benefits li i {
  margin-right: 12px;
  margin-top: 4px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ticket-benefits li.excluded {
  color: var(--platzi-gray-icon);
  font-weight: 400;
}
.ticket-benefits li.excluded span {
  color: var(--platzi-text-sub);
}

.fa-check {
  color: #20d489;
}

.fa-xmark {
  color: var(--platzi-gray-icon);
}

/* Buttons */
.ticket-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--platzi-card-border);
  padding-top: 1.5rem;
}

.ticket-action {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  font-size: 2rem;
  transition: all 0.2s ease;
  width: 100%;
  background-color: #0066FF;
  color: #ffffff;
  border: 1px solid #0066FF;
  cursor: pointer;
}

.btn-buy:hover {
  background-color: #1a55df;
  border-color: #1a55df;
  color: #ffffff;
}

.ticket-extra {
  min-height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  display: none; /* Hide extra text to match platzi simplicity */
}

@media (max-width: 1024px) {
  .tickets-container {
    gap: 1.5rem;
    padding: 0 1rem 6rem;
  }
}

@media (max-width: 768px) {
  .tickets-hero {
    padding: 3rem 1rem 1rem;
  }

  /* Make sure titles handle mobile sizing better, overriding any inline vw */
  .hero-title {
    font-size: 2.2rem !important;
  }
  .hero-subtitle {
    font-size: 1.1rem !important;
    margin-top: 0.5rem !important;
  }

  .tickets-container {
    padding-bottom: 4rem;
    gap: 2rem;
  }

  .ticket-card {
    min-width: 100%;
    max-width: 100%;
  }

  .hero-header-image {
    max-width: 100%;
  }
  
  .btn-buy {
    font-size: 1.25rem;
    padding: 0.8rem 1.2rem;
  }
  
  .ticket-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .ticket-header {
    padding: 1.5rem 1.5rem 0.5rem;
  }
  
  .ticket-body {
    padding: 0.5rem 1.5rem 2rem;
  }
  
  .btn-buy {
    font-size: 1.1rem;
  }
}

.card-ribbon {
  display: none;
}
