/**
 * Pricing Page Styles
 * Will and Estate Lawyers Australia
 * 
 * File: /assets/css/pricing.css
 * Used on: Pricing/Fees page
 */

/* ============================================
   PRICING HERO
   ============================================ */

.pricing-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 4rem 1.5rem;
    text-align: center;
}

.pricing-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-badge {
    display: inline-block;
    background-color: var(--pink);
    color: var(--navy);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
}

.pricing-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink);
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ============================================
   PRICING CARDS SECTION
   ============================================ */

.pricing-section {
    padding: 5rem 1.5rem;
    background-color: var(--white);
}

.pricing-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray-dark);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid var(--gray-light);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--pink);
    box-shadow: 0 10px 40px rgba(244, 165, 185, 0.15);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--pink);
    box-shadow: 0 10px 40px rgba(244, 165, 185, 0.2);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: var(--navy);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--pink-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pink);
}

.pricing-card h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 0.25rem;
}

.pricing-card .price-note {
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.pricing-card .comparison {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--pink-light);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.comparison .market-rate {
    text-decoration: line-through;
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.comparison .savings {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-card .description {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--navy);
}

.features-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: #28a745;
    margin-top: 2px;
}

.card-cta {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s;
}

.card-cta:hover {
    background: var(--pink);
    color: var(--navy);
}

.pricing-card.featured .card-cta {
    background: var(--pink);
    color: var(--navy);
}

.pricing-card.featured .card-cta:hover {
    background: var(--pink-dark);
}

/* ============================================
   BREAKDOWN TABLE
   ============================================ */

.breakdown-section {
    padding: 4rem 1.5rem;
    background-color: var(--gray);
}

.breakdown-container {
    max-width: 900px;
    margin: 0 auto;
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.breakdown-table thead {
    background-color: var(--navy);
    color: var(--white);
}

.breakdown-table th,
.breakdown-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.breakdown-table th {
    font-weight: 600;
}

.breakdown-table tbody tr:hover {
    background-color: var(--gray);
}

.breakdown-table .total-row {
    background-color: var(--pink-light);
    font-weight: 700;
}

.breakdown-table .total-row td {
    border-bottom: none;
    color: var(--navy);
}

.breakdown-table .savings-row {
    background-color: #d4edda;
    color: #155724;
    font-weight: 600;
}

/* ============================================
   GUARANTEE SECTION
   ============================================ */

.guarantee-section {
    padding: 4rem 1.5rem;
    background-color: var(--white);
}

.guarantee-container {
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background-color: var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.guarantee-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--navy);
}

.guarantee-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.guarantee-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--pink-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ADDITIONAL COSTS NOTE
   ============================================ */

.costs-note {
    background-color: var(--gray);
    border-left: 4px solid var(--pink);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.costs-note h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.costs-note p {
    color: var(--gray-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   FAQ ON PRICING
   ============================================ */

.pricing-faq-section {
    padding: 4rem 1.5rem;
    background-color: var(--gray);
}

.pricing-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .pricing-hero {
        padding: 2.5rem 1.5rem;
    }

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

    .pricing-hero-stats {
        gap: 2rem;
    }

    .hero-stat-number {
        font-size: 1.75rem;
    }

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

    .breakdown-table th,
    .breakdown-table td {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .guarantee-card {
        padding: 2rem;
    }

    .guarantee-card h2 {
        font-size: 1.75rem;
    }
}
