@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --os-ink: #10223f;
  --os-muted: #64748b;
  --os-green: #2563eb;
  --os-green-dark: #1d4ed8;
  --os-green-soft: #e8f0ff;
  --os-purple: #7c3aed;
  --os-purple-dark: #6d28d9;
  --os-purple-soft: #f3e8ff;
  --os-cream: #f5f8fc;
  --os-line: #dbe5f2;
  --os-card: #fff;
  --os-orange: #bc6237;
  --os-shadow: 0 20px 55px rgba(30, 64, 175, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--os-ink); background: #fbfdff; font-family: "Cairo", Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.7; direction: rtl; }
button, input, select, textarea, table, option { font-family: "Cairo", Tahoma, Arial, sans-serif; }
body.admin-bar { --os-admin-offset: 32px; }
body { --os-header-height: 73px; padding-top: var(--os-header-height); }
html { scroll-padding-top: calc(var(--os-header-height, 73px) + var(--os-admin-offset, 0px) + 16px); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text, .ostadi-skip-link { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ostadi-skip-link:focus { z-index: 999999; top: 8px; right: 8px; width: auto; height: auto; padding: 10px 14px; clip: auto; color: #fff; background: var(--os-green-dark); border-radius: 8px; }
.ostadi-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.ostadi-site-header { position: fixed; inset-inline: 0; z-index: 9999; top: var(--os-admin-offset, 0px); background: rgba(251,253,255,.9); border-bottom: 1px solid rgba(219,229,242,.85); backdrop-filter: blur(16px); transition: box-shadow .2s, background .2s; }
.ostadi-site-header.is-scrolled { box-shadow: 0 8px 30px rgba(23,56,38,.07); }
.ostadi-header-inner { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.ostadi-brand { margin-left: auto; }
.ostadi-brand .custom-logo-link,.ostadi-bundled-logo{display:inline-flex;align-items:center;padding:3px 6px;border-radius:12px;text-decoration:none}
.ostadi-bundled-logo img{display:block;width:auto;height:55px;object-fit:contain}
.ostadi-brand-link { display: inline-flex; align-items: center; gap: 10px; color: var(--os-ink); text-decoration: none; }
.ostadi-brand-link > span:last-child { display: grid; line-height: 1.28; }
.ostadi-brand-link strong { font-size: 21px; font-weight: 900; }
.ostadi-brand-link small { color: var(--os-muted); font-size: 10px; }
.ostadi-brand-mark { display: inline-grid; width: 41px; height: 41px; place-items: center; color: #fff; background: var(--os-green); border-radius: 12px 12px 12px 4px; font-size: 22px; font-weight: 900; box-shadow: 0 7px 18px rgba(37,99,235,.24); }
.custom-logo { display: block; width: auto; max-height: 55px; }
.ostadi-primary-nav { margin-inline: auto; }
.ostadi-nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ostadi-tools-menu { position: relative; }
.ostadi-tools-menu summary { display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--os-ink); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; border-radius: 9px; }
.ostadi-tools-menu summary::-webkit-details-marker { display: none; }
.ostadi-tools-menu summary:focus-visible { outline: 2px solid var(--os-purple); outline-offset: 2px; }
.ostadi-tools-list { position: absolute; top: 100%; right: 0; z-index: 20; min-width: 200px; padding: 8px; margin: 4px 0 0; list-style: none; background: var(--os-card); border: 1px solid var(--os-line); border-radius: 12px; box-shadow: var(--os-shadow); }
.ostadi-tools-list .ostadi-tools-new a { display: flex; align-items: center; gap: 7px; color: #1d4ed8; }
.ostadi-tools-list .ostadi-tools-new span { padding: 2px 6px; color: #fff; background: linear-gradient(135deg,#2563eb,#7c3aed); border-radius: 999px; font-size: 8px; font-weight: 900; }
@media (max-width: 980px) { .ostadi-tools-list { position: static; margin: 4px 12px; box-shadow: none; } }
.ostadi-nav-list a { display: block; padding: 8px 12px; color: #475569; border-radius: 9px; font-size: 13px; font-weight: 700; text-decoration: none; }
.ostadi-nav-list a:hover, .ostadi-nav-list .current-menu-item > a { color: var(--os-green-dark); background: var(--os-green-soft); }
.ostadi-ai-menu-item > a { color: var(--os-purple-dark) !important; background: var(--os-purple-soft); }
.ostadi-ai-menu-item > a span { margin-right: 4px; padding: 2px 5px; color: #fff; background: linear-gradient(135deg,var(--os-green),var(--os-purple)); border-radius: 999px; font-size: 7px; font-weight: 900; vertical-align: middle; }
.ostadi-wallet-menu-item, .ostadi-account-menu-item { display: list-item; }
.ostadi-header-cta { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; color: #fff; background: var(--os-green); border-radius: 10px; font-size: 13px; font-weight: 800; text-decoration: none; }
.ostadi-header-cta:hover { background: var(--os-green-dark); }
.ostadi-account-actions { display: flex; align-items: center; gap: 8px; }
.ostadi-header-login { display: inline-flex; min-height: 41px; align-items: center; padding: 9px 14px; color: var(--os-green-dark); background: var(--os-green-soft); border: 1px solid #bfdbfe; border-radius: 10px; font-size: 13px; font-weight: 800; text-decoration: none; }
.ostadi-header-login:hover { color: var(--os-purple-dark); background: var(--os-purple-soft); border-color: #d8b4fe; }
.ostadi-header-register { background: linear-gradient(135deg, var(--os-green), var(--os-purple)); box-shadow: 0 9px 22px rgba(79,70,229,.2); }
.ostadi-header-register:hover { background: linear-gradient(135deg, var(--os-green-dark), var(--os-purple-dark)); }
.ostadi-theme-toggle { position: relative; display: inline-grid; width: 41px; height: 41px; flex: 0 0 auto; cursor: pointer; place-items: center; color: #475569; background: #fff; border: 1px solid var(--os-line); border-radius: 11px; font-family: "Cairo", Tahoma, Arial, sans-serif; font-size: 18px; }
.ostadi-theme-toggle span { grid-area: 1 / 1; transition: transform .2s, opacity .2s; }
.ostadi-theme-moon { opacity: 0; transform: rotate(-55deg) scale(.5); }
[data-ostadi-theme="dark"] .ostadi-theme-sun { opacity: 0; transform: rotate(55deg) scale(.5); }
[data-ostadi-theme="dark"] .ostadi-theme-moon { opacity: 1; transform: rotate(0) scale(1); }
.ostadi-menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; cursor: pointer; background: #fff; border: 1px solid var(--os-line); border-radius: 10px; }
.ostadi-menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--os-ink); border-radius: 2px; }

.ostadi-hero { position: relative; min-height: 710px; overflow: hidden; background: linear-gradient(135deg, #f8fbff 0%, #edf4ff 54%, #f4f7fc 100%); border-bottom: 1px solid var(--os-line); }
.ostadi-hero::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(37,99,235,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.075) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to left, #000, transparent 70%); }
.ostadi-hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); }
.ostadi-hero-shape-one { top: -190px; left: -120px; width: 460px; height: 460px; background: rgba(191,219,254,.55); }
.ostadi-hero-shape-two { right: 40%; bottom: -240px; width: 420px; height: 420px; background: rgba(219,234,254,.62); }
.ostadi-hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(45px, 7vw, 95px); min-height: 710px; padding-block: 80px; }
.ostadi-kicker, .ostadi-overline { display: inline-flex; align-items: center; gap: 8px; color: var(--os-green); font-size: 12px; font-weight: 900; }
.ostadi-kicker span { width: 24px; height: 2px; background: var(--os-green); }
.ostadi-hero-copy h1 { margin: 18px 0 20px; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.22; letter-spacing: -.045em; }
.ostadi-hero-copy h1 em { color: var(--os-green); background: linear-gradient(90deg, var(--os-green), var(--os-purple)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: normal; }
.ostadi-hero-copy > p { max-width: 610px; margin: 0; color: var(--os-muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.9; }
.ostadi-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.ostadi-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 11px 21px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 900; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.ostadi-button:hover { transform: translateY(-2px); }
.ostadi-button-primary { color: #fff; background: var(--os-green); box-shadow: 0 12px 28px rgba(37,99,235,.22); }
.ostadi-button-primary:hover { background: var(--os-green-dark); }
.ostadi-button-ghost { color: var(--os-ink); background: rgba(255,255,255,.68); border-color: var(--os-line); }
.ostadi-trust-list { display: flex; flex-wrap: wrap; gap: 17px; margin: 24px 0 0; padding: 0; color: #66756d; list-style: none; font-size: 11px; font-weight: 700; }
.ostadi-trust-list li { display: flex; align-items: center; gap: 5px; }
.ostadi-trust-list span { display: inline-grid; width: 18px; height: 18px; place-items: center; color: var(--os-green); background: var(--os-green-soft); border-radius: 50%; font-size: 10px; }

.ostadi-hero-visual { position: relative; padding: 20px; }
.ostadi-preview-card { position: relative; padding: 23px; background: rgba(255,255,255,.94); border: 1px solid #d9e3dd; border-radius: 21px; box-shadow: 0 32px 80px rgba(22,62,40,.16); transform: rotate(-1.2deg); }
.ostadi-preview-card::before { content: ""; position: absolute; inset: 8px; z-index: -1; background: #fff; border-radius: 18px; transform: rotate(2.4deg); box-shadow: 0 15px 35px rgba(22,62,40,.09); }
.ostadi-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--os-line); }
.ostadi-preview-top > div { display: grid; }
.ostadi-preview-top small, .ostadi-preview-stats small { color: var(--os-muted); font-size: 10px; }
.ostadi-preview-top strong { font-size: 18px; }
.ostadi-preview-top > span { padding: 5px 9px; color: var(--os-green-dark); background: var(--os-green-soft); border-radius: 8px; font-size: 10px; font-weight: 800; }
.ostadi-preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.ostadi-preview-stats > div { display: grid; padding: 11px; background: #f5f8f6; border-radius: 10px; }
.ostadi-preview-stats strong { font-size: 19px; line-height: 1.35; }
.ostadi-preview-stats .is-alert { background: #fff2e9; }
.ostadi-preview-stats .is-alert strong { color: var(--os-orange); }
.ostadi-preview-table { overflow: hidden; border: 1px solid var(--os-line); border-radius: 12px; }
.ostadi-preview-row { display: grid; grid-template-columns: 1.5fr .55fr .75fr; align-items: center; gap: 7px; min-height: 51px; padding: 8px 11px; border-bottom: 1px solid #e7ece9; font-size: 10px; }
.ostadi-preview-row:last-child { border-bottom: 0; }
.ostadi-preview-row.is-head { min-height: 36px; color: var(--os-muted); background: #f6f8f7; font-size: 9px; font-weight: 800; }
.ostadi-preview-row > span:first-child { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.ostadi-preview-row i { display: inline-grid; width: 27px; height: 27px; place-items: center; color: var(--os-green-dark); background: var(--os-green-soft); border-radius: 8px; font-style: normal; }
.ostadi-preview-row b { color: var(--os-green-dark); font-size: 13px; }
.ostadi-preview-row mark { justify-self: start; padding: 3px 7px; color: var(--os-green-dark); background: var(--os-green-soft); border-radius: 999px; font-size: 8px; font-weight: 900; white-space: nowrap; }
.ostadi-preview-row.is-support { background: #fffaf7; }
.ostadi-preview-row.is-support mark { color: #a44825; background: #ffe9dc; }
.ostadi-preview-saved { display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding-top: 12px; color: var(--os-muted); font-size: 9px; }
.ostadi-preview-saved span { color: var(--os-green); }
.ostadi-floating-note { position: absolute; right: -16px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: #fff; border: 1px solid var(--os-line); border-radius: 13px; box-shadow: var(--os-shadow); }
.ostadi-floating-note > span { display: inline-grid; width: 33px; height: 33px; place-items: center; color: #fff; background: var(--os-green); border-radius: 9px; }
.ostadi-floating-note div { display: grid; }
.ostadi-floating-note small { color: var(--os-muted); font-size: 8px; }
.ostadi-floating-note strong { font-size: 10px; }

.ostadi-section { padding: 100px 0; }
.ostadi-home-tools { position: relative; z-index: 3; padding: 0 0 26px; margin-top: -36px; }
.ostadi-home-tools > .ostadi-container { padding: 22px; background: var(--os-card); border: 1px solid var(--os-line); border-radius: 22px; box-shadow: 0 20px 50px rgba(30,64,175,.12); }
.ostadi-home-tools-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.ostadi-home-tools-head span { color: var(--os-purple); font-size: 10px; font-weight: 900; }
.ostadi-home-tools-head h2 { margin: 3px 0 0; font-size: 24px; }
.ostadi-home-tools-head p { margin: 0; color: var(--os-muted); font-size: 12px; }
.ostadi-home-tools-grid { display: grid; grid-template-columns: .9fr .9fr 1.3fr; gap: 10px; }
.ostadi-home-tools-grid > a { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 13px; color: var(--os-ink); text-decoration: none; background: #f8fbff; border: 1px solid var(--os-line); border-radius: 15px; transition: transform .2s,border-color .2s,box-shadow .2s; }
.ostadi-home-tools-grid > a:hover { transform: translateY(-3px); border-color: #93c5fd; box-shadow: 0 12px 26px rgba(37,99,235,.1); }
.ostadi-home-tools-grid > a > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.ostadi-home-tools-grid strong { font-size: 13px; }
.ostadi-home-tools-grid small { overflow: hidden; color: var(--os-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ostadi-home-tools-grid i { width: max-content; padding: 2px 6px; color: #6d28d9; background: #f3e8ff; border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 900; }
.ostadi-home-tool-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; color: #fff; background: linear-gradient(135deg,#2563eb,#7c3aed); border-radius: 13px; font-size: 23px; font-weight: 900; }
.ostadi-home-tools-grid > a.is-new { color: #fff; background: linear-gradient(135deg,#1d4ed8,#6d28d9); border-color: transparent; }
.ostadi-home-tools-grid > a.is-new small { color: rgba(255,255,255,.76); }
.ostadi-home-tools-grid > a.is-new i { color: #312e81; background: #fff; }
.ostadi-home-tools-grid > a.is-new > b { margin-right: auto; font-size: 20px; }
.ostadi-section-heading { max-width: 650px; margin: 0 auto 46px; text-align: center; }
.ostadi-section-heading > span { color: var(--os-green); font-size: 12px; font-weight: 900; }
.ostadi-section-heading h2, .ostadi-how-copy h2, .ostadi-privacy-panel h2, .ostadi-final-panel h2 { margin: 8px 0 10px; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.3; letter-spacing: -.03em; }
.ostadi-section-heading p, .ostadi-how-copy > p { margin: 0; color: var(--os-muted); }
.ostadi-platform-hubs { padding-top: 82px; background: linear-gradient(180deg,#f8fbff,#fff); }
.ostadi-hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ostadi-hub-lesson { grid-column: 1 / -1; color: var(--os-ink); background: linear-gradient(135deg,#eff6ff,#fff 52%,#faf5ff); border: 1px solid #c7d2fe; }
.ostadi-hub-card { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 24px; min-height: 350px; padding: clamp(28px,4vw,46px); overflow: hidden; border-radius: 25px; box-shadow: 0 24px 65px rgba(30,64,175,.13); }
.ostadi-hub-card::after { content: ""; position: absolute; left: -75px; bottom: -110px; width: 260px; height: 260px; background: rgba(255,255,255,.09); border-radius: 50%; }
.ostadi-hub-docs { color: var(--os-ink); background: linear-gradient(145deg,#fff,#eff6ff); border: 1px solid #bfdbfe; }
.ostadi-hub-ai { color: #fff; background: linear-gradient(135deg,#1e3a8a,#4f46e5 58%,#7c3aed); }
.ostadi-hub-icon { position: relative; z-index: 1; display: grid; width: 82px; height: 82px; place-items: center; color: #fff; background: linear-gradient(135deg,#2563eb,#7c3aed); border-radius: 22px; font-size: 39px; font-weight: 900; box-shadow: 0 16px 34px rgba(79,70,229,.22); }
.ostadi-hub-ai .ostadi-hub-icon { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); box-shadow: none; }
.ostadi-hub-copy { position: relative; z-index: 1; }
.ostadi-hub-badge { display: inline-flex; padding: 5px 9px; color: #6d28d9; background: #f3e8ff; border-radius: 999px; font-size: 10px; font-weight: 900; }
.ostadi-hub-ai .ostadi-hub-badge { color: #fff; background: rgba(255,255,255,.14); }
.ostadi-hub-card h3 { margin: 10px 0 7px; font-size: clamp(27px,3vw,38px); }
.ostadi-hub-card p { margin: 0; color: var(--os-muted); line-height: 1.85; }
.ostadi-hub-ai p { color: rgba(255,255,255,.76); }
.ostadi-hub-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 22px; padding: 0; list-style: none; }
.ostadi-hub-card li { padding: 6px 9px; color: #1d4ed8; background: #dbeafe; border-radius: 8px; font-size: 10px; font-weight: 900; }
.ostadi-hub-ai li { color: #fff; background: rgba(255,255,255,.12); }
.ostadi-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ostadi-feature-grid article { position: relative; padding: 29px; overflow: hidden; background: #fff; border: 1px solid var(--os-line); border-radius: 17px; transition: transform .2s, box-shadow .2s; }
.ostadi-feature-grid article:hover { transform: translateY(-5px); box-shadow: var(--os-shadow); }
.ostadi-feature-grid article > a { display: block; color: inherit; text-decoration: none; }
.ostadi-feature-grid article > span,
.ostadi-feature-grid article > a > span { position: absolute; top: 23px; left: 24px; color: #c0cbc4; font-size: 11px; font-weight: 900; }
.ostadi-feature-icon { display: grid; width: 48px; height: 48px; margin-bottom: 22px; place-items: center; color: var(--os-green); background: var(--os-green-soft); border-radius: 13px; font-size: 23px; font-weight: 900; }
.ostadi-feature-grid article:nth-child(2) .ostadi-feature-icon { color: var(--os-purple); background: var(--os-purple-soft); }
.ostadi-feature-grid h3 { margin: 0 0 8px; font-size: 18px; }
.ostadi-feature-grid p { margin: 0; color: var(--os-muted); font-size: 13px; }

.ostadi-how { background: var(--os-cream); }
.ostadi-how-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 80px; }
.ostadi-how-copy > a { display: inline-flex; gap: 8px; margin-top: 24px; color: var(--os-green-dark); font-size: 13px; font-weight: 900; text-decoration: none; }
.ostadi-steps { margin: 0; padding: 0; list-style: none; }
.ostadi-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 17px; padding: 23px 0; border-bottom: 1px solid #d8d6cd; }
.ostadi-steps li:last-child { border-bottom: 0; }
.ostadi-steps b { display: grid; width: 48px; height: 48px; place-items: center; color: var(--os-green-dark); background: #fff; border: 1px solid #dddcd5; border-radius: 12px; font-size: 12px; }
.ostadi-steps h3 { margin: 0 0 3px; font-size: 17px; }
.ostadi-steps p { margin: 0; color: var(--os-muted); font-size: 13px; }

.ostadi-privacy { padding-block: 74px; }
.ostadi-privacy-panel { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 30px; padding: 40px; color: #fff; background: linear-gradient(135deg, #1d4ed8, #5b21b6); border-radius: 24px; box-shadow: 0 22px 55px rgba(67,56,202,.2); }
.ostadi-privacy-icon { display: grid; width: 70px; height: 70px; place-items: center; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 19px; font-size: 35px; }
.ostadi-privacy-panel span { color: #a8d7bb; font-size: 11px; font-weight: 900; }
.ostadi-privacy-panel h2 { margin: 4px 0 4px; font-size: 28px; }
.ostadi-privacy-panel p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.ostadi-privacy-panel ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.84); font-size: 11px; font-weight: 800; }
.ostadi-privacy-panel li::before { content: "✓"; margin-left: 7px; color: #8ed1a7; }

.ostadi-final-cta { padding: 25px 0 95px; }
.ostadi-final-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: clamp(35px, 6vw, 65px); overflow: hidden; color: #fff; background: linear-gradient(120deg, #2563eb, #4f46e5 65%, #7c3aed); border-radius: 26px; }
.ostadi-final-panel::after { content: ""; position: absolute; left: -80px; bottom: -140px; width: 330px; height: 330px; background: rgba(255,255,255,.06); border-radius: 50%; }
.ostadi-final-panel > div, .ostadi-final-panel > a { position: relative; z-index: 1; }
.ostadi-final-panel > div > span { color: #b8dec6; font-size: 11px; font-weight: 900; }
.ostadi-final-panel h2 { margin-block: 5px; font-size: clamp(29px, 4vw, 45px); }
.ostadi-final-panel p { margin: 0; color: rgba(255,255,255,.75); }
.ostadi-button-light { flex: 0 0 auto; color: var(--os-green-dark); background: #fff; }

.ostadi-site-footer { color: #dbeafe; background: #0b1530; }
.ostadi-footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-block: 48px 38px; }
.ostadi-footer-brand { color: #fff; }
.ostadi-footer-grid > div > p { max-width: 430px; margin: 15px 0 0; color: #9eafa6; font-size: 12px; }
.ostadi-footer-menu, .ostadi-site-footer .ostadi-nav-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ostadi-footer-menu a, .ostadi-site-footer .ostadi-nav-list a { color: #c4d0ca; font-size: 12px; text-decoration: none; }
.ostadi-footer-menu a:hover, .ostadi-site-footer .ostadi-nav-list a:hover { color: #fff; background: transparent; }
.ostadi-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 16px 22px; color: #778b80; border-top: 1px solid rgba(255,255,255,.08); font-size: 10px; }

.ostadi-page-main { min-height: 65vh; padding: 45px 0 75px; background: #f1f5f2; }
.ostadi-page-container { width: min(1500px, calc(100% - 30px)); }
.ostadi-page-card { padding: clamp(15px, 2vw, 28px); background: #fff; border: 1px solid var(--os-line); border-radius: 22px; box-shadow: 0 10px 35px rgba(21,60,39,.05); }
.ostadi-results-page-card { margin: 0; padding: 0; }
.ostadi-page-header { margin: 0 0 25px; padding: 4px 5px 20px; border-bottom: 1px solid var(--os-line); }
.ostadi-page-header > span { color: var(--os-green); font-size: 11px; font-weight: 900; }
.ostadi-page-header h1 { margin: 2px 0 0; font-size: clamp(28px, 4vw, 43px); }
.ostadi-entry-content::after { display: table; clear: both; content: ""; }
.ostadi-entry-content > :first-child { margin-top: 0; }
.ostadi-entry-content > :last-child { margin-bottom: 0; }
.ostadi-content-list { display: grid; gap: 15px; }
.ostadi-content-card, .ostadi-not-found { padding: 30px; background: #fff; border: 1px solid var(--os-line); border-radius: 17px; }
.ostadi-content-card h2 { margin-top: 0; }
.ostadi-content-card h2 a { text-decoration: none; }
.ostadi-not-found { padding-block: 80px; text-align: center; }
.ostadi-not-found > span { color: var(--os-green); font-size: 70px; font-weight: 900; }
.ostadi-not-found h1 { margin: 0; font-size: 35px; }

[data-ostadi-theme="dark"] {
  --os-ink: #e7eefb;
  --os-muted: #94a3b8;
  --os-green: #60a5fa;
  --os-green-dark: #93c5fd;
  --os-green-soft: #172f53;
  --os-purple: #c084fc;
  --os-purple-dark: #d8b4fe;
  --os-purple-soft: #332052;
  --os-cream: #0f1a2c;
  --os-line: #293a55;
  --os-card: #111c2e;
  color-scheme: dark;
}
[data-ostadi-theme="dark"] body { color: var(--os-ink); background: #0a1220; }
[data-ostadi-theme="dark"] .ostadi-site-header { background: rgba(10,18,32,.9); border-color: #24334c; }
[data-ostadi-theme="dark"] .ostadi-brand .custom-logo-link,[data-ostadi-theme="dark"] .ostadi-bundled-logo{background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(0,0,0,.2)}
[data-ostadi-theme="dark"] .ostadi-brand-link,
[data-ostadi-theme="dark"] .ostadi-nav-list a { color: #dbe7f8; }
[data-ostadi-theme="dark"] .ostadi-theme-toggle,
[data-ostadi-theme="dark"] .ostadi-menu-toggle { color: #dbe7f8; background: #152238; border-color: #354761; }
[data-ostadi-theme="dark"] .ostadi-menu-toggle > span:not(.screen-reader-text) { background: #dbe7f8; }
[data-ostadi-theme="dark"] .ostadi-hero { background: linear-gradient(135deg, #0b1424 0%, #101f36 54%, #121c2d 100%); }
[data-ostadi-theme="dark"] .ostadi-hero-shape-one { background: rgba(37,99,235,.18); }
[data-ostadi-theme="dark"] .ostadi-hero-shape-two { background: rgba(30,64,175,.16); }
[data-ostadi-theme="dark"] .ostadi-button-ghost { color: #dbe7f8; background: rgba(20,33,54,.8); border-color: #354761; }
[data-ostadi-theme="dark"] .ostadi-preview-card,
[data-ostadi-theme="dark"] .ostadi-preview-card::before,
[data-ostadi-theme="dark"] .ostadi-floating-note,
[data-ostadi-theme="dark"] .ostadi-feature-grid article,
[data-ostadi-theme="dark"] .ostadi-content-card,
[data-ostadi-theme="dark"] .ostadi-not-found,
[data-ostadi-theme="dark"] .ostadi-page-card { color: #e7eefb; background: #111c2e; border-color: #293a55; }
[data-ostadi-theme="dark"] .ostadi-preview-stats > div,
[data-ostadi-theme="dark"] .ostadi-preview-row.is-head { background: #17243a; }
[data-ostadi-theme="dark"] .ostadi-preview-table,
[data-ostadi-theme="dark"] .ostadi-preview-row,
[data-ostadi-theme="dark"] .ostadi-preview-top { border-color: #293a55; }
[data-ostadi-theme="dark"] .ostadi-preview-row.is-support,
[data-ostadi-theme="dark"] .ostadi-preview-stats .is-alert { background: #2c211f; }
[data-ostadi-theme="dark"] .ostadi-how { background: #0f1a2c; }
[data-ostadi-theme="dark"] .ostadi-steps li { border-color: #293a55; }
[data-ostadi-theme="dark"] .ostadi-steps b { color: #bfdbfe; background: #17243a; border-color: #354761; }
[data-ostadi-theme="dark"] .ostadi-privacy-panel { background: #132f59; }
[data-ostadi-theme="dark"] .ostadi-final-panel { background: #1e40af; }
[data-ostadi-theme="dark"] .ostadi-page-main { background: #0b1322; }
[data-ostadi-theme="dark"] .ostadi-site-footer { background: #070e19; }
[data-ostadi-theme="dark"] .ostadi-platform-hubs { background: linear-gradient(180deg,#0b1322,#101b2d); }
[data-ostadi-theme="dark"] .ostadi-home-tools-grid > a:not(.is-new) { background: #17243a; border-color: #354761; }
[data-ostadi-theme="dark"] .ostadi-tools-list .ostadi-tools-new a { color: #93c5fd; }
[data-ostadi-theme="dark"] .ostadi-hub-lesson { color: #e5eefb; background: linear-gradient(145deg,#111c2e,#172f53); border-color: #354761; }
[data-ostadi-theme="dark"] .ostadi-hub-lesson p { color: #a8b7cb; }
[data-ostadi-theme="dark"] .ostadi-hub-docs { color: #e5eefb; background: linear-gradient(145deg,#111c2e,#172f53); border-color: #354761; }
[data-ostadi-theme="dark"] .ostadi-hub-docs p { color: #a8b7cb; }
[data-ostadi-theme="dark"] input,
[data-ostadi-theme="dark"] select,
[data-ostadi-theme="dark"] textarea { color: #e7eefb; background: #152238; }

@media (max-width: 980px) {
  .ostadi-menu-toggle { display: block; }
  .ostadi-primary-nav { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none; padding: 10px; background: #fff; border: 1px solid var(--os-line); border-radius: 13px; box-shadow: var(--os-shadow); }
  [data-ostadi-theme="dark"] .ostadi-primary-nav { background: #111c2e; }
  .ostadi-primary-nav.is-open { display: block; }
  .ostadi-primary-nav .ostadi-nav-list { align-items: stretch; flex-direction: column; }
  .ostadi-primary-nav .ostadi-nav-list a { padding: 11px 12px; }
  .ostadi-primary-nav .ostadi-wallet-menu-item, .ostadi-primary-nav .ostadi-account-menu-item { display: list-item; }
  .ostadi-account-actions { margin-right: auto; }
  .ostadi-hero-grid { grid-template-columns: 1fr; padding-block: 65px 90px; }
  .ostadi-hero-copy { max-width: 740px; }
  .ostadi-hero-visual { width: min(650px, 100%); margin-inline: auto; }
  .ostadi-feature-grid { grid-template-columns: 1fr; }
  .ostadi-hub-grid { grid-template-columns: 1fr; }
  .ostadi-how-grid { grid-template-columns: 1fr; gap: 35px; }
  .ostadi-privacy-panel { grid-template-columns: 70px 1fr; }
  .ostadi-privacy-panel ul { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 782px) { body.admin-bar { --os-admin-offset: 46px; } }
@media (max-width: 700px) { body { --os-header-height: 65px; } }
@media print { body { padding-top: 0; } .ostadi-site-header { display: none; } }

@media (max-width: 620px) {
  .ostadi-container { width: min(100% - 28px, 1180px); }
  .ostadi-header-inner { min-height: 66px; gap: 10px; }
  .ostadi-brand { margin-left: 0; }
  .ostadi-brand-link strong { font-size: 18px; }
  .ostadi-brand-link small { display: none; }
  .ostadi-brand-mark { width: 36px; height: 36px; font-size: 19px; }
  .ostadi-account-actions { display: flex; margin-right: auto; }
  .ostadi-account-actions .ostadi-header-register { display: none; }
	.ostadi-account-actions .ostadi-header-wallet { display: inline-flex; }
	.custom-logo,.ostadi-bundled-logo img{max-width:135px;max-height:48px}
  .ostadi-account-actions .ostadi-header-login { min-height: 38px; padding: 7px 11px; white-space: nowrap; box-shadow: 0 5px 14px rgba(37,99,235,.12); }
  .ostadi-account-actions .ostadi-header-cta:not(.ostadi-header-register) { min-height: 38px; padding: 7px 11px; white-space: nowrap; }
  .ostadi-menu-toggle { order: -2; margin-right: 0; }
  .ostadi-primary-nav { right: 14px; left: auto; width: min(320px, calc(100% - 28px)); transform-origin: top right; }
  .ostadi-hero { min-height: auto; }
  .ostadi-hero-grid { min-height: auto; padding-block: 50px 75px; }
  .ostadi-hero-copy h1 { margin-block: 14px; font-size: 39px; }
  .ostadi-hero-copy > p { font-size: 15px; }
  .ostadi-hero-actions, .ostadi-hero-actions .ostadi-button { width: 100%; }
  .ostadi-trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ostadi-hero-visual { padding: 5px 0 22px; }
  .ostadi-home-tools { margin-top: -28px; padding-bottom: 8px; }
  .ostadi-home-tools > .ostadi-container { padding: 14px; border-radius: 18px; }
  .ostadi-home-tools-head { align-items: start; flex-direction: column; gap: 3px; }
  .ostadi-home-tools-head h2 { font-size: 21px; }
  .ostadi-home-tools-grid { grid-template-columns: 1fr; }
  .ostadi-home-tools-grid > a { min-height: 70px; }
  .ostadi-home-tools-grid > a.is-new { order: -1; }
  .ostadi-preview-card { padding: 15px; transform: none; }
  .ostadi-preview-card::before, .ostadi-floating-note { display: none; }
  .ostadi-preview-stats { grid-template-columns: 1fr 1fr; }
  .ostadi-preview-stats > div:first-child { grid-column: 1 / -1; }
  .ostadi-preview-row { grid-template-columns: 1.4fr .55fr .8fr; padding-inline: 7px; }
  .ostadi-section { padding-block: 70px; }
  .ostadi-section-heading { margin-bottom: 28px; }
  .ostadi-feature-grid article { padding: 23px; }
  .ostadi-hub-card { grid-template-columns: 1fr; min-height: 0; padding: 27px; }
  .ostadi-hub-icon { width: 65px; height: 65px; border-radius: 18px; font-size: 31px; }
  .ostadi-how-grid { gap: 20px; }
  .ostadi-steps li { grid-template-columns: 45px 1fr; gap: 11px; }
  .ostadi-steps b { width: 40px; height: 40px; }
  .ostadi-privacy { padding-block: 55px; }
  .ostadi-privacy-panel { grid-template-columns: 1fr; gap: 16px; padding: 28px 23px; }
  .ostadi-privacy-icon { width: 55px; height: 55px; }
  .ostadi-privacy-panel ul { grid-column: auto; grid-template-columns: 1fr; }
  .ostadi-final-cta { padding-bottom: 70px; }
  .ostadi-final-panel { align-items: stretch; flex-direction: column; padding: 31px 23px; }
  .ostadi-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ostadi-footer-bottom { flex-direction: column; gap: 3px; }
  .ostadi-page-main { padding-top: 20px; }
  .ostadi-page-container { width: min(100% - 14px, 1500px); }
  .ostadi-page-card { padding: 9px; border-radius: 15px; }
  .ostadi-page-header { padding: 10px 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
