/* PRICING SECTION STYLES */

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatingCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulseBorder {
  0%,
  100% {
    border-color: rgba(63, 166, 107, 0.3);
    box-shadow: 0 0 0 0 rgba(63, 166, 107, 0.2);
  }
  50% {
    border-color: rgba(63, 166, 107, 0.6);
    box-shadow: 0 0 0 8px rgba(63, 166, 107, 0);
  }
}

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

.pricing-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 50%, #edf2f8 100%);
  position: relative;
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  color: var(--primary-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  --primary: #123e73;
  --primary-dark: #0a2647;
  --accent: #3fa66b;
  --accent-light: #e6f5ec;
  --bg-light: #edf2f8;
  --white: #ffffff;
  --font-main: 'Roboto', sans-serif;
  --header-height: 80px;
  --container-width: 1200px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  font-size: 16px;
}

.pricing-section .container {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 0 2rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-lg, 4rem);
  animation: fadeInDown 0.8s ease-out;
}

.pricing-top-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent, #3fa66b);
  margin-bottom: var(--spacing-sm, 1rem);
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease-out;
  transition: all 0.3s ease;
}

.pricing-top-tag:hover {
  text-shadow: 0 0 10px rgba(63, 166, 107, 0.3);
  letter-spacing: 0.2em;
}

.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark, #0a2647);
  margin: var(--spacing-md, 2rem) 0 var(--spacing-md, 2rem) 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pricing-header p {
  font-size: 1.1rem;
  color: rgba(10, 38, 71, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.piliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: var(--spacing-lg, 4rem);
}

.pilier-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(63, 166, 107, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(10, 38, 71, 0.08);
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.piliers-grid > :nth-child(1) {
  animation-delay: 0.1s;
}

.piliers-grid > :nth-child(2) {
  animation-delay: 0.2s;
}

.piliers-grid > :nth-child(3) {
  animation-delay: 0.3s;
}

.pilier-card:hover {
  border-color: rgba(63, 166, 107, 0.6);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(10, 38, 71, 0.18);
  transform: translateY(-8px);
}

.pilier-card.featured {
  border-color: var(--accent, #3fa66b);
  background: rgba(63, 166, 107, 0.08);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(63, 166, 107, 0.15);
  animation: floatingCard 3.5s ease-in-out infinite;
  animation-delay: 0.2s;
}

.pilier-card.featured:hover {
  animation-play-state: paused;
  transform: scale(1.05) translateY(-8px);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent, #3fa66b);
  color: var(--white, #ffffff);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  animation: slideInDown 0.8s ease-out 0.3s both;
  box-shadow: 0 4px 12px rgba(63, 166, 107, 0.3);
}

.pilier-header {
  margin-bottom: var(--spacing-md, 2rem);
  animation: fadeInDown 0.8s ease-out 0.3s both;
}

.pilier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--spacing-sm, 1rem);
}

.badge-pill {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--accent, #3fa66b);
  color: var(--white, #ffffff);
  border-radius: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: scaleIn 0.6s ease-out;
  transition: all 0.3s ease;
}

.badge-pill:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(63, 166, 107, 0.3);
}

.badge-pill.outline {
  background: transparent !important;
  border: 1px solid #3fa66b !important;
  color: #3fa66b !important;
  font-weight: 700 !important;
}

.badge-pill.accent {
  background: var(--accent, #3fa66b);
}

.badge-rec {
  display: inline-block;
  background: var(--accent, #3fa66b);
  color: var(--white, #ffffff);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.5rem;
  text-transform: uppercase;
}

.pilier-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark, #0a2647);
  margin: var(--spacing-sm, 1rem) 0;
  letter-spacing: -0.01em;
}

.pilier-desc {
  font-size: 0.95rem;
  color: rgba(10, 38, 71, 0.65);
  margin: 0;
  line-height: 1.6;
}

.pilier-body {
  margin-top: var(--spacing-md, 2rem);
}

.pilier-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pilier-features-list li {
  padding: 0.75rem 0 0.75rem 1.75rem;
  color: rgba(10, 38, 71, 0.75);
  position: relative;
  border-bottom: 1px solid rgba(63, 166, 107, 0.15);
  animation: slideInLeft 0.6s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.pilier-features-list > :nth-child(1) {
  animation-delay: 0.3s;
}

.pilier-features-list > :nth-child(2) {
  animation-delay: 0.4s;
}

.pilier-features-list > :nth-child(3) {
  animation-delay: 0.5s;
}

.pilier-features-list > :nth-child(4) {
  animation-delay: 0.6s;
}

.pilier-features-list li:hover {
  padding-left: 2rem;
  color: var(--accent, #3fa66b);
}

.pilier-features-list li:last-child {
  border-bottom: none;
}

.pilier-features-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent, #3fa66b);
  font-weight: 700;
  font-size: 1.1rem;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm, 1rem);
}

.tier-item {
  padding: 1rem;
  background: rgba(63, 166, 107, 0.08);
  border-left: 3px solid var(--accent, #3fa66b);
  border-radius: 0.5rem;
  animation: slideInLeft 0.6s ease-out;
  animation-fill-mode: both;
  transition: all 0.3s ease;
}

.tier-list > :nth-child(1) {
  animation-delay: 0.2s;
}

.tier-list > :nth-child(2) {
  animation-delay: 0.3s;
}

.tier-list > :nth-child(3) {
  animation-delay: 0.4s;
}

.tier-item:hover {
  background: rgba(63, 166, 107, 0.15);
  border-left-color: var(--accent, #3fa66b);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(63, 166, 107, 0.1);
}

.tier-name {
  font-weight: 700;
  color: var(--primary-dark, #0a2647);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tier-val {
  font-size: 0.85rem;
  background: var(--accent-light, #e6f5ec);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--accent, #3fa66b);
  font-weight: 600;
}

.tier-sub {
  font-size: 0.85rem;
  color: rgba(10, 38, 71, 0.6);
  margin: 0;
  line-height: 1.5;
}

.pilier-highlight {
  margin-top: var(--spacing-md, 2rem);
  padding: 1rem;
  background: var(--accent-light, #e6f5ec);
  border-left: 4px solid var(--accent, #3fa66b);
  border-radius: 0.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  transition: all 0.3s ease;
}

.pilier-highlight:hover {
  background: rgba(63, 166, 107, 0.12);
  box-shadow: 0 4px 12px rgba(63, 166, 107, 0.12);
}

.pilier-highlight p {
  margin: 0;
  color: rgba(10, 38, 71, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pilier-highlight strong {
  color: var(--primary-dark, #0a2647);
}

.option-card {
  background: linear-gradient(
    135deg,
    var(--accent-light, #e6f5ec) 0%,
    rgba(63, 166, 107, 0.06) 100%
  );
  border: 2px solid var(--accent, #3fa66b);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md, 2rem);
  margin-top: var(--spacing-xl, 6rem);
  box-shadow: 0 2px 8px rgba(63, 166, 107, 0.1);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  transition: all 0.4s ease;
}

.option-card:hover {
  box-shadow: 0 8px 24px rgba(63, 166, 107, 0.2);
  border-color: var(--accent, #3fa66b);
  transform: translateY(-4px);
}

.option-content h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent, #3fa66b);
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
}

.option-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark, #0a2647);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.option-content p {
  font-size: 0.95rem;
  color: rgba(10, 38, 71, 0.7);
  margin: 0;
  line-height: 1.6;
}

.option-tag {
  flex-shrink: 0;
  background: var(--accent, #3fa66b);
  color: var(--white, #ffffff);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
  animation: slideInRight 0.8s ease-out 0.5s both;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(63, 166, 107, 0.2);
}

.option-tag:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(63, 166, 107, 0.35);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pricing-section {
    padding: var(--spacing-lg, 4rem) 0;
  }

  .pricing-header {
    margin-bottom: var(--spacing-lg, 4rem);
  }

  .pricing-header h2 {
    font-size: 1.75rem;
  }

  .pricing-header p {
    font-size: 0.95rem;
  }

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

  .pilier-card.featured {
    transform: scale(1);
  }

  .pilier-card {
    padding: 1.5rem;
  }

  .option-card {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm, 1rem);
  }

  .option-tag {
    width: 100%;
  }
}

/* Premium Box Section - Transform Constraints */
.pricing-premium-box {
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  box-sizing: border-box;
  background: linear-gradient(135deg, #0a2647 0%, #123e73 100%) !important;
  color: #ffffff !important;
  padding: 2.25rem 2.5rem !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  box-shadow: 0 15px 35px rgba(10, 38, 71, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  z-index: 2 !important;
  margin-bottom: 3rem !important;
  animation: fadeInUp 0.8s ease-out !important;
}

.premium-content {
  flex: 1;
  z-index: 3;
  position: relative;
  width: 100%;
}

.premium-content h3 {
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.5rem !important;
}

.premium-content p {
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 1rem !important;
  text-align: left !important;
}

.premium-content p em {
  color: rgba(255, 255, 255, 0.95) !important;
}

.pricing-premium-box p {
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
  .pricing-premium-box {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .pricing-section {
    padding: var(--spacing-md, 2rem) 0;
  }

  .pricing-header h2 {
    font-size: 1.5rem;
  }

  .pilier-header h3 {
    font-size: 1.25rem;
  }

  .pilier-badges {
    gap: 0.5rem;
  }

  .badge-pill {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
}
