/* 
 * Enhanced Offer Packages Styles - Tile Design
 * Optimized for maximum visibility and conversion
 */

.offer-section {
  padding: 5rem 0;
  background-color: var(--background-gray);
  position: relative;
  overflow: hidden;
}

.offer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at top right, rgba(49, 130, 206, 0.15), transparent 70%);
  z-index: 0;
}

.offer-section .section-header {
  margin-bottom: 4rem;
}

/* Prominent Tile Layout */
.offer-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Offer Tile Styling */
.offer-tile {
  background-color: var(--background-light);
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

.offer-tile:hover {
  transform: translateY(-20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Recommended Package Styling */
.offer-tile.recommended {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--accent-color);
  z-index: 2;
}

.offer-tile.recommended:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.recommended-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 0.6rem 1.8rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(214, 158, 46, 0.4);
  z-index: 3;
  letter-spacing: 0.5px;
}

/* Offer Header */
.offer-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  z-index: 0;
}

.offer-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
}

.offer-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.offer-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.offer-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  color: var(--accent-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.offer-price-period {
  font-size: 1.1rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* Offer Content */
.offer-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.offer-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.offer-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.offer-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.offer-feature:last-child {
  margin-bottom: 0;
}

.offer-feature-icon {
  color: var(--accent-color);
  margin-right: 1rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.offer-feature-text {
  font-size: 1.1rem;
  line-height: 1.5;
}

.offer-feature-highlight {
  font-weight: 600;
  color: var(--primary-color);
}

/* Offer Footer with Enhanced CTA */
.offer-footer {
  padding: 2.5rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-top: auto;
}

.offer-cta {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  background-color: var(--accent-color);
  color: var(--text-light);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.25rem;
  box-shadow: 0 8px 15px rgba(214, 158, 46, 0.3);
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
}

.offer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  z-index: -1;
}

.offer-cta:hover {
  background-color: #c08e29;
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(214, 158, 46, 0.4);
}

.offer-cta i {
  margin-right: 0.75rem;
}

.offer-tile.recommended .offer-cta {
  background-color: var(--primary-color);
  box-shadow: 0 8px 15px rgba(26, 54, 93, 0.3);
}

.offer-tile.recommended .offer-cta:hover {
  background-color: #15294a;
  box-shadow: 0 12px 25px rgba(26, 54, 93, 0.4);
}

/* Introductory Offer Teaser */
.intro-offer-teaser {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: rgba(214, 158, 46, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-offer-teaser i {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Secondary CTA Option */
.offer-secondary-cta {
  margin-top: 1rem;
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-standard);
}

.offer-secondary-cta:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.offer-secondary-cta i {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.offer-secondary-cta:hover i {
  transform: translateX(3px);
}

/* Animated Pulse for CTA */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(214, 158, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 158, 46, 0);
  }
}

.offer-tile.recommended .offer-cta {
  animation: pulse 2s infinite;
}

@keyframes pulse-primary {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 54, 93, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(26, 54, 93, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 54, 93, 0);
  }
}

.offer-tile.recommended .offer-cta {
  animation: pulse-primary 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .offer-container {
    gap: 2.5rem;
  }
  
  .offer-header, .offer-content, .offer-footer {
    padding: 2rem;
  }
  
  .offer-title {
    font-size: 1.75rem;
  }
  
  .offer-price {
    font-size: 2.5rem;
  }
  
  .offer-cta {
    padding: 1.1rem 2rem;
    font-size: 1.15rem;
  }
}

@media (max-width: 992px) {
  .offer-container {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto;
    gap: 4rem;
  }
  
  .offer-tile.recommended {
    transform: scale(1);
    order: -1;
  }
  
  .offer-tile.recommended:hover {
    transform: translateY(-20px);
  }
  
  .offer-header {
    padding: 2.25rem;
  }
  
  .offer-content, .offer-footer {
    padding: 2.25rem;
  }
}

@media (max-width: 768px) {
  .offer-section {
    padding: 4rem 0;
  }
  
  .offer-section .section-header {
    margin-bottom: 3rem;
  }
  
  .offer-container {
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .offer-section {
    padding: 3rem 0;
  }
  
  .offer-section .section-header {
    margin-bottom: 2.5rem;
  }
  
  .offer-header, .offer-content, .offer-footer {
    padding: 1.75rem;
  }
  
  .offer-title {
    font-size: 1.5rem;
  }
  
  .offer-subtitle {
    font-size: 1.1rem;
  }
  
  .offer-price {
    font-size: 2.25rem;
  }
  
  .offer-description {
    font-size: 1.1rem;
  }
  
  .recommended-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    right: 20px;
  }
  
  .offer-cta {
    padding: 1rem 1.75rem;
    font-size: 1.1rem;
  }
}

/* Accessibility Enhancements */
.offer-cta:focus {
  outline: 3px solid rgba(49, 130, 206, 0.5);
  outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .offer-tile {
    background-color: var(--background-gray);
  }
  
  .offer-footer {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .intro-offer-teaser {
    background-color: rgba(214, 158, 46, 0.2);
  }
}
