/* Landing page: light, calm, aimed at school managers. */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-wght.woff2') format('woff2-variations'), url('../fonts/Vazirmatn-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #0f1a2e; --ink-2: #44526b; --ink-3: #6b7890;
  --bg: #f7f9fc; --card: #ffffff; --line: #e4e9f2; --soft: #eef3fa;
  --brand: #1a7fe6; --brand-2: #4250de; --teal: #0fa4b4;
  --navy: #0f2a4d; --sun: #ffc94a; --coral: #ff7a59;
  --mint: #e3f7ef; --mint-i: #12936a; --sky: #e4f1ff; --sky-i: #1a6fd6;
  --lav: #ecebff; --lav-i: #5a4fd6; --butter: #fff4d9; --butter-i: #b7791f;
  --r: 22px; --shadow: 0 1px 2px rgba(15, 26, 46, .04), 0 12px 32px -12px rgba(15, 26, 46, .14);
  --shadow-lg: 0 2px 6px rgba(15, 26, 46, .05), 0 30px 70px -24px rgba(26, 60, 120, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.lp { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Vazirmatn', Tahoma, sans-serif; font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.lp-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* header */
.lp-head { position: sticky; top: 0; z-index: 30; background: rgba(247, 249, 252, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lp-head-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.12rem; }
.lp-logo b { font-weight: 800; }
.lp-logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 3px 3px 0 var(--sun); }
.lp-nav { display: flex; gap: 6px; margin-inline-start: 12px; }
.lp-nav a { padding: 6px 12px; border-radius: 10px; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.lp-nav a:hover { background: var(--soft); color: var(--ink); }
.lp-head-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.lp-link { font-weight: 600; color: var(--ink-2); font-size: .94rem; }
.lp-link:hover { color: var(--brand); }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 12px; font-weight: 700; font-size: .93rem; background: var(--ink); color: #fff; border: 1px solid var(--ink); transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(15, 26, 46, .5); }
.lp-btn.lg { padding: 13px 24px; font-size: 1rem; border-radius: 14px; }
.lp-btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.lp-btn.ghost:hover { border-color: #cdd6e4; box-shadow: var(--shadow); }
.lp-btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.lp-btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.lp-btn.outline-light:hover { background: rgba(255, 255, 255, .1); }
.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.lp-cta-row.center { justify-content: center; }

/* hero */
.lp-hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.lp-hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none;
  background-image: radial-gradient(#c9d4e6 1.2px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.lp-hero::after { content: ''; position: absolute; width: 420px; height: 420px; inset-inline-end: -170px; bottom: -230px; border-radius: 50%; border: 2px dashed #cfdaf0; pointer-events: none; }
.lp-shape { position: absolute; pointer-events: none; }
.lp-shape.s1 { width: 120px; height: 120px; border-radius: 50%; background: var(--sun); inset-inline-start: -28px; top: -26px; z-index: 0; }
.lp-shape.s2 { width: 86px; height: 86px; inset-inline-end: -16px; bottom: 18%; border-radius: 22px; background: var(--mint); transform: rotate(12deg); z-index: 0; }
.lp-shape.s3 { inset-inline-end: 36%; top: -22px; color: var(--coral); z-index: 3; }
.lp-hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: .84rem; font-weight: 600; box-shadow: var(--shadow); }
.lp-eyebrow svg { color: var(--brand); }
.lp-nw { white-space: nowrap; }
.lp-hero h1 { font-size: clamp(1.9rem, 3.9vw, 3.05rem); font-weight: 850; margin: 20px 0 18px; }
.lp-grad { color: var(--brand); position: relative; display: inline-block; z-index: 0; }
.lp-grad::after { content: ''; position: absolute; inset-inline: -2% -2%; bottom: -.12em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 40 2, 80 2, 110 6 S 170 10, 198 4' fill='none' stroke='%23ffc94a' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; z-index: -1; }
.lp-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 34em; }
.lp-ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.lp-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.lp-ticks svg { color: var(--mint-i); }

.lp-hero-vis { position: relative; min-height: 470px; }
.lp-frame { margin: 0; background: var(--card); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.lp-frame img { width: 100%; height: auto; }
.lp-frame-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #f3f6fb; border-bottom: 1px solid var(--line); direction: ltr; }
.lp-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe5ef; }
.lp-frame-bar span { margin-left: 10px; font-size: .72rem; color: var(--ink-3); background: #fff; border-radius: 6px; padding: 1px 10px; border: 1px solid var(--line); }
.lp-frame-main { position: absolute; inset-inline-start: 0; top: 0; width: 88%; }
.lp-frame-class { position: absolute; inset-inline-end: 0; bottom: 0; width: 58%; border-radius: 14px; }
.lp-phone { position: absolute; inset-inline-start: 4%; bottom: -10px; width: 23%; margin: 0; border-radius: 26px; border: 6px solid #0f1a2e; background: #0f1a2e; box-shadow: var(--shadow-lg); overflow: hidden; }
.lp-phone img { width: 100%; height: auto; border-radius: 19px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
.lp-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap; animation: lp-float 6s ease-in-out infinite; }
.lp-chip-a { inset-inline-end: 4%; top: 6%; color: var(--mint-i); }
.lp-chip-b { inset-inline-start: 30%; bottom: 2%; animation-delay: -3s; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); animation: lp-pulse 2s infinite; }
@keyframes lp-float { 50% { transform: translateY(-6px); } }
@keyframes lp-pulse { 70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }

/* sections */
.lp-sec { padding: 84px 0; }
.lp-soft { background: var(--soft); position: relative; }
.lp-sec-hd h2::before { content: ''; display: block; width: 44px; height: 6px; margin: 0 auto 16px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) 0 50%, var(--sun) 50% 100%); }
.lp-sec-hd { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.lp-sec-hd h2, .lp-faq h2, .lp-demo h2, .lp-final h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 820; }
.lp-sec-hd p { margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; }

/* pillars */
.lp-pillars-sec { padding-top: 64px; }
.lp-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lp-pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.lp-pillar::after { content: ''; position: absolute; width: 150px; height: 150px; inset-inline-end: -50px; top: -50px; border-radius: 50%; background: var(--mint); opacity: .7; }
.lp-pillar + .lp-pillar::after { background: var(--sky); }
.lp-pillar > * { position: relative; z-index: 1; }
.lp-pillar h3 { font-size: 1.35rem; font-weight: 800; margin: 16px 0 6px; }
.lp-pillar > p { color: var(--ink-2); }
.lp-pillar ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.lp-pillar li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.lp-pillar li svg { flex: 0 0 auto; margin-top: 4px; color: var(--brand); }
.lp-pill-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; }
.lp-pill-ico.mint { background: var(--mint); color: var(--mint-i); }
.lp-pill-ico.sky { background: var(--sky); color: var(--sky-i); }
.lp-pill-ico.lav { background: var(--lav); color: var(--lav-i); }
.lp-pill-ico.butter { background: var(--butter); color: var(--butter-i); }

/* feature rows */
.lp-rows { display: grid; gap: 96px; }
.lp-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.lp-row.rev .lp-row-tx { order: 2; }
.lp-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--mint); color: var(--mint-i); }
.lp-tag.sky { background: var(--sky); color: var(--sky-i); }
.lp-tag.lav { background: var(--lav); color: var(--lav-i); }
.lp-tag.butter { background: var(--butter); color: var(--butter-i); }
.lp-row h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 820; margin: 14px 0 14px; }
.lp-row-tx > p { color: var(--ink-2); font-size: 1.02rem; }
.lp-mini { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.lp-mini li { position: relative; padding-inline-start: 22px; font-size: .95rem; font-weight: 500; }
.lp-mini li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); box-shadow: 2px 2px 0 var(--sun); }
.lp-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--card); }
.lp-shot img { width: 100%; height: auto; }
.lp-shot-duo { position: relative; overflow: visible; border: 0; box-shadow: none; background: none; }
.lp-shot-duo > img:first-child { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); width: 90%; }
.lp-shot .lp-shot-phone { position: absolute; inset-inline-end: 0; bottom: -28px; width: 30%; border-radius: 22px; border: 6px solid #0f1a2e; box-shadow: var(--shadow-lg); aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* roles */
.lp-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-role { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--brand); }
.lp-role:nth-child(1) { border-top-color: var(--mint-i); } .lp-role:nth-child(2) { border-top-color: var(--sky-i); } .lp-role:nth-child(3) { border-top-color: var(--lav-i); } .lp-role:nth-child(4) { border-top-color: var(--butter-i); }
.lp-role h4 { font-size: 1.1rem; font-weight: 800; margin: 14px 0 6px; }
.lp-role p { color: var(--ink-2); font-size: .93rem; }

/* trust */
.lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-trust > div { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.lp-trust svg { color: var(--brand); background: var(--sky); padding: 8px; width: 40px; height: 40px; border-radius: 12px; box-sizing: border-box; }
.lp-trust > div { position: relative; transition: transform .2s, box-shadow .2s; }
.lp-trust > div:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--sun), var(--shadow); }
.lp-trust h4 { font-size: 1.02rem; font-weight: 800; margin: 10px 0 4px; }
.lp-trust p { color: var(--ink-2); font-size: .92rem; }

/* steps */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.lp-steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.lp-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); color: var(--brand); border: 2px solid var(--brand); box-shadow: 3px 3px 0 var(--sun); font-size: 1.05rem; }
.lp-steps li:not(:last-child)::after { content: ''; position: absolute; top: 44px; inset-inline-start: calc(100% - 4px); width: 26px; border-top: 2px dashed #b9c6dd; }
.lp-steps h4 { margin: 14px 0 6px; font-size: 1.05rem; font-weight: 800; }
.lp-steps p { color: var(--ink-2); font-size: .92rem; }

/* demo */
.lp-demo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 44px; border-radius: 30px; color: #fff; background-color: var(--navy); background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.4px); background-size: 20px 20px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.lp-demo::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 201, 74, .9); inset-inline-start: -120px; bottom: -150px; pointer-events: none; }
.lp-demo > * { position: relative; }
.lp-demo p { color: rgba(255, 255, 255, .82); margin-top: 12px; }
.lp-creds { width: 100%; border-collapse: collapse; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; overflow: hidden; font-size: .93rem; }
.lp-creds th, .lp-creds td { padding: 9px 16px; text-align: start; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lp-creds th { font-weight: 600; color: rgba(255, 255, 255, .7); font-size: .82rem; }
.lp-creds td[dir=ltr] { text-align: end; font-family: ui-monospace, Menlo, Consolas, monospace; }
.lp-creds tfoot td { border: 0; color: rgba(255, 255, 255, .85); }

/* faq */
.lp-faq { max-width: 820px; }
.lp-faq h2 { text-align: center; margin-bottom: 30px; }
.lp-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq details p { color: var(--ink-2); padding-bottom: 16px; }

/* final + footer */
.lp-final { padding: 72px 0; text-align: center; color: #fff; background-color: var(--brand); background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 22px); position: relative; overflow: hidden; }
.lp-final::before, .lp-final::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.lp-final::before { width: 180px; height: 180px; background: var(--sun); inset-inline-start: -60px; bottom: -70px; }
.lp-final::after { width: 90px; height: 90px; border: 3px solid rgba(255, 255, 255, .5); inset-inline-end: 8%; top: 18px; }
.lp-final > * { position: relative; z-index: 1; }
.lp-final h2 { color: #fff; }
.lp-foot { padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.lp-foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-foot nav { display: flex; gap: 18px; flex-wrap: wrap; margin-inline-start: auto; font-size: .9rem; color: var(--ink-2); }
.lp-foot nav a:hover, .lp-foot nav button:hover { color: var(--brand); }
.lp-foot form { display: inline; }
.lp-foot button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.lp-foot small { width: 100%; color: var(--ink-3); }

/* responsive */
@media (max-width: 1020px) {
  .lp-nav { display: none; }
  .lp-hero-in, .lp-row, .lp-demo { grid-template-columns: 1fr; }
  .lp-row.rev .lp-row-tx { order: 0; }
  .lp-hero-vis { min-height: 0; aspect-ratio: 1.25; margin-top: 8px; }
  .lp-roles, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-trust { grid-template-columns: 1fr 1fr; }
  .lp-rows { gap: 72px; }
  .lp-steps li:nth-child(2n)::after { display: none; }
}
@media (max-width: 680px) {
  body.lp { font-size: 15px; }
  .lp-hero { padding-top: 32px; }
  .lp-head-cta .lp-link { display: none; }
  .lp-head-cta .lp-btn { padding: 8px 14px; font-size: .85rem; }
  .lp-pillars, .lp-roles, .lp-steps, .lp-trust { grid-template-columns: 1fr; }
  .lp-sec { padding: 60px 0; }
  .lp-pillar { padding: 24px; }
  .lp-demo { padding: 28px 22px; border-radius: 24px; }
  .lp-chip-b { display: none; }
  .lp-phone { width: 27%; border-width: 4px; border-radius: 18px; }
  .lp-cta-row .lp-btn.lg { flex: 1 1 100%; justify-content: center; }
  .lp-steps li::after { display: none; }
  .lp-shape.s1 { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lp-chip, .lp-dot { animation: none; }
}
