.pricing-hero {
    padding: 30px 30px;
    margin-top: var(--expanded-header-height);
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--hero-subtitle-color);
    text-align: center;
    margin-bottom: 3rem;
}

/* Pricing toggle styles */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.pricing-toggle span {
    margin: 0 6px;
}

.discount-badge {
    background-color: #e6f7ff;
    color: var(--thermist-blue);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 2px;
}

/* Toggle switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0 10px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

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

input:checked + .slider {
    background-color: var(--thermist-blue);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--thermist-blue);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.slider.round {
    border-radius: 34px;
    width: 60px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing cards styles */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin-bottom: 4rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 250px;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.pricing-card.featured:hover {
    transform: translateY(-5px);
}

.card-header {
    margin-bottom: 20px;
    text-align: center;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--hero-subtitle-color);
}

.card-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
}

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

.card-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--thermist-blue);
    font-weight: bold;
}

.download-trial-button, .buy-now-button {
    display: inline-block;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    background-color: var(--thermist-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
    box-sizing: border-box;
    height: 50px;
    line-height: 20px;
}

.download-trial-button:hover, .buy-now-button:hover {
    background-color: var(--thermist-blue-dark);
}

.pricing-card:first-child .download-trial-button {
    background-color: white;
    color: var(--thermist-blue);
    border: 2px solid var(--thermist-blue);
}

.pricing-card:first-child .download-trial-button:hover {
    background-color: var(--thermist-blue-transparent);
}

/* FAQ section styles */
.faq-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--hero-subtitle-color);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.modal p {
    color: var(--hero-subtitle-color);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.modal input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.modal input[type="text"]:focus {
    border-color: var(--thermist-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.modal-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--thermist-blue);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-button:hover {
    background-color: var(--thermist-blue-dark);
}

.manage-subscription-link {
    color: var(--thermist-blue);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

.manage-subscription-link:hover {
    color: var(--thermist-blue-dark);
    text-decoration: underline;
}

.subscription-form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
} 