/* ─────────────────────────────────────────────────────────────
   SchoolMitra — Main Stylesheet
   ───────────────────────────────────────────────────────────── */

/* ── Page Loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

/* Ripple rings */
.loader-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80px);
  width: 120px;
  height: 120px;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(165,180,252,.25);
  animation: ring-pulse 3s ease-out infinite;
}
.ring-2 { animation-delay: 1s; }
.ring-3 { animation-delay: 2s; }
@keyframes ring-pulse {
  0%   { transform: scale(.4); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Logo icon */
.loader-logo {
  width: 80px; height: 80px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  animation: logo-pop .7s cubic-bezier(.34,1.56,.64,1) both;
  box-shadow: 0 0 40px rgba(99,102,241,.5);
}
.loader-logo svg { width: 48px; height: 48px; }
@keyframes logo-pop {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg);  opacity: 1; }
}

/* Brand text */
.loader-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  margin-bottom: 8px;
  animation: fade-up-in .6s .3s both;
}
.loader-brand span { color: #A5B4FC; }

/* Tagline */
.loader-tagline {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: .5px;
  margin-bottom: 36px;
  animation: fade-up-in .6s .45s both;
}

/* Progress bar */
.loader-bar-wrap {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 100px;
  overflow: hidden;
  animation: fade-up-in .4s .55s both;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #818CF8, #A5B4FC);
  border-radius: 100px;
  transition: width .05s linear;
  box-shadow: 0 0 10px rgba(165,180,252,.6);
}

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Prevent scroll during load */
body.loading { overflow: hidden; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:    #4F46E5;
  --indigo-dk: #3730A3;
  --indigo-lt: #EEF2FF;
  --green:     #10B981;
  --green-lt:  #ECFDF5;
  --blue:      #3B82F6;
  --blue-lt:   #EFF6FF;
  --purple:    #8B5CF6;
  --purple-lt: #F5F3FF;
  --orange:    #F59E0B;
  --orange-lt: #FFFBEB;
  --teal:      #14B8A6;
  --teal-lt:   #F0FDFA;
  --pink:      #EC4899;
  --pink-lt:   #FDF2F8;
  --gray-50:   #F9FAFB;
  --gray-100:  #F3F4F6;
  --gray-200:  #E5E7EB;
  --gray-300:  #D1D5DB;
  --gray-400:  #9CA3AF;
  --gray-500:  #6B7280;
  --gray-600:  #4B5563;
  --gray-700:  #374151;
  --gray-800:  #1F2937;
  --gray-900:  #111827;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.hidden { display: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: white;
}
.btn-primary:hover { background: var(--indigo-dk); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(79,70,229,.4); }
.btn-ghost { background: transparent; color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-outline { background: transparent; color: var(--indigo); border: 2px solid var(--indigo); }
.btn-outline:hover { background: var(--indigo-lt); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn-white { background: white; color: var(--indigo); }
.btn-white:hover { background: var(--indigo-lt); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.logo-text .accent { color: var(--indigo); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
}
.nav-links a:hover { color: var(--indigo); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 12px;
  background: white;
  border-top: 1px solid var(--gray-100);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--gray-700); }

/* ── Hero ── */
.hero {
  position: relative;
  padding-top: 148px;
  padding-bottom: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #FAFAFA 0%, #F5F3FF 50%, #EFF6FF 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.blob-1 { width: 600px; height: 600px; background: #C7D2FE; top: -200px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: #BBF7D0; bottom: 0; left: -80px; }
.blob-3 { width: 300px; height: 300px; background: #DDD6FE; top: 200px; left: 30%; }
.grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  padding: 6px 16px 6px 10px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,.0); }
}
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, #7C3AED 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-500);
}

/* ── Hero new copy styles ── */
.hero-tagline {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.hero-pillars {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px 18px;
  max-width: 260px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.hp-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--indigo-lt); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.hp-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--indigo); margin-bottom: 4px; text-transform: uppercase;
}
.hp-text { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ── Hero Mockup ── */
.hero-mockup {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}
.mockup-window {
  background: white;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 40px rgba(79,70,229,.15), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}
.mockup-bar {
  background: var(--gray-100);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C840; }
.mockup-url {
  margin-left: 10px;
  background: white;
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 11px;
  color: var(--gray-400);
  flex: 1;
  max-width: 220px;
}

/* ── App Topbar ── */
.app-topbar {
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.atb-school { display: flex; align-items: center; gap: 8px; }
.atb-school-icon {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--indigo-lt); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.atb-school-name { font-size: 11px; font-weight: 700; color: var(--gray-800); line-height: 1.3; }
.atb-portal-label { font-size: 10px; color: var(--gray-400); }
.atb-users { display: flex; gap: 8px; }
.atb-user-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 20px; padding: 4px 10px 4px 4px;
}
.atb-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white;
}
.atb-avatar.indigo { background: var(--indigo); }
.atb-avatar.purple { background: var(--purple); }
.atb-user-info { line-height: 1.2; }
.atb-uname { font-size: 10px; font-weight: 700; color: var(--gray-700); }
.atb-urole { font-size: 9px; color: var(--gray-400); }

/* ── Parent Portal Layout ── */
.pp-layout { display: flex; min-height: 420px; }

/* Sidebar */
.pp-sidebar {
  width: 168px;
  background: white;
  border-right: 1px solid var(--gray-100);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  overflow: hidden;
}
.pp-sidebar-brand {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; color: var(--gray-800);
  margin-bottom: 2px;
}
.pp-sidebar-school { font-size: 9px; color: var(--gray-400); margin-bottom: 8px; }
.pp-portal-badge {
  background: var(--indigo); color: white;
  font-size: 8px; font-weight: 700; letter-spacing: .8px;
  padding: 3px 8px; border-radius: 4px; display: inline-block;
  margin-bottom: 6px;
}
.pp-portal-desc { font-size: 9px; color: var(--gray-500); line-height: 1.5; margin-bottom: 8px; }
.pp-nav-label { font-size: 8px; font-weight: 700; letter-spacing: 1px; color: var(--gray-400); text-transform: uppercase; margin-bottom: 4px; }
.pp-nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.pp-nav-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--gray-600); padding: 5px 8px;
  border-radius: 6px; cursor: pointer; transition: .15s;
  font-weight: 500; position: relative;
}
.pp-nav-item:hover { background: var(--gray-50); }
.pp-nav-item.active { background: var(--indigo); color: white; font-weight: 600; }
.pp-nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #818CF8; position: absolute; right: 8px;
}
.pp-user-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 4px 0; border-top: 1px solid var(--gray-100); margin-top: auto;
}
.pp-user-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--purple); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.pp-user-name { font-size: 10px; font-weight: 700; color: var(--gray-700); }
.pp-user-role { font-size: 9px; color: var(--gray-400); }

/* Main content */
.pp-main { flex: 1; padding: 12px; background: var(--gray-50); overflow: hidden; min-width: 0; }

/* Purple banner */
.pp-banner {
  background: linear-gradient(135deg, #5B21B6 0%, #4F46E5 50%, #6366F1 100%);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
  color: white;
}
.pp-banner-label { font-size: 9px; font-weight: 700; letter-spacing: 1.2px; opacity: .75; margin-bottom: 4px; text-transform: uppercase; }
.pp-banner-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; font-family: 'Plus Jakarta Sans', sans-serif; }
.pp-banner-desc { font-size: 10px; opacity: .8; line-height: 1.5; margin-bottom: 10px; }
.pp-banner-chip {
  display: inline-block; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
  padding: 4px 10px; font-size: 10px; font-weight: 600;
}

/* Stats row */
.pp-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px;
}
.pp-stat {
  background: white; border-radius: 8px; padding: 8px 10px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
}
.pp-stat-label { font-size: 8px; font-weight: 700; letter-spacing: .8px; color: var(--gray-400); text-transform: uppercase; margin-bottom: 4px; }
.pp-stat-value { font-size: 18px; font-weight: 900; line-height: 1; margin-bottom: 3px; font-family: 'Plus Jakarta Sans', sans-serif; }
.pp-stat-value.green { color: var(--green); }
.pp-stat-value.blue { color: var(--blue); }
.pp-stat-value.orange { color: var(--orange); }
.pp-stat-value.purple { color: var(--purple); }
.pp-stat-sub { font-size: 8px; color: var(--gray-400); line-height: 1.3; }

/* Quick Access */
.pp-quick-access {
  background: white; border-radius: 8px; padding: 10px 12px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
}
.pp-qa-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pp-qa-title { font-size: 11px; font-weight: 700; color: var(--gray-700); }
.pp-qa-badge {
  background: var(--indigo-lt); color: var(--indigo);
  font-size: 9px; font-weight: 600; padding: 2px 8px; border-radius: 4px;
}
.pp-qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pp-qa-item { text-align: center; padding: 8px 4px; border-radius: 6px; border: 1px solid var(--gray-100); }
.pp-qa-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
}
.pp-qa-icon.indigo { background: var(--indigo-lt); color: var(--indigo); }
.pp-qa-icon.green  { background: var(--green-lt);  color: var(--green); }
.pp-qa-icon.blue   { background: var(--blue-lt);   color: var(--blue); }
.pp-qa-icon.orange { background: var(--orange-lt); color: var(--orange); }
.pp-qa-name { font-size: 9px; font-weight: 700; color: var(--gray-700); margin-bottom: 2px; }
.pp-qa-desc { font-size: 8px; color: var(--gray-400); line-height: 1.3; }

/* Right panel */
.pp-right {
  width: 160px; flex-shrink: 0;
  padding: 12px 10px;
  background: white;
  border-left: 1px solid var(--gray-100);
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.pp-right-card { }
.pp-rc-title { font-size: 11px; font-weight: 700; color: var(--gray-700); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--gray-100); }
.pp-student-row { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.pp-student-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange-lt); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.pp-student-name { font-size: 11px; font-weight: 700; color: var(--gray-800); }
.pp-student-sub { font-size: 9px; color: var(--gray-400); }
.pp-summary-table { display: flex; flex-direction: column; gap: 4px; }
.pp-st-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; padding: 3px 0; border-bottom: 1px solid var(--gray-50);
}
.pp-st-row span:first-child { color: var(--gray-400); }
.pp-st-row span:last-child { color: var(--gray-700); font-weight: 600; }
.pp-status-active {
  background: #DCFCE7; color: #15803D;
  padding: 1px 6px; border-radius: 3px; font-size: 9px; font-weight: 700;
}
.pp-action-list { display: flex; flex-direction: column; gap: 7px; }
.pp-action-item { }
.pp-action-name { font-size: 10px; font-weight: 600; color: var(--gray-700); margin-bottom: 1px; }
.pp-action-desc { font-size: 9px; color: var(--gray-400); line-height: 1.3; }

/* mockup-body base */
.mockup-body { display: flex; }

/* ── Portal Roles ── */
.roles-section { background: var(--gray-50); }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }

.role-header {
  padding: 22px 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.role-header.indigo { background: linear-gradient(135deg, #4F46E5, #6366F1); }
.role-header.green  { background: linear-gradient(135deg, #059669, #10B981); }
.role-header.purple { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.role-header.orange { background: linear-gradient(135deg, #D97706, #F59E0B); }

.role-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.role-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px;
  color: rgba(255,255,255,.7); text-transform: uppercase; margin-bottom: 2px;
}
.role-title { font-size: 17px; font-weight: 800; color: white; }
.role-desc {
  font-size: 13px; color: var(--gray-500); line-height: 1.6;
  padding: 16px 20px 12px;
}
.role-list {
  display: flex; flex-direction: column; gap: 8px;
  padding: 0 20px 16px; flex: 1;
}
.role-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-600); line-height: 1.4;
}
.rl-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.rl-dot.indigo { background: var(--indigo); }
.rl-dot.green  { background: var(--green); }
.rl-dot.purple { background: var(--purple); }
.rl-dot.orange { background: var(--orange); }

.role-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.role-footer.indigo-lt  { background: var(--indigo-lt); }
.role-footer.green-lt   { background: var(--green-lt); }
.role-footer.purple-lt  { background: var(--purple-lt); }
.role-footer.orange-lt  { background: var(--orange-lt); }
.role-footer.combined-lt { background: linear-gradient(90deg, var(--purple-lt), var(--orange-lt)); gap: 8px; }
.rf-plus { font-size: 13px; font-weight: 700; color: var(--gray-400); }

/* Combined header gradient */
.role-header.purple-orange {
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 50%, #D97706 100%);
}

/* Role split inside combined card */
.role-split {
  display: flex;
  gap: 0;
  margin: 0 20px 16px;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  overflow: hidden;
}
.role-split-col { flex: 1; padding: 12px 14px; }
.role-split-divider { width: 1px; background: var(--gray-100); flex-shrink: 0; }
.role-split-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.role-split-label.purple { color: var(--purple); }
.role-split-label.orange { color: var(--orange); }
.role-list.compact { gap: 6px; }
.role-list.compact li { font-size: 12px; }
.rf-badge {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; color: white;
}
.rf-badge.indigo { background: var(--indigo); }
.rf-badge.green  { background: var(--green); }
.rf-badge.purple { background: var(--purple); }
.rf-badge.orange { background: var(--orange); }
.rf-count { font-size: 11px; font-weight: 600; color: var(--gray-400); }

/* ── Benefits Strip ── */
.benefits-strip {
  background: var(--gray-900);
  padding: 36px 0;
}
.benefits-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.benefit-item {
  display: flex; align-items: center; gap: 14px;
  flex: 1; min-width: 160px;
}
.bi-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #A5B4FC; flex-shrink: 0;
}
.bi-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 2px; }
.bi-sub   { font-size: 12px; color: var(--gray-400); }
.bi-divider { width: 1px; height: 40px; background: rgba(255,255,255,.08); flex-shrink: 0; }

/* ── Workflow Section ── */
.workflow-section { background: white; }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}
.wf-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all .3s;
}
.wf-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gray-200); transform: translateY(-3px); }
.wf-step {
  font-size: 42px; font-weight: 900;
  color: var(--gray-100); line-height: 1; margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.wf-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.wf-icon.indigo { background: var(--indigo-lt); color: var(--indigo); }
.wf-icon.orange { background: var(--orange-lt); color: var(--orange); }
.wf-icon.green  { background: var(--green-lt);  color: var(--green); }
.wf-icon.purple { background: var(--purple-lt); color: var(--purple); }
.wf-card h4 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.wf-card p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.wf-arrow {
  font-size: 20px; color: var(--gray-300); margin-top: 16px;
}

/* Automation row */
.automation-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.auto-item {
  background: linear-gradient(135deg, var(--indigo-lt), white);
  border: 1px solid rgba(79,70,229,.12);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.auto-icon { font-size: 22px; flex-shrink: 0; }
.auto-text { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.auto-text strong { color: var(--indigo); }

/* ── Logo Strip ── */
.logo-strip {
  background: white;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}
.strip-label {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.logo-track {
  display: flex;
  gap: 48px;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.school-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-400);
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  flex-shrink: 0;
  letter-spacing: .3px;
}
.logo-track.single-client .school-logo {
  color: var(--indigo);
  font-size: 15px;
  opacity: .6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  background: var(--indigo-lt);
  color: var(--indigo);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.section-tag.light { background: rgba(255,255,255,.15); color: white; }
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header.light .section-title { color: white; }
.section-desc { font-size: 17px; color: var(--gray-500); line-height: 1.7; }
.section-header.light .section-desc { color: rgba(255,255,255,.75); }

/* ── Features ── */
.features { background: white; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}
.highlight-card {
  background: linear-gradient(135deg, var(--indigo-lt) 0%, white 100%);
  border-color: rgba(79,70,229,.2);
}
.fc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.fc-icon.indigo { background: var(--indigo-lt); color: var(--indigo); }
.fc-icon.green { background: var(--green-lt); color: var(--green); }
.fc-icon.purple { background: var(--purple-lt); color: var(--purple); }
.fc-icon.orange { background: var(--orange-lt); color: var(--orange); }
.fc-icon.teal { background: var(--teal-lt); color: var(--teal); }
.fc-icon.pink { background: var(--pink-lt); color: var(--pink); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--gray-800); }
.feature-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.fc-link { font-size: 14px; font-weight: 600; color: var(--indigo); }
.fc-link:hover { text-decoration: underline; }

/* ── Modules ── */
.modules { background: var(--gray-50); }
.modules-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.mtab {
  padding: 8px 20px;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all .2s;
}
.mtab:hover { border-color: var(--indigo); color: var(--indigo); }
.mtab.active { background: var(--indigo); border-color: var(--indigo); color: white; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all .3s;
  cursor: pointer;
}
.module-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.module-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.module-card[data-color="indigo"] .module-icon { background: var(--indigo-lt); color: var(--indigo); }
.module-card[data-color="green"] .module-icon { background: var(--green-lt); color: var(--green); }
.module-card[data-color="blue"] .module-icon { background: var(--blue-lt); color: var(--blue); }
.module-card[data-color="purple"] .module-icon { background: var(--purple-lt); color: var(--purple); }
.module-card[data-color="orange"] .module-icon { background: var(--orange-lt); color: var(--orange); }
.module-card[data-color="teal"] .module-icon { background: var(--teal-lt); color: var(--teal); }
.module-card[data-color="pink"] .module-icon { background: var(--pink-lt); color: var(--pink); }
.module-info h4 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.module-info p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ── Stats ── */
.stats-section {
  background: linear-gradient(135deg, var(--indigo-dk) 0%, var(--indigo) 50%, #7C3AED 100%);
  position: relative;
  overflow: hidden;
}
.stats-bg { position: absolute; inset: 0; pointer-events: none; }
.blob-4 { width: 600px; height: 600px; background: rgba(255,255,255,.05); top: -200px; right: -100px; }
.stats-inner { position: relative; z-index: 2; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: white;
  display: inline-block;
}
.stat-plus {
  font-size: 36px;
  font-weight: 900;
  color: rgba(255,255,255,.6);
  display: inline-block;
  margin-left: 2px;
}
.stat-label { font-size: 16px; color: rgba(255,255,255,.7); margin-top: 8px; }

/* ── How It Works ── */
.how-it-works { background: white; }
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step-card {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  transition: all .3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--indigo-lt); }
.step-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--indigo-lt);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 16px;
  line-height: 1;
}
.step-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--indigo-lt); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; }
.step-arrow {
  font-size: 32px;
  color: var(--gray-300);
  padding-top: 80px;
  flex-shrink: 0;
}

/* ── Testimonials ── */
.testimonials { background: var(--gray-50); }
.testimonial-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; align-items: start; }
.testimonial-grid.single-testimonial { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
.tcard {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tcard.featured {
  background: linear-gradient(135deg, var(--indigo) 0%, #7C3AED 100%);
  border: none;
}
.tcard.featured .tquote { color: rgba(255,255,255,.9); }
.tcard.featured .tname { color: white; }
.tcard.featured .trole { color: rgba(255,255,255,.7); }
.tcard.featured .stars { color: #FCD34D; }
.stars { font-size: 18px; color: var(--orange); margin-bottom: 14px; }
.tquote { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.tauthor { display: flex; align-items: center; gap: 12px; }
.tavatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white; flex-shrink: 0;
}
.tavatar.indigo { background: var(--indigo); }
.tavatar.green { background: var(--green); }
.tavatar.purple { background: var(--purple); }
.tname { font-size: 14px; font-weight: 700; color: var(--gray-800); }
.trole { font-size: 12px; color: var(--gray-400); }

/* ── Pricing ── */
.pricing { background: white; }

.pricing-note-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--indigo-lt);
  border: 1px solid rgba(79,70,229,.2);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}
.price-card {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.price-card.popular {
  border-color: var(--indigo);
  background: var(--indigo-lt);
  transform: scale(1.03);
}
.price-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: white;
  padding: 4px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
}

/* Plan badge (year label) */
.plan-badge-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.price-card.popular .plan-badge-year {
  background: rgba(79,70,229,.12);
  color: var(--indigo);
}

/* Price row */
.plan-price-row { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 8px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; }
.currency { font-size: 24px; font-weight: 700; color: var(--gray-700); }
.amount { font-size: 56px; font-weight: 900; color: var(--gray-900); line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif; }
.plan-original {
  font-size: 22px; font-weight: 600; color: var(--gray-300);
  text-decoration: line-through; margin-left: 6px;
  align-self: flex-end; margin-bottom: 6px;
}
.plan-per { font-size: 13px; color: var(--gray-400); line-height: 1.5; padding-bottom: 6px; }
.plan-per span { font-weight: 600; color: var(--gray-500); }
.plan-billing-note {
  font-size: 13px; color: var(--indigo); font-weight: 600;
  background: rgba(79,70,229,.08); border-radius: 6px;
  padding: 4px 10px; display: inline-block; margin-bottom: 8px;
}
.plan-example {
  font-size: 13px; color: var(--gray-500); margin-bottom: 20px;
}
.plan-example strong { color: var(--gray-800); }
.plan-divider { height: 1px; background: var(--gray-100); margin-bottom: 20px; }
.price-card.popular .plan-divider { background: rgba(79,70,229,.15); }

.plan-sub { font-size: 14px; color: var(--gray-400); margin-bottom: 24px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gray-600);
}
.plan-features li.disabled { color: var(--gray-300); }

/* Hint row below cards */
.pricing-calc-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--gray-500);
}
.pricing-calc-hint a { color: var(--indigo); font-weight: 600; }
.pricing-calc-hint a:hover { text-decoration: underline; }

/* Remove old toggle styles (kept for safety, now unused) */
.pricing-toggle { display: none; }
.pt-label, .toggle-switch, .toggle-slider, .save-badge { display: none; }
.monthly-price, .annual-price { display: inline; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--indigo) 0%, #7C3AED 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.blob-5 { width: 800px; height: 800px; background: rgba(255,255,255,.04); top: -300px; left: 50%; transform: translateX(-50%); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; color: white; margin-bottom: 16px;
}
.cta-inner p { font-size: 18px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ── */
.contact-section { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 12px; }
.contact-info h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px; font-weight: 800; margin-bottom: 14px; color: var(--gray-900);
}
.contact-info p { font-size: 16px; color: var(--gray-500); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.cd-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--gray-600);
}
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-800);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

/* ── Footer ── */
.footer { background: var(--gray-900); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-text { color: white; }
.footer-brand p {
  font-size: 14px; color: var(--gray-400); margin: 12px 0 20px; line-height: 1.7;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); transition: .2s;
}
.social-links a:hover { background: var(--indigo); color: white; }
.footer-col h5 {
  font-size: 13px; font-weight: 700; color: white;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px; color: var(--gray-400);
  margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--gray-500); }
.footer-badges { display: flex; gap: 16px; }
.fb { font-size: 12px; color: var(--gray-500); }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-grid-2 { grid-template-columns: 1fr; max-width: 420px; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-4px); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .tcard.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pp-right { display: none; }
  .pp-stats-row { grid-template-columns: repeat(2, 1fr); }
  .pp-sidebar { width: 140px; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .role-card[data-role="parent-student"] { grid-column: span 2; }
  .role-split { flex-direction: row; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .automation-row { grid-template-columns: repeat(2, 1fr); }
  .benefits-inner { justify-content: center; }
  .bi-divider { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .tcard.featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-pillars { flex-direction: column; align-items: center; }
  .roles-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .automation-row { grid-template-columns: 1fr; }
  .wf-arrow { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .pricing-grid { max-width: 100%; }
}
