* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fef7f0 0%, #fff5f8 100%);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* .logo {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.logo::before {
    content: "🔥";
    font-size: 20px;
} */

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FF7A44;
}

.signup-btn {
    background: linear-gradient(135deg, #FF7A44, #e66a3a);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.signup-btn:hover {
    transform: translateY(-1px);
}

/* Main Content */
.pricing-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 2px solid #FF7A44;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF7A44, #e66a3a);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
    justify-content: center;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.price-period {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

.credits-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.credits-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.credit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.85rem;
}

.credit-name {
    color: #666;
}

.credit-value {
    font-weight: 600;
    color: #333;
}

.ideal-for {
    margin-bottom: 30px;
    padding: 15px;
    background: linear-gradient(135deg, #fff8f0, #fef2e8);
    border-radius: 10px;
    border-left: 4px solid #FF7A44;
    flex-grow: 1;
}

.ideal-for-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FF7A44;
    margin-bottom: 5px;
}

.ideal-for-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Features Section */
.features-section {
    padding: 80px 40px;
    background: white;
    text-align: center;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    border-left: 4px solid #FF7A44;
}

.feature-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.plan-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.plan-button.primary {
    background: linear-gradient(135deg, #FF7A44, #e66a3a);
    color: white;
}

.plan-button.secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Free plan special styling */
.free-plan .plan-button {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .pricing-section {
        padding: 60px 20px;
    }

    .pricing-title {
        font-size: 2.5rem;
    }

    .pricing-subtitle {
        font-size: 1.1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card {
        padding: 30px 25px;
        min-height: 350px;
    }

    .features-section {
        padding: 60px 20px;
    }

    .features-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

/* PROMO */
/* Backdrop: darker with blur (alpha blend) */
.free-promo-backdrop {
  position: fixed; inset: 0;
  background: rgba(17, 24, 39, 0.35); /* gray-900 @ 55% */
  backdrop-filter: blur(3px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
}
.free-promo-backdrop[aria-hidden="false"] { display: flex; }

/* Modal sizing */
.free-promo-modal {
  position: relative;
  width: min(600px, 70vw);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 64px rgba(0,0,0,0.35);
  background: #fff;
}

/* Visual container + responsive image */
.free-promo-visual {
  position: relative;
  /* width: 100%; */
}
.promo-img {
  width: 60%;
  height: auto;
  display: block;
  border:#e9ecef;
  border-width: 4px;
  border-style: solid;
  margin-left: auto;
  margin-right: auto;
}

/* Dim the image slightly for contrast */
.free-promo-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.35));
  pointer-events: none;
  z-index: 1; 
}

/* Big green ribbon (pill) */
.free-promo-modal .free-promo-ribbon {
  position: absolute; top: 14px; left: 14px; width:50%;
  display: inline-flex; flex-direction: column;
  gap: 2px;
  background: #10b981;          /* emerald-500 */
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16,185,129,0.35);
  z-index: 2; 
}
.free-promo-modal .free-promo-ribbon .ribbon-title {
  font-size: 16px; font-weight: 800; line-height: 1.1;
  z-index: 2; 
}
.free-promo-modal .free-promo-ribbon .ribbon-sub {
  font-size: 12px; 
  font-weight: 600; 
  opacity: 0.65; 
  line-height: 1.1;
}

/* CTA over the image (more color) */
.free-promo-cta {
  position: absolute; right: 0px; bottom: 14px;
  padding: 22px 26px;
  border: 0; border-radius: 12px;
  font-weight: 800; font-size: 15px;
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #6366f1); /* violet → indigo */
  box-shadow: 0 10px 24px rgba(99,102,241,0.35);
  transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
  z-index: 2;
}
.free-promo-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(99,102,241,0.45); }
.free-promo-cta:active { transform: translateY(0); }

/* Close (X) */
.free-promo-close {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.55); color: #fff;
  border: 0; border-radius: 999px; width: 34px; height: 34px;
  display: grid; place-items: center; cursor: pointer;
  z-index: 2;
}
.free-promo-close:hover { background: rgba(0,0,0,0.7); }

/* Body below the image */
.free-promo-content {
  background: #fff;
  padding: 14px 16px;
}
.free-promo-title { font-size: 17px; font-weight: 800; color: #111827; }
.free-promo-subtitle { font-size: 13px; color: #4b5563; }

/* Respect reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .free-promo-modal { animation: popIn .18s ease-out; }
  @keyframes popIn {
    from { transform: translateY(8px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
  }
}

/* Small screens: gently scale */
@media (max-width: 480px) {
  .free-promo-modal { width: 94vw; }
  .free-promo-modal .free-promo-ribbon { top: 10px; left: 10px; }
  .free-promo-cta { right: 10px; bottom: 10px; padding: 11px 14px; font-size: 14px; }
}
