/* ===== PRICING PAGE - COMPLETE CSS ===== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-dark: #010409;
    --primary-light: #161b22;
    --primary: #0d1117;
    --accent: #238636;
    --accent-hover: #2ea043;
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-muted: #8b949e;
    --border: #30363d;
    --danger: #f85149;
    --warning: #d29922;
    --success: #3fb950;
    --info: #58a6ff;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-price {
     background: linear-gradient(
        135deg, 
        rgb(from var(--primary-dark) r g b / 0.9) 0%, 
        rgb(from var(--primary) r g b / 0.85) 50%,
        rgb(from var(--accent) r g b / 0.5) 100%
    ), url('../img/cta-section.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== USAGE SECTION (ADDED) ===== */
.usage-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.usage-card {
    background: var(--primary-light);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
}

.usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.usage-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.usage-header h3 i {
    color: var(--accent);
}

.plan-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.usage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.usage-stat {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 16px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-header i {
    margin-right: 6px;
}

.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.stat-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.usage-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.usage-actions .btn-primary,
.usage-actions .btn-secondary {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.usage-actions .btn-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.usage-actions .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.usage-actions .btn-secondary {
    background: var(--primary-dark);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.usage-actions .btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--accent);
}

/* ===== PAGE HEADER ===== */
.page-header {
    text-align: center;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRICING TOGGLE ===== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.toggle-label.active {
    color: var(--accent);
}

.discount-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    margin-left: 6px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* ===== PRICING PLANS ===== */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.pricing-card {
    background: var(--primary-light);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.current-plan {
    border: 2px solid var(--accent);
}

.pricing-card.popular {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .pricing-card.popular {
        transform: none;
    }
}

.current-plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.plan-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.plan-price {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.feature-item i {
    width: 18px;
}

.feature-item i.fa-check {
    color: var(--success);
}

.feature-item i.fa-times {
    color: var(--danger);
    opacity: 0.6;
}

.feature-item.disabled {
    opacity: 0.6;
}

.plan-button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
}

.plan-button.btn-primary {
    background: var(--accent);
    color: white;
}

.plan-button.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.plan-button.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.plan-button.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.plan-button.btn-disabled {
    background: var(--primary-dark);
    color: var(--text-muted);
    cursor: not-allowed;
}

.contact-button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.contact-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== FEATURE COMPARISON TABLE ===== */
.comparison-section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.section-title p {
    color: var(--text-muted);
}

.comparison-tables {
    width: 100%;
    border-collapse: collapse;
    background: var(--primary-light);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-tables th,
.comparison-tables td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-tables th {
    background: var(--primary-dark);
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-tables td {
    color: var(--text-secondary);
}

.comparison-tables tr:last-child td {
    border-bottom: none;
}

.feature-category td {
    background: var(--primary-dark);
    font-weight: 600;
    color: var(--text-primary);
}

.feature-name {
    font-weight: 500;
}

.checkmark {
    color: var(--success);
    font-weight: 600;
}

.cross {
    color: var(--danger);
    opacity: 0.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: 20px;
    padding: 50px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid var(--accent);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-butt {
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cta-butt:first-child {
    background: var(--accent);
    color: white;
}

.cta-butt:first-child:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.cta-butt:last-child {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.cta-butt:last-child:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--primary-light);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border);
}

.modal-close {
    float: right;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--danger);
}

.payment-summary {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.payment-option {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.payment-option:hover {
    border-color: var(--accent);
}

.payment-option.active {
    border-color: var(--accent);
    background: rgba(35, 134, 54, 0.05);
}

.payment-checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--success);
    font-size: 18px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-actions .btn {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.modal-actions .btn-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.modal-actions .btn-secondary {
    background: var(--primary-dark);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .comparison-tables {
        display: block;
        overflow-x: auto;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .usage-stats {
        grid-template-columns: 1fr;
    }
    
    .usage-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .pricing-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    .toggle-switch {
        margin: 5px 0;
    }
    
    .cta-btn {
        flex-direction: column;
    }
    
    .cta-butt {
        width: 100%;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* ============================================
   UPGRADE NOTICE - ENHANCED VERSION
   ============================================ */

.upgrade-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 0;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Animated gradient background */
.upgrade-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Decorative pattern overlay */
.upgrade-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.08" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}

/* Floating particles effect */
.upgrade-notice::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(40px, 40px) rotate(360deg);
    }
}

/* Container styling */
.upgrade-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 15px;
}

/* Welcome text styling */
.upgrade-notice strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.upgrade-notice strong::before {
    content: '👋';
    font-size: 1.1rem;
    animation: wave 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(14deg);
    }
    40% {
        transform: rotate(-8deg);
    }
    60% {
        transform: rotate(14deg);
    }
    80% {
        transform: rotate(-4deg);
    }
}

/* Plan info styling */
.upgrade-notice span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    margin: 0 8px;
}

/* Link styling */
.upgrade-notice a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.upgrade-notice a::after {
    content: '→';
    transition: transform 0.3s ease;
}

.upgrade-notice a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

.upgrade-notice a:hover::after {
    transform: translateX(4px);
}

/* Current Plan Badge */
.current-plan-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 10px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .upgrade-notice {
        padding: 12px 0;
    }
    
    .upgrade-notice .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .upgrade-notice strong {
        font-size: 0.9rem;
    }
    
    .upgrade-notice span {
        display: inline-block;
        margin: 5px 0;
    }
    
    .current-plan-badge {
        margin-left: 5px;
    }
    
    .upgrade-notice a {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .upgrade-notice {
        padding: 10px 0;
    }
    
    .upgrade-notice strong {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 5px;
    }
    
    .upgrade-notice strong::before {
        font-size: 1rem;
    }
    
    .upgrade-notice span {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .upgrade-notice a {
        padding: 5px 14px;
        font-size: 0.75rem;
    }
    
    .current-plan-badge {
        font-size: 9px;
        padding: 3px 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .upgrade-notice {
        background: linear-gradient(135deg, #4a1d6d, #1a1a2e);
    }
    
    .upgrade-notice span {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .upgrade-notice a {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Print styles */
@media print {
    .upgrade-notice {
        background: #333;
        color: white;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .upgrade-notice::before,
    .upgrade-notice::after {
        display: none;
    }
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */

.calculator-section {
    background: var(--primary-light);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.calculator-section:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.calculator-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculator-section h2 i {
    color: var(--accent);
    font-size: 1.8rem;
}

.calculator-section p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 0.95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Calculator Container */
.calculator {
    max-width: 800px;
    margin: 0 auto;
}

/* Calculator Input Group */
.calculator-input {
    margin-bottom: 45px;
}

.calculator-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-primary);
}

/* Range Slider */
.calculator-input input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: var(--primary-dark);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.calculator-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.calculator-input input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--accent-hover);
}

/* Slider Value Display */
.slider-value {
    margin-top: 18px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.slider-value span {
    font-size: 1.8rem;
    font-weight: 800;
}

/* Calculator Results Grid */
.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

/* Result Cards */
.result-card {
    background: var(--primary-dark);
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.result-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.result-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.result-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin: 12px 0;
    line-height: 1.2;
}

.result-card small {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .upgrade-notice {
        padding: 10px 0;
    }
    
    .upgrade-notice .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .upgrade-notice a {
        margin-left: 0;
        display: inline-block;
    }
    
    .calculator-section {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .calculator-section h2 {
        font-size: 1.5rem;
    }
    
    .calculator-section h2 i {
        font-size: 1.5rem;
    }
    
    .calculator-results {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .result-card {
        padding: 18px 15px;
    }
    
    .result-amount {
        font-size: 1.5rem;
    }
    
    .slider-value {
        font-size: 1.2rem;
    }
    
    .slider-value span {
        font-size: 1.5rem;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .calculator-results {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .result-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 15px 20px;
    }
    
    .result-card h4 {
        margin-bottom: 0;
    }
    
    .result-amount {
        margin: 0;
        font-size: 1.4rem;
    }
    
    .result-card small {
        display: none;
    }
    
    .calculator-input label {
        font-size: 0.9rem;
    }
    
    .calculator-input input[type="range"] {
        height: 6px;
    }
    
    .calculator-input input[type="range"]::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .upgrade-notice {
        font-size: 0.8rem;
    }
    
    .upgrade-notice strong {
        font-size: 0.85rem;
    }
    
    .calculator-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .calculator-section h2 {
        font-size: 1.3rem;
    }
    
    .calculator-section h2 i {
        font-size: 1.3rem;
    }
    
    .calculator-section p {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .slider-value {
        font-size: 1rem;
    }
    
    .slider-value span {
        font-size: 1.3rem;
    }
    
    .result-card {
        padding: 12px 16px;
    }
    
    .result-card h4 {
        font-size: 0.95rem;
    }
    
    .result-amount {
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .calculator-section h2 {
        font-size: 1.1rem;
    }
    
    .result-card {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .result-amount {
        font-size: 1.3rem;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    .upgrade-notice {
        background: linear-gradient(135deg, #1a5d2a, #0d3d1a);
    }
    
    .calculator-section {
        background: #1a1c2c;
    }
    
    .result-card {
        background: #1f2233;
    }
    
    .calculator-input input[type="range"] {
        background: #2d3047;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upgrade-notice {
    animation: slideIn 0.5s ease;
}

.result-card {
    animation: fadeInUp 0.4s ease;
    animation-fill-mode: both;
}

.result-card:nth-child(1) { animation-delay: 0.1s; }
.result-card:nth-child(2) { animation-delay: 0.2s; }
.result-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HOVER EFFECTS ===== */
.calculator-input input[type="range"]::-webkit-slider-thumb {
    transition: transform 0.2s ease, background 0.2s ease;
}

.calculator-input input[type="range"]:focus {
    outline: none;
}

/* Loading state for calculator */
.calculator-section.loading {
    position: relative;
    overflow: hidden;
}

.calculator-section.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}