:root {
    --preview-blue: #0875f5;
    --preview-blue-dark: #005bc9;
    --preview-navy: #082d59;
    --preview-ink: #10233f;
    --preview-muted: #68788f;
    --preview-line: #e6edf5;
    --preview-soft: #f4f8fc;
    --preview-gold: #ffb51b;
    --preview-white: #fff;
    --preview-radius: 28px;
    --preview-shadow: 0 24px 70px rgba(11, 45, 89, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--preview-white); color: var(--preview-ink); font-family: 'Tajawal', sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.preview-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.preview-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.preview-nav { min-height: 94px; display: flex; align-items: center; gap: 44px; }
.preview-brand { margin-inline-end: auto; padding: 4px 10px; display: inline-flex; border: 1px solid rgba(255, 255, 255, .32); border-radius: 15px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 28px rgba(0, 19, 48, .14); }
.preview-brand img { display: block; width: 154px; height: 48px; object-fit: contain; }
.preview-links { display: flex; gap: 30px; color: rgba(255, 255, 255, .76); font-weight: 600; }
.preview-links a { transition: color .2s ease; }
.preview-links a:hover { color: #fff; }
.preview-button { min-height: 54px; padding: 0 24px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(135deg, var(--preview-blue), #005ed4); color: #fff; font-weight: 800; box-shadow: 0 14px 28px rgba(0, 103, 231, .22); transition: transform .2s ease, box-shadow .2s ease; }
.preview-button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0, 103, 231, .3); }
.preview-button-small { min-height: 44px; padding-inline: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }

.preview-hero { position: relative; min-height: 800px; padding: 170px 0 110px; overflow: hidden; background: radial-gradient(circle at 90% 10%, #114d85 0, transparent 32%), linear-gradient(135deg, #061f40 0%, #082d59 55%, #07386c 100%); color: #fff; }
.preview-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 92px; background: var(--preview-white); clip-path: polygon(0 72%, 100% 0, 100% 100%, 0 100%); }
.preview-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.preview-orb-one { width: 500px; height: 500px; top: 90px; left: -280px; border: 85px solid rgba(8, 117, 245, .12); }
.preview-orb-two { width: 260px; height: 260px; right: 32%; bottom: -145px; background: rgba(255, 181, 27, .09); }
.preview-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 72px; align-items: center; }
.preview-kicker { display: inline-flex; align-items: center; gap: 10px; color: #a9c9ef; font-size: .9rem; font-weight: 700; letter-spacing: .2px; }
.preview-kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--preview-gold); box-shadow: 0 0 0 6px rgba(255, 181, 27, .13); }
.preview-hero h1 { margin: 24px 0; font-size: clamp(3rem, 5.8vw, 5.35rem); line-height: 1.08; letter-spacing: -2.7px; font-weight: 800; }
.preview-hero h1 span { color: #66adff; }
.preview-hero-copy > p { max-width: 570px; margin: 0; color: #b9cbe0; font-size: 1.15rem; line-height: 1.95; }
.preview-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 35px; }
.preview-text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; }
.preview-play { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .09); }
.preview-trust-row { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 20px; color: #a9bdd5; font-size: .86rem; }
.preview-trust-row i { color: #52d3a7; margin-inline-end: 5px; }

.preview-product { position: relative; padding: 18px; }
.preview-product-glow { position: absolute; inset: 15% 8%; border-radius: 50%; background: #1583ff; filter: blur(100px); opacity: .23; }
.preview-window { position: relative; z-index: 2; padding: 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 30px; background: rgba(248, 251, 255, .97); color: var(--preview-ink); box-shadow: 0 40px 100px rgba(0, 11, 34, .38); transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.preview-window-top, .preview-window-title, .preview-card-head { display: flex; align-items: center; justify-content: space-between; }
.preview-window-top { padding-bottom: 18px; border-bottom: 1px solid var(--preview-line); }
.preview-window-title { justify-content: flex-start; gap: 11px; }
.preview-window-title img { width: 38px; height: 38px; object-fit: contain; }
.preview-window-title div { display: flex; flex-direction: column; }
.preview-window-title small, .preview-card-head small { color: var(--preview-muted); font-size: .72rem; }
.preview-window-title strong { font-size: .88rem; }
.preview-avatar { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--preview-navy); font-weight: 800; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.preview-metric { min-height: 138px; padding: 15px; display: flex; flex-direction: column; border: 1px solid var(--preview-line); border-radius: 19px; background: #fff; }
.preview-metric-primary { color: #fff; border-color: transparent; background: linear-gradient(145deg, #0875f5, #005dce); box-shadow: 0 15px 30px rgba(8, 117, 245, .22); }
.preview-metric-icon { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 11px; border-radius: 10px; color: var(--preview-blue); background: #eaf3ff; }
.preview-metric-primary .preview-metric-icon { color: #fff; background: rgba(255, 255, 255, .18); }
.preview-metric small { color: var(--preview-muted); font-size: .7rem; }
.preview-metric-primary small { color: rgba(255, 255, 255, .72); }
.preview-metric strong { font-size: 1.7rem; line-height: 1.25; }
.preview-metric em { margin-top: auto; color: #18a874; font-size: .67rem; font-style: normal; }
.preview-metric-primary em { color: #d9efff; }
.preview-dashboard-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; }
.preview-progress-card, .preview-tasks-card { min-height: 220px; padding: 17px; border: 1px solid var(--preview-line); border-radius: 20px; background: #fff; }
.preview-card-head > div { display: flex; flex-direction: column; gap: 3px; }
.preview-card-head > span { padding: 7px 10px; border-radius: 10px; color: var(--preview-blue); background: #eaf3ff; font-size: .74rem; font-weight: 800; }
.preview-card-head strong { font-size: .79rem; }
.preview-bars { height: 116px; margin-top: 15px; display: flex; align-items: end; gap: 9px; border-bottom: 1px solid var(--preview-line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 37px, #edf2f7 38px); }
.preview-bars span { width: 100%; height: var(--bar); border-radius: 7px 7px 2px 2px; background: linear-gradient(to top, #0875f5, #73b7ff); }
.preview-chart-labels { display: flex; justify-content: space-between; margin-top: 7px; color: #9aa8ba; font-size: .58rem; }
.preview-tasks-card ul { padding: 0; margin: 13px 0 0; list-style: none; }
.preview-tasks-card li { padding: 10px 0; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #eff3f7; }
.preview-tasks-card li:last-child { border: 0; }
.task-check { width: 20px; height: 20px; flex: 0 0 auto; border: 1px solid #cad5e2; border-radius: 7px; }
.task-check.is-done { display: grid; place-items: center; color: #fff; border-color: #20b486; background: #20b486; }
.preview-tasks-card li div { display: flex; flex-direction: column; }
.preview-tasks-card li strong { font-size: .65rem; }
.preview-tasks-card li small { color: var(--preview-muted); font-size: .56rem; }
.preview-floating-card { position: absolute; z-index: 4; min-width: 190px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(8, 45, 89, .08); border-radius: 17px; color: var(--preview-ink); background: #fff; box-shadow: 0 20px 45px rgba(0, 17, 49, .2); }
.preview-floating-card div { display: flex; flex-direction: column; }
.preview-floating-card strong { font-size: .76rem; }
.preview-floating-card small { color: var(--preview-muted); font-size: .62rem; }
.preview-floating-success { right: -26px; bottom: 48px; }
.preview-floating-success > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #119e70; background: #e8faf4; font-size: 1.2rem; }
.preview-floating-credit { left: -22px; top: 62px; }
.preview-floating-credit > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #8a5d00; background: #fff3d5; font-weight: 800; }

.preview-strip { border-bottom: 1px solid var(--preview-line); background: #fff; }
.preview-strip-grid { min-height: 105px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 20px; color: #65758b; font-size: .84rem; font-weight: 700; }
.preview-strip-grid span { display: flex; align-items: center; justify-content: center; gap: 9px; }
.preview-strip-grid i { color: var(--preview-blue); font-size: 1.15rem; }

.preview-section { padding: 112px 0; }
.preview-heading { margin-bottom: 55px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.preview-eyebrow { display: inline-block; margin-bottom: 13px; color: var(--preview-blue); font-size: .82rem; font-weight: 800; }
.preview-heading h2, .preview-export-copy h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.2; letter-spacing: -1.6px; font-weight: 800; }
.preview-heading p, .preview-export-copy p { margin: 0; color: var(--preview-muted); font-size: 1.03rem; line-height: 1.9; }
.preview-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.preview-feature { position: relative; min-height: 330px; padding: 35px; overflow: hidden; border: 1px solid var(--preview-line); border-radius: var(--preview-radius); background: #f8fbfe; }
.preview-feature-large { grid-column: 1 / -1; min-height: 420px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; background: linear-gradient(125deg, #f3f8ff, #fff); }
.preview-feature-copy { max-width: 450px; }
.preview-feature h3 { margin: 20px 0 12px; font-size: 1.6rem; font-weight: 800; }
.preview-feature p { max-width: 480px; margin: 0; color: var(--preview-muted); line-height: 1.85; }
.preview-feature-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: var(--preview-blue); font-size: 1.3rem; box-shadow: 0 12px 24px rgba(8, 117, 245, .18); }
.preview-feature-icon-soft { color: var(--preview-blue); background: #e8f2ff; box-shadow: none; }
.preview-tags { display: flex; gap: 10px; margin-top: 28px; }
.preview-tags span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--preview-blue); background: #e8f2ff; font-weight: 800; }
.preview-grade-list { padding: 18px; border: 1px solid var(--preview-line); border-radius: 22px; background: #fff; box-shadow: var(--preview-shadow); transform: rotate(-1.5deg); }
.preview-grade-list > div { padding: 14px 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #edf2f7; }
.preview-grade-list > div:last-child { border: 0; }
.student-dot { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; color: #0963c9; background: #e6f1ff; font-size: .7rem; font-weight: 800; }
.student-dot-gold { color: #9c6800; background: #fff2ce; }
.student-dot-green { color: #087f5c; background: #ddf7ef; }
.grade-pill { min-width: 39px; padding: 7px; text-align: center; border-radius: 10px; font-size: .75rem; font-weight: 800; }
.grade-d { color: #6f42c1; background: #f0eaff; }
.grade-m { color: #a16a00; background: #fff2cf; }
.grade-p { color: #087f5c; background: #dcf7ee; }
.preview-mini-roster { position: absolute; left: 35px; right: 35px; bottom: 35px; display: flex; gap: 9px; }
.preview-mini-roster span { flex: 1; padding: 18px 8px; text-align: center; border: 1px solid #dce8f4; border-radius: 14px; color: var(--preview-blue); background: #fff; font-weight: 800; }
.preview-feature-dark { color: #fff; border-color: transparent; background: linear-gradient(145deg, #082d59, #0a3b70); }
.preview-feature-dark p { color: #b9cbe0; }
.preview-feature-dark .preview-feature-icon { color: var(--preview-navy); background: var(--preview-gold); box-shadow: none; }
.preview-file-stack { position: absolute; left: 35px; right: 35px; bottom: 35px; display: flex; direction: ltr; }
.preview-file-stack span { width: 90px; height: 94px; margin-left: -13px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: rgba(255, 255, 255, .1); font-size: .72rem; font-weight: 800; box-shadow: 0 12px 25px rgba(0, 0, 0, .12); transform: rotate(var(--rotation, 0deg)); }
.preview-file-stack span:first-child { --rotation: -6deg; }
.preview-file-stack span:last-child { --rotation: 6deg; }

.preview-section-tint { background: var(--preview-soft); }
.preview-heading-centered { display: flex; max-width: 700px; margin-inline: auto; align-items: center; text-align: center; flex-direction: column; gap: 8px; }
.preview-journey { padding: 0; margin: 65px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: steps; }
.preview-journey li { position: relative; padding: 0 30px; text-align: center; }
.preview-journey li:not(:last-child)::after { content: ''; position: absolute; top: 43px; right: calc(50% + 48px); width: calc(100% - 96px); border-top: 2px dashed #cbd9e8; transform: translateX(100%); }
.preview-step-number { position: absolute; top: -8px; right: calc(50% + 24px); color: #b5c3d2; font-size: .66rem; font-weight: 800; }
.preview-step-icon { position: relative; z-index: 2; width: 84px; height: 84px; margin: 0 auto 23px; display: grid; place-items: center; border: 8px solid var(--preview-soft); border-radius: 24px; color: var(--preview-blue); background: #fff; box-shadow: 0 12px 30px rgba(8, 45, 89, .1); font-size: 1.55rem; }
.preview-journey h3 { margin: 0 0 10px; font-size: 1.08rem; }
.preview-journey p { margin: 0; color: var(--preview-muted); font-size: .88rem; line-height: 1.75; }

.preview-exports { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #061f40, #083d74); }
.preview-exports::before { content: ''; position: absolute; width: 520px; height: 520px; left: -280px; bottom: -310px; border: 90px solid rgba(8, 117, 245, .16); border-radius: 50%; }
.preview-export-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: center; }
.preview-eyebrow-light { color: #68b1ff; }
.preview-export-copy p { margin: 22px 0 28px; color: #b4c7dc; }
.preview-button-light { color: var(--preview-navy); background: #fff; box-shadow: none; }
.preview-export-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.preview-export-cards article { min-height: 116px; padding: 19px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 21px; background: rgba(255, 255, 255, .09); backdrop-filter: blur(8px); }
.preview-export-cards article > div { display: flex; flex-direction: column; }
.preview-export-cards strong { font-size: .95rem; }
.preview-export-cards small { color: #aebfd2; font-size: .7rem; }
.export-type { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 14px; font-size: 1.2rem; }
.export-word { color: #1769e0; background: #e7f1ff; }
.export-excel { color: #11845f; background: #e2f7ef; }
.export-observation { color: #8b59d0; background: #f0e8fb; }
.export-iv { color: #a36b00; background: #fff1cb; }

.preview-cta { padding: 90px 0; background: #fff; }
.preview-cta-card { position: relative; min-height: 190px; padding: 45px 52px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; overflow: hidden; border: 1px solid var(--preview-line); border-radius: 32px; background: #f7faff; box-shadow: var(--preview-shadow); }
.preview-cta-card::after { content: ''; position: absolute; width: 220px; height: 220px; left: -95px; top: -115px; border: 45px solid rgba(8, 117, 245, .08); border-radius: 50%; }
.preview-cta-mark { width: 70px; height: 70px; object-fit: contain; }
.preview-cta-card span { color: var(--preview-blue); font-size: .84rem; font-weight: 800; }
.preview-cta-card h2 { margin: 7px 0 0; font-size: clamp(1.65rem, 3vw, 2.45rem); }
.preview-footer { padding: 35px 0; color: #aebfd2; background: #061f40; }
.preview-footer-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.preview-footer-row img { width: 145px; max-height: 55px; object-fit: contain; }
.preview-footer-row p { margin: 0; font-size: .82rem; }
.preview-footer-row span { justify-self: end; font-size: .76rem; }
.preview-footer-copy { display: flex; flex-direction: column; gap: 9px; }
.preview-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.preview-footer-links a { color: #d9e7f5; font-size: .73rem; text-decoration: none; transition: color .2s ease; }
.preview-footer-links a:hover { color: #fff; }

@media (max-width: 1050px) {
    .preview-links { display: none; }
    .preview-hero { padding-top: 150px; }
    .preview-hero-grid { grid-template-columns: 1fr; gap: 70px; }
    .preview-hero-copy { max-width: 720px; }
    .preview-product { width: 100%; max-width: 720px; margin-inline: auto; }
    .preview-strip-grid { grid-template-columns: repeat(3, 1fr); padding-block: 25px; }
    .preview-export-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .preview-shell { width: min(100% - 28px, 1180px); }
    .preview-nav { min-height: 80px; gap: 12px; }
    .preview-brand img { width: 128px; height: 42px; }
    .preview-button-small { padding-inline: 13px; font-size: .78rem; }
    .preview-hero { min-height: auto; padding: 125px 0 95px; }
    .preview-hero h1 { font-size: 3rem; letter-spacing: -1.5px; }
    .preview-hero-copy > p { font-size: 1rem; }
    .preview-product { padding: 0; }
    .preview-window { padding: 15px; transform: none; border-radius: 23px; }
    .preview-metrics { grid-template-columns: 1fr 1fr; }
    .preview-metric:last-child { display: none; }
    .preview-dashboard-grid { grid-template-columns: 1fr; }
    .preview-tasks-card { display: none; }
    .preview-floating-credit { display: none; }
    .preview-floating-success { right: 8px; bottom: -35px; }
    .preview-strip-grid { grid-template-columns: 1fr 1fr; }
    .preview-strip-grid span:last-child { grid-column: 1 / -1; }
    .preview-section { padding: 78px 0; }
    .preview-heading { grid-template-columns: 1fr; gap: 20px; }
    .preview-feature-grid { grid-template-columns: 1fr; }
    .preview-feature-large { grid-column: auto; grid-template-columns: 1fr; gap: 35px; }
    .preview-feature { min-height: 350px; padding: 26px; }
    .preview-grade-list { transform: none; }
    .preview-journey { grid-template-columns: 1fr 1fr; row-gap: 45px; }
    .preview-journey li::after { display: none; }
    .preview-export-cards { grid-template-columns: 1fr; }
    .preview-cta-card { padding: 35px 25px; grid-template-columns: 1fr; text-align: center; }
    .preview-cta-mark { margin-inline: auto; }
    .preview-footer-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .preview-footer-row span { justify-self: center; }
}

@media (max-width: 430px) {
    .preview-brand { padding-inline: 7px; }
    .preview-brand img { width: 112px; }
    .preview-button-small i { display: none; }
    .preview-hero h1 { font-size: 2.5rem; }
    .preview-hero-actions { align-items: stretch; flex-direction: column; }
    .preview-text-link { justify-content: center; }
    .preview-trust-row { gap: 11px; }
    .preview-strip-grid { grid-template-columns: 1fr; }
    .preview-strip-grid span:last-child { grid-column: auto; }
    .preview-metrics { gap: 8px; }
    .preview-metric { min-height: 126px; }
    .preview-floating-success { min-width: 175px; }
    .preview-heading h2, .preview-export-copy h2 { font-size: 2.15rem; }
    .preview-journey { grid-template-columns: 1fr; }
}
