@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- premium design system tokens --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* color palette: enterprise military-grade slate & neon teals */
  --bg-deep: #ffffff;
  --bg-card: #f8fafc;
  --bg-card-hover: #f1f5f9;
  --bg-header: transparent;
  
  --color-primary: #1e293b;
  --color-secondary: #475569;
  --color-muted: #64748b;
  
  --accent-blue: #0081c2;
  --accent-blue-glow: rgba(0, 129, 194, 0.35);
  --accent-teal: #178087;
  --accent-teal-glow: rgba(23, 128, 135, 0.35);
  --accent-purple: #741b47;
  --accent-purple-glow: rgba(116, 27, 71, 0.35);
  --accent-green: #22c55e;
  --accent-red: #ef4444;

  --border-translucent: rgba(0, 0, 0, 0.08);
  --border-glow-blue: rgba(0, 129, 194, 0.3);
  --border-glow-teal: rgba(23, 128, 135, 0.3);
  
  --gradient-brand: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --gradient-overlay: radial-gradient(circle at 50% -20%, rgba(0, 129, 194, 0.08) 0%, transparent 70%);

  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-glow-blue: 0 0 25px rgba(14, 165, 233, 0.25);
  --shadow-glow-teal: 0 0 25px rgba(20, 184, 166, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  --max-width: 1400px;
}

/* --- base styles & resets --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-deep);
  color: var(--color-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background: var(--gradient-overlay);
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* --- typography system --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- reusable layouts & utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--border-glow-blue);
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.badge-teal {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--border-glow-teal);
  color: var(--accent-teal);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4.5rem;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--color-secondary);
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  .section-header p {
    font-size: 1rem;
  }
}

/* --- premium glass card component --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-translucent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #000;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.25);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-translucent);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

/* --- header & navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-translucent);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.5rem 0;
  background: transparent;
  box-shadow: none;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--accent-blue); /* Royal Blue for IMT */
}

.logo span .gradient-text {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--accent-purple); /* Plum Maroon for Lazarus */
}

.logo-icon {
  width: 2.2rem;
  height: 2.2rem;
  background: var(--gradient-brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-blue);
}

.logo-text-highlight {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent-teal);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border-glow-teal);
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* --- hero section --- */
.hero {
  position: relative;
  padding-top: 10.5rem;
  padding-bottom: 7.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: var(--color-secondary);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

@media (max-width: 1024px) {
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* --- hero dashboard simulator --- */
.hero-visual {
  width: 100%;
  perspective: 1000px;
}

.dashboard-mock {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 165, 233, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  transform: rotateY(-3deg) rotateX(2deg);
}

.dashboard-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.dashboard-mock:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.01);
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), var(--shadow-glow-blue);
}

/* top status window control bar */
.db-header {
  background: rgba(248, 250, 252, 0.85);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-translucent);
}

.db-dots {
  display: flex;
  gap: 0.35rem;
}

.db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.db-dot:nth-child(1) { background-color: var(--accent-red); }
.db-dot:nth-child(2) { background-color: #fbbf24; }
.db-dot:nth-child(3) { background-color: var(--accent-green); }

.db-title {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.db-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(34, 197, 94, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.db-badge .pulse {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-kf 2s infinite;
}

@keyframes pulse-kf {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* simulated content inside mockup */
.db-content {
  padding: 1.25rem;
  background: #f1f5f9;
}

/* filter tabs switcher in mock */
.db-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-translucent);
}

.db-filter-btn {
  flex: 1;
  padding: 0.4rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--color-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.db-filter-btn:hover {
  color: var(--color-primary);
  background: rgba(0, 0, 0, 0.05);
}

.db-filter-btn.active {
  background: var(--gradient-brand);
  color: #000;
  font-weight: 700;
}

/* widgets grid in mock */
.db-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.db-metric-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-translucent);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  text-align: left;
}

.db-metric-card .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.db-metric-card .number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.db-metric-card .number.blue { color: var(--accent-blue); }
.db-metric-card .number.teal { color: var(--accent-teal); }
.db-metric-card .number.purple { color: var(--accent-purple); }

/* console dynamic logs */
.db-console {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-translucent);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-family: 'Courier New', Courier, monospace;
}

.db-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.5rem;
  margin-bottom: 0.6rem;
  font-weight: bold;
}

.db-console-loglist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 120px;
  overflow-y: hidden;
  font-size: 0.7rem;
}

.db-log-item {
  display: flex;
  gap: 0.5rem;
  line-height: 1.4;
  opacity: 0.9;
  animation: log-fade-in 0.35s ease forwards;
}

@keyframes log-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 0.9; transform: translateY(0); }
}

.db-log-time {
  color: var(--color-muted);
  flex-shrink: 0;
}

.db-log-text {
  color: var(--color-secondary);
  word-break: break-all;
}

.db-log-text span {
  font-weight: bold;
}

.db-log-text .success { color: var(--accent-green); }
.db-log-text .warning { color: #f59e0b; }
.db-log-text .danger { color: var(--accent-red); }
.db-log-text .info { color: var(--accent-blue); }


/* --- value pillars (3-column grid) --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.pillar-card {
  padding: 3rem 2.25rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.04) 0%, transparent 60%);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.pillar-card:hover::before {
  background: radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
}

.pillar-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(14, 165, 233, 0.07);
  border: 1px solid var(--border-glow-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-blue);
  position: relative;
  z-index: 1;
}

.pillar-card:nth-child(2) .pillar-icon-box {
  color: var(--accent-teal);
  background: rgba(20, 184, 166, 0.07);
  border-color: var(--border-glow-teal);
}

.pillar-card:nth-child(3) .pillar-icon-box {
  color: var(--accent-purple);
  background: rgba(116, 27, 71, 0.07);
  border-color: rgba(116, 27, 71, 0.25);
}

.pillar-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.pillar-card p {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}


/* --- deep-dive feature matrix (tabs) --- */
.tabs-switcher {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-translucent);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  white-space: nowrap;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--color-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tab-btn:hover {
  color: var(--color-primary);
  background: rgba(0, 0, 0, 0.03);
}

.tab-btn.active {
  background: var(--bg-card-hover);
  color: var(--accent-teal);
  border: 1px solid rgba(20, 184, 166, 0.25);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tab-panels {
  position: relative;
  min-height: 380px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(8px);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.panel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

.panel-item {
  display: flex;
  gap: 1.25rem;
}

.panel-item-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.panel-item-text strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.panel-item-text p {
  color: var(--color-secondary);
  font-size: 0.925rem;
  line-height: 1.5;
}

/* features right side visual showcase cards */
.panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-card {
  width: 100%;
  max-width: 480px;
  background: radial-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(248, 250, 252, 0.4) 100%);
  border: 1px solid var(--border-translucent);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-translucent);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.showcase-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.showcase-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

/* custom dynamic mini widgets inside showcases */
.showcase-widget {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-translucent);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.showcase-widget-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.showcase-progress {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.showcase-progress-bar {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 3px;
}

.youtube-restriction-badge {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--accent-red);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
}

.wellbeing-risk-high {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--accent-red);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}


/* --- role comparison matrix (interactive custom layout) --- */
.matrix-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-translucent);
  box-shadow: var(--shadow-card);
  background: var(--bg-card);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.matrix-table th, .matrix-table td {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-translucent);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table th {
  background: rgba(248, 250, 252, 0.8);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.matrix-table th.feature-col {
  width: 25%;
  color: var(--color-primary);
}

.matrix-table th.admin-col {
  width: 37.5%;
  color: var(--accent-blue);
  background: rgba(14, 165, 233, 0.03);
  border-left: 1px solid var(--border-translucent);
  border-right: 1px solid var(--border-translucent);
}

.matrix-table th.teacher-col {
  width: 37.5%;
  color: var(--accent-teal);
  background: rgba(20, 184, 166, 0.03);
}

.matrix-table td.admin-cell {
  background: rgba(14, 165, 233, 0.01);
  border-left: 1px solid var(--border-translucent);
  border-right: 1px solid var(--border-translucent);
}

.matrix-table td.teacher-cell {
  background: rgba(20, 184, 166, 0.01);
}

.matrix-table tr:hover td {
  background-color: rgba(0, 0, 0, 0.02);
}

.matrix-table tr:hover td.admin-cell {
  background-color: rgba(14, 165, 233, 0.03);
}

.matrix-table tr:hover td.teacher-cell {
  background-color: rgba(20, 184, 166, 0.03);
}

.matrix-feature-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.matrix-cell-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.matrix-cell-role-indicator {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.admin-cell .matrix-cell-role-indicator { color: var(--accent-blue); }
.teacher-cell .matrix-cell-role-indicator { color: var(--accent-teal); }

.matrix-cell-text {
  color: var(--color-secondary);
  font-size: 0.925rem;
  line-height: 1.5;
}


/* --- compliance & trust banner --- */
.compliance {
  background: radial-gradient(circle at 50% 100%, rgba(20, 184, 166, 0.08) 0%, transparent 65%);
  border-top: 1px solid var(--border-translucent);
  padding: 6rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.trust-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 252, 0.4);
  border: 1px solid var(--border-translucent);
}

.trust-card:hover {
  border-color: rgba(20, 184, 166, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(20, 184, 166, 0.05);
}

.trust-icon-box {
  width: 4rem;
  height: 4rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-translucent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-teal);
  transition: var(--transition-smooth);
}

.trust-card:hover .trust-icon-box {
  background: rgba(20, 184, 166, 0.1);
  border-color: var(--border-glow-teal);
  color: var(--accent-teal);
  transform: scale(1.05);
}

.trust-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.trust-card p {
  color: var(--color-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}


/* --- footer --- */
.site-footer {
  background: transparent;
  border-top: 1px solid var(--border-translucent);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-translucent);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

.copyright {
  font-size: 0.85rem;
  color: var(--color-muted);
}


/* --- slide-out B2G lead capture drawer --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: -550px;
  bottom: 0;
  width: 100%;
  max-width: 500px;
  background: #0c111e;
  border-left: 1px solid var(--border-translucent);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 201;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.drawer-backdrop.open + .drawer-panel,
.drawer-panel.open {
  transform: translateX(-550px);
}

@media (max-width: 576px) {
  .drawer-panel {
    max-width: 100%;
    right: -100%;
    padding: 2.5rem 1.5rem;
  }
  .drawer-backdrop.open + .drawer-panel,
  .drawer-panel.open {
    transform: translateX(-100%);
  }
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.drawer-header h3 {
  font-size: 1.75rem;
  font-family: var(--font-heading);
}

.drawer-close-btn {
  font-size: 1.5rem;
  color: var(--color-muted);
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.drawer-desc {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.b2g-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
}

.form-group input,
.form-group select {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-translucent);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.15);
}

/* success animation state */
.drawer-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 80%;
}

.success-icon-box {
  width: 5rem;
  height: 5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  animation: scale-up-success 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scale-up-success {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.success-desc {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* download progress bar in lead dialog */
.download-progress-container {
  width: 100%;
  max-width: 320px;
  background: rgba(0, 0, 0, 0.05);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.download-progress-bar {
  height: 100%;
  background: var(--gradient-brand);
  width: 0%;
  border-radius: 4px;
}

.download-status-txt {
  font-size: 0.8rem;
  color: var(--accent-teal);
  font-weight: 600;
}


/* --- animations (reveal-on-scroll / triggers) --- */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* MEGA FOOTER */
.mega-footer {
  background-color: #6a1a41;
  color: #fff;
  font-family: 'Inter', sans-serif;
  padding: 60px 0 0 0;
  width: 100%;
}

.mega-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  transition: opacity 0.2s;
}
.mega-footer a:hover { opacity: 0.7; }

.mf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.mf-top {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mf-logo {
  filter: brightness(0) invert(1);
}
.mf-logo img {
  max-width: 160px;
}

.mf-col h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 25px;
  font-family: 'Outfit', sans-serif;
}

.mf-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mf-col ul li {
  margin-bottom: 15px;
}

.mf-btn-orange {
  display: inline-block;
  background-color: #ff9800;
  color: #000 !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 20px;
}
.mf-btn-orange:hover {
  background-color: #e68900;
  opacity: 1;
}

.mf-badges {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mf-badge {
  background: white;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  text-align: center;
}
.mf-badge svg { margin-top: 5px; color: #1e3a8a; }
.mf-badge.ens { color: #f97316; font-size: 18px; }
.mf-badge.ens svg { display: none; }
.mf-badge.ferpa { color: #15803d; font-size: 12px; }

.mf-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
}
.mf-bottom-col strong {
  display: block;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
}
.mf-bottom-col p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
}

.mf-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.mf-social {
  width: 32px;
  height: 32px;
  background: white;
  color: #6a1a41;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
}
.mf-social:hover { opacity: 0.9; }

.mf-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #000;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  width: max-content;
  cursor: pointer;
}

.mf-strip {
  background-color: #551534;
  padding: 20px 0;
  text-align: center;
}
.mf-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .mf-top, .mf-bottom { grid-template-columns: 1fr; gap: 30px; }
  .mf-badges { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .mf-strip-inner { flex-direction: column; gap: 15px; align-items: center; }
}
