/* ====================================
   ADVANCED COST BREAKDOWN & STYLES
   For Revo Savings Calculator
==================================== */

/* General Styles */
.package-selector {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.package-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.package-btn i {
    font-size: 1.1rem;
}

.package-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.package-btn.active {
    background: linear-gradient(135deg, #00D9FF, #0056b3);
    /* Blue Gradient */
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.package-btn.active[data-package="growth"] {
    background: linear-gradient(135deg, #9D00FF, #6a00ff);
    /* Purple Gradient */
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.3);
}

.package-btn.active[data-package="scale"] {
    background: linear-gradient(135deg, #FFD700, #ff8c00);
    /* Gold/Orange Gradient */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    color: #1a1a1a;
}

/* Section Blocks */
.section-block {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
}

.block-header i {
    font-size: 1.4rem;
    color: #00D9FF;
}

.block-header h4 {
    font-size: 1.2rem;
    margin: 0;
}

/* Skills Table */
.comparison-table-wrapper {
    overflow-x: auto;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.cost-table th {
    text-align: center;
    padding: 1rem;
    color: #a0aec0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.skill-name-cell {
    width: 40%;
}

.skill-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.skill-flex i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.market-cost-cell {
    text-align: center;
    color: #FF6B6B;
    /* Soft Red for cost */
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.1rem;
}

.revo-value-cell {
    text-align: center;
}

.revo-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.included-icon {
    color: #00D9FF;
}

.excluded-icon {
    color: #4a5568;
    font-size: 0.5rem;
}

.status-dim {
    color: #718096;
    font-style: italic;
    font-size: 0.9rem;
}

.row-excluded {
    opacity: 0.4;
    transition: opacity 0.3s;
}

.row-excluded:hover {
    opacity: 0.7;
}

.table-note {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.85rem;
    font-style: italic;
    padding: 0.5rem;
}

/* Secret Tools */
.tools-block {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.05), transparent);
    border-color: rgba(157, 0, 255, 0.2);
}

.tools-header i {
    color: #9D00FF;
}

.badge {
    background: rgba(157, 0, 255, 0.2);
    color: #D6BCFA;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.tool-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-icon {
    width: 40px;
    height: 40px;
    background: rgba(157, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9D00FF;
}

.tool-info h5 {
    margin: 0 0 0.3rem 0;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.tool-market-cost {
    font-size: 0.85rem;
    color: #a0aec0;
}

.tools-summary {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tools-summary p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: #cbd5e0;
}

.tools-summary .highlight {
    color: #00D9FF;
    font-weight: 600;
}

/* Final Verdict Card */
.final-verdict-card {
    background: linear-gradient(135deg, #1A202C, #131722);
    border-radius: 20px;
    border: 2px solid rgba(0, 217, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.verdict-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
}

.verdict-col {
    padding: 3rem 2rem;
    text-align: center;
}

.market-col {
    background: rgba(255, 59, 48, 0.03);
}

.revo-col {
    background: rgba(0, 217, 255, 0.03);
}

.verdict-vs {
    background: #000;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    font-weight: 900;
    font-style: italic;
    font-size: 1.2rem;
}

.verdict-col h5 {
    color: #a0aec0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.big-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.big-number small {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #718096;
    font-family: 'Cairo', sans-serif;
    margin-top: 0.5rem;
}

.market-number {
    color: #FF6B6B;
}

.revo-number {
    color: #00D9FF;
}

.verdict-list {
    list-style: none;
    padding: 0;
    text-align: center;
    /* Changed from right to center specifically inside columns */
    display: inline-block;
    text-align: right;
    /* Revert for list items content */
}

.verdict-list li {
    margin-bottom: 0.8rem;
    color: #cbd5e0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.verdict-list li i {
    font-size: 1.1rem;
}

.market-col .verdict-list i {
    color: #FF6B6B;
}

.revo-col .verdict-list i {
    color: #00D9FF;
}

.verdict-conclusion {
    background: rgba(0, 217, 255, 0.1);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.verdict-conclusion i {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.verdict-conclusion h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.verdict-conclusion p {
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.verdict-conclusion strong {
    color: #00D9FF;
}

/* Responsive */
@media (max-width: 768px) {
    .verdict-grid {
        grid-template-columns: 1fr;
    }

    .verdict-vs {
        padding: 1rem;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
    }

    .cost-table {
        min-width: 100%;
        font-size: 0.9rem;
    }

    .skill-name-cell {
        width: auto;
    }

    .market-cost-cell {
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}