@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root{
  --bg:#f6f8fc;
  --card:#ffffff;
  --text:#142033;
  --muted:#64748b;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --accent:#06b6d4;
  --success:#16a34a;
  --warning:#f59e0b;
  --border:#e2e8f0;
  --dark:#0f172a;
  --shadow:0 18px 45px rgba(15,23,42,.08);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Vazirmatn',Tahoma,sans-serif;background:var(--bg);color:var(--text);line-height:1.9;direction:rtl}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin:auto}
.topbar{background:var(--dark);color:#dbeafe;font-size:13px;padding:8px 0}
.topbar .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.navbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.navbar .container{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:22px;color:var(--dark)}
.logo{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--accent));display:grid;place-items:center;color:white;font-weight:900;box-shadow:0 10px 25px rgba(37,99,235,.3)}
.nav-links{display:flex;gap:22px;font-size:14px;font-weight:700;align-items:center}
.nav-links a{color:#334155}
.nav-links a:hover,.nav-links a.active{color:var(--primary)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;padding:12px 20px;font:inherit;font-weight:800;cursor:pointer;transition:.2s}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:white;box-shadow:0 10px 24px rgba(37,99,235,.22)}
.btn-primary:hover{transform:translateY(-2px)}
.btn-outline{border:1px solid #cbd5e1;background:white;color:#1e293b}
.hero{padding:70px 0 50px;background:radial-gradient(circle at 15% 10%,#dbeafe 0,transparent 34%),radial-gradient(circle at 85% 15%,#cffafe 0,transparent 28%)}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:45px}
.badge{display:inline-flex;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:800}
h1{font-size:clamp(38px,5vw,68px);line-height:1.25;margin:16px 0 18px;color:#0f172a;letter-spacing:-1px}
.hero p{color:var(--muted);font-size:17px;max-width:700px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-card{background:linear-gradient(155deg,#0f172a,#1e3a8a);color:white;border-radius:30px;padding:28px;box-shadow:0 30px 70px rgba(15,23,42,.25);position:relative;overflow:hidden}
.hero-card:before{content:"";position:absolute;width:220px;height:220px;background:#22d3ee22;border-radius:50%;left:-70px;top:-80px}
.metric{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid #ffffff1f;position:relative}
.metric:last-child{border-bottom:0}
.metric strong{font-size:18px}
.section{padding:72px 0}
.section-title{text-align:center;max-width:760px;margin:0 auto 40px}
.section-title h2{font-size:34px;margin:0 0 10px;color:var(--dark)}
.section-title p{margin:0;color:var(--muted)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.card h3{margin:8px 0 8px;font-size:20px}
.card p{color:var(--muted);font-size:14px}
.icon{width:48px;height:48px;border-radius:14px;background:#eff6ff;color:var(--primary);display:grid;place-items:center;font-size:22px;font-weight:900}
.price{font-size:30px;font-weight:900;color:var(--dark);margin:12px 0 4px}
.price small{font-size:12px;color:var(--muted);font-weight:600}
.features{list-style:none;margin:18px 0;padding:0}
.features li{padding:7px 0;color:#475569;font-size:14px}
.features li:before{content:'✓';color:var(--success);font-weight:900;margin-left:8px}
.highlight{border:2px solid #93c5fd;transform:translateY(-6px)}
.ribbon{display:inline-block;background:#dbeafe;color:#1d4ed8;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:800}
.dark-section{background:#0f172a;color:white}
.dark-section .section-title h2{color:white}
.dark-section .section-title p{color:#94a3b8}
.dark-section .card{background:#111c34;border-color:#24324d;box-shadow:none}
.dark-section .card h3,.dark-section .price{color:white}
.dark-section .card p,.dark-section .features li{color:#a9b7cc}
.steps{counter-reset:step}
.step{position:relative;padding-top:12px}
.step:before{counter-increment:step;content:counter(step);width:38px;height:38px;border-radius:12px;background:#2563eb;color:white;display:grid;place-items:center;font-weight:900;margin-bottom:12px}
.cta{background:linear-gradient(135deg,#2563eb,#0891b2);border-radius:30px;padding:42px;color:white;display:flex;justify-content:space-between;gap:24px;align-items:center;box-shadow:0 24px 60px rgba(37,99,235,.25)}
.cta h2{margin:0;font-size:31px}.cta p{margin:8px 0 0;color:#dbeafe}
.page-head{padding:52px 0;background:linear-gradient(135deg,#eff6ff,#ecfeff);border-bottom:1px solid var(--border)}
.page-head h1{font-size:42px;margin:0 0 10px}.page-head p{color:var(--muted);max-width:760px}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}
label{font-weight:800;font-size:13px;color:#334155}
input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:13px;padding:12px 14px;font-family:inherit;font-size:14px;outline:0;background:white}
input:focus,select:focus,textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 4px #dbeafe80}
textarea{min-height:120px;resize:vertical}
.order-layout{display:grid;grid-template-columns:1fr 380px;gap:26px;align-items:start}
.summary{position:sticky;top:100px}
.summary-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px dashed var(--border);font-size:14px}
.summary-total{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding:16px;border-radius:14px;background:#eff6ff;color:#1d4ed8;font-weight:900}
.notice{padding:15px 17px;border-radius:14px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:13px}
.table-wrap{overflow:auto;background:white;border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow)}
table{width:100%;border-collapse:collapse;min-width:720px}th,td{padding:15px 18px;text-align:right;border-bottom:1px solid var(--border);font-size:14px}th{background:#f8fafc;color:#334155}tr:last-child td{border-bottom:0}
.faq details{background:white;border:1px solid var(--border);border-radius:16px;padding:16px 18px;margin-bottom:12px}.faq summary{font-weight:800;cursor:pointer}.faq p{color:var(--muted);font-size:14px}
.footer{background:#0b1220;color:#cbd5e1;padding:50px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:28px}.footer h4{color:white;margin:0 0 14px}.footer a{display:block;color:#94a3b8;font-size:14px;margin:7px 0}.footer p{color:#94a3b8;font-size:14px}.copy{border-top:1px solid #1e293b;margin-top:35px;padding-top:18px;text-align:center;font-size:12px;color:#64748b}
.mobile-toggle{display:none;font-size:25px;cursor:pointer}
.kpi{font-size:28px;font-weight:900;color:#0f172a}.muted{color:var(--muted)}
@media(max-width:950px){.hero-grid,.order-layout{grid-template-columns:1fr}.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:1fr 1fr}.hero-card{max-width:620px}.summary{position:static}.footer-grid{grid-template-columns:1fr 1fr}.nav-links{display:none;position:absolute;top:76px;right:4%;left:4%;background:white;border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.mobile-toggle{display:block}}
@media(max-width:620px){.grid-3,.grid-4,.form-grid,.footer-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.hero{padding-top:45px}.section{padding:50px 0}.cta{padding:28px;flex-direction:column;align-items:flex-start}.page-head h1{font-size:34px}.navbar .btn-primary{display:none}}

/* Orders page */
.orders-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}
.orders-search{display:flex;gap:10px;flex:1;min-width:280px}
.orders-search input{max-width:430px}
.orders-filter{display:flex;gap:8px;flex-wrap:wrap}
.filter-btn{border:1px solid var(--border);background:#fff;color:#475569;border-radius:12px;padding:9px 14px;font-family:inherit;font-weight:800;cursor:pointer}
.filter-btn.active{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.orders-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.stat-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:var(--shadow)}
.stat-card span{display:block;color:var(--muted);font-size:12px;font-weight:700;margin-bottom:6px}
.stat-card strong{display:block;font-size:24px;color:var(--dark)}
.orders-table table{min-width:1180px}
.orders-table th{white-space:nowrap}
.orders-table td{vertical-align:middle}
.order-user,.order-service{color:#1d4ed8;font-weight:800}
.order-user:hover,.order-service:hover{text-decoration:underline}
.track-code{direction:ltr;display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:#f8fafc;border:1px solid var(--border);padding:4px 8px;border-radius:8px;color:#334155;font-size:12px}
.status{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}
.status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status-success{background:#ecfdf5;color:#15803d;border:1px solid #bbf7d0}
.status-expired{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}
.receipt-btn{border:0;background:transparent;color:#2563eb;font-family:inherit;font-weight:900;cursor:pointer;padding:6px 0}
.receipt-btn:hover{text-decoration:underline}
.receipt-empty{color:#94a3b8}
.orders-empty{display:none;text-align:center;padding:34px;color:var(--muted)}
.receipt-modal{position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.55);display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}
.receipt-modal.open{display:flex}
.receipt-card{width:min(520px,100%);background:#fff;border-radius:24px;padding:24px;box-shadow:0 30px 80px rgba(15,23,42,.28)}
.receipt-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.receipt-head h3{margin:0}
.receipt-close{width:38px;height:38px;border:1px solid var(--border);background:#fff;border-radius:12px;font-size:21px;cursor:pointer}
.receipt-body{padding-top:10px}
.receipt-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px dashed var(--border);font-size:14px}
.receipt-row:last-child{border-bottom:0}
.receipt-row span{color:var(--muted)}
.receipt-row strong{text-align:left;word-break:break-word}
.receipt-ok{margin-top:18px;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;padding:12px 14px;border-radius:14px;font-size:13px;font-weight:800}
@media(max-width:950px){.orders-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.orders-stats{grid-template-columns:1fr}.orders-search{min-width:100%}.orders-search input{max-width:none}.orders-toolbar{align-items:stretch}}
