* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.payment-window {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgba(40, 40, 40, 0.9);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.section {
    margin-bottom: 30px;
}

.section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.description {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.4;
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-decrease, .btn-increase {
    width: 36px;
    height: 36px;
    border: none;
    background: #4a4a4a;
    color: #ffffff;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-decrease:hover, .btn-increase:hover {
    background: #5a5a5a;
    transform: scale(1.05);
}

.btn-decrease:active, .btn-increase:active {
    transform: scale(0.95);
}

#users, #subscribers {
    width: 120px;
    height: 36px;
    background: #2a2a2a;
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a4a4a;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #f1c40f;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: #f1c40f;
}

.receipt {
    background: #f8f8f8;
    color: #333;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.receipt::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        #ddd 5px,
        #ddd 10px
    );
}

.receipt-header {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.receipt-divider {
    border-top: 2px dashed #333;
    margin: 15px 0;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #2980b9;
}

.pay-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.pay-button:active {
    transform: translateY(0);
}

.tier-list, .pricing-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tier, .pricing-item {
    background: rgba(60, 60, 60, 0.5);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #4a4a4a;
    transition: all 0.2s ease;
}

.tier:hover, .pricing-item:hover {
    background: rgba(70, 70, 70, 0.7);
    border-left-color: #f1c40f;
}

.pricing-item.highlight {
    background: rgba(241, 196, 15, 0.1);
    border-left-color: #f1c40f;
}

.price {
    color: #f1c40f;
    font-weight: 600;
}

.sub {
    color: #b0b0b0;
    font-size: 12px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-item span {
    color: #f1c40f;
    font-weight: 600;
}

.contact-info {
    margin-top: 20px;
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.4;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .payment-window {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .container {
        padding: 10px;
    }
}
