/* Pricing Page */

.feature-section-title {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--dark);
    max-width: 700px;
    margin-bottom: 1rem;
}

.pricing-cards-section { padding-top: 0; }
.includes-heading { max-width: 600px; margin: 0 auto 3rem; }
.faq-heading { text-align: center; margin: 0 auto 3rem; max-width: 100%; }

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.toggle-label {
    font-family: var(--ui);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--mid);
    transition: color 0.3s;
}

.toggle-label.active,
.toggle-label:first-child {
    color: var(--dark);
    font-weight: 600;
}

.toggle-save {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(249, 160, 27, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--tan);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    padding: 0;
}

.toggle-switch.active {
    background: var(--gold);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: left 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch.active .toggle-knob {
    left: 27px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(43, 38, 28, 0.08);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.pricing-card-featured {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(249, 160, 27, 0.15);
    background: linear-gradient(180deg, rgba(249, 160, 27, 0.03) 0%, white 40%);
}

.pricing-card-featured:hover {
    box-shadow: 0 16px 48px rgba(249, 160, 27, 0.2);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--ui);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--dark);
    padding: 0.375rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

.pricing-tier {
    font-family: var(--ui);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 0.75rem;
}

.price-amount {
    font-family: var(--sans);
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.price-period {
    font-family: var(--ui);
    font-size: 0.9375rem;
    color: var(--mid);
}

.pricing-desc {
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--mid);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.pricing-limit {
    font-family: var(--ui);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.pricing-cta {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.pricing-features li {
    font-family: var(--sans);
    font-size: 0.875rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.pricing-features li i {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-includes {
    font-family: var(--ui) !important;
    font-size: 0.75rem !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--mid) !important;
    text-transform: uppercase;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid rgba(43, 38, 28, 0.08);
}

/* All Plans Include */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.includes-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.includes-item i {
    font-size: 2rem;
    color: var(--gold);
}

.includes-item span {
    font-family: var(--ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cream);
}

/* Comparison Table */
.comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--sans);
    font-size: 0.9375rem;
    min-width: 700px;
}

.comparison-table th {
    font-family: var(--ui);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid rgba(43, 38, 28, 0.1);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 0.875rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(43, 38, 28, 0.06);
    color: var(--dark);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .feature-category {
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    background: rgba(43, 38, 28, 0.03);
    padding: 0.75rem 1rem;
}

.comparison-table .col-featured {
    background: rgba(249, 160, 27, 0.04);
}

.comparison-table i.ph-check {
    color: var(--gold);
    font-size: 1.125rem;
}

.comparison-table i.ph-minus {
    color: var(--tan);
    font-size: 1rem;
    opacity: 0.4;
}

/* Hearth Card */
.hearth-card {
    background: linear-gradient(180deg, #FDF6EC 0%, white 60%);
    border: 2px solid rgba(249, 160, 27, 0.25);
    border-radius: 16px;
    padding: 3.5rem 2.5rem;
    max-width: 520px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hearth-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(249, 160, 27, 0.12);
}

.hearth-card-badge {
    font-family: var(--ui);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hearth-card-badge i {
    font-size: 1.25rem;
}

.hearth-card-title {
    font-family: var(--serif);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 1rem;
}

.hearth-card-price {
    margin-bottom: 0.25rem;
}

.hearth-card-price .price-amount {
    font-family: var(--sans);
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.hearth-card-price .price-period {
    font-family: var(--ui);
    font-size: 0.9375rem;
    color: var(--mid);
}

.hearth-card-annual {
    font-family: var(--ui);
    font-size: 0.8125rem;
    color: var(--mid);
    margin-bottom: 1.25rem;
}

.hearth-card-desc {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--mid);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hearth-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    text-align: left;
    max-width: 340px;
    margin: 0 auto 2rem;
}

.hearth-card-features li {
    font-family: var(--sans);
    font-size: 0.875rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.hearth-card-features li i {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.hearth-card-cta {
    display: inline-block;
}

/* Comparison Table - Hearth Column */
.comparison-table .col-hearth {
    background: rgba(249, 160, 27, 0.06);
}

/* FAQ (shared with how-it-works) */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(43, 38, 28, 0.1);
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--sans);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--dark);
    padding: 1.5rem 2rem 1.5rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.faq-q:hover { color: var(--gold); }

.faq-q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--mid);
}

.faq-item.active .faq-q::after { content: '\2212'; }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
}

.faq-item.active .faq-a {
    max-height: 300px;
    padding: 0 0 1.5rem;
}

.faq-a p {
    font-family: var(--sans);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--mid);
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .includes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}
