/* ── EDUSENSE SPECIFIC ── */

/* ══ HERO OVERRIDES ══ */
.hero-img {
  background: url('../images/EduSense1.jpg') center/cover no-repeat;
}

/* ══ 2. THE PROBLEM ══ */
#problem {
  background: #fff;
  text-align: center;
}

#problem .section-desc {
  margin-inline: auto;
}

.problem-stat {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.stat-big {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px 48px;
  text-align: center;
  flex-shrink: 0;
  min-width: 220px;
}

.stat-big .val {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  display: block;
}

.stat-big .lbl {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  line-height: 1.5;
  display: block;
}

.problem-points {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 300px;
}

.problem-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
}

.problem-point:hover {
  background: #fff;
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 6px 20px var(--shadow);
}

.pp-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
  background: rgba(217, 119, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.problem-point h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.problem-point p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══ 3. WHAT IS EDUSENSE ══ */
#what {
  background: var(--bg);
}

.what-intro {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}

.what-intro p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.unit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.unit-card:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 24px 60px rgba(13, 45, 74, 0.1);
  transform: translateY(-6px);
}

.unit-img {
  height: 200px;
  overflow: hidden;
}

.unit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.unit-card:hover .unit-img img {
  transform: scale(1.04);
}

.unit-body {
  padding: 28px;
}

.unit-num {
  font-size: 0.7rem;
  font-weight: 700;

  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.unit-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.unit-role {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 14px;

}

.unit-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}

.unit-features {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.unit-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  list-style: none;
}

.unit-features li::before {
  content: '→';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.unit-accuracy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  background: var(--teal-light);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
}

/* ══ 4. HOW IT WORKS ══ */
#how {
  background: #fff;
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.flow-step {
  padding: 36px 28px;
  background: #fff;
  border-inline-end: 1px solid var(--border);
  transition: background 0.25s;
}

.flow-step:last-child {
  border-inline-end: none;
}

.flow-step:hover {
  background: var(--teal-light);
}

.fs-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.fs-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.flow-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.fs-unit {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--navy);
  color: #fff;

}

/* ══ 5. FOR EVERY ROLE ══ */
#roles {
  background: var(--bg);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.role-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 36px var(--shadow-md);
  transform: translateY(-4px);
}

.role-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.role-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.role-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.role-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;

}

.role-body {
  padding: 16px 20px 22px;
}

.role-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.role-feature::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 1px;
}

/* ══ 8. VIDEO ══ */
#video {
  background: var(--bg);
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
  padding-bottom: 35.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ══ 9. PROOF OF RESULTS ══ */
#proof {
  background: #fff;
}

.proof-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}

.proof-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 45, 74, 0.15);
  background: var(--navy);
}

.proof-img img {
  width: 100%;
  display: block;
  opacity: 0.95;
  transition: transform 0.6s ease;
}

.proof-img:hover img {
  transform: scale(1.03);
}

.proof-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proof-card {
  background: #fdfdfe;
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 36px;
  align-items: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px -5px rgba(13, 45, 74, 0.05);
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(13, 45, 74, 0.12);
  border-color: var(--teal-mid);
}

.proof-details {
  padding: 24px 40px;
}

.proof-details .ps-val {
  font-size: 4.2rem;
  margin-bottom: 16px;
  display: block;

}

.proof-details h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.proof-details p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.ps-val {
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;

}

.ps-text h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.ps-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.proof-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.proof-img img {
  width: 100%;
  display: block;
  transform: scale(1.01);
}

/* ── BENCHMARK SECTION ══ */

/* ══ 12. FREE TRIAL ══ */
#trial {
  background: var(--navy);
  padding: 96px 8%;
  text-align: center;
}

#trial .section-label {
  color: var(--teal);
}

#trial .section-label::before {
  background: var(--teal);
}

#trial .section-title {
  color: #fff;
  margin: 0 auto 14px;
}

#trial .section-desc {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 40px;
}

.trial-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(14, 165, 122, 0.15);
  border: 1px solid rgba(14, 165, 122, 0.3);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 24px;

}



/* ══ DASHBOARD PREVIEW ══ */
#dashboard-preview {
  padding: 100px 7%;
  background: #fff;
  overflow: hidden;
}

.dash-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.dash-content {
  text-align: start;
}

.dash-content .section-title {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.dash-cta {
  margin-top: 40px;
}

.dash-img-frame {
  position: relative;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 30px 60px var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-img-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dash-img-frame img {
  width: 100%;
  border-radius: 16px;
  display: block;
  border: 1px solid rgba(14, 165, 122, 0.1);
}

.dash-img::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(14, 165, 122, 0.05) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .dash-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .dash-content {
    text-align: center;
  }
  .dash-content .section-title {
    font-size: 2.2rem;
  }
  .dash-img-frame {
    transform: none;
  }
}

/* ══ UN REPORT BOX ══ */
.un-report-box {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 12px 40px var(--shadow-md);
  text-align: start;
  max-width: 1000px;
  margin-inline: auto;
}

.report-header {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--bg);
}

.report-header i {
  font-size: 1.5rem;
  color: var(--teal);
  margin-top: 4px;
}

.report-header p {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.5;
}

.report-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.report-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.report-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.35;
  min-width: 40px;
  line-height: 1;
}

.report-item p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

@media(max-width: 768px) {
  .un-report-box {
    padding: 32px 24px;
  }

  .report-item {
    flex-direction: column;
    gap: 12px;
  }

  .report-num {
    font-size: 1.2rem;
  }
}

/* MOBILE */
@media(max-width:900px) {

  .units-grid,
  .roles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .unit-img {
    height: 160px;
  }

  .proof-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .proof-card {
    padding: 24px;
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .steps-flow {
    grid-template-columns: 1fr;
  }

  .flow-step {
    border-inline-end: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 20px;
  }

  .problem-stat {
    flex-direction: column;
    gap: 32px;
  }

  .stat-big {
    width: 100%;
    min-width: 0;
    padding: 32px 20px;
  }

  .stat-big .val {
    font-size: 2.8rem;
    word-break: break-word;
  }

  .video-container {
    padding-bottom: 56.25%;
    /* 16:9 on Mobile */
    max-width: 100%;
  }

  .hero-stat-bar {
    flex-wrap: wrap;
    height: auto;
  }

  .hero-stat {
    min-width: 50%;
    padding: 20px 15px;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat:nth-child(2n) {
    border-inline-end: none;
  }
}

@media (max-width: 600px) {
  .hero-stat {
    min-width: 100%;
    border-inline-end: none;
  }

  .hero-techs {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-tech {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-teal,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}


::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--teal-mid);
  border-radius: 3px;
}