/* Pricing Page Custom Styling */
.pricing-hero {
    background-image: url('../img/glenn-carstens-peters.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Page Hero Background */
.contact-page .pricing-hero {
    background-image: url('../img/annie-spratt.jpg');
}

.pricing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(17, 26, 60, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.pricing-subtitle {
    color: white;
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Plan Icons */
.plan-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    vertical-align: top;
}

.free-icon {
    background-color: rgba(194, 199, 214, 1); /* bluegray */
}

.basic-icon {
    background-color: var(--lightblue); /* lightblue */
}

.pro-icon {
    background-color: rgba(255, 193, 7, 0.9); /* gold */
}

/* Table Background */
.pricing-table {
    color: white;
    border-radius: 15px;
    overflow: hidden;
}

.pricing-table table {
    color: white !important;
    border-radius: 15px;
    overflow: hidden;
}

.pricing-table table th,
.pricing-table table td {
    border-radius: 8px;
    margin: 2px;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.pricing-table table {
    border-collapse: separate !important;
    border-spacing: 5px 3px;
}

.pricing-table table tr {
    border: none !important;
}

.pricing-table table tbody tr {
    border: none !important;
}

.pricing-table table tbody td {
    vertical-align: middle !important;
}

.pricing-table thead th {
    background-color: transparent !important;
    color: white !important;
    vertical-align: top !important;
}


/* Plan Cell Backgrounds */
.free-cell {
    background-color: rgba(194, 199, 214, 1) !important; /* bluegray */
    color: var(--darkblue) !important;
}

.basic-cell {
    background-color: rgb(141, 167, 209) !important; /* lighter lightblue */
    color: var(--darkblue) !important;
}

.pro-cell {
    background-color: rgba(255, 193, 7, 0.9) !important; /* gold - same as diamond icon */
    color: var(--darkblue) !important;
}

/* Equal Column Widths */
.pricing-table table {
    table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
    width: 25%;
}

/* Plan Headers */
.free-header {
    background-color: rgba(194, 199, 214);
}

.basic-header {
    background-color: rgba(92, 130, 190);
}

.pro-header {
    background-color: rgba(255, 193, 7, 0.9)
}

/* First row (header) - no borders */
.pricing-table thead tr {
    border: none !important;
}

.pricing-table thead tr th {
    border: none !important;
}

/* Last row (buttons) - no borders */
.pricing-table tbody tr:last-child td {
    border: none !important;
}

/* Plan Cells */
.free-cell {
    background-color: rgba(194, 199, 214, 0.05);
}

.basic-cell {
    background-color: rgba(92, 130, 190, 0.05);
}

.pro-cell {
    background-color: rgba(255, 193, 7, 0.05);
}

/* Get Started Buttons */
.btn-free {
    background-color: rgba(194, 199, 214, 1) !important; /* Full opacity gray */
    border-color: rgba(194, 199, 214, 1) !important;
    color: var(--darkblue) !important;
    font-weight: 600 !important; /* Bolder text */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; /* Subtle shadow */
}

.btn-free:hover {
    background-color: rgba(105, 110, 130, 1) !important; /* Darker gray on hover */
    border-color: rgba(105, 110, 130, 1) !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* Enhanced shadow on hover */
}

.btn-basic {
    background-color: var(--lightblue) !important; /* Full vibrant blue */
    border-color: var(--lightblue) !important;
    color: white !important;
    font-weight: 600 !important; /* Bolder text */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; /* Subtle shadow */
}

.btn-basic:hover {
    background-color: var(--darkblue) !important;
    border-color: var(--darkblue) !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* Enhanced shadow on hover */
}

.btn-pro {
    background-color: rgba(255, 193, 7, 1) !important; /* Full opacity gold */
    border-color: rgba(255, 193, 7, 1) !important;
    color: var(--darkblue) !important;
    font-weight: 600 !important; /* Bolder text */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; /* Subtle shadow */
}

.btn-pro:hover {
    background-color: rgba(255, 193, 7, 0.9) !important; /* Slightly transparent on hover */
    border-color: rgba(255, 193, 7, 0.9) !important;
    color: var(--darkblue) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* Enhanced shadow on hover */
}

/* Mobile Card Layout */
.pricing-cards {
    display: none;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.pricing-card-header {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-card-header .plan-icon {
    margin-bottom: 1rem;
}

.pricing-card-header h4 {
    color: var(--darkblue);
    font-size: 1.5rem;
}

.pricing-card-header p {
    color: #6c757d;
    font-size: 0.9rem;
}

.pricing-card-price {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.pricing-card-price h2 {
    color: var(--darkblue);
    font-size: 2.5rem;
}

.pricing-card-price small {
    color: #6c757d;
}

.pricing-card-features {
    padding: 1rem 1.5rem;
    background: white;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 2px solid #dee2e6;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-name {
    font-weight: 500;
    color: var(--darkblue);
    flex: 1;
}

.feature-value {
    color: #495057;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.pricing-card-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    text-align: center;
}

/* Card-specific styling for each plan */
.free-card .pricing-card-header {
    background: linear-gradient(135deg, rgba(194, 199, 214, 0.1) 0%, rgba(194, 199, 214, 0.2) 100%);
}

.basic-card .pricing-card-header {
    background: linear-gradient(135deg, rgba(92, 130, 190, 0.1) 0%, rgba(92, 130, 190, 0.2) 100%);
}

.pro-card .pricing-card-header {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.2) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-title {
        font-size: 2rem;
    }
    
    .pricing-hero {
        height: 40vh;
    }
    
    .plan-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Show cards on mobile, hide table */
    .pricing-cards {
        display: block !important;
    }
    
    .pricing-table {
        display: none !important;
    }
    
    /* Contact form padding on mobile */
    .contact-form-wrapper {
        padding: 1.5rem !important;
    }
    
    /* Footer logo responsive */
    .pricing-page footer {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .pricing-page footer .container {
        padding: 1rem 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .pricing-page footer .row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .pricing-page footer .col-md-6 {
        margin-bottom: 1rem !important;
    }
}

/* Contact Form Styling */
.pricing-page .form-control,
.pricing-page .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.pricing-page .form-control:focus,
.pricing-page .form-select:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--lightblue);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.pricing-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-page #contactForm button[type="submit"] {
    min-width: 220px;
}

@media (max-width: 576px) {
    .contact-page #contactForm {
        padding-bottom: 2.5rem;
    }
    .contact-page #contactForm .text-center {
        text-align: center;
    }
    .contact-page #contactForm button[type="submit"] {
        width: 100%;
        min-width: 0;
        display: block;
    }
    .contact-page .form-select,
    .contact-page .form-control {
        font-size: 1rem;
    }
}

.contact-page #contactForm button.is-disabled,
.contact-page #contactForm button[disabled] {
    opacity: 0.85;
    color: #ffffff;
    cursor: not-allowed;
}

.contact-page .form-select option {
    font-size: 1.05rem;
    color: #111a3c;
}

.contact-page input[type="email"] {
    background-image: none;
}

/* Modal Email Field Styling */
#getStartedModal .form-control {
    background-color: white !important;
    border: 2px solid #dee2e6 !important;
    color: var(--darkblue) !important;
    border-radius: 0.375rem !important;
}

#getStartedModal .form-control:focus {
    background-color: white !important;
    border-color: var(--lightblue) !important;
    box-shadow: 0 0 0 0.2rem rgba(92, 130, 190, 0.25) !important;
    color: var(--darkblue) !important;
}

#getStartedModal .form-control::placeholder {
    color: #6c757d !important;
}

/* Modal Button Sizing */
#getStartedModal .modal-footer .btn {
    min-width: 120px !important;
    padding: 0.5rem 1rem !important;
}

.pricing-page .btn-primary {
    background-color: var(--lightblue);
    border-color: var(--lightblue);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.pricing-page .btn-primary:hover {
    background-color: var(--darkblue);
    border-color: var(--darkblue);
}

/* Free Features Banner Styling */
.free-features-banner {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.free-features-banner h4 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.free-features-banner p {
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Countdown Display Styling */
.countdown-container {
    padding: 1rem;
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-expired {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 1rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .countdown-value {
        font-size: 1.5rem;
        min-width: 50px;
        padding: 0.4rem 0.6rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .free-features-banner {
        padding: 1rem;
    }
    
    .free-features-banner h4 {
        font-size: 1.25rem;
    }
    
    .free-features-banner p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .countdown-display {
        gap: 0.25rem;
    }
    
    .countdown-item {
        min-width: 45px;
    }
    
    .countdown-value {
        font-size: 1.25rem;
        min-width: 45px;
        padding: 0.3rem 0.5rem;
    }
    
    .countdown-separator {
        font-size: 1.25rem;
        margin: 0 0.1rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
}

/* Out of Bundle Section Styling */
.out-of-bundle-section {
    background: linear-gradient(135deg, #fff3cd 0%, #fff9e6 100%);
    border: 3px solid var(--yellow);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(211, 224, 110, 0.3);
}

.out-of-bundle-section h3 {
    color: var(--darkblue);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 2rem;
}

.out-of-bundle-section .table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.out-of-bundle-row {
    transition: all 0.3s ease;
}

.out-of-bundle-row:hover {
    background-color: rgba(255, 193, 7, 0.1) !important;
    transform: scale(1.01);
}

.out-of-bundle-row td {
    padding: 1.5rem !important;
    vertical-align: middle !important;
}

.out-of-bundle-price {
    min-width: 150px;
}

.out-of-bundle-price h4 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

/* Mobile adjustments for out of bundle */
@media (max-width: 768px) {
    .out-of-bundle-section {
        padding: 1.5rem;
    }
    
    .out-of-bundle-section h3 {
        font-size: 1.5rem;
    }
    
    .out-of-bundle-row td {
        padding: 1rem !important;
    }
    
    .out-of-bundle-price h4 {
        font-size: 1.5rem;
    }
}

/* Default background for plan config cards (when no activation type) */
.plan-config-container .card:not(.activation-immediate):not(.activation-delayed):not(.current-plan-card) {
    background: linear-gradient(135deg, rgba(194, 199, 214, 0.1) 0%, rgba(194, 199, 214, 0.05) 100%) !important;
    border: 1px solid rgba(194, 199, 214, 0.3) !important;
}

.plan-config-container .card:not(.activation-immediate):not(.activation-delayed):not(.current-plan-card) .card-header {
    background: rgba(194, 199, 214, 0.15) !important;
    border-bottom: 1px solid rgba(194, 199, 214, 0.3) !important;
}

/* Activation Type Backgrounds */
.activation-immediate {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.08) 100%) !important;
    border: 2px solid rgba(40, 167, 69, 0.4) !important;
}

.activation-immediate .card-header {
    background: rgba(40, 167, 69, 0.25) !important;
    border-bottom: 2px solid rgba(40, 167, 69, 0.3) !important;
}

.activation-delayed {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.08) 100%) !important;
    border: 2px solid rgba(255, 193, 7, 0.4) !important;
}

.activation-delayed .card-header {
    background: rgba(255, 193, 7, 0.25) !important;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3) !important;
}

/* Legend Component */
.activation-legend {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.activation-legend h6 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #212529;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.legend-color-box {
    width: 30px;
    height: 20px;
    border-radius: 4px;
    margin-right: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.legend-color-box.immediate {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.08) 100%);
    border-color: rgba(40, 167, 69, 0.4);
}

.legend-color-box.delayed {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.08) 100%);
    border-color: rgba(255, 193, 7, 0.4);
}

.legend-text {
    font-size: 0.9rem;
    color: #495057;
    flex: 1;
}

/* Tutorial button styling - Gold color, same as other tutorial buttons */
#accountInfoTutorialBtn, #planConfigTutorialBtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--darkblue) !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

#accountInfoTutorialBtn:hover, #planConfigTutorialBtn:hover {
    background-color: #e6c200 !important;
    border-color: #e6c200 !important;
    color: var(--darkblue) !important;
}

#accountInfoTutorialBtn i, #planConfigTutorialBtn i {
    font-family: "Font Awesome 6 Free" !important;
}

#accountInfoTutorialBtn span, #planConfigTutorialBtn span {
    font-family: 'Spline Sans', sans-serif !important;
}

/* Intro.js z-index for modal tutorials */
.introjs-overlay {
    z-index: 1110 !important;
}

.introjs-helperLayer {
    z-index: 1111 !important;
}

.introjs-tooltipReferenceLayer {
    z-index: 1111 !important;
}

.introjs-tooltip {
    z-index: 1112 !important;
}

/* Help button styling - gold background with black icon */
.help-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #000000 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    padding: 0.25rem 0.5rem !important;
    min-width: auto;
}

.help-icon-btn:hover {
    background-color: #e6c200 !important;
    border-color: #e6c200 !important;
    color: #000000 !important;
}

.help-icon-btn i {
    font-family: "Font Awesome 6 Free" !important;
    color: #000000 !important;
    font-size: 1rem;
}