/* NEXTSET - PRICE - Mobile First */

.main-box {
    width: 100%;
    min-height: 100vh;
}

/* === PRICING HERO === */
.pricing-hero {
    background-color: var(--white);
    padding: 2rem 0 1.5rem;
    text-align: center;
}

.pricing-hero h1 {
    color: var(--black);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.pricing-hero .section-subtitle {
    padding: 0 0.5rem;
}

/* === PRICING TOGGLE === */
.pricing-toggle {
    display: inline-flex;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 0.25rem;
    gap: 0.25rem;
}

.toggle-btn {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    background: transparent;
    color: var(--black);
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
}

.toggle-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.toggle-btn:not(.active):hover {
    background-color: var(--orange-bg);
    color: var(--primary);
}

/* === COMMON SECTION STYLES === */
section {
    width: 100%;
    padding: 3rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: var(--fs-h2);
    text-align: center;
}

.section-header .section-subtitle {
    margin-bottom: 0;
}

/* === PRICING PLANS GRID === */
.plans-section {
    display: none;
    background-color: #f9f9f9;
}

.plans-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* === PLAN CARDS === */
.plan-card {
    background-color: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-4px);
}

.plan-card.featured {
    border-color: var(--primary);
    border-width: 3px;
}

.plan-card.enterprise {
    border-color: var(--primary);
    background: #f8fafc;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Coming Soon Plans */
.plan-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.plan-card.coming-soon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    border-radius: inherit;
}

.plan-badge.coming-soon-badge {
    background: var(--gray);
    color: var(--white);
}

.plan-card.coming-soon .btn-plan:disabled {
    background: var(--gray-light);
    color: var(--gray);
    cursor: not-allowed;
    border: none;
}

.plan-card.coming-soon.featured {
    border-color: var(--gray);
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.plan-header h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

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

.price-period {
    font-size: 0.95rem;
    color: var(--gray);
}

.plan-capacity {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: var(--gray-dark);
}

.plan-capacity strong {
    color: var(--primary);
}

/* === PLAN FEATURES === */
.plan-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

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

.plan-features li {
    padding: 0.4rem 0;
    color: var(--black);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.check-icon {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* === PLAN CTA === */
.plan-cta {
    margin-top: auto;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-plan:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-featured {
    background: var(--primary);
}

.btn-enterprise {
    background: var(--primary);
}

.btn-enterprise:hover {
    background: var(--secondary);
}

.price-breakdown {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray);
}

/* === SCHEDULER CALLOUT === */
.scheduler-callout {
    margin-bottom: 2rem;
}

.scheduler-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.scheduler-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scheduler-info {
    flex: 1;
}

.scheduler-badge {
    display: inline-block;
    background: var(--gray);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.scheduler-card h3 {
    color: var(--black);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.scheduler-card > .scheduler-content > .scheduler-info > p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.scheduler-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
}

.scheduler-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--black);
}

.scheduler-pricing {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.scheduler-pricing .plan-price {
    margin-bottom: 1rem;
}

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

.btn-scheduler {
    background: var(--gray-dark);
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.btn-scheduler:hover {
    background: var(--black);
}

.scheduler-note {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.section-divider span {
    padding: 0 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* === VALUE SECTION === */
.value-section {
    background: var(--white);
    padding: 2.5rem 0;
}

.value-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.value-box h2 {
    text-align: center;
}

.value-intro {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.value-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.value-item h4 {
    color: var(--black);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* === FAQ SECTION === */
.faq-section {
    background-color: #f9f9f9;
    padding: 2.5rem 0;
}

.faq-section h2 {
    text-align: center;
}

.faq-section .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #d1d5db;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    transition: all 0.3s ease;
    gap: 1rem;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.faq-question:focus,
.faq-question:focus-visible,
.faq-question:active {
    outline: none;
    background: none;
}

.faq-question span:first-child {
    flex: 1;
}

.faq-icon {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.9rem;
}

/* === CTA SECTION === */
.cta-section {
    background: var(--white);
    padding: 2.5rem 0;
}

.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    text-align: center;
}

.cta-box p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.cta-buttons .btn-primary {
    background: var(--primary);
    color: var(--white);
}

.cta-buttons .btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--white);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-buttons .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* === RESPONSIVENESS - Mobile First (min-width only) === */

/* Small tablets (600px+) */
@media screen and (min-width: 600px) {
    .section-container {
        padding: 0 1rem;
    }

    .toggle-btn {
        padding: 0.9rem 2.5rem;
        font-size: 1.05rem;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid .plan-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 350px;
        justify-self: center;
    }

    .plan-card {
        padding: 2rem 1.5rem;
    }

    .plan-header h3 {
        font-size: 1.5rem;
    }

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

    .plan-features li {
        font-size: 0.95rem;
    }

    .value-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .value-item {
        padding: 1.5rem;
    }

    .value-item h4 {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: row;
    }

    /* Scheduler responsive */
    .scheduler-content {
        flex-direction: row;
        align-items: center;
    }

    .scheduler-pricing {
        border-top: none;
        border-left: 1px solid var(--border);
        padding-top: 0;
        padding-left: 1.5rem;
        min-width: 180px;
    }

    .scheduler-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (768px+) */
@media screen and (min-width: 768px) {
    .pricing-toggle {
        gap: 0.35rem;
        border-radius: var(--radius-lg);
    }

    .toggle-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
    }

    .pricing-hero {
        padding: 3rem 0 2rem;
    }

    .pricing-hero h1 {
        font-size: 2.75rem;
    }

    .faq-section {
        padding: 4rem 0;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

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

    .faq-answer-inner {
        padding: 0 1.5rem 1.5rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .value-section {
        padding: 4rem 0;
    }

    .value-intro {
        font-size: 1.1rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-box p {
        font-size: 1.1rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        min-width: 200px;
    }

    /* Scheduler responsive */
    .scheduler-card {
        padding: 2rem;
    }

    .scheduler-card h3 {
        font-size: 1.5rem;
    }

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

/* Desktop (900px+) */
@media screen and (min-width: 900px) {
    section {
        padding: 4rem 0;
    }

    .pricing-toggle {
        border-radius: var(--radius-full);
        padding: 0.4rem;
        gap: 0.4rem;
    }

    .toggle-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        border-radius: var(--radius-full);
    }

    .pricing-hero {
        padding: 5rem 0 4rem;
    }

    .pricing-hero h1 {
        font-size: 3rem;
    }

    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .plans-grid .plan-card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
        justify-self: auto;
    }

    .plan-card {
        padding: 2.5rem 2rem;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 1.5rem;
    }

    .cta-section {
        padding: 5rem 0;
    }

}

/* Large Desktop (1200px+) */
@media screen and (min-width: 1200px) {
    .plans-grid {
        max-width: 1100px;
    }

    .plan-header h3 {
        font-size: 1.75rem;
    }

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