/* ===============================
   Global Container & Reset
   =============================== */
html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(120deg, #1c1c1c, #444, #fff);
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   Pricing Header
   =============================== */
#pricing-header {
  padding: 80px 50px 40px 50px;
  text-align: center;
}

#pricing-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}

#pricing-header p {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #eee;
}

/* ===============================
   Pricing Plans Section
   =============================== */
#pricing-plans {
  padding: 70px 0;
  background: linear-gradient(145deg, #f0f0f0 40%, #000 150%);
  color: #111;
}

#pricing-plans .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

/* ===============================
   Plan Cards
   =============================== */
.plan-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  flex: 1 1 260px;
  max-width: 280px;
  min-height: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  transition: all 0.35s ease;
  color: #000;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* ===============================
   Ribbon (Responsive)
   =============================== */
.ribbon {
  position: absolute;
  top: 15px;
  right: -40px;
  background: #22314A;
  color: #fff;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  z-index: 2;
}

/* ===============================
   Popular Plan Highlight
   =============================== */
.plan-card.popular {
  border: 2px solid #000;
  transform: scale(1.03);
}

/* ===============================
   Text Styling
   =============================== */
.plan-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 25px;
  margin-bottom: 5px;
}

.plan-card .subtext {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.plan-card .details {
  color: #222;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.plan-card li {
  font-size: 0.9rem;
  margin: 6px 0;
  color: #000;
}

.plan-card li.disabled {
  color: #aaa;
  text-decoration: line-through;
}

/* ===============================
   Buttons
   =============================== */
.cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 10px 22px;
  border-radius: 8px;
  background: #22314A;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: fit-content;
}

.cta-btn:hover {
  background: #fff;
  color: #22314A;
  border: 2px solid #22314A;
}

/* ===============================
   Additional Options Section
   =============================== */
#additional-options {
  padding: 40px 50px;
  text-align: center;
  color: #fff;
}

#additional-options ul {
  list-style-type: disc;
  display: inline-block;
  text-align: left;
  font-size: 1.2rem;
}

#additional-options ul li {
  margin-bottom: 15px;
}

/* ===============================
   CTA Section
   =============================== */
#pricing-cta {
  padding: 60px 50px;
  text-align: center;
  color: #fff;
}

#pricing-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #fff;
}

#pricing-cta .large-btn {
  display: inline-block;
  padding: 18px 36px;
  font-size: 1.3rem;
  border-radius: 12px;
  background-color: #22314A;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

#pricing-cta .large-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* ===============================
   Info Box
   =============================== */
#plan-info-box {
  max-width: 900px;
  margin: 40px auto;
  background-color: #f2f2f2;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  color: #555;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

#plan-info-box:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* ===============================
   Responsive Design
   =============================== */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
  #pricing-header {
    padding: 60px 30px 30px 30px;
  }
  #pricing-header h1 {
    font-size: 2.5rem;
  }
  #pricing-header p {
    font-size: 1.1rem;
  }
  #pricing-plans .container {
    gap: 20px;
  }
  .plan-card {
    flex: 1 1 45%;
    max-width: 320px;
  }
  .ribbon {
    top: 10px;
    right: -32px;
    font-size: 0.8rem;
    padding: 4px 32px;
  }
  .plan-card ul {
    padding-left: 50px; /* For tablets */
  }
}

/* Medium tablets (900px and below) */
@media (max-width: 900px) {
  .plan-card {
    flex: 1 1 46%;
    max-width: 350px;
    margin-bottom: 25px;
  }
}

/* Mobile landscape and below (768px and below) */
@media (max-width: 768px) {
  #pricing-header h1 {
    font-size: 2.2rem;
  }
  #pricing-header p {
    font-size: 1rem;
  }
  #pricing-plans .container {
    flex-direction: column;
    align-items: center;
  }
  .plan-card {
    width: 90%;
    max-width: 380px;
  }
  .ribbon {
    top: 8px;
    right: -25px;
    font-size: 0.7rem;
    padding: 3px 25px;
  }
  .cta-btn {
    padding: 9px 18px;
    font-size: 0.9rem;
  }
  #pricing-cta h2 {
    font-size: 1.8rem;
  }
  .plan-card ul {
    padding-left: 55px; /* For mobiles */
  }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
  #pricing-header {
    padding: 40px 15px;
  }
  #pricing-header h1 {
    font-size: 1.8rem;
  }
  #pricing-header p {
    font-size: 0.95rem;
  }
  .plan-card {
    width: 95%;
    padding: 20px 15px;
  }
  .plan-card h2 {
    font-size: 1.2rem;
  }
  .ribbon {
    top: 5px;
    right: -20px;
    font-size: 0.65rem;
    padding: 2px 22px;
  }
  .cta-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  #pricing-cta h2 {
    font-size: 1.6rem;
  }
  #pricing-cta .large-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
   .plan-card ul {
    padding-left: 60px; /* For small screens */
  }
}

/* Very small screens (360px and below) */
@media (max-width: 360px) {
  .plan-card {
    width: 100%;
    padding: 18px 10px;
  }
  .plan-card h2 {
    font-size: 1.1rem;
  }
  .cta-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
