/* Onlight | آنلایت Website + User Portal Mockup Styles */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Website light theme — Onlight Brand */
  --ws-bg: #FFFFFF;
  --ws-surface: #f0f7ff;
  --ws-border: #d5dae0;
  --ws-text: #0d1f35;
  --ws-text-secondary: #2d5070;
  --ws-text-muted: #6a8da8;
  --ws-primary: #00afff;
  --ws-primary-light: #00e2b0;
  --ws-primary-dark: #0090d9;
  --ws-secondary: #00e2b0;
  --ws-accent: #FF6B35;
  --ws-success: #10B981;
  --ws-warning: #F59E0B;
  --ws-danger: #EF4444;
  --ws-nav-h: 64px;
  --ws-radius: 8px;
  --ws-radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }

body.ntk-website-root {
  margin: 0; padding: 20px;
  background: #E5E7EB;
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  font-size: 13px;
  direction: rtl;
  color: var(--ws-text);
}

/* ===== BATCH LAYOUT ===== */
.ntk-ws-batch-row {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; padding: 12px 0;
}
.ntk-ws-screen { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ntk-ws-label { font-size: 11px; color: #6B7280; text-align: center; }

/* ===== BROWSER FRAME ===== */
.ntk-browser {
  width: 1100px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: scale(0.72);
  transform-origin: top center;
  margin-bottom: -190px;
}

.ntk-browser-chrome {
  height: 40px;
  background: #1F2937;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}
.ntk-browser-dots { display: flex; gap: 5px; }
.ntk-browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.ntk-browser-dots span:nth-child(1) { background: #EF4444; }
.ntk-browser-dots span:nth-child(2) { background: #F59E0B; }
.ntk-browser-dots span:nth-child(3) { background: #10B981; }
.ntk-browser-url {
  flex: 1; height: 24px; background: #374151;
  border-radius: 12px; padding: 0 12px;
  font-size: 11px; color: #9CA3AF;
  display: flex; align-items: center;
  direction: ltr; max-width: 500px; margin: 0 auto;
}
.ntk-browser-viewport { background: var(--ws-bg); overflow: hidden; }

/* ===== NAVBAR ===== */
.ntk-ws-nav {
  height: var(--ws-nav-h);
  background: white;
  border-bottom: 1px solid var(--ws-border);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 32px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ntk-ws-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 18px;
  color: var(--ws-primary); text-decoration: none;
}
.ntk-ws-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-secondary));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 16px;
}
.ntk-ws-menu { display: flex; gap: 4px; margin-right: auto; }
.ntk-ws-menu a {
  padding: 6px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--ws-text-secondary); text-decoration: none;
  transition: all 0.15s;
}
.ntk-ws-menu a:hover, .ntk-ws-menu a.is-active { color: var(--ws-primary); background: rgba(0,119,204,0.06); }
.ntk-ws-nav-btns { display: flex; gap: 8px; margin-right: 8px; }
.ntk-ws-btn { 
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 7px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; border: none; text-decoration: none;
}
.ntk-ws-btn--primary { background: var(--ws-primary); color: white; }
.ntk-ws-btn--outline { background: transparent; color: var(--ws-primary); border: 1.5px solid var(--ws-primary); }
.ntk-ws-btn--secondary { background: var(--ws-secondary); color: #064E3B; }
.ntk-ws-btn--lg { padding: 12px 28px; font-size: 15px; border-radius: 8px; }
.ntk-ws-btn--ghost { background: transparent; color: var(--ws-text-secondary); border: 1px solid var(--ws-border); }

/* ===== HERO ===== */
.ntk-ws-hero {
  background: linear-gradient(135deg, #0B1A2E 0%, #0D2447 50%, #0E3A6B 100%);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}
.ntk-ws-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,119,204,0.3) 0%, transparent 70%);
}
.ntk-ws-hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,201,167,0.15); border: 1px solid rgba(0,201,167,0.3);
  border-radius: 20px; padding: 4px 14px;
  font-size: 12px; color: #00C9A7; font-weight: 500;
  position: relative; z-index: 1;
}
.ntk-ws-hero-title {
  font-size: 38px; font-weight: 800; color: white;
  position: relative; z-index: 1; line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.ntk-ws-hero-sub { font-size: 16px; color: rgba(255,255,255,0.7); position: relative; z-index: 1; max-width: 600px; }
.ntk-ws-hero-btns { display: flex; gap: 12px; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }
.ntk-ws-hero-stats { display: flex; gap: 32px; justify-content: center; position: relative; z-index: 1; }
.ntk-ws-hero-stat { text-align: center; color: white; }
.ntk-ws-hero-stat-val { font-size: 28px; font-weight: 800; color: #00C9A7; }
.ntk-ws-hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.6); }

/* ===== SECTIONS ===== */
.ntk-ws-section { padding: 40px 32px; }
.ntk-ws-section--gray { background: var(--ws-surface); }
.ntk-ws-section-title { font-size: 24px; font-weight: 700; color: var(--ws-text); text-align: center; margin-bottom: 8px; }
.ntk-ws-section-sub { font-size: 14px; color: var(--ws-text-secondary); text-align: center; margin-bottom: 32px; }

/* ===== GRID ===== */
.ntk-ws-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ntk-ws-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.ntk-ws-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ===== PLAN CARDS ===== */
.ntk-ws-plan-card {
  background: white; border: 2px solid var(--ws-border);
  border-radius: var(--ws-radius-lg);
  padding: 24px; text-align: center;
  transition: all 0.2s;
  position: relative;
}
.ntk-ws-plan-card--featured {
  border-color: var(--ws-primary);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,119,204,0.15);
}
.ntk-ws-plan-badge {
  position: absolute; top: -12px; right: 50%; transform: translateX(50%);
  background: var(--ws-primary); color: white; font-size: 11px; font-weight: 600;
  padding: 3px 14px; border-radius: 20px;
}
.ntk-ws-plan-speed { font-size: 48px; font-weight: 800; color: var(--ws-primary); line-height: 1; }
.ntk-ws-plan-unit { font-size: 16px; font-weight: 600; color: var(--ws-text-secondary); }
.ntk-ws-plan-name { font-size: 16px; font-weight: 700; color: var(--ws-text); margin: 8px 0; }
.ntk-ws-plan-price { font-size: 22px; font-weight: 800; color: var(--ws-text); margin: 12px 0 4px; }
.ntk-ws-plan-period { font-size: 11px; color: var(--ws-text-muted); }
.ntk-ws-plan-features { font-size: 12px; color: var(--ws-text-secondary); text-align: right; margin: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.ntk-ws-plan-feature { display: flex; align-items: center; gap: 6px; }
.ntk-ws-plan-feature::before { content: '✓'; color: var(--ws-success); font-weight: 700; flex-shrink: 0; }

/* ===== CARDS ===== */
.ntk-ws-card {
  background: white; border: 1px solid var(--ws-border);
  border-radius: var(--ws-radius);
  padding: 20px; 
}
.ntk-ws-card-icon { font-size: 32px; margin-bottom: 12px; }
.ntk-ws-card-title { font-size: 16px; font-weight: 700; color: var(--ws-text); margin-bottom: 8px; }
.ntk-ws-card-text { font-size: 13px; color: var(--ws-text-secondary); line-height: 1.7; }

/* ===== NEWS ===== */
.ntk-ws-news-card { background: white; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); overflow: hidden; }
.ntk-ws-news-img { height: 140px; background: linear-gradient(135deg, #0B1A2E, #0077CC); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.ntk-ws-news-body { padding: 16px; }
.ntk-ws-news-cat { font-size: 10px; color: var(--ws-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ntk-ws-news-title { font-size: 14px; font-weight: 600; color: var(--ws-text); margin: 6px 0; line-height: 1.5; }
.ntk-ws-news-date { font-size: 11px; color: var(--ws-text-muted); }

/* ===== FOOTER ===== */
.ntk-ws-footer { background: #0B1A2E; padding: 40px 32px 20px; }
.ntk-ws-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.ntk-ws-footer-logo { color: white; font-size: 20px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ntk-ws-footer-desc { color: rgba(255,255,255,0.5); font-size: 12px; line-height: 1.7; }
.ntk-ws-footer-title { color: white; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.ntk-ws-footer-links { display: flex; flex-direction: column; gap: 8px; }
.ntk-ws-footer-links a { color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: none; }
.ntk-ws-footer-copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; text-align: center; color: rgba(255,255,255,0.4); font-size: 11px; }

/* ===== PORTAL (User Panel) ===== */
.ntk-portal-root { background: #F1F5F9; min-height: 680px; display: flex; }
.ntk-portal-sidebar {
  width: 240px; background: white; border-left: 1px solid var(--ws-border);
  flex-shrink: 0; padding: 20px 0;
}
.ntk-portal-logo { padding: 0 20px 20px; border-bottom: 1px solid var(--ws-border); margin-bottom: 16px; }
.ntk-portal-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; font-size: 13px; font-weight: 500;
  color: var(--ws-text-secondary); cursor: pointer;
  border-right: 3px solid transparent;
  transition: all 0.15s; text-decoration: none;
}
.ntk-portal-nav-item:hover { background: var(--ws-surface); color: var(--ws-text); }
.ntk-portal-nav-item.is-active { color: var(--ws-primary); background: rgba(0,119,204,0.06); border-right-color: var(--ws-primary); font-weight: 600; }
.ntk-portal-content { flex: 1; padding: 24px; overflow-y: auto; }
.ntk-portal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ntk-portal-title { font-size: 20px; font-weight: 700; color: var(--ws-text); flex: 1; }

/* ===== PORTAL CARDS ===== */
.ntk-portal-kpi { background: white; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); padding: 16px; }
.ntk-portal-kpi-label { font-size: 11px; color: var(--ws-text-muted); margin-bottom: 6px; }
.ntk-portal-kpi-val { font-size: 22px; font-weight: 700; color: var(--ws-text); }
.ntk-portal-card { background: white; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); overflow: hidden; }
.ntk-portal-card-header { padding: 14px 16px; border-bottom: 1px solid var(--ws-border); display: flex; align-items: center; gap: 10px; }
.ntk-portal-card-title { font-size: 14px; font-weight: 600; color: var(--ws-text); flex: 1; }
.ntk-portal-card-body { padding: 16px; }

/* ===== PURCHASE WIZARD ===== */
.ntk-ws-wizard { background: white; border-radius: var(--ws-radius-lg); padding: 28px; margin: 0 32px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.ntk-ws-wizard-steps { display: flex; align-items: center; margin-bottom: 28px; }
.ntk-ws-wizard-step { display: flex; align-items: center; gap: 6px; font-size: 12px; flex: 1; color: #94A3B8; }
.ntk-ws-wizard-step.is-active { color: var(--ws-primary); font-weight: 600; }
.ntk-ws-wizard-step.is-done { color: var(--ws-success); }
.ntk-ws-step-circle { width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
.ntk-ws-step-line { flex: 1; height: 1px; background: #E2E8F0; margin: 0 6px; }

/* ===== INPUTS ===== */
.ntk-ws-field { display: flex; flex-direction: column; gap: 5px; }
.ntk-ws-field label { font-size: 12px; font-weight: 500; color: var(--ws-text-secondary); }
.ntk-ws-input { height: 40px; border: 1.5px solid var(--ws-border); border-radius: 7px; padding: 0 12px; font-size: 13px; font-family: inherit; color: var(--ws-text); direction: rtl; outline: none; }
.ntk-ws-input:focus { border-color: var(--ws-primary); box-shadow: 0 0 0 3px rgba(0,119,204,0.1); }
.ntk-ws-input--ltr { direction: ltr; text-align: left; }

/* ===== STATUS ===== */
.ntk-ws-status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.ntk-ws-status--active { background: #ECFDF5; color: #059669; }
.ntk-ws-status--pending { background: #FFFBEB; color: #B45309; }
.ntk-ws-status--installing { background: #EFF6FF; color: #1D4ED8; }

/* ===== TABLE ===== */
.ntk-ws-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ntk-ws-table th { padding: 10px 12px; background: #F8FAFC; color: #64748B; font-size: 11px; font-weight: 600; text-align: right; border-bottom: 1px solid var(--ws-border); }
.ntk-ws-table td { padding: 10px 12px; border-bottom: 1px solid var(--ws-border); color: var(--ws-text-secondary); }
.ntk-ws-table tr:last-child td { border-bottom: none; }

/* ===== SECTION LABEL ===== */
.ntk-section-sep { font-size: 14px; font-weight: 700; color: var(--ws-primary); text-align: center; margin: 32px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--ws-border); }
