.home-showcase-page { min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 50% 32%,#fff 0,#f7fbff 42%,#edf7ff 100%); }
.home-showcase-header { position: relative; z-index: 20; border-bottom: 1px solid #d6e6f6; background: rgba(255,255,255,.96); box-shadow: 0 5px 18px rgba(18,63,118,.08); }
.home-header-inner { display: grid; grid-template-columns: 180px minmax(0,1fr) 180px; align-items: center; width: min(calc(100% - 64px),1480px); min-height: 96px; margin-inline: auto; }
.home-logo { justify-self: start; display: block; width: 112px; height: 88px; overflow: hidden; }
.home-logo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.32); }
.home-platform-name { justify-self: center; color: #082b66; font-size: clamp(1.25rem,2.2vw,2rem); font-weight: 800; text-align: center; }
.home-header-spacer { width: 112px; }
.home-showcase-main { position: relative; width: min(calc(100% - 48px),1480px); margin-inline: auto; padding: 34px 0 24px; }
.home-hero { text-align: center; }
.home-hero h1 { margin: 0; color: #082b66; font-size: clamp(1.9rem,3vw,2.75rem); line-height: 1.05; font-weight: 800; }
.home-hero-ar { display: block; margin-bottom: 2px; font-family: "Cairo",sans-serif; font-size: .64em; letter-spacing: 0; }
.home-hero-en { display: block; direction: ltr; unicode-bidi: isolate; font-family: "Comic Sans MS","Comic Sans",cursive; letter-spacing: .03em; }
.home-hero p { margin: 4px 0 18px; color: #53657d; font-size: clamp(1rem,2vw,1.45rem); }
.home-login-card { position: relative; z-index: 2; width: min(100%,560px); margin: 0 auto; padding: 24px 34px 20px; border: 1.5px solid #c6ddf7; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 18px 45px rgba(24,87,157,.11); backdrop-filter: blur(10px); }
.home-login-card h2 { width: max-content; margin: 0 auto 18px; color: #082b66; font-size: clamp(1.55rem,3vw,2rem); }
.home-login-card h2::after { content: ""; display: block; width: 70%; height: 4px; margin: 5px auto 0; border-radius: 999px; background: #1478ed; }
.home-login-field { display: block; margin-bottom: 12px; }
.home-input-shell { display: flex; min-height: 54px; align-items: center; overflow: hidden; border: 1px solid #cbdcf0; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px rgba(18,63,118,.05); }
.home-input-shell:focus-within { border-color: #2476dc; box-shadow: 0 0 0 3px rgba(36,118,220,.12); }
.home-input-icon { display: grid; flex: 0 0 48px; height: 40px; place-items: center; margin-inline: 6px; border-radius: 10px; color: #082b66; background: #e8f2ff; font-size: 1.2rem; font-weight: 900; }
.home-input-shell input { width: 100%; min-width: 0; height: 52px; padding: 0 12px; border: 0; color: #082b66; background: transparent; font: inherit; font-weight: 700; outline: 0; text-align: right; }
.home-input-shell input[dir="ltr"] { text-align: right; }
.home-password-shell button { align-self: stretch; padding: 0 15px; border: 0; color: #155caa; background: transparent; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.home-form-helper { display: flex; justify-content: space-between; gap: 12px; margin: 2px 0 10px; color: #718096; font-size: .74rem; }
.home-login-submit { width: 100%; min-height: 50px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(90deg,#1267df,#1689ff); box-shadow: 0 10px 22px rgba(22,119,232,.22); font: inherit; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.home-login-submit:disabled { opacity: .55; cursor: wait; }
.home-account-divider { display: flex; align-items: center; gap: 10px; margin: 13px 0 9px; color: #718096; font-size: .76rem; font-weight: 700; }
.home-account-divider::before,.home-account-divider::after { content: ""; flex: 1; height: 1px; background: #d8e4f1; }
.home-create-account { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid #2476dc; border-radius: 12px; color: #1262c4; background: #fff; font-weight: 800; text-decoration: none; transition: background 150ms ease,transform 150ms ease; }
.home-create-account:hover { background: #f0f7ff; transform: translateY(-1px); }
.home-pricing-button { display: block; width: 100%; margin-top: 8px; padding: 7px 10px; border: 0; color: #155caa; background: transparent; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.home-pricing-button:hover { text-decoration: underline; }
.home-login-card .portal-notice { margin: 10px 0; padding: 9px 12px; font-size: .8rem; }
.home-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 20px; }
.home-feature { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 188px; align-items: center; overflow: hidden; padding: 24px; border: 1.5px solid; border-radius: 22px; box-shadow: 0 14px 32px rgba(18,63,118,.08); }
.home-feature-yellow { border-color: #f1d48a; background: linear-gradient(135deg,#fffdf5,#fff8df); }
.home-feature-green { border-color: #a5e2cf; background: linear-gradient(135deg,#f6fffb,#eafff7); }
.home-feature-purple { border-color: #d6c9f6; background: linear-gradient(135deg,#fcfaff,#f5f0ff); }
.home-feature-copy h2 { margin: 0 0 8px; color: #082b66; font-size: clamp(1.15rem,2vw,1.55rem); }
.home-feature-copy p { margin: 0; color: #53657d; line-height: 1.85; }
.home-feature-art { position: relative; display: grid; min-height: 125px; place-items: center; font-family: "Comic Sans MS",cursive; }
.home-feature-art > span { display: grid; width: 92px; height: 92px; place-items: center; border: 2px solid #1d70c9; border-radius: 24px; color: #1363bc; background: #fff; box-shadow: 0 10px 22px rgba(18,99,188,.13); font-size: 2rem; font-weight: 900; transform: rotate(-3deg); }
.home-feature-art b { position: absolute; inset-block-end: 4px; inset-inline-end: 2px; font-size: 2.5rem; filter: drop-shadow(0 4px 5px rgba(11,35,68,.12)); }
.home-feature-art i { position: absolute; inset-block-end: 5px; inset-inline-start: 2px; color: #16a567; font-size: 2.4rem; font-style: normal; font-weight: 900; }
.home-feature-yellow .home-feature-art i { color: #f0a800; }
.home-feature-purple .home-feature-art i { color: #f2a914; }
.home-age-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 18px 0 0; color: #475569; font-weight: 700; text-align: center; }
.home-age-note span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: #1677e8; }
.home-age-note b:first-of-type { color: #169a64; }.home-age-note b:last-of-type { color: #169a64; }
.home-doodle { position: absolute; z-index: 0; color: #3b91f5; pointer-events: none; }
.home-doodle b,.home-doodle span,.home-doodle i,.home-doodle em { position: absolute; font-style: normal; }
.home-doodle-left { top: 120px; left: 0; width: 250px; height: 340px; }.home-doodle-left b { top: 0; left: 10px; font: 700 2.6rem "Comic Sans MS"; transform: rotate(-10deg); }.home-doodle-left span { top: 45px; right: 40px; color: #f5b91c; font-size: 2rem; }.home-doodle-left i { top: 130px; left: 20px; font-size: 5rem; transform: rotate(30deg); }.home-doodle-left em { bottom: 15px; right: 35px; font-size: 4.4rem; }
.home-doodle-right { top: 130px; right: 5px; width: 230px; height: 330px; }.home-doodle-right b { top: 0; right: 55px; color: #f5ad15; font-size: 4rem; }.home-doodle-right span { top: 140px; left: 35px; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #fff; background: #21bd73; font-size: 2.4rem; }.home-doodle-right i { top: 115px; right: 0; font-size: 5rem; transform: rotate(-20deg); }.home-doodle-right em { bottom: 10px; right: 25px; font-size: 4rem; }
.home-showcase-footer { min-height: 60px; display: grid; place-items: center; padding: 14px 20px; border-top: 1px solid #dceaf7; color: #64748b; background: rgba(255,255,255,.72); font-size: .82rem; }
.home-showcase-footer p { margin: 0; }
.home-pricing-dialog { width: min(92vw,560px); padding: 0; border: 0; border-radius: 24px; color: #082b66; background: #fff; box-shadow: 0 28px 80px rgba(8,43,102,.25); }
.home-pricing-dialog::backdrop { background: rgba(4,22,48,.58); backdrop-filter: blur(4px); }
.home-pricing-dialog-content { position: relative; padding: 30px; text-align: center; }
.home-dialog-close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d7e4f2; border-radius: 50%; color: #082b66; background: #f7fbff; font: inherit; font-size: 1.4rem; cursor: pointer; }
.home-pricing-kicker { color: #1478ed; font-size: .78rem; font-weight: 800; }
.home-pricing-dialog h2 { margin: 5px 0; }
.home-pricing-term,.home-pricing-note { margin: 5px 0 16px; color: #64748b; font-size: .82rem; line-height: 1.75; }
.home-pricing-list { display: grid; gap: 10px; margin: 18px 0; }
.home-price-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid #cfe0f2; border-radius: 14px; background: #f8fbff; text-align: start; }
.home-price-row strong { font-size: 1.08rem; }.home-price-row span { color: #52677f; font-weight: 700; }
.home-pricing-register { display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }

/* Keep the complete desktop experience inside short laptop screens. */
@media (min-width: 761px) and (max-height: 900px) {
  .home-header-inner { min-height: 58px; }
  .home-logo { width: 68px; height: 52px; }
  .home-platform-name { font-size: clamp(1.15rem,2vw,1.65rem); }
  .home-showcase-main { padding: 6px 0 2px; }
  .home-hero h1 { font-size: clamp(1.7rem,3.2vw,2.55rem); line-height: 1.2; }
  .home-hero p { margin: 0 0 7px; font-size: clamp(.92rem,1.5vw,1.12rem); }
  .home-login-card { width: min(100%,520px); padding: 10px 24px 9px; border-radius: 17px; }
  .home-login-card h2 { margin-bottom: 8px; font-size: 1.45rem; }
  .home-login-card h2::after { height: 3px; margin-top: 2px; }
  .home-login-field { margin-bottom: 7px; }
  .home-input-shell { min-height: 38px; }
  .home-input-shell input { height: 36px; }
  .home-input-icon { flex-basis: 38px; height: 32px; }
  .home-form-helper { margin: 0 0 5px; font-size: .68rem; }
  .home-login-submit { min-height: 42px; }
  .home-account-divider { margin: 6px 0 5px; }
  .home-create-account { min-height: 38px; }
  .home-pricing-button { margin-top: 2px; padding-block: 3px; }
  .home-login-card .portal-notice { margin: 5px 0; padding-block: 6px; }
  .home-features { gap: 14px; margin-top: 9px; }
  .home-feature { min-height: 86px; padding: 6px 14px; border-radius: 17px; }
  .home-feature-copy h2 { margin-bottom: 3px; font-size: 1.12rem; }
  .home-feature-copy p { font-size: .83rem; line-height: 1.55; }
  .home-feature-art { min-height: 64px; }
  .home-feature-art > span { width: 66px; height: 66px; border-radius: 18px; font-size: 1.45rem; }
  .home-feature-art b,.home-feature-art i { font-size: 1.8rem; }
  .home-age-note { margin-top: 7px; font-size: .78rem; }
  .home-age-note span { width: 32px; height: 32px; }
  .home-doodle { transform: scale(.72); }
  .home-doodle-left { transform-origin: left top; }
  .home-doodle-right { transform-origin: right top; }
  .home-showcase-footer { min-height: 26px; padding: 2px 20px; font-size: .7rem; }
  .preview-mode .home-age-note,
  .preview-mode .home-showcase-footer { display: none; }
}

@media (max-width: 1050px) {
  .home-doodle { display: none; }
  .home-header-inner { grid-template-columns: 150px minmax(0,1fr) 150px; width: min(calc(100% - 36px),1480px); }
  .home-features { gap: 14px; }
  .home-feature { grid-template-columns: 1fr; text-align: center; }
  .home-feature-art { min-height: 105px; }
}
@media (max-width: 760px) {
  .home-header-inner { display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; min-height: 76px; gap: 8px; }
  .home-logo { width: 64px; height: 58px; }
  .home-platform-name { display: block; min-width: 0; font-size: clamp(.72rem,3.15vw,.96rem); line-height: 1.55; }
  .home-header-spacer { width: 64px; }
  .home-showcase-main { width: min(calc(100% - 26px),1480px); padding-top: 24px; }
  .home-hero h1 { font-size: clamp(1.65rem,7.5vw,2.4rem); }
  .home-hero p { margin-top: 8px; }
  .home-login-card { padding: 20px 16px 16px; border-radius: 18px; }
  .home-features { grid-template-columns: 1fr; }
  .home-feature { grid-template-columns: 1fr 120px; min-height: 160px; text-align: right; }
  .home-form-helper { align-items: flex-start; flex-direction: column; }
  .home-pricing-dialog-content { padding: 26px 18px 20px; }
}
@media (max-width: 430px) {
  .home-header-inner { grid-template-columns: 58px minmax(0,1fr) 58px; width: min(calc(100% - 18px),1480px); }
  .home-logo { width: 58px; height: 54px; }
  .home-platform-name { font-size: .69rem; }
  .home-header-spacer { width: 58px; }
  .home-feature { grid-template-columns: 1fr; text-align: center; }
  .home-age-note { flex-wrap: wrap; font-size: .8rem; }
}
