/* ==========================================================================
   Prices Page Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page Intro
   -------------------------------------------------------------------------- */
.page-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.intro-content h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.intro-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.intro-stats {
    display: flex;
    gap: 30px;
}

.intro-stat {
    text-align: center;
    padding: 20px 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* --------------------------------------------------------------------------
   Page Sections
   -------------------------------------------------------------------------- */
.page-section {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-section:last-child {
    border-bottom: none;
}

.section-alt {
    background: var(--bg-light);
    margin: 0 -15px;
    padding: 50px 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

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

/* --------------------------------------------------------------------------
   Price Type Cards
   -------------------------------------------------------------------------- */
.price-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.price-type-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.price-type-card:hover {
    transform: translateY(-5px);
}

.price-type-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a6f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.price-type-icon i {
    font-size: 1.5rem;
    color: white;
}

.price-type-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.price-range {
    margin-bottom: 20px;
}

.price-main {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.price-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.price-details {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.price-details li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-details li strong {
    color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   Price Table
   -------------------------------------------------------------------------- */
.price-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.price-table th,
.price-table td {
    padding: 16px 20px;
    text-align: left;
}

.price-table thead {
    background: var(--primary);
    color: white;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.price-table tbody tr:hover {
    background: var(--bg-light);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table td a {
    color: var(--primary);
    font-weight: 500;
}

.price-table td a:hover {
    color: var(--secondary);
}

.price-table td a i {
    margin-right: 8px;
    opacity: 0.7;
}

.tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tier-premium {
    background: #fef3cd;
    color: #856404;
}

.tier-high {
    background: #d4edda;
    color: #155724;
}

.tier-medium {
    background: #d1ecf1;
    color: #0c5460;
}

.tier-affordable {
    background: #e2e3e5;
    color: #383d41;
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.trend-up {
    color: #28a745;
}

.trend-down {
    color: #dc3545;
}

.trend-stable {
    color: #6c757d;
}

.table-note {
    margin-top: 20px;
    padding: 15px 20px;
    background: #e8f4fd;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.table-note i {
    margin-right: 8px;
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   Rent Prices
   -------------------------------------------------------------------------- */
.rent-prices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.rent-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.rent-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.rent-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.rent-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.rent-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Factors Grid
   -------------------------------------------------------------------------- */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.factor-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.factor-card:hover {
    transform: translateY(-3px);
}

.factor-icon {
    width: 50px;
    height: 50px;
    background: rgba(244, 121, 32, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.factor-icon i {
    font-size: 1.3rem;
    color: var(--secondary);
}

.factor-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.factor-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Tips List
   -------------------------------------------------------------------------- */
.tips-list {
    max-width: 800px;
    margin: 0 auto;
}

.tip-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.tip-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tip-content h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.tip-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CTA Card
   -------------------------------------------------------------------------- */
.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a6f 100%);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    color: white;
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1rem;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .price-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .page-intro {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    .price-type-grid,
    .rent-prices-grid,
    .factors-grid {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        flex-direction: column;
        align-items: center;
    }

    .tip-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cta-card {
        padding: 40px 25px;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }
}
