/* --- PLANS HEADER --- */
.plans-header-section {
    padding: 80px 20px 20px;
    text-align: center;
}

.plans-header-content h1 {
    font-size: clamp(32px, 8vw, 52px);
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cinzel', serif;
    margin-bottom: 8px;
}

.plans-header-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* --- CALCULATOR --- */
.calculator-section {
    padding: 20px 20px 30px;
}

.calculator-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 25px;
}

.calculator-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.calculator-header p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.calculator-inputs .input-group {
    margin-bottom: 15px;
}

.calculator-inputs .input-group label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(212, 175, 55, 0.7);
    margin-bottom: 6px;
    font-weight: 600;
}

.calculator-inputs .input-field {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.calculator-inputs select.input-field {
    cursor: pointer;
}

.calculator-inputs select.input-field option {
    background: #0a0a14;
    color: #fff;
}

.calculator-inputs .input-field:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.plan-limits {
    font-size: 10px;
    color: #26a69a;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.06);
}

.result-item.highlight {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.result-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 16px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
}

.result-item.highlight .result-value {
    font-size: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profit-green {
    color: #26a69a !important;
    -webkit-text-fill-color: #26a69a !important;
}

.calculator-cta {
    text-align: center;
    margin-top: 20px;
}

.calculator-cta .btn-primary {
    padding: 12px 35px;
}

/* --- ALL PLANS GRID --- */
.all-plans-section {
    padding: 20px 20px 40px;
    text-align: center;
}

.all-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-detail-card {
    padding: 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.plan-detail-card.featured-plan {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.05);
}

.plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #d4af37;
    text-transform: uppercase;
    z-index: 2;
}

.plan-detail-header {
    padding: 25px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.plan-detail-header.basic { background: rgba(38, 166, 154, 0.05); }
.plan-detail-header.silver { background: rgba(212, 175, 55, 0.08); }
.plan-detail-header.professional { background: rgba(156, 39, 176, 0.05); }
.plan-detail-header.enterprise { background: rgba(33, 150, 243, 0.05); }

.plan-detail-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.plan-range-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.plan-detail-body {
    padding: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    font-size: 12px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: rgba(255, 255, 255, 0.5);
}

.detail-row span:last-child {
    color: #fff;
    font-weight: 600;
}

.detail-row .highlight {
    color: #d4af37;
    font-family: 'JetBrains Mono', monospace;
}

.detail-row .highlight.green {
    color: #26a69a;
}

.plan-detail-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.detail-example {
    text-align: center;
    margin-bottom: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'JetBrains Mono', monospace;
}

/* --- COMPARISON TABLE --- */
.comparison-section {
    padding: 20px 20px 50px;
    text-align: center;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    padding: 20px;
    font-size: 12px;
}

.comparison-table thead th {
    padding: 14px 12px;
    text-align: center;
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.comparison-table tbody td:first-child {
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
}

.comparison-table .highlight-col {
    color: #d4af37 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .plans-header-section {
        padding: 70px 15px 15px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card {
        padding: 20px 18px;
    }

    .all-plans-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .comparison-table {
        font-size: 10px;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 8px 6px;
    }

    .result-value {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .plans-header-content h1 {
        font-size: 26px;
    }

    .calculator-card {
        padding: 15px 12px;
    }

    .result-item {
        padding: 10px 12px;
    }

    .result-label {
        font-size: 10px;
    }

    .result-value {
        font-size: 13px;
    }
}