/* ===================================
   PRICING PAGE STYLES
   =================================== */

/* Pricing Hero Section */
.pricing-hero {
  background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
  padding: 60px 0 50px;
  text-align: center;
  border-bottom: 1px solid #e5e9f2;
}

.pricing-hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: #0b2f59;
  margin: 0 0 12px;
  line-height: 1.2;
}

.pricing-hero p {
  font-size: 18px;
  color: #4c5f76;
  margin: 0;
  font-weight: 500;
}

/* Pricing Section */
.pricing-section {
  padding: 60px 0 70px;
  background: #ffffff;
}

/* Pricing Cards */
.pricing-card {
  background: #ffffff;
  border: 2px solid #d5dce6;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: #0a3c72;
}

/* Featured Card (Premium) */
.pricing-card.featured {
  border: 3px solid #e6a01b;
  border-radius: 8px;
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(230, 160, 27, 0.25);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(230, 160, 27, 0.35);
}

/* Popular Badge */
.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e6a01b, #d99513);
  color: white;
  padding: 8px 28px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 8px rgba(230, 160, 27, 0.3);
}

/* Card Header */
.card-header {
  padding: 35px 30px 20px;
  border-bottom: 1px solid #e8ecf3;
}

.pricing-card.featured .card-header {
  padding-top: 50px;
}

.card-header h3 {
  font-size: 18px;
  font-weight: 900;
  color: #0b2f59;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Card Price */
.card-price {
  padding: 25px 30px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.card-price .currency {
  font-size: 32px;
  font-weight: 900;
  color: #0b2f59;
  margin-top: 8px;
}

.card-price .amount {
  font-size: 72px;
  font-weight: 900;
  color: #0b2f59;
  line-height: 1;
  letter-spacing: -2px;
}

/* Card Period */
.card-period {
  font-size: 15px;
  color: #4c5f76;
  padding: 0 30px 20px;
  font-weight: 600;
}

/* Card Subtitle */
.card-subtitle {
  font-size: 15px;
  color: #0b2f59;
  padding: 15px 30px 10px;
  font-weight: 700;
  border-top: 1px solid #e8ecf3;
}

/* Card Features */
.card-features {
  padding: 20px 30px 30px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-align: left;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-item .check {
  width: 22px;
  height: 22px;
  background: #0a3c72;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.pricing-card.featured .feature-item .check {
  background: #e6a01b;
}

.feature-item span:last-child {
  font-size: 15px;
  color: #0b2f59;
  font-weight: 600;
  line-height: 1.4;
}

/* Card Action */
.card-action {
  padding: 0 30px 35px;
}

.btn-get-started {
  width: 100%;
  background: #0a3c72;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(10, 60, 114, 0.25);
}

.btn-get-started:hover {
  background: #083159;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 60, 114, 0.35);
}

.pricing-card.featured .btn-get-started {
  background: #0a3c72;
}

.pricing-card.featured .btn-get-started:hover {
  background: #083159;
}

/* Pricing Note */
.pricing-note {
  text-align: center;
  margin-top: 40px;
}

.pricing-note p {
  font-size: 16px;
  color: #0b2f59;
  font-weight: 700;
  margin: 0;
}

/* Trust Section */
.trust-section {
  background: #f8f9fc;
  padding: 60px 0;
  border-top: 1px solid #e5e9f2;
}

.trust-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e9f2;
  transition: all 0.3s ease;
  height: 100%;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #0a3c72;
}

.trust-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
}

.trust-icon svg {
  transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.trust-item h4 {
  font-size: 17px;
  font-weight: 900;
  color: #0b2f59;
  margin: 0 0 10px;
  line-height: 1.3;
}

.trust-item p {
  font-size: 14px;
  color: #4c5f76;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

/* Active Nav Link */
.nav-link.active {
  color: #e6a01b !important;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e6a01b;
  border-radius: 2px;
}

/* BBB Badge */
.bbb-badge {
  margin-top: 15px;
}

.bbb-badge img {
  max-width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}

.bbb-badge img:hover {
  transform: scale(1.05);
}

/* Footer Overrides for Pricing Page */
.footer {
  background: linear-gradient(135deg, #063a7b, #002c67);
  border-top: none;
}

.footer-main {
  padding: 50px 0 40px;
}

.footer-main .container-fluid {
  padding: 0 95px;
}

.footer-brand {
  color: white;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: white;
  color: #063a7b;
  transform: scale(1.1);
}

.footer h4 {
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer a:hover {
  color: white;
  padding-left: 5px;
}

.bbb-badge-footer {
  margin-top: 10px;
}

.bbb-badge-footer img {
  max-width: 120px;
  height: auto;
}

.bottom {
  background: #013d72;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 95px;
  gap: 20px;
}

.bottom-left {
  flex: 0 0 auto;
  white-space: nowrap;
}

.bottom-center {
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
}

.bottom-right {
  flex: 0 0 auto;
}

.bottom a {
  color: white;
  text-decoration: none;
  display: inline;
  white-space: nowrap;
}

.bottom .separator {
  display: inline;
  margin: 0 8px;
}

.bottom-right img {
  height: 35px;
  width: auto;
  display: block;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
  .pricing-hero h1 {
    font-size: 38px;
  }

  .card-price .amount {
    font-size: 64px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .pricing-hero {
    padding: 50px 0 40px;
  }

  .pricing-hero h1 {
    font-size: 34px;
  }

  .pricing-hero p {
    font-size: 16px;
  }

  .pricing-section {
    padding: 50px 0 60px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px) scale(1);
  }

  .card-price .amount {
    font-size: 58px;
  }

  .trust-section {
    padding: 50px 0;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .pricing-hero {
    padding: 40px 20px 30px;
  }

  .pricing-hero h1 {
    font-size: 28px;
  }

  .pricing-hero p {
    font-size: 15px;
  }

  .pricing-section {
    padding: 40px 0 50px;
  }

  .pricing-card {
    margin-bottom: 20px;
  }

  .card-header {
    padding: 30px 25px 15px;
  }

  .pricing-card.featured .card-header {
    padding-top: 45px;
  }

  .card-price {
    padding: 20px 25px 8px;
  }

  .card-price .currency {
    font-size: 28px;
  }

  .card-price .amount {
    font-size: 52px;
  }

  .card-period {
    font-size: 14px;
    padding: 0 25px 15px;
  }

  .card-subtitle {
    font-size: 14px;
    padding: 12px 25px 8px;
  }

  .card-features {
    padding: 15px 25px 25px;
  }

  .feature-item {
    padding: 10px 0;
  }

  .feature-item span:last-child {
    font-size: 14px;
  }

  .card-action {
    padding: 0 25px 30px;
  }

  .btn-get-started {
    padding: 14px 25px;
    font-size: 14px;
  }

  .pricing-note {
    margin-top: 30px;
  }

  .pricing-note p {
    font-size: 15px;
  }

  .trust-section {
    padding: 40px 0;
  }

  .trust-item {
    padding: 25px 15px;
    margin-bottom: 15px;
  }

  .trust-icon {
    height: 60px;
    margin-bottom: 15px;
  }

  .trust-icon svg {
    width: 50px;
    height: 50px;
  }

  .trust-item h4 {
    font-size: 16px;
  }

  .trust-item p {
    font-size: 13px;
  }

  /* Footer Mobile */
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-main .container-fluid {
    padding: 0 20px;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-brand img {
    margin: 0 auto 15px;
  }

  .footer-tagline {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer h4 {
    margin-top: 20px;
  }

  .bottom-content {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .bottom-left,
  .bottom-center,
  .bottom-right {
    text-align: center;
    white-space: normal;
  }

  .bottom-center {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .bottom a {
    display: block;
  }

  .bottom .separator {
    display: none;
  }

  .bottom-right img {
    margin: 0 auto;
  }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
  .pricing-hero h1 {
    font-size: 24px;
  }

  .pricing-hero p {
    font-size: 14px;
  }

  .popular-badge {
    padding: 6px 20px;
    font-size: 11px;
  }

  .card-header h3 {
    font-size: 16px;
  }

  .card-price .currency {
    font-size: 24px;
    margin-top: 6px;
  }

  .card-price .amount {
    font-size: 48px;
  }

  .card-period {
    font-size: 13px;
  }

  .card-subtitle {
    font-size: 13px;
  }

  .feature-item .check {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .feature-item span:last-child {
    font-size: 13px;
  }

  .btn-get-started {
    padding: 12px 20px;
    font-size: 13px;
  }

  .trust-item h4 {
    font-size: 15px;
  }

  .trust-item p {
    font-size: 12px;
  }

  /* Footer Responsive */
  .footer-main .container-fluid {
    padding: 0 50px;
  }

  .bottom-content {
    padding: 12px 50px;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .footer-main .container-fluid {
    padding: 0 30px;
  }

  .footer-brand {
    margin-bottom: 20px;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .bottom-content {
    padding: 12px 30px;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  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);
  }
}

/* Pulse animation for featured card */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(230, 160, 27, 0.25);
  }
  50% {
    box-shadow: 0 8px 35px rgba(230, 160, 27, 0.4);
  }
}

.pricing-card.featured {
  animation: pulse 3s ease-in-out infinite;
}

/* Hover effect for check marks */
.feature-item:hover .check {
  animation: checkBounce 0.5s ease;
}

@keyframes checkBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
