:root {
  --navy: #073a70;
  --navy-deep: #052d5a;
  --blue: #0878c9;
  --blue-soft: #eaf4ff;
  --yellow: #ffc400;
  --ink: #092c54;
  --muted: #52657c;
  --line: #d7e4f3;
  --paper: #f4f8ff;
  --white: #fff;
  --shadow: 0 18px 55px rgba(5, 45, 90, .11);
  --radius: 18px;
  --font-sans: Vazirmatn, Tahoma, 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-sans); line-height: 1.8; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: -9999px; z-index: 100; }
.skip:focus { inset-inline-start: 12px; inset-block-start: 12px; background: white; padding: 8px 12px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1200px, calc(100% - 40px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--navy); background: var(--yellow); font-size: 25px; font-weight: 900; box-shadow: 0 5px 16px rgba(255,196,0,.25); }
.brand-copy { display: grid; line-height: 1.4; }
.brand { color: var(--navy); font-size: 1.5rem; font-weight: 900; }
.brand-copy small { color: var(--muted); font-size: .68rem; }
.main-nav, .header-actions, .lang-switch { display: flex; align-items: center; gap: 18px; }
.main-nav a, .header-login, .lang-switch a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.main-nav a:hover, .header-login:hover { color: var(--blue); }
.header-actions { gap: 13px; }
.lang-switch { gap: 4px; border-inline-start: 1px solid var(--line); padding-inline-start: 12px; }
.lang-switch a { padding: 4px 7px; border-radius: 8px; font-size: .78rem; }
.lang-switch a[aria-current='true'] { background: var(--blue-soft); color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: white; text-decoration: none; font-weight: 800; box-shadow: 0 7px 18px rgba(8,120,201,.15); transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(8,120,201,.2); }
.btn-small { min-height: 39px; padding: 7px 14px; font-size: .82rem; }
.btn-outline { color: var(--navy); background: transparent; border-color: #a9c4df; box-shadow: none; }
.btn-light { background: var(--yellow); border-color: var(--yellow); color: var(--navy-deep); }
main { width: min(1200px, calc(100% - 40px)); max-width: none; margin: auto; padding: 0 0 50px; }
.home-shell { padding-top: 24px; }
.hero { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(125deg, var(--navy-deep), #0b4d88 68%, #0b75b9); color: white; box-shadow: var(--shadow); }
.hero-grid { min-height: 425px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px; padding: 42px 55px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .01em; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { max-width: 680px; margin: 13px 0 16px; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.42; font-weight: 900; }
.hero-lead { max-width: 640px; color: rgba(255,255,255,.85); font-size: 1.05rem; margin: 0 0 24px; }
.hero-search { display: flex; max-width: 570px; background: white; padding: 6px; border-radius: 14px; box-shadow: 0 9px 28px rgba(0,0,0,.12); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 9px 14px; color: var(--ink); background: transparent; }
.hero-search button { min-width: 105px; border: 0; border-radius: 10px; background: var(--yellow); color: var(--navy-deep); font-weight: 900; padding: 8px 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-visual { position: relative; min-height: 330px; overflow: hidden; isolation: isolate; }
.visual-orbit { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.orbit-one { width: 330px; height: 330px; inset: 0 10% auto auto; }
.orbit-two { width: 250px; height: 250px; inset: 40px 20% auto auto; }
.visual-sun { position: absolute; width: 145px; height: 145px; border-radius: 50%; background: rgba(255,196,0,.93); top: 35px; right: 27%; box-shadow: 0 0 0 25px rgba(255,196,0,.1), 0 0 70px rgba(255,196,0,.23); }
.visual-plant { position: absolute; width: 285px; height: 175px; right: 9%; bottom: 34px; }
.plant-body { position: absolute; inset: 68px 0 0; background: #d9eafa; border-radius: 6px 6px 0 0; clip-path: polygon(0 18%, 28% 0, 100% 0, 100% 100%, 0 100%); box-shadow: inset 0 -12px rgba(7,58,112,.12); }
.plant-roof { position: absolute; width: 100%; height: 35px; bottom: 107px; background: #ffc400; clip-path: polygon(0 100%, 28% 0, 100% 0, 100% 100%); }
.plant-window { position: absolute; right: 38px; bottom: 26px; width: 100px; height: 46px; background: repeating-linear-gradient(90deg, #0b5c99 0 16px, #d9eafa 16px 22px); border: 5px solid white; }
.stack { position: absolute; bottom: 132px; display: block; width: 26px; background: #d6e7f6; border-top: 7px solid #ffc400; }
.stack-one { height: 125px; right: 65px; }.stack-two { height: 91px; right: 110px; }
.visual-worker { position: absolute; right: 0; bottom: 25px; font-size: 94px; filter: drop-shadow(0 10px 6px rgba(0,0,0,.22)); }
.visual-label { position: absolute; left: 4%; bottom: 19px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: white; font-size: .78rem; background: rgba(255,255,255,.1); }
.benefit-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin: 18px 0 34px; }
.benefit { display: flex; align-items: center; gap: 8px; justify-content: center; min-height: 57px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: .83rem; font-weight: 700; text-align: center; }
.benefit span { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; color: var(--navy); background: var(--yellow); font-weight: 900; }
.promo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 68px; }
.promo-card { position: relative; min-height: 210px; padding: 24px; border-radius: 18px; overflow: hidden; }
.promo-card h2 { margin: 9px 0 5px; font-size: 1.15rem; }.promo-card p { margin: 0 0 16px; color: inherit; opacity: .8; font-size: .9rem; }
.promo-card a { color: inherit; font-weight: 900; text-decoration: none; }
.promo-yellow { background: #fff5cc; color: #5c4600; }.promo-blue { background: #e7f3ff; color: var(--navy); }.promo-light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.promo-icon { display: inline-grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: var(--navy); background: white; font-size: 1.35rem; font-weight: 900; }
.section-block { margin: 68px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2, .why-copy h2 { margin: 7px 0 0; color: var(--navy); font-size: clamp(1.45rem,2.5vw,2rem); line-height: 1.5; }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); font-size: .9rem; }
.activity-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.activity-item { display: flex; align-items: center; gap: 11px; padding: 17px 15px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 5px 18px rgba(5,45,90,.04); }
.activity-number { color: var(--blue); font-size: .75rem; font-weight: 900; }.activity-item strong { flex: 1; font-size: .91rem; }.activity-arrow { color: #9ab4cc; }
.category-block { padding: 26px; border-radius: 18px; background: var(--paper); }
.category-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 0; margin: 0; list-style: none; }
.category-list li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: white; border: 1px solid var(--line); font-weight: 700; }.category-list span { color: var(--yellow); }
.empty-state { padding: 18px; border: 1px dashed #b8cde2; border-radius: 12px; color: var(--muted); background: white; }.search-result-note { color: var(--muted); }
.why-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 55px; margin: 82px 0; padding: 45px; border-radius: 24px; background: linear-gradient(120deg,#f1f7ff,#fff); }
.why-illustration { position: relative; display: grid; place-items: center; min-height: 300px; background: radial-gradient(circle at 50% 50%, #dceeff, transparent 67%); }
.device-screen { position: relative; width: 310px; height: 190px; border: 12px solid var(--navy); border-bottom-width: 22px; border-radius: 17px; background: white; box-shadow: var(--shadow); transform: perspective(600px) rotateY(-10deg) rotateX(3deg); }
.device-screen:after { content: ''; position: absolute; left: -28px; right: -28px; bottom: -34px; height: 14px; border-radius: 2px 2px 14px 14px; background: #8ba9c5; }
.device-top { height: 22px; background: var(--blue-soft); border-bottom: 1px solid var(--line); }.device-lines { display: grid; gap: 12px; padding: 22px; }.device-lines i { display: block; height: 8px; width: 70%; border-radius: 20px; background: #d6e7f6; }.device-lines i:nth-child(2) { width: 91%; }.device-lines i:nth-child(3) { width: 58%; }.device-lines i:nth-child(4) { width: 80%; }
.device-check { position: absolute; right: 23px; bottom: 25px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 1.5rem; font-weight: 900; }
.why-stamp { position: absolute; left: 5%; bottom: 25px; padding: 8px 15px; border-radius: 10px; color: white; background: var(--blue); font-weight: 900; letter-spacing: .1em; }
.why-copy p { color: var(--muted); }.process-list { display: grid; gap: 12px; padding: 0; list-style: none; margin: 22px 0; }.process-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; }.process-list span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: var(--yellow); color: var(--navy); font-size: .85rem; }
.text-link { color: var(--blue); text-decoration: none; font-weight: 900; }.text-link:hover { text-decoration: underline; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }.cards li { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: white; }.cards a { display: block; color: var(--navy); font-weight: 800; text-decoration: none; }.muted { color: var(--muted); }.small { font-size: .82rem; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 38px; border-radius: 20px; color: white; background: var(--navy); }.final-cta h2 { margin: 0; font-size: 1.5rem; }.final-cta p { margin: 5px 0 0; color: #c9dced; }.home-date { text-align: center; margin-top: 30px; font-size: .8rem; }
.site-footer { margin-top: 35px; padding: 36px 20px; background: #f2f6fb; border-top: 1px solid var(--line); }.footer-inner { width: min(1200px,100%); margin: auto; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 25px; align-items: center; }.footer-inner p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }.footer-inner strong { color: var(--navy); font-size: 1.2rem; }.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }.footer-links a { color: var(--ink); text-decoration: none; font-size: .85rem; }.footer-inner small { color: var(--muted); }
/* Auth screens */
.auth-shell { display: grid; grid-template-columns: .85fr 1fr; gap: 25px; max-width: 940px; margin: 48px auto 20px; padding: 18px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.auth-aside { padding: 35px; border-radius: 18px; color: white; background: linear-gradient(145deg,var(--navy-deep),var(--blue)); display: flex; flex-direction: column; justify-content: center; }.auth-aside h1 { font-size: 2rem; line-height: 1.4; margin: 18px 0 8px; }.auth-aside p { color: #d3e5f5; }.auth-aside ul { padding-inline-start: 20px; color: #e8f2fb; line-height: 2.3; }.auth-mark { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 17px; color: var(--navy); background: var(--yellow); font-size: 2rem; font-weight: 900; }
.auth-card { padding: 34px; border-radius: 18px; background: white; }.auth-card h2 { margin: 4px 0 0; color: var(--navy); font-size: 1.65rem; }.auth-card-top p { margin: 7px 0 20px; color: var(--muted); font-size: .9rem; }.auth-form { max-width: none; gap: 15px; }.stack { display: grid; gap: 16px; max-width: 520px; }.auth-form label, label { display: grid; gap: 7px; font-weight: 700; font-size: .9rem; }.auth-form input:not([type=radio]), .stack input, .stack textarea, .stack select, input, textarea, select { width: 100%; min-height: 46px; padding: 9px 13px; border: 1px solid #cbdbea; border-radius: 10px; background: white; color: var(--ink); }.auth-form input[readonly] { background: #f5f8fc; }.auth-submit { width: 100%; justify-self: stretch; margin-top: 6px; }.auth-switch { margin: 18px 0 5px; color: var(--muted); text-align: center; }.auth-switch a { font-weight: 900; text-decoration: none; }.back-home { display: block; margin-top: 17px; color: var(--muted); text-align: center; text-decoration: none; font-size: .85rem; }.auth-error, .error { padding: 10px 13px; border-radius: 10px; color: #9b1c1c; background: #fff0f0; border: 1px solid #f6cccc; font-weight: 700; }.role-choice { margin: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; }.role-choice legend { padding: 0 7px; font-weight: 800; }.role-choice label { display: flex; align-items: center; gap: 9px; margin: 5px 0; font-weight: 500; }.role-choice input { width: 17px; min-height: 17px; accent-color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
/* Existing workspace, admin, catalogue and support components */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-block-end: 20px; }.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th,td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; } .badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .82rem; border: 1px solid var(--line); }.badge-set { background: #d9f2e1; color: #0b4a22; }.badge-default { background: #e4ecf7; color: #123a6b; }.badge-unset { background: #fdeccd; color: #6b4300; }.thread { list-style: none; padding: 0; display: grid; gap: 9px; }.thread li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
@media (max-width: 1050px) { .main-nav { gap: 11px; }.main-nav a { font-size: .82rem; }.header-inner { width: min(100% - 28px,1200px); gap: 12px; }.brand-copy small { display: none; }.hero-grid { padding: 35px; }.benefit-strip { grid-template-columns: repeat(3,1fr); }.activity-grid { grid-template-columns: repeat(2,1fr); }.category-list { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 760px) { .header-inner { min-height: auto; padding: 12px 0; flex-wrap: wrap; }.main-nav { order: 3; width: 100%; overflow-x: auto; padding: 8px 0 2px; }.header-actions { margin-inline-start: auto; }.header-login { display: none; }.hero-grid { grid-template-columns: 1fr; padding: 28px 24px; }.hero-visual { min-height: 230px; }.visual-plant { transform: scale(.82); transform-origin: bottom right; }.visual-worker { font-size: 70px; }.benefit-strip { grid-template-columns: repeat(2,1fr); }.promo-grid { grid-template-columns: 1fr; }.section-heading { display: block; }.section-heading p { margin-top: 10px; }.why-section { grid-template-columns: 1fr; padding: 25px; gap: 18px; }.why-illustration { min-height: 240px; }.cards { grid-template-columns: repeat(2,1fr); }.footer-inner { grid-template-columns: 1fr; }.final-cta { align-items: flex-start; flex-direction: column; }.auth-shell { grid-template-columns: 1fr; margin: 25px auto 10px; }.auth-aside { padding: 23px; }.auth-aside ul { margin-bottom: 0; }.auth-card { padding: 24px; } }
@media (max-width: 480px) { main { width: calc(100% - 22px); }.header-inner { width: calc(100% - 22px); }.brand { font-size: 1.2rem; }.btn-small { min-height: 36px; padding: 6px 10px; font-size: .75rem; }.lang-switch { padding-inline-start: 7px; }.hero { border-radius: 18px; }.hero-grid { padding: 25px 17px; }.hero h1 { font-size: 1.8rem; }.hero-lead { font-size: .92rem; }.hero-search button { min-width: 78px; }.benefit-strip { gap: 7px; }.benefit { font-size: .75rem; padding: 8px 5px; }.activity-grid, .category-list, .cards { grid-template-columns: 1fr; }.activity-item { padding: 13px; }.why-section { padding: 18px; }.device-screen { transform: scale(.86); }.auth-shell { padding: 9px; }.auth-card { padding: 20px 15px; }.site-footer { padding-inline: 14px; } }
.staff-login { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); }
.staff-login summary { cursor: pointer; color: var(--navy); font-size: .88rem; font-weight: 800; }
.staff-form { margin-top: 14px; }
