/* ================================
   PRICING PAGE STYLES - DARK THEME
   ================================ */

.pricing-body {
    background-color: #050505;
    overflow-x: hidden;
}

/* ================================
   HERO SECTION
   ================================ */

.pricing-hero {
    background: #050505;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/stars-left.png') left top no-repeat,
                url('../assets/images/stars-right.png') right top no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

.pricing-hero-content {
    position: relative;
    z-index: 2;
}

.pricing-hero-title {
    font-family: var(--font-montserrat-bold);
    font-size: var(--font-size-xxxl);
    color: var(--text-color-light);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pricing-hero-subtitle {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* ================================
   PRICING SECTION
   ================================ */

.pricing-section {
    padding: 4rem 0;
    padding-bottom: 25px;
    background-color: #050505;
}

/* Wider container for pricing cards */
@media (min-width: 768px) and (max-width: 991px) {
    .pricing-section .container {
        max-width: 900px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .pricing-section .container {
        max-width: 1100px;
    }
}

@media (min-width: 1200px) {
    .pricing-section .container {
        max-width: 1320px;
    }
}

@media (min-width: 1400px) {
    .pricing-section .container {
        max-width: 1500px;
    }
}

.pricing-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Community Card */
.community-card {
    border-color: rgba(255, 255, 255, 0.2);
}

.community-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Pro Card - Special Styling */
.pro-card {
    border: 2px solid rgba(250, 170, 71, 0.5);
    background: linear-gradient(135deg, #2d2620 0%, #241f1a 100%);
    box-shadow: 0 8px 40px rgba(250, 170, 71, 0.2);
}

.pro-card:hover {
    border-color: rgba(250, 170, 71, 0.7);
    box-shadow: 0 12px 50px rgba(250, 170, 71, 0.3);
}

/* Badge for Pro Card */
.pricing-card-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #C84B00 0%, #FF6A00 100%);
    color: white;
    padding: 6px 20px;
    font-family: var(--font-montserrat-bold);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(250, 170, 71, 0.4);
    z-index: 10;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ================================
   CARD HEADER
   ================================ */

.pricing-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 330px;
}

.pricing-card-header.ltd-card-header {
    min-height: 270px;
}

.plan-name {
    font-family: var(--font-montserrat-bold);
    font-size: var(--font-size-xl);
    color: var(--text-color-light);
    margin-bottom: 0.75rem;
}

.plan-tagline {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-s);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

/* Phoenix Pro Title with Gradient */
.phoenix-pro-title {
    display: inline-block;
}

.phoenix-pro-title .pro-plan-name {
    background: linear-gradient(
        45deg,
        #ff8c42,   /* deep orange */
        #ffa500,   /* bright orange */
        #ffcc70,   /* golden yellow */
        #ffd700    /* rich gold */
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-montserrat-bold);
}

.phoenix-pro-title .orange-gold {
    background: linear-gradient(
        45deg,
        #ff8c42,
        #ffa500,
        #ffcc70,
        #ffd700
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.toggle-label {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-s);
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

#yearlyLabel {
    position: relative;
}

.toggle-label.active {
    color: var(--text-color-light);
    font-family: var(--font-montserrat-semi-bold);
}

.save-badge {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-family: var(--font-montserrat-bold);
    letter-spacing: 0.2px;
    line-height: 1.3;
    text-align: center;
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    pointer-events: none;
}

/* Active state (yearly plan) - visible with golden hue */
.save-badge.active {
    display: inline-flex;
    color: #FFCA6E;
    border: 1px solid rgba(255, 196, 100, 0.6);
    background: rgba(255, 196, 100, 0.08);
    box-shadow:
        0 2px 6px rgba(255, 170, 70, 0.25),
        inset 0 0 6px rgba(255, 192, 90, 0.18);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    margin: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(90deg, #FAAA47 0%, #FA1801 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Price Display */
.plan-price {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.price-main-display {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.price-original {
    font-family: var(--font-montserrat-semi-bold);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(250, 170, 71, 0.5);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-width 0.3s ease, margin 0.3s ease;
    margin: 0;
}

.price-original.show {
    opacity: 1;
    max-width: 100px;
    margin-right: 0.5rem;
}

.price-amount {
    font-family: var(--font-montserrat-bold);
    font-size: 3.5rem;
    color: var(--text-color-light);
    line-height: 1;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f5f5f5 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    font-family: var(--font-montserrat-medium);
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    transition: top 0.3s ease;
}


.price-period.has-subtext {
    position: relative;
    top: -21px;
}

.price-equivalent {
    font-size: 0.57em;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    margin-top: 2px;
}

.price-equivalent.show {
    opacity: 1;
    visibility: visible;
}

.trial-info {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.trial-info i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Info tooltip — used on "15-day free trial" and "2 months free" badges.
   .info-tooltip-host = positioning wrapper (parent of trigger + popover).
   .info-tooltip-trigger = element the user hovers/focuses to reveal the popover.
   .info-tooltip-content = absolutely-positioned popover; lives OUTSIDE the trigger
   in the DOM so it never affects the trigger's layout (e.g., the fixed-width badge).
   The inline .info-tooltip-icon is purely a visual affordance — it does NOT change
   color on hover; the tooltip's appearance is the only feedback needed. */
.info-tooltip-host {
    position: relative;
    display: inline-block;
    line-height: inherit;
}

.info-tooltip-trigger {
    /* Re-enable pointer events — .save-badge sets pointer-events:none so it
       doesn't intercept the yearly-toggle label click, but the tooltip needs
       hover to fire on the trigger itself. */
    pointer-events: auto;
}

.info-tooltip-trigger:focus-visible {
    outline: 2px solid rgba(255, 196, 100, 0.6);
    outline-offset: 2px;
    border-radius: 4px;
}

.info-tooltip-icon {
    margin-left: 0.3rem;
    font-size: 0.85em;
    /* Inherit color from the surrounding text — gold inside .save-badge,
       muted-white inside .trial-info. No color change on hover. */
    color: inherit;
    vertical-align: baseline;
}

.info-tooltip-content {
    position: absolute;
    bottom: calc(100% + 0.55rem);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1f1f24;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-family: var(--font-montserrat);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    width: max-content;
    max-width: 280px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 1000;
    white-space: normal;
}

.info-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f1f24;
}

.info-tooltip-content.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Keep tooltip on-screen on narrow viewports */
@media (max-width: 480px) {
    .info-tooltip-content {
        max-width: 220px;
        font-size: 0.74rem;
    }
}

i.unlocked {
    color: unset;
}

/* ================================
   CARD BODY
   ================================ */

.pricing-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.features-header {
    font-family: var(--font-montserrat-semi-bold);
    font-size: var(--font-size-s);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    text-align: center;
}

/* Community card features header uses neutral color instead of orange */

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

.features-list li {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-s);
    color: var(--text-color-light);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.5;
}

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

.features-list li i {
    color: #4ade80;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.features-list li i.pro-check {
    color: var(--accent-color);
}

/* Feature Text and Info Icons */
.feature-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

.feature-info-icon {
    font-size: 0.6rem !important;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: help;
    transition: color 0.2s ease;
    position: relative;
    flex-shrink: 0;
    display: inline-block !important;
    vertical-align: middle;
    line-height: 1;
    z-index: 1;
}

.feature-info-icon:hover {
    color: var(--accent-color) !important;
}

/* Tooltip - using data attribute approach */
.feature-info-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    margin-left: -110px;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.625rem 0.875rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: var(--font-montserrat);
    white-space: normal;
    width: 220px;
    text-align: left;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    /* Simple CSS arrow using box-shadow */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Small triangle at bottom of tooltip using clip-path simulation */
.feature-info-icon[data-tooltip]::after {
    /* Add bottom padding to create visual arrow space */
    padding-bottom: 0.75rem;
}

.feature-info-icon:hover[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
}

/* Student & Educator Notice - External (below cards) */
.student-educator-notice-external {
    font-family: var(--font-montserrat);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    padding: 1rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.student-educator-notice-external i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

/* CTA Button */
.pricing-cta-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--font-montserrat-semi-bold);
    font-size: var(--font-size-md);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: 1.5rem;
}

.download-btn {
    margin-top: 30px;
}

/* Reduce trial info margin when it follows CTA button (new layout) */
.pricing-cta-btn + .trial-info {
    margin-top: 0.75rem;
}

.pricing-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(250, 170, 71, 0.4);
    filter: brightness(1.05);
}

/* Secondary Button - Less emphasis for Community Edition */
.pricing-cta-btn.secondary-button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-color-light);
}

.pricing-cta-btn.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* ================================
   FAQ SECTION
   ================================ */

.pricing-faq {
    padding: 4rem 0 6rem;
    padding-top: 0;
    background-color: #050505;
}

.faq-header {
    position: relative;
    margin-bottom: 2rem;
}

.faq-title {
    font-family: var(--font-montserrat-bold);
    font-size: var(--font-size-xxl);
    color: var(--text-color-light);
    margin-bottom: 0;
    text-align: center;
}

.faq-controls {
    position: absolute;
    top: 0;
    right: 1.5rem;
}

.faq-control-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-control-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.faq-control-btn i {
    font-size: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 0;
    padding: 1.5rem 2rem;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.faq-item:first-child {
    border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
    border-radius: 0 0 12px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    border-color: rgba(250, 170, 71, 0.3);
}

.faq-item:hover + .faq-item {
    border-top-color: rgba(250, 170, 71, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-answer {
    cursor: default;
}

.faq-question h4 {
    font-family: var(--font-montserrat-semi-bold);
    font-size: var(--font-size-md);
    color: var(--text-color-light);
    margin-bottom: 0;
    flex: 1;
}

.faq-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    transition: none;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: none;
    opacity: 0;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
    transition: none;
}

.faq-answer p {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-s);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Lifetime FAQs - Hidden by default, shown when lifetime deal is active */
.faq-item.lifetime-faq {
    display: none;
}

/* ================================
   FEATURE CARDS SECTION
   ================================ */

.features-showcase {
    background-color: #050505;
    padding: 4rem 0 3rem;
}

.features-showcase-title {
    font-family: var(--font-montserrat-bold);
    font-size: var(--font-size-xxl);
    color: var(--text-color-light);
    margin-bottom: 3rem;
}

.features-showcase .row.g-4 > [class*='col-'] {
    margin-bottom: 1.5rem;
}

/* Remove margin from last card only on small screens (single-column layout) */
@media (min-width: 577px) and (max-width: 767px) {
    .features-showcase .row.g-4 > [class*='col-']:last-child {
        margin-bottom: 0;
    }
}

/* Remove margin from last 2 cards only on medium+ screens (2-column layout) */
@media (min-width: 768px) {
    .features-showcase .row.g-4 > [class*='col-']:nth-last-child(-n+2) {
        margin-bottom: 0;
    }
}

.feature-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.feature-card-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(250, 170, 71, 0.2) 0%, rgba(255, 106, 0, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-card-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(250, 170, 71, 0.1) 0%, transparent 70%);
}

.feature-card-image i {
    font-size: 4rem;
    color: rgba(250, 170, 71, 0.5);
    z-index: 1;
}

/* Feature Image and Video Styles */
.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Special handling for SVG images */
.feature-image[src$=".svg"] {
    object-fit: contain;
    padding: 0.5rem;
    background-color: white;
}

.feature-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-video {
    opacity: 1;
}

.feature-card:hover .feature-image {
    opacity: 0;
}

.feature-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-family: var(--font-montserrat-semi-bold);
    font-size: var(--font-size-lg);
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.feature-card-description {
    font-family: var(--font-montserrat);
    font-size: var(--font-size-s);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Feature Cards Responsive Styles */
@media (max-width: 991px) {
    .features-showcase {
        padding: 3rem 0 2.5rem;
    }

    .feature-card-content {
        padding: 1.5rem;
    }

    .feature-card-image i {
        font-size: 3.5rem;
    }

    .features-showcase .row.g-4 > [class*='col-'] {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .features-showcase {
        padding: 2.5rem 0 2rem;
    }

    .features-showcase-title {
        font-size: var(--font-size-xl);
    }

    .feature-card-title {
        font-size: var(--font-size-md);
    }

    .feature-card-description {
        font-size: var(--font-size-xs);
    }

    .feature-card-image i {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .feature-card-content {
        padding: 1.25rem;
    }

    .feature-card-image i {
        font-size: 2.5rem;
    }

    .features-showcase .row.g-4 > [class*='col-'] {
        margin-bottom: 1rem;
    }

    .features-showcase .row.g-4 > [class*='col-']:last-child {
        margin-bottom: 0;
    }
}

/* ================================
   LOADING STATES FOR DYNAMIC PRICING
   ================================ */

/* Button loading state - disabled appearance during API fetch */
.pricing-cta-btn.loading-state {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    animation: pulse-opacity 1.5s ease-in-out infinite;
}

/* Subtle pulse animation for loading buttons */
@keyframes pulse-opacity {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.7;
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1200px) {
    .download-btn {
        margin-top: 50px;
    }
    .trial-info {
        font-size: var(--font-size-xxs);
    }
    .price-equivalent {
        font-size: var(--font-size-xxs);
    }
    .pricing-card-header.ltd-card-header {
        min-height: 270px;
    }
}

@media (max-width: 991px) {
    .pricing-section {
        padding: 3rem 0;
    }

    .pricing-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }
    .pricing-card-ribbon {
        font-size: 0.68rem;
    }
    .pricing-card-header {
        min-height: 340px;
        margin-top: 5px;
    }
    .download-btn {
        margin-top: 40px;
    }
    .price-period.has-subtext {
        top: -16px;
    }
    .pricing-card-header.ltd-card-header {
        min-height: 255px;
    }
    .save-badge {
        font-size: 9px;
        padding: 4px 6px;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 60px 0 40px;
    }

    .pricing-hero-title {
        font-size: var(--font-size-xxl);
    }

    .pricing-hero-subtitle {
        font-size: var(--font-size-md);
    }

    .pricing-section {
        padding: 2rem 0;
    }

    .pricing-card {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .pricing-card-ribbon {
        font-size: 0.65rem;
        padding: 5px 16px;
    }

    .plan-name {
        font-size: var(--font-size-lg);
    }

    .plan-tagline {
        font-size: var(--font-size-xs);
        margin-bottom: 1.25rem;
    }

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

    .price-original {
        font-size: 1.5rem;
    }

    .price-period {
        font-size: var(--font-size-md);
    }

    .price-equivalent {
        font-size: var(--font-size-xs);
    }

    .pricing-card-header {
        min-height: 290px;
        margin-top: 5px;
    }
    .download-btn {
        margin-top: 30px;
    }
    .pricing-card-header.ltd-card-header {
        min-height: 240px;
    }
    .features-list li {
        font-size: 0.8125rem;
        padding: 0.6rem 0;
    }

    /* Adjust tooltip for mobile */
    .feature-info-icon[data-tooltip]::after {
        width: 200px;
        margin-left: -100px;
        font-size: 0.6875rem;
        padding: 0.5rem 0.75rem 0.65rem;
    }

    .pricing-cta-btn {
        font-size: var(--font-size-s);
        padding: 0.875rem 1.5rem;
    }

    .faq-title {
        font-size: var(--font-size-xl);
    }

    .faq-controls {
        right: 1rem;
    }

    .faq-item {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h4 {
        font-size: var(--font-size-s);
    }

    .faq-answer p {
        font-size: var(--font-size-xs);
    }

    .faq-icon {
        font-size: 0.7rem;
    }
}

/* ================================
   FOOTER OVERRIDE — darker bg to match pricing page
   ================================ */
.pricing-body .footer-new {
    background: linear-gradient(180deg, #111 0%, #050505 100%);
}

@media (max-width: 576px) {
    .faq-title {
        font-size: var(--font-size-lg);
        padding-right: 3rem;
    }

    .faq-controls {
        right: 0.75rem;
    }

    .billing-toggle {
        gap: 0.5rem;
    }

    .toggle-label {
        font-size: 0.8rem;
    }

    .save-badge {
        font-size: 9px;
        padding: 4px 6px;
    }

    .pricing-card-header {
        margin-top: 5px;
        min-height: 280px;
    }

    .download-btn {
        margin-top: 20px;
    }

    .pricing-card-ribbon {
        font-size: 0.6rem;
    }

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

    .price-original {
        font-size: 1.25rem;
    }

    .price-main-display {
        gap: 0.5rem;
    }
    .price-period.has-subtext {
        top: -13px;
    }
    .price-equivalent {
        font-size: var(--font-size-xxs);
    }
}

/* ================================
   LIFETIME DEAL CARD
   ================================ */

/* Lifetime Card - Special Styling */
.lifetime-card {
    border: 2px solid rgba(147, 51, 234, 0.5);
    background: linear-gradient(135deg, #2a2035 0%, #1f1a2a 100%);
    box-shadow: 0 8px 40px rgba(147, 51, 234, 0.2);
}

.lifetime-card:hover {
    border-color: rgba(147, 51, 234, 0.7);
    box-shadow: 0 12px 50px rgba(147, 51, 234, 0.3);
}

/* Lifetime Ribbon */
.pricing-card-ribbon.lifetime-ribbon {
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* Lifetime Title with Gradient */
.lifetime-title {
    display: inline-block;
}

.lifetime-title .lifetime-plan-name {
    background: linear-gradient(
        45deg,
        #a855f7,   /* purple */
        #c084fc,   /* lighter purple */
        #e9d5ff,   /* very light purple */
        #ddd6fe    /* lavender */
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-montserrat-bold);
}

/* Deal Timer Banner - Premium Purple Design with Dual Scarcity */
.deal-timer-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    padding-top: 2.2rem;
    padding-bottom: 0.85rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.35);
    font-family: var(--font-montserrat-semi-bold);
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    border-radius: 20px 20px 0 0;
}

/* Timer Row */
.timer-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-row span {
    color: rgba(255, 255, 255, 0.85);
}

.timer-row #lifetimeCountdown {
    color: #fbbf24;
    font-family: var(--font-montserrat-bold);
    font-size: 1.05em;
}

.timer-row i {
    color: #fbbf24;
    font-size: 0.95rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Seats Row */
.seats-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95em;
}

.seats-row span {
    color: rgba(255, 255, 255, 0.85);
}

.seats-row #seatsRemaining {
    color: #f472b6;
    font-family: var(--font-montserrat-bold);
    font-size: 1.1em;
}

.seats-row i {
    color: #f472b6;
    font-size: 0.9rem;
    animation: fire-flicker 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
    }
    50% {
        opacity: 0.85;
        filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9));
    }
}

@keyframes fire-flicker {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 2px rgba(244, 114, 182, 0.6));
    }
    50% {
        opacity: 0.9;
        filter: drop-shadow(0 0 4px rgba(244, 114, 182, 0.8));
    }
}

/* Lifetime discount badge - green text with sale tag icon */
.lifetime-discount-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    font-family: var(--font-montserrat-semi-bold);
    letter-spacing: 0.2px;
    color: #4ade80; /* green-400 */
}

.lifetime-discount-badge i {
    font-size: 13px;
    color: #4ade80;
}

/* Lifetime Deal Button - Purple Theme */
.lifetime-card .lifetime-cta {
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
}

.lifetime-card .lifetime-cta:hover {
    background: linear-gradient(90deg, #6d28d9 0%, #9333ea 100%);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5);
}

/* Reduce spacing in lifetime card */
.lifetime-card .pricing-card-header {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.lifetime-card .pricing-card-body {
    padding-top: 0;
    margin-top: 10px;
}

.lifetime-card .trial-info {
    margin-bottom: 0;
}

/* Responsive adjustments for lifetime deal */
@media (max-width: 991px) {
    .deal-timer-banner {
        margin: -2rem -2rem 1.2rem -2rem;
        padding-top: 1.8rem;
        padding-bottom: 0.75rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        font-size: 0.7rem;
        gap: 0.4rem;
    }

    .timer-row i {
        font-size: 0.85rem;
    }

    .seats-row i {
        font-size: 0.8rem;
    }

    .seats-row {
        font-size: 0.9em;
    }

    .lifetime-card .pricing-card-header {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .deal-timer-banner {
        margin: -1.5rem -1.5rem 1rem -1.5rem;
        padding-top: 2.25rem;
        padding-bottom: 0.7rem;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        font-size: 0.65rem;
        gap: 0.35rem;
    }

    .timer-row i {
        font-size: 0.8rem;
    }

    .seats-row i {
        font-size: 0.75rem;
    }

    .seats-row {
        font-size: 0.9em;
    }
}

@media (max-width: 576px) {
    .deal-timer-banner {
        padding-top: 1.5rem;
        padding-bottom: 0.6rem;
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        font-size: 0.6rem;
        gap: 0.3rem;
    }

    .timer-row i {
        font-size: 0.75rem;
    }

    .seats-row i {
        font-size: 0.7rem;
    }

    .seats-row {
        font-size: 0.85em;
    }

    .lifetime-card .pricing-card-ribbon {
        font-size: 0.6rem;
    }
}

/* ================================
   LIMITED OFFER CARD (Future Use)
   ================================ */

.limited-offer-card {
    background: linear-gradient(135deg, #3d1f1f 0%, #2d1616 100%);
    border: 2px solid rgba(250, 24, 1, 0.5);
    text-align: center;
    padding: 2rem;
}

.limited-offer-card:hover {
    border-color: rgba(250, 24, 1, 0.7);
}

/* ================================
   RTL (Right-to-Left) SUPPORT
   ================================ */

/* Billing Toggle RTL - Keep LTR layout for toggle component */
[dir="rtl"] .billing-toggle {
    direction: ltr;
}

/* Price Display RTL */
[dir="rtl"] .price-main-display {
    flex-direction: row-reverse;
}

[dir="rtl"] .price-period.has-subtext {
    text-align: right;
}

[dir="rtl"] .price-equivalent {
    left: 0;
    right: auto;
    text-align: right;
}

[dir="rtl"] .price-original.show {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Phoenix Pro Title RTL */
[dir="rtl"] .phoenix-pro-title .orange-gold {
    margin-left: 0;
    margin-right: 5px;
}

/* Feature List RTL */
[dir="rtl"] .features-list li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .feature-text {
    flex-direction: row-reverse;
}

[dir="rtl"] .feature-info-icon {
    margin-left: 0;
    margin-right: 2px;
}

/* Tooltip RTL - prevent clipping on left edge */
[dir="rtl"] .feature-info-icon[data-tooltip]::after {
    text-align: right;
    left: auto;
    right: -10px;
    margin-left: 0;
    margin-right: 0;
}

/* Trial Info RTL */
[dir="rtl"] .trial-info i {
    margin-right: 0;
    margin-left: 5px;
}

/* FAQ RTL */
[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-controls {
    right: auto;
    left: 1.5rem;
}

@media (max-width: 768px) {
    [dir="rtl"] .faq-controls {
        left: 1rem;
    }
}

@media (max-width: 576px) {
    [dir="rtl"] .faq-controls {
        left: 0.75rem;
    }

    [dir="rtl"] .faq-title {
        padding-right: 0;
        padding-left: 3rem;
    }
}
