/*
 * Copyright (c) 2026 PayNnet. All rights reserved.
 * Unauthorized copying, modification, or distribution of this file is strictly prohibited.
 * This software is proprietary and confidential.
 */

/* Primary Button: Liquid Wave */
.btn-premium-solid {
    position: relative; display: inline-flex; align-items: center; gap: 15px;
    padding: 18px 45px; background: #fff; color: #000; border-radius: 50px;
    font-weight: 700; font-size: 16px; transition: all 0.4s ease;
    overflow: hidden; z-index: 1; border: none;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}
.btn-premium-solid::before {
    content: ''; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    width: 200%; height: 200%;
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    border-radius: 40%;
    transition: all 0.8s ease;
    z-index: -1;
    animation: wave-spin 6s linear infinite;
}
.btn-premium-solid:hover::before { top: -40%; }
.btn-premium-solid:hover { color: #000; padding-right: 55px; box-shadow: 0 15px 35px rgba(253, 185, 49, 0.4); }
.btn-premium-solid i { transition: all 0.4s ease; }
.btn-premium-solid:hover i { transform: translateX(5px); }

@keyframes wave-spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* Secondary Button: Luxurious Glass (Enhanced) */
.btn-premium-link {
    font-size: 16px; color: #fff; font-weight: 700; text-decoration: none;
    padding: 18px 40px; border-radius: 50px;
    background: rgba(0, 212, 255, 0.08); /* Blue tint */
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer; position: relative; overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    animation: btn-glow-pulse 4s infinite;
}
.btn-premium-link::after {
    content: ''; position: absolute; top: -50%; left: -60%; width: 25%; height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s;
    animation: btn-shine 3.5s infinite;
}
@keyframes btn-glow-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.1); }
    50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.3); border-color: rgba(0, 212, 255, 0.6); }
}
@keyframes btn-shine {
    0% { left: -60%; }
    25% { left: 120%; }
    100% { left: 120%; }
}
.btn-premium-link i { font-size: 18px; transition: 0.3s; opacity: 0.9; color: var(--accent-color); }
.btn-premium-link:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.5);
    transform: translateY(-5px);
}
.btn-premium-link:hover i { transform: translate(3px, -3px); opacity: 1; color: #fff; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; opacity: 0.7;
}
.mouse {
    width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px; position: relative; margin-bottom: 10px;
}
.wheel {
    width: 4px; height: 8px; background: #fff; border-radius: 2px;
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Fee Comparison Modal */
.compare-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.compare-modal-overlay.active { opacity: 1; visibility: visible; }

.compare-modal-content {
    background: #fff;
    width: 95%;
    max-width: 460px;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.compare-modal-overlay.active .compare-modal-content { transform: translateY(0); }

/* Close Button - Visible Circle */
.close-modal {
    position: absolute; top: 15px; right: 15px;
    width: 36px; height: 36px; border-radius: 50%;
    background: #f1f3f5; border: none;
    color: #333; font-size: 20px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; z-index: 10;
}
.close-modal:hover { background: var(--primary-color); color: #fff; transform: rotate(90deg); }

.modal-header { text-align: center; margin-bottom: 10px; width: 100%; }
.modal-header h3 { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 2px; text-align: center; }
.modal-header p { font-size: 13px; color: #666; margin-bottom: 15px; text-align: center; width: 100%; }

.graph-container {
    display: flex; align-items: flex-end; justify-content: center; gap: 20px;
    height: 140px; margin-bottom: 15px; padding-bottom: 10px;
    border-bottom: 1px solid #eee; position: relative;
    white-space: nowrap; 
}

.graph-bar-group { display: flex; flex-direction: column; align-items: center; width: 100px; position: relative; }
.bar-wrapper {
    width: 60px; height: 100px; background: #f0f0f0; border-radius: 30px;
    position: relative; display: flex; align-items: flex-end; justify-content: center;
    overflow: visible;
}
/* ... bar styles ... */
.bar {
    width: 100%; height: 0; /* Animated */
    border-radius: 30px; transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.bar.standard { background: #ccc; }
.close-modal:hover { background: var(--primary-color); color: #fff; transform: rotate(90deg); }

.bar.paynnet {
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 20px rgba(0, 70, 184, 0.4);
}
.bar-value {
    position: absolute; top: -25px; width: 100%; text-align: center;
    font-weight: 800; font-size: 16px; color: #333; opacity: 0;
    transform: translateY(10px); transition: all 0.5s 1s;
}
.compare-modal-overlay.active .bar-value { opacity: 1; transform: translateY(0); }

/* Premium Save Badge */
.save-badge-premium {
    position: absolute; top: 15px; left: 50%; transform: translateX(-50%) translateZ(0);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #FFD700;
    color: #111; padding: 8px 15px; border-radius: 50px;
    font-size: 14px; font-weight: 800; white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 0 10px rgba(255, 215, 0, 0.3);
    opacity: 0; margin-top: 10px;
    transition: all 0.5s 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; align-items: center; gap: 4px;
}
.save-badge-premium i { color: #e74c3c; font-size: 16px; animation: bounce-arrow 1.5s infinite; }
.save-badge-premium .small { font-size: 11px; font-weight: 600; color: #666; margin-left: 2px; }

.compare-modal-overlay.active .save-badge-premium { opacity: 1; margin-top: 0; }

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.bar-label { font-size: 14px; color: #888; margin-bottom: 10px; font-weight: 600; white-space: nowrap;}
.bar-footer { font-size: 13px; color: #aaa; margin-top: 10px; }
.graph-bar-group.highlight .bar-footer { color: var(--primary-color); font-weight: 700; }

/* Modal CTA Button: Blue Liquid Wave */
.btn-modal-cta {
    position: relative; display: inline-flex; align-items: center; gap: 15px;
    padding: 15px 40px; background: var(--primary-color); color: #fff; border-radius: 50px;
    font-weight: 700; font-size: 16px; transition: all 0.4s ease;
    overflow: hidden; z-index: 1; border: none;
    box-shadow: 0 10px 25px rgba(0, 70, 184, 0.3);
}
.btn-modal-cta::before {
    content: ''; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    width: 200%; height: 200%;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    border-radius: 40%;
    transition: all 0.8s ease;
    z-index: -1;
    animation: wave-spin 6s linear infinite;
}
.btn-modal-cta:hover::before { top: -40%; }
.btn-modal-cta:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 198, 255, 0.4); color: #fff; }
.btn-modal-cta i { transition: all 0.4s ease; }
.btn-modal-cta:hover i { transform: translateX(5px); }


.vs-divider { font-size: 14px; font-weight: 900; color: #eee; align-self: center; margin-bottom: 15px; }

.result-box {
    background: #f8f9fa; padding: 12px; border-radius: 10px; margin-bottom: 15px;
    font-size: 16px; color: #333;
}
.save-amount { color: var(--primary-color); font-size: 32px; font-weight: 800; display: inline-block; margin: 0 5px; font-family: 'Krona One', sans-serif;}

/* Calculator Specific Styles */
.calc-input-group {
    background: rgba(0, 70, 184, 0.05);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.calc-input-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.calc-input-group .input-wrapper {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 5px 15px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.calc-input-group input {
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    width: 120px;
    text-align: right;
    outline: none;
}

.calc-input-group .unit {
    font-size: 18px;
    font-weight: 700;
    margin-left: 10px;
    color: var(--text-color);
}

.calc-guide {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.result-box {
    margin-top: 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 70, 184, 0.2);
}

.res-label { font-size: 11px; opacity: 0.9; display: block; margin-bottom: 2px; }
.res-amount-wrap { display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.save-amount { font-size: 26px; font-weight: 800; color: #fff; font-family: 'Krona One', sans-serif;}
.res-unit { font-size: 14px; font-weight: 700; opacity: 1; }
.res-benefit-text { font-size: 13px; font-weight: 700; margin-top: 1px; color: var(--accent-color); }
.monthly-res { font-size: 10px; margin-top: 3px; opacity: 0.8; }
.monthly-res span { font-weight: 700; color: #fff; text-decoration: underline; }

.modal-actions { display: flex; justify-content: center; margin-top: 15px; width: 100%; }
