﻿:root {
  /* Feezentech light-theme brand tokens. */
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --line: rgba(18, 39, 68, 0.1);
  --text: #07152b;
  --heading: #061126;
  --muted: #5f6f86;
  --muted-strong: #33445c;
  --blue: #1e88ff;
  --blue-dark: #0864d8;
  --cyan: #00d4ff;
  --purple: #7b3cff;
  --green: #16b981;
  --shadow: 0 24px 70px rgba(12, 36, 74, 0.12);
  --shadow-soft: 0 14px 36px rgba(12, 36, 74, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 42px 0;
}

.site-header {
  /* Frosted white header keeps navigation crisp over light sections. */
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(18, 39, 68, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(210px, 30vw, 340px);
  height: 66px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo {
  width: clamp(230px, 34vw, 380px);
  height: 78px;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: 100px 16px auto 16px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.25s ease;
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  color: var(--muted-strong);
  font-weight: 700;
}

.nav-actions {
  display: grid;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(30, 136, 255, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 24px 48px rgba(30, 136, 255, 0.32);
}

.btn-secondary,
.btn-ghost {
  border-color: rgba(30, 136, 255, 0.22);
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(12, 36, 74, 0.06);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: rgba(0, 212, 255, 0.7);
  background: #f8fbff;
}

.btn-large {
  min-height: 54px;
  padding: 0 26px;
}

.hero {
  /* White hero with product UI as the first-viewport signal. */
  min-height: calc(100vh - 94px);
  display: flex;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 92px;
}

.hero-grid {
  display: grid;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 10vw, 5rem);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 6vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-subtitle,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-row span,
.contact-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(12, 36, 74, 0.05);
}

.hero-visual {
  position: relative;
  min-height: 450px;
}

.dashboard-shell {
  /* CSS dashboard stays fast while matching a premium light SaaS product surface. */
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 136, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow), 0 0 0 10px rgba(30, 136, 255, 0.04);
  backdrop-filter: blur(18px);
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.14), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(123, 60, 255, 0.1), transparent 15rem);
  pointer-events: none;
}

.dashboard-topbar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 250, 0.56);
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d5dde8;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 68px 1fr;
  min-height: 348px;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.7);
}

.sidebar-pill {
  height: 36px;
  border-radius: 14px;
  background: #e9eef6;
}

.sidebar-pill.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 26px rgba(30, 136, 255, 0.22);
}

.dashboard-main {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.mini-label,
.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.status-dot {
  padding: 8px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card,
.chart-card,
.feature-card,
.step-card,
.testimonial-card,
.contact-form,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  padding: 16px;
}

.metric-card strong {
  color: var(--heading);
}

.chart-card {
  min-height: 150px;
  padding: 20px;
}

.chart-bars {
  height: 110px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.chart-bars span {
  flex: 1;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 20px rgba(30, 136, 255, 0.15);
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-list span {
  height: 10px;
  border-radius: 999px;
  background: #e8eef6;
}

.floating-card {
  /* Light glass cards add product motion without making the hero feel busy. */
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 166px;
  padding: 13px;
  border: 1px solid rgba(30, 136, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 46px rgba(12, 36, 74, 0.14);
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}

.floating-card small {
  display: block;
  color: var(--muted);
}

.float-icon,
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 136, 255, 0.12), rgba(0, 212, 255, 0.16));
  color: var(--blue);
  font-weight: 900;
}

.card-fees {
  top: -10px;
  left: 12px;
}

.card-students {
  top: 92px;
  right: -4px;
  animation-delay: -1s;
}

.card-attendance {
  bottom: 62px;
  left: -4px;
  animation-delay: -2s;
}

.card-reports {
  right: 18px;
  bottom: -14px;
  animation-delay: -3s;
}

.stats-grid,
.feature-grid,
.steps-grid,
.testimonial-grid,
.contact-grid,
.faq-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.stat-card {
  padding: 26px;
  text-align: center;
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 2.05rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card span,
.feature-card p,
.step-card p,
.testimonial-card span,
.footer p,
.footer-links a {
  color: var(--muted);
  line-height: 1.68;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.feature-card,
.step-card,
.testimonial-card {
  padding: 28px;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover,
.step-card:hover,
.testimonial-card:hover,
.stat-card:hover {
  transform: translateY(-7px);
  border-color: rgba(30, 136, 255, 0.24);
  background: #ffffff;
  box-shadow: 0 28px 62px rgba(12, 36, 74, 0.14);
}

.feature-icon {
  margin-bottom: 20px;
}

.how,
.testimonials,
.contact {
  background: var(--bg-soft);
}

.step-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 900;
}


.testimonial-card {
  display: grid;
  align-content: space-between;
  gap: 24px;
}

.testimonial-card p {
  color: var(--muted-strong);
  line-height: 1.78;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.faq-item {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--heading);
  text-align: left;
  cursor: pointer;
}

.faq-item strong {
  color: var(--blue);
  transition: transform 0.22s ease;
}

.faq-item.active strong {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transition: max-height 0.3s ease;
}

.faq-panel.open {
  max-height: 160px;
}

.faq-panel p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.72;
}

.contact-grid {
  align-items: start;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted-strong);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  outline: 0;
  padding: 15px 16px;
  resize: vertical;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(30, 136, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(30, 136, 255, 0.1);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.footer {
  padding: 54px 0 26px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  align-items: start;
}

.social-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--blue);
  font-weight: 900;
  background: #ffffff;
  transition: 0.22s ease;
}

.social-links a:hover,
.footer-links a:hover {
  color: var(--purple);
  border-color: rgba(123, 60, 255, 0.28);
  transform: translateY(-2px);
}

.footer-links {
  justify-content: start;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reveal {
  /* Elements are revealed by IntersectionObserver in script.js. */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Respect operating-system motion preferences for accessibility. */
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .stats-grid,
  .feature-grid,
  .steps-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions,
  .nav-actions {
    display: flex;
  }
}

@media (min-width: 860px) {
  /* Desktop layout expands navigation and multi-column content. */
  .section {
    padding: 112px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu a:hover {
    color: var(--blue);
  }

  .nav-actions {
    margin-left: 6px;
  }

  .hero-grid,
  .contact-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-copy {
    max-width: 640px;
  }

  .footer-links {
    justify-content: end;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 205px;
    height: 58px;
  }

  .nav-menu {
    top: 94px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .hero-visual {
    min-height: 500px;
  }

  .dashboard-layout {
    grid-template-columns: 50px 1fr;
  }

  .dashboard-main {
    padding: 16px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    min-width: 146px;
    padding: 10px;
    font-size: 0.88rem;
  }
}
