﻿@font-face {
  font-family: "ABCSans";
  src: local("ABCSans"), local("ABC Sans");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #3425df;
  --dark: #050505;
  --pink: #ec008c;
  --panel: #fff0f7;
  --font-heading: "Raleway", "ABCSans", Arial, sans-serif;
  --font-body: "ABCSans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f8f8f8;
  color: var(--dark);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

.help-page {
  position: relative;
  width: min(100vw, 1920px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, rgba(180, 180, 180, 0.2) 0 2px, transparent 3px) 0 0 / 18px 18px,
    linear-gradient(135deg, transparent 0 72%, rgba(238, 238, 238, 0.8) 72.2% 100%),
    #fff;
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px;
}

.brand img {
  display: block;
  width: clamp(280px, 19.5vw, 419px);
  height: auto;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(126px, 7.7vw, 148px);
  height: auto;
  padding: 9px 0px;
  border-radius: 6px;
  background: linear-gradient(100deg, #3424df 0%, #6225d7 40%, #ed008f 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(53, 36, 223, 0.12);
}

.anniversary {
  width: 100px;
  height: auto;
}

.side-label {
  position: absolute;
  left: 24px;
  top: 220px;
  z-index: 2;
  color: var(--pink);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2.8px;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.main-content {
  position: relative;
  z-index: 1;
  padding: 0px 141px 112px;
}

h1 {
  margin: 0px 0px 15px 0px;
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(22px, 1vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

h1 strong {
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 900;
}

.levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0px;
}

.level {
  position: relative;
  min-height: 70px;
  padding: 0px 15px 0;
  border-right: 1px solid #233150;
}

.level:last-child {
  border-right: 0;
}

.level span,
.level strong {
  display: block;
  letter-spacing: 0;
}

.level span {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.level strong {
  margin-top: 5px;
  color: var(--pink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
}

.level.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 24px;
  bottom: 0px;
  height: 5px;
  background: #f0018f;
  z-index: -1;
}

.feature-panel {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  min-height: 622px;
  margin-top: 18px;
  background: var(--panel);
}

.phone-preview {
  justify-self: center;
  width: 245px;
  height: 516px;
  background-image: url("./assets/howdcihelps-reference.jpg");
  background-size: 1920px 1000px;
  background-position: -440px -330px;
  background-repeat: no-repeat;
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.25);
}

.feature-list {
  width: min(100%, 578px);
  padding-top: 0px;
}

.feature-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 20px;
  align-items: center;
  min-height: 100px;
  border-bottom: 1px solid var(--pink);
}

.feature-item:last-child {
  border-bottom: 0;
}

.feature-item .material-symbols-rounded {
  font-size: 46px;
  line-height: 1;
}

.feature-item.green .material-symbols-rounded { color: #2abf5d; }
.feature-item.yellow .material-symbols-rounded { color: #ffb018; }
.feature-item.violet .material-symbols-rounded { color: #7659ff; }
.feature-item.red .material-symbols-rounded { color: #ff4f62; }
.feature-item.blue .material-symbols-rounded { color: #159cff; }

.feature-item h2 {
  margin: 0 0 4px;
  color: var(--pink);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: normal;
  line-height: 1.05;
}

.feature-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
}


.feature-panel.active .feature-item {
  opacity: 0.38;
  transform: translateX(0);
  transition:
    opacity 420ms ease,
    transform 420ms ease,
    filter 420ms ease;
}

.feature-panel.active .feature-item .material-symbols-rounded {
  opacity: 0.55;
  transform: scale(1);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.feature-panel.active .feature-item h2,
.feature-panel.active .feature-item p {
  color: #8f9aaa;
  transition: color 420ms ease, font-weight 420ms ease;
}

.feature-panel.active .feature-item.feature-active {
  opacity: 1;
  transform: translateX(8px);
}

.feature-panel.active .feature-item.feature-active .material-symbols-rounded {
  opacity: 1;
  transform: scale(1.08);
}

.feature-panel.active .feature-item.feature-active h2 {
  color: #F2068D;
  font-weight: 800;
}

.feature-panel.active .feature-item.feature-active p {
  color: #000;
  font-weight: 500;
}
.copyright {
  position: absolute;
  right: 31px;
  bottom: 28px;
  z-index: 3;
  color: #000;
  text-align: right;
}

.copyright p {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.24;
}

.copyright a {
  color: var(--pink);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .topbar {
    padding: 10px 24px 0;
  }

  .main-content {
    padding: 32px 70px 132px;
  }

  .side-label {
    left: 0;
  }

  .levels,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .level {
    border-right: 0;
    border-bottom: 1px solid #d5d5d5;
    padding: 16px 0;
  }

  .level.active::after {
    right: auto;
    width: 220px;
    bottom: -6px;
  }

  .feature-panel {
    padding: 40px 24px;
    gap: 36px;
  }

  .feature-list {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    gap: 20px;
  }

  .top-actions {
    gap: 16px;
  }

  .main-content {
    padding: 10px 46px 150px;
  }

  .side-label {
    top: 260px;
    font-size: 16px;
  }

  .level span,
  .level strong {
    font-size: 22px;
  }

  .phone-preview {
    width: 196px;
    height: 413px;
    background-size: 1536px 800px;
    background-position: -352px -264px;
  }

  .feature-item {
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
  }

  .feature-item h2{
    font-size: 18px;
    text-transform: uppercase;
    color: #3327de !important;
  }

    
  .feature-item p {
    font-size: 16px;
  }

  
.copyright {
    left: 24px;
    right: 24px;
    text-align: center;
  }
}

.level {
  appearance: none;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.level:focus-visible {
  outline: 3px solid rgba(52, 37, 223, 0.32);
  outline-offset: 5px;
}

.feature-panels {
  margin-top: 0;
}

.mobile-carousel-indicator {
  display: none;
}

.feature-panel {
  margin-top: 0;
}

.feature-panel[hidden] {
  display: none !important;
}

.feature-panel.active {
  animation: tabFadeIn 260ms ease both;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/*.phone-preview.foundation { background-position: -440px -330px; }*/
/*.phone-preview.attendance { background-position: -440px -330px; }
.phone-preview.exams { background-position: -440px -330px; }
.phone-preview.fees { background-position: -440px -330px; }*/
.phone-preview {
  position: relative;
  overflow: hidden;
  /*border: 10px solid #191a2f;*/
  border-radius: 28px;
  background-image: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.98)),
    linear-gradient(135deg, #ffffff 0%, #eaf3ff 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition: background 460ms ease, box-shadow 460ms ease, transform 460ms ease;
}

/*.phone-preview::before {
  content: attr(data-preview-icon);
  position: absolute;
  left: 22px;
  right: 22px;
  top: 24px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--screen-a, #2abf5d), var(--screen-b, #3425df));
  color: #fff;
  font-family: "Material Symbols Rounded";
  font-size: 78px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
  box-shadow: 0 12px 24px rgba(52, 37, 223, 0.18);
  animation: previewImageIn 520ms ease both;
}

.phone-preview::after {
  content: attr(data-preview-title) "\A" attr(data-preview-copy);
  position: absolute;
  left: 18px;
  right: 18px;
  top: 196px;
  min-height: 208px;
  padding: 22px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(180deg, transparent 0 48px, rgba(52, 37, 223, 0.08) 49px 50px);
  color: #081138;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.26;
  white-space: pre-line;
  box-shadow: 0 8px 20px rgba(20, 28, 70, 0.12);
  animation: previewTextIn 520ms ease both;
}*/

.phone-preview img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:28px;
}
.phone-preview img{width: 100%;}

/*.feature-screen-0 { background: url("./assets/mobile_student_info.webp") center/cover no-repeat; }
.feature-screen-1 { background: url("./assets/mobile_staff_info.webp") center/cover no-repeat; }
.feature-screen-2 { background: url("./assets/mobile_communication.webp") center/cover no-repeat; }
.feature-screen-3 { background: url("./assets/mobile_smartidcard.webp") center/cover no-repeat; }
.feature-screen-4 { background: url("./assets/mobile_school_gallery.webp") center/cover no-repeat; }

.feature-screen-5 { background: url("./assets/mobile_student_attendance.webp") center/cover no-repeat; }
.feature-screen-6 { background: url("./assets/mobile_staff_attendance.webp") center/cover no-repeat; }
.feature-screen-7 { background: url("./assets/mobile_attendance_report.webp") center/cover no-repeat; }
.feature-screen-8 { background: url("./assets/mobile_parent_alert.webp") center/cover no-repeat; }
.feature-screen-9 { background: url("./assets/mobile_attendance_analytics.webp") center/cover no-repeat; }

.feature-screen-10 { background: url("./assets/mobile_exam_management.webp") center/cover no-repeat; }
.feature-screen-11 { background: url("./assets/mobile_subjects_amrks.webp") center/cover no-repeat; }
.feature-screen-12 { background: url("./assets/mobile_reportcards_halltickets.webp") center/cover no-repeat; }
.feature-screen-13 { background: url("./assets/mobile_performance_analytics.webp") center/cover no-repeat; }
.feature-screen-14 { background: url("./assets/mobile_rankings_progress.webp") center/cover no-repeat; }

.feature-screen-15 { background: url("./assets/mobile_fee_management.webp") center/cover no-repeat; }
.feature-screen-16 { background: url("./assets/mobile_feeduealerts.webp") center/cover no-repeat; }
.feature-screen-17 { background: url("./assets/mobile_receipts_dues.webp") center/cover no-repeat; }
.feature-screen-18 { background: url("./assets/mobile_expenditure.webp") center/cover no-repeat; }
.feature-screen-19 { background: url("./assets/mobile_financial_reports.webp") center/cover no-repeat; }*/

@keyframes previewImageIn {
  from { opacity: 0.35; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes previewTextIn {
  from { opacity: 0.25; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1200px) {
  .level {
    border-right: 0;
  }
}

@media (max-width: 1200px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .brand {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .top-actions {
    justify-content: center;
    width: 100%;
  }

  .levels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .level {
    min-height: 58px;
    padding: 10px 8px;
    /*border-right: 1px solid #233150;*/
    border-bottom: 0;
    text-align: center;
  }

  .level:last-child {
    border-right: 0;
  }

  .level span {
    font-size: clamp(12px, 2.4vw, 18px);
  }

  .level strong {
    font-size: clamp(10px, 2.1vw, 16px);
    line-height: 1.15;
  }

  .level.active::after {
    left: 0px;
    right: 8px;
    bottom: -8px;
    width: 82px;
    height: 65px;
    z-index: -1;
    border-radius: 8px 8px 0px 0px;
    background: #fff0f7;
  }

  .feature-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .phone-preview {
    order: 2;
  }

  .feature-list {
    order: 1;
    width: min(100%, 520px);
  }

  .feature-panel.active .feature-item {
    display: none;
  }

  .feature-panel.active .feature-item.feature-active {
    display: grid;
    min-height: auto;
    padding: 0;
    border-bottom: 0;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .brand img {
    width: min(65vw, 300px);
  }

  .main-content {
    padding: 10px 16px 150px;
  }

  .levels {
    width: 100%;
  }

  .level {
    min-height: 54px;
    padding: 8px 0px;
  }

  .level span {
    font-size: 12px;
  }

  .level strong {
    margin-top: 3px;
    font-size: 10px;
  }

  .feature-panel {
    padding: 15px 16px;
    gap: 18px;
  }

  .feature-panel.active .feature-item.feature-active {
    grid-template-columns: 38px 1fr;
    column-gap: 12px;
  }

  h1{font-size: clamp(14px, 1vw, 34px);}
  .copyright p{font-size: 14px;}
  .feature-item span{display: none;}
  .feature-item div{text-align: center; width:300px}

  .mobile-carousel-indicator {
    order: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 0px;
  }

  .mobile-carousel-indicator button {
    appearance: none;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid rgba(52, 37, 223, 0.45);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: border-color 240ms ease, background-color 240ms ease, transform 240ms ease;
  }

  .mobile-carousel-indicator button.active {
    border-color: #ec008c;
    background: #ec008c;
    transform: scale(1.08);
  }

  .mobile-carousel-indicator button:focus-visible {
    outline: 3px solid rgba(52, 37, 223, 0.35);
    outline-offset: 4px;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 72px;
    padding: 8px 10px 6px;
  }

  .brand {
    flex: 1 1 auto;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
  }

  .brand img {
    width: clamp(200px, 42vw, 205px);
    max-width: 100%;
  }

  .top-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    width: auto;
    gap: 8px;
    padding-top: 0;
  }

  .signin {
    width: clamp(76px, 19vw, 90px);
    min-height: 40px;
    padding: 8px 0;
    border-radius: 7px;
    font-size: clamp(11px, 3vw, 13px);
    white-space: nowrap;
  }

  .anniversary {
    width: clamp(80px, 14vw, 66px);
    flex: 0 0 auto;
  }
}

@media (max-width: 380px) {
  .topbar {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .brand img {
    width: clamp(200px, 40vw, 150px);
  }

  .top-actions {
    gap: 6px;
  }

  .signin {
    width: 72px;
    min-height: 36px;
    font-size: 11px;
  }

  .anniversary {
    width: 80px;
  }
}
