/* ============================================
   PRICING PAGE STYLES - FINAL VERSION
   ============================================ */

/* --- WRAPPER --- */
.pricing-wrapper {
    min-height: 100vh;
    padding-bottom: 120px;
}

/* --- GRID LAYOUT --- */
.builder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .builder-grid {
        grid-template-columns: 1.5fr 1fr;
        align-items: start;
    }
}

/* --- CORE PACKAGE TILES --- */
.option-tile {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.option-tile:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.option-tile.selected {
    background: rgba(59, 130, 246, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

/* Checkmark */
.tile-check {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;  /* Changed from right to left */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    transition: all 0.3s;
    background: white;
    z-index: 10;
}

.option-tile.selected .tile-check {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.option-tile.selected .tile-check::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-blue {
    background: #eff6ff;
    color: #1e40af;
}

/* Learn More Button */
.learn-more-btn {
    margin-top: 1rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.learn-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* --- STICKY RECEIPT --- */
.sticky-receipt {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(148, 163, 184, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    position: sticky;
    top: 120px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 0.9rem;
}

.receipt-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(148, 163, 184, 0.2);
}

.total-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    transition: transform 0.2s;
}

/* --- PAYMENT TOGGLE --- */
.payment-toggle {
    display: flex;
    background: rgba(148, 163, 184, 0.1);
    padding: 5px;
    border-radius: 14px;
    margin-bottom: 2rem;
}

.toggle-opt {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.toggle-opt.active {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* --- FAB BUTTONS --- */
.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.fab-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.fab-phone {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.fab-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
}

/* --- SERVICE MODAL --- */
#service-modal.active {
    opacity: 1;
    pointer-events: all;
}

#service-modal.active #modal-content {
    transform: scale(1);
}

/* --- HEADER STYLES --- */
.nav-item {
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.nav-item.active {
    color: #3b82f6;
    background: #eff6ff;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s;
    color: #475569;
}

.dropdown-item:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.icon-bg {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}

.mobile-link:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.mobile-link.active {
    background: #eff6ff;
    color: #3b82f6;
}

/* --- FAQ ACCORDION --- */
.faq-item .faq-answer {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px !important;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .total-price {
        font-size: 2.5rem;
    }

    .fab-btn {
        width: 50px;
        height: 50px;
    }

    .fab-tooltip {
        display: none;
    }
}