@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary: #6366f1; /* Indigo */
    --secondary: #8b5cf6; /* Violet */
    --bg: #0f172a; /* Dark Slate */
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
}

body { font-family: 'Vazirmatn', sans-serif; background: var(--bg); color: var(--text); margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }

.bg-glow { position: fixed; top: -20%; left: -10%; width: 60%; height: 60%; background: radial-gradient(circle, var(--primary), transparent 70%); opacity: 0.2; z-index: -1; filter: blur(80px); }

nav { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.logo { font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; gap: 0.5rem; color: #a5b4fc; }
.links a { color: #94a3b8; text-decoration: none; margin: 0 1rem; transition: 0.3s; font-weight: 500; }
.links a:hover { color: white; }
.btn-login { background: rgba(255,255,255,0.1); color: white; border: 1px solid var(--border); padding: 0.6rem 1.5rem; border-radius: 8px; cursor: pointer; transition: 0.3s; font-family: inherit; }
.btn-login:hover { background: rgba(255,255,255,0.2); }

.view { display: none; width: 100%; }
.view.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Charge Widget */
.charge-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; padding: 2rem; }
.widget-card { background: var(--card-bg); backdrop-filter: blur(20px); border: 1px solid var(--border); padding: 3rem; border-radius: 24px; width: 100%; max-width: 480px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.widget-header { text-align: center; margin-bottom: 2rem; }
.widget-header h1 { margin: 0 0 0.5rem; font-size: 1.8rem; }
.widget-header p { color: #94a3b8; margin: 0; }

.input-section { margin-bottom: 2rem; }
.input-wrapper { background: rgba(0,0,0,0.3); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.input-wrapper input { background: transparent; border: none; color: white; width: 100%; font-size: 1.4rem; font-family: inherit; outline: none; letter-spacing: 2px; }

/* Improved Operators */
.operators { display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: center; }
.op { 
    width: 60px; height: 60px; border-radius: 12px; 
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    opacity: 0.5; transition: 0.3s; cursor: pointer;
    font-weight: bold; font-size: 0.8rem; color: white;
}
.op.active { opacity: 1; transform: scale(1.1); border-color: var(--primary); background: rgba(99, 102, 241, 0.2); box-shadow: 0 0 15px rgba(99, 102, 241, 0.3); }
.op-mci { color: #10b981; } /* Greenish for MCI */
.op-mtn { color: #fbbf24; } /* Yellow for MTN */
.op-rtl { color: #a855f7; } /* Purple for Rightel */

.amount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.amount-grid button { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: white; padding: 1rem; border-radius: 12px; cursor: pointer; font-size: 1rem; transition: 0.3s; font-family: inherit; }
.amount-grid button:hover, .amount-grid button.active { background: var(--primary); border-color: var(--primary); }
.custom-amount input { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; color: white; text-align: center; font-family: inherit; box-sizing: border-box; }

.btn-pay { width: 100%; background: linear-gradient(to right, var(--primary), var(--secondary)); color: white; border: none; padding: 1.2rem; border-radius: 12px; font-size: 1.2rem; font-weight: bold; cursor: pointer; margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; transition: 0.3s; box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); font-family: inherit; }
.btn-pay:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4); }

.features { display: flex; gap: 2rem; margin-top: 3rem; color: #94a3b8; justify-content: center; }
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.9rem; }

/* Content Pages */
.content-container { max-width: 800px; margin: 4rem auto; padding: 0 2rem; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.blog-card { background: var(--card-bg); border: 1px solid var(--border); padding: 2rem; border-radius: 16px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info { background: var(--card-bg); padding: 2rem; border-radius: 16px; border: 1px solid var(--border); }
.contact-form input, .contact-form textarea { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; color: white; margin-bottom: 1rem; box-sizing: border-box; font-family: inherit; }
.contact-form button { background: var(--primary); color: white; border: none; padding: 1rem 2rem; border-radius: 12px; cursor: pointer; font-family: inherit; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); z-index: 100; }
.modal.active { display: flex; }
.modal-box { background: #1e293b; padding: 2.5rem; border-radius: 20px; border: 1px solid var(--border); width: 350px; text-align: center; }
.modal-box input { width: 100%; padding: 1rem; background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 12px; color: white; margin: 1.5rem 0; box-sizing: border-box; text-align: center; font-size: 1.2rem; font-family: inherit; }
.modal-box button { width: 100%; padding: 1rem; background: var(--primary); color: white; border: none; border-radius: 12px; cursor: pointer; margin-bottom: 0.5rem; font-family: inherit; }
.modal-box .btn-close { background: transparent; border: 1px solid var(--border); }
</style>
