*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bp-bg: #ebf0ff;
  --bp-stroke-light: #ccd9ff;
  --bp-stroke-medium: #a5bdff;
  --bp-stroke-dark: #4f6ef7;
  --bp-fill-muted: #e2e8f0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 8px 16px;
  background: #4f6ef7;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid #4f6ef7;
  outline-offset: 2px;
}

body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility */
.bp-element {
  fill: var(--bp-fill-muted);
  stroke: var(--bp-stroke-medium);
  stroke-width: 1.5px;
  stroke-linecap: round;
}

.bp-accent {
  fill: var(--bp-bg);
  stroke: var(--bp-stroke-dark);
  stroke-width: 2px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #4f6ef7;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 110, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 110, 247, 0.45);
}

.btn-secondary {
  background: #fff;
  color: #4f6ef7;
  border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: #4f6ef7;
  transform: translateY(-2px);
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  height: 64px;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: #4f6ef7;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4f6ef7;
}

.nav-links a.active {
  color: #4f6ef7;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #4f6ef7;
  border-radius: 1px;
}

.nav-links .nav-cta {
  padding: 8px 20px;
  background: #4f6ef7;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 110, 247, 0.3);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  background: linear-gradient(135deg, #f0f4ff 0%, #f5f0ff 50%, #fef0f8 100%);
  overflow: hidden;
}

.hero-blueprint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}
.hero-blueprint svg {
  width: 100%;
  height: 100%;
}


.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 110, 247, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(79, 110, 247, 0.1);
  color: #4f6ef7;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 20px;
  font-family: 'DM Serif Display', Georgia, serif;
}

.hero-content h1 .highlight {
  color: #4f6ef7;
}

.hero-content p {
  font-size: 1.15rem;
  color: #334155;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-blueprint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.hero-blueprint svg {
  width: 100%;
  height: 100%;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 24px;
  transform: rotate(6deg) scale(0.95);
  pointer-events: none;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.hero-device-pair::before {
  display: none;
}

.hero-device-pair {
  min-height: 420px;
}

.hero-device-pair img {
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-device-pair .hero-laptop {
  width: clamp(560px, 50vw, 760px);
}

.hero-device-pair .hero-phone {
  position: absolute;
  right: clamp(48px, 5vw, 96px);
  bottom: 25%;
  z-index: 2;
  width: clamp(112px, 11vw, 168px);
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.18));
}

/* Sections */
.section {
  padding: 100px 0;
}

.simplicity-flow {
  background: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  position: relative;
}

.flow-step {
  text-align: center;
  position: relative;
  padding: 20px;
}

.flow-illustration {
  width: min(100%, 220px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto 20px;
  border-radius: 28px;
  background: #f7f8ff;
  box-shadow: 0 16px 32px rgba(79, 110, 247, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  font-weight: 800;
  color: var(--bp-stroke-dark);
  opacity: 0.1;
  z-index: -1;
  font-family: 'Figtree', sans-serif;
}

.step-graphic {
  display: none;
}

.step-graphic svg {
  width: 100%;
  height: 100%;
}

.flow-step h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.flow-step p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 12px;
  font-family: 'DM Serif Display', Georgia, serif;
}

.section-header p {
  font-size: 1.05rem;
  color: #475569;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Features */
.features {
  background: #fff;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  padding: 24px 32px 40px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.feature-illustration {
  width: min(100%, 220px);
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 24px;
  border-radius: 24px;
  background: #f7f8ff;
  box-shadow: 0 12px 28px rgba(79, 110, 247, 0.08);
}

.feature-card:first-child {
  background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 100%);
  border-color: #dbeafe;
  box-shadow: 0 10px 15px -3px rgba(79, 110, 247, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #4f6ef7;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #4f6ef7;
}

.feature-card:hover::before {
  opacity: 1;
  top: 0;
}

.feature-blueprint {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4f6ef7;
  color: #ffffff;
  border-radius: 14px;
  flex-shrink: 0;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(79, 110, 247, 0.3);
}

.feature-blueprint svg {
  width: 32px;
  height: 32px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #ebf0ff;
  border-radius: 10px;
  color: #4f6ef7;
  margin-right: 16px;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  text-wrap: balance;
}

.feature-body p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Stats */
.stats {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: #1e293b;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(79, 110, 247, 0.055) 31px 32px),
    #f7f8ff;
}

.record-id {
  position: absolute;
  top: 28px;
  right: max(24px, calc((100vw - 1120px) / 2));
  color: #8692ad;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.records-intro {
  max-width: 720px;
  margin-bottom: 48px;
}

.records-intro .section-eyebrow {
  margin-bottom: 12px;
  color: #4f6ef7;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.records-intro h2 {
  margin-bottom: 16px;
  color: #0f172a;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

.records-intro > p:last-child {
  max-width: 65ch;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
}

.records-journey {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.12fr;
  margin: 0;
  padding: 0;
  border: 1px solid #cfd8f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(52, 67, 123, 0.1);
  list-style: none;
}

.record-stage {
  position: relative;
  min-width: 0;
  padding: 30px;
}

.record-stage + .record-stage {
  border-left: 1px solid #dbe2f5;
}

.record-stage + .record-stage::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid #c7d2fe;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9m-3-3 3 3-3 3' fill='none' stroke='%234f6ef7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.record-step {
  display: block;
  margin-bottom: 22px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.record-motif {
  height: 88px;
  margin-bottom: 24px;
  color: #8696c8;
}

.record-stage--paper .record-motif { position: relative; }

.record-stage--paper .record-motif span {
  position: absolute;
  left: 0;
  width: 76%;
  height: 18px;
  border-bottom: 1px solid #b9c4e5;
  background: #f4f6fc;
  transform: translateX(calc(var(--row, 0) * 6px));
}

.record-stage--paper .record-motif span:nth-child(1) { --row: 0; top: 0; }
.record-stage--paper .record-motif span:nth-child(2) { --row: 1; top: 19px; }
.record-stage--paper .record-motif span:nth-child(3) { --row: 2; top: 38px; }
.record-stage--paper .record-motif span:nth-child(4) { --row: 3; top: 57px; }

.record-stage--sheet .record-motif {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 180px;
  border-top: 1px solid #b9c4e5;
  border-left: 1px solid #b9c4e5;
}

.record-stage--sheet .record-motif span {
  border-right: 1px solid #b9c4e5;
  border-bottom: 1px solid #b9c4e5;
}

.record-stage--sheet .record-motif span:nth-child(5) {
  position: relative;
  background: #fff3f3;
  box-shadow: inset 0 0 0 2px #a54b4b;
}

.record-stage--sheet .record-motif span:nth-child(5)::after {
  content: '!';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8f3232;
  font-weight: 800;
}

.record-stage--digital {
  margin: -10px -1px -10px 0;
  padding: 40px 34px;
  border: 1px solid #9eafff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(79, 110, 247, 0.15);
}

.record-stage--digital .record-motif {
  display: grid;
  gap: 8px;
  max-width: 190px;
  padding: 14px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  background: #f4f6ff;
}

.record-stage--digital .record-motif span {
  border-radius: 4px;
  background: #cbd5ff;
}

.record-stage--digital .record-motif span:last-child {
  width: 62%;
  background: #4f6ef7;
}

.record-stage h3 {
  margin-bottom: 10px;
  color: #0f172a;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.record-stage > p:not(.record-proof) {
  min-height: 78px;
  color: #526078;
  line-height: 1.6;
}

.record-proof {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e0e5f2;
}

.record-proof strong {
  color: #354fd4;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
}

.record-proof span {
  color: #526078;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

/* About */
.about {
  background: #fafafa;
  position: relative;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 20px;
  font-family: 'DM Serif Display', Georgia, serif;
}

.about-text .highlight {
  color: #4f6ef7;
}

.about-text p {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 240px;
  border-radius: 16px;
}
.screenshot-stack {
  position: relative;
  width: 260px;
  height: 200px;
}
.screenshot-stack img {
  position: absolute;
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.screenshot-stack .shot-front {
  bottom: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-2deg);
}
.screenshot-stack .shot-back {
  top: 0;
  right: 0;
  z-index: 1;
  transform: rotate(3deg);
}

/* FAQ */
.faq {
  background: #fff;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8faff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #cbd9ff;
  box-shadow: 0 8px 24px rgba(79, 110, 247, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: #4f6ef7;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, #f0f4ff 0%, #f5f0ff 100%);
  text-align: center;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ccd9ff, transparent);
}

.contact-icon {
  margin: 0 auto 20px;
}

.contact-content {
  max-width: 520px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 16px;
  font-family: 'DM Serif Display', Georgia, serif;
}

.contact-content p {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #475569;
}

.contact-details a {
  color: #4f6ef7;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Feature showcase */
.features-showcase {
  overflow: hidden;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 72%);
}

.showcase-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.showcase-copy {
  max-width: 470px;
}

.eyebrow,
.pillar-label {
  display: inline-block;
  color: #4f6ef7;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-copy h2 {
  margin: 14px 0 18px;
  color: #0f172a;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.showcase-copy > p {
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.75;
}

.showcase-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: #4f6ef7;
  font-weight: 700;
}

.showcase-link span {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.showcase-link:hover span {
  transform: translateX(4px);
}

.showcase-product-visual {
  position: relative;
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-glow {
  position: absolute;
  width: min(80%, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), rgba(79, 110, 247, 0.04) 62%, transparent 70%);
}

.school-system-art {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  height: 370px;
  isolation: isolate;
}

.system-grid {
  position: absolute;
  inset: 8% 4%;
  border-radius: 34px;
  background-image: linear-gradient(rgba(79, 110, 247, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 110, 247, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, #000 15%, transparent 72%);
}

.system-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(79, 110, 247, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.system-orbit-outer { width: 320px; height: 320px; }
.system-orbit-inner { width: 220px; height: 220px; border-style: dashed; }

.system-connector {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115px;
  height: 2px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(79, 110, 247, 0.65), rgba(124, 58, 237, 0.12));
}

.system-connector::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.1);
}

.connector-nw { transform: rotate(218deg); }
.connector-ne { transform: rotate(322deg); }
.connector-sw { transform: rotate(142deg); }
.connector-se { transform: rotate(38deg); }

.system-module {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 148px;
  height: 78px;
  padding: 14px;
  border: 1px solid rgba(199, 210, 254, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.11);
  backdrop-filter: blur(10px);
}

.module-students { left: 2%; top: 4%; transform: rotate(-3deg); }
.module-academics { right: 1%; top: 8%; transform: rotate(3deg); }
.module-attendance { left: 4%; bottom: 4%; transform: rotate(2deg); }
.module-operations { right: 2%; bottom: 2%; transform: rotate(-3deg); }

.module-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, #4f6ef7, #7c3aed);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(79, 110, 247, 0.25);
}

.module-icon svg { width: 23px; height: 23px; }

.module-lines,
.module-blocks,
.module-dots,
.module-bars {
  display: flex;
  flex: 1;
  gap: 5px;
}

.module-lines { flex-direction: column; }
.module-lines i { height: 5px; border-radius: 10px; background: #dbe4ff; }
.module-lines i:nth-child(2) { width: 74%; background: #c4b5fd; }
.module-lines i:nth-child(3) { width: 48%; }

.module-blocks { display: grid; grid-template-columns: repeat(2, 1fr); }
.module-blocks i { height: 15px; border-radius: 5px; background: #dbe4ff; }
.module-blocks i:first-child { grid-column: 1 / -1; background: #c4b5fd; }

.module-dots { flex-wrap: wrap; align-content: center; }
.module-dots i { width: 11px; height: 11px; border-radius: 4px; background: #dbe4ff; }
.module-dots i:nth-child(2), .module-dots i:nth-child(4) { background: #8b9dff; }

.module-bars { align-items: flex-end; height: 34px; }
.module-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(#8b9dff, #dbe4ff); }
.module-bars i:nth-child(1) { height: 42%; }
.module-bars i:nth-child(2) { height: 100%; }
.module-bars i:nth-child(3) { height: 70%; }

.system-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 134px;
  height: 134px;
  transform: translate(-50%, -50%);
}

.hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hub-ring-one { inset: 0; background: rgba(99, 102, 241, 0.09); box-shadow: 0 18px 45px rgba(79, 70, 229, 0.2); }
.hub-ring-two { inset: 14px; background: linear-gradient(145deg, #4f6ef7, #7c3aed); }

.hub-core {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 16px);
  gap: 7px;
}

.hub-core i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: inset 0 -3px 6px rgba(79, 70, 229, 0.12);
}

.system-spark {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 7px rgba(167, 139, 250, 0.1);
}

.spark-one { left: 23%; top: 43%; }
.spark-two { right: 22%; top: 47%; width: 7px; height: 7px; background: #4f6ef7; }
.spark-three { left: 48%; bottom: 6%; width: 6px; height: 6px; background: #818cf8; }

.dashboard-story {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr);
  gap: 58px;
  align-items: center;
  padding: 56px 0;
}

.dashboard-visual {
  position: relative;
}

.dashboard-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(30, 41, 59, 0.16));
}

.dashboard-story-copy h3 {
  margin: 14px 0 18px;
  color: #0f172a;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.dashboard-story-copy > p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.72;
}

.dashboard-benefits {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.dashboard-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 600;
}

.dashboard-benefits li span {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8edff;
  color: #4f6ef7;
  font-size: 0.75rem;
}

.mobile-app-callout {
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 32px;
  min-height: 190px;
  margin-top: 64px;
  padding: 32px 48px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(120deg, #eef2ff, #f5f3ff);
}

.mobile-app-callout h3 {
  margin: 10px 0 8px;
  color: #0f172a;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.mobile-app-callout p {
  max-width: 650px;
  color: #475569;
  line-height: 1.65;
}

.mobile-app-callout img {
  align-self: end;
  justify-self: center;
  max-height: 235px;
  width: auto;
  filter: drop-shadow(0 16px 20px rgba(79, 110, 247, 0.18));
}

/* Footer */
.footer {
  padding: 40px 0;
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  font-size: 0.85rem;
}

.footer .social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer .social-links a:hover {
  background: #4f6ef7;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer .social-links svg {
  width: 18px;
  height: 18px;
}

/* Tablet+ */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about .container {
    grid-template-columns: 1fr 1fr;
  }

  .contact-details {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 767px) {
  .showcase-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .showcase-copy h2 {
    font-size: 2.5rem;
  }

  .showcase-product-visual {
    min-height: 315px;
  }

  .school-system-art {
    height: 300px;
  }

  .system-orbit-outer { width: 250px; height: 250px; }
  .system-orbit-inner { width: 170px; height: 170px; }

  .system-connector { width: 88px; }

  .system-module {
    width: 116px;
    height: 64px;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  .module-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .module-icon svg { width: 19px; height: 19px; }
  .module-students { left: 0; top: 2%; }
  .module-academics { right: 0; top: 4%; }
  .module-attendance { left: 1%; bottom: 2%; }
  .module-operations { right: 0; bottom: 1%; }

  .system-hub { width: 106px; height: 106px; }

  .dashboard-story {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 32px 0;
  }

  .dashboard-story-copy {
    grid-row: 1;
  }

  .dashboard-story-copy h3 {
    font-size: 2.15rem;
  }

  .dashboard-visual {
    grid-row: 2;
  }

  .mobile-app-callout {
    grid-template-columns: 1fr 90px;
    gap: 12px;
    padding: 24px;
  }

  .mobile-app-callout h3 {
    font-size: 1.65rem;
  }

  .flow-grid {
    gap: 40px;
  }
  .step-number {
    font-size: 4rem;
  }
  .step-graphic {
    width: 100px;
    height: 100px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .stats {
    padding: 68px 0;
  }

  .record-id {
    top: 20px;
    right: 24px;
  }

  .records-intro {
    margin-bottom: 32px;
  }

  .records-journey {
    grid-template-columns: 1fr;
  }

  .record-stage {
    padding: 28px 24px;
  }

  .record-stage + .record-stage {
    border-top: 1px solid #dbe2f5;
    border-left: 0;
  }

  .record-stage + .record-stage::before {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v9m-3-3 3 3 3-3' fill='none' stroke='%234f6ef7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .record-stage--digital {
    margin: 0 -1px -1px;
    padding: 32px 24px;
  }

  .record-stage > p:not(.record-proof) {
    min-height: 0;
  }
}
