/* ============================================================
   Pricing Page – Apple-Style Clean UI
   ============================================================ */

/* ==================== HERO SECTION ==================== */
.hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
    animation: fadeInDown 0.7s var(--ease-out-expo);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.hero p {
    color: var(--gray);
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==================== PRICING GRID ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 0.875rem;
    padding: 1.5rem 0 3rem;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    position: relative;
    transition: all var(--duration-base) var(--ease-smooth);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    background: var(--accent-blue);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}

/* ==================== PRICING HEADER ==================== */
.pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.pricing-icon svg {
    width: 24px;
    height: 24px;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.pricing-description {
    color: var(--gray);
    font-size: 0.8125rem;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

/* ==================== PRICE DISPLAY ==================== */
.pricing-price {
    text-align: center;
    margin-bottom: 1.25rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.price-currency {
    font-size: 1.25rem;
    vertical-align: super;
    margin-right: 0.125rem;
    color: var(--gray);
    font-weight: 500;
}

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

/* ==================== FEATURES LIST ==================== */
.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 1.25rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==================== PRICING BUTTON ==================== */
.pricing-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    background: var(--background-secondary);
    color: var(--primary);
    border: 1px solid var(--border-strong);
}

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


.pricing-btn svg {
    width: 16px;
    height: 16px;
}

/* ==================== SECTION STYLES ==================== */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--gray);
    font-size: clamp(0.875rem, 2vw, 1.0625rem);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 3rem 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-smooth);
}

.faq-item:hover {
    border-color: var(--border-strong);
}

.faq-item.active {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    letter-spacing: -0.01em;
}

.faq-question:hover {
    background: var(--background-secondary);
}

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--gray);
    transition: transform var(--duration-base) var(--ease-smooth);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth),
        padding 0.4s var(--ease-smooth);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}

.faq-answer p {
    color: var(--gray);
    font-size: 0.8125rem;
    line-height: 1.6;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 0 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem 0 2rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

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

    .faq-question {
        padding: 0.875rem 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 0.875rem;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1.25rem;
    }

    .pricing-title {
        font-size: 1.125rem;
    }

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