/* ==========================================================================
   ShowTell by Amber — Calm, Distraction-Free Design System
   ========================================================================== */

:root {
  /* Brand Palette */
  --bg-cream: #FDFBF7;
  --bg-card: #FFFFFF;
  --bg-subtle: #F6F8FA;
  --bg-accent-soft: #F0FDF4;
  --bg-amber-soft: #FFF8EB;
  --bg-teal-soft: #F0FDFA;
  
  /* Brand Accents */
  --teal-primary: #2DAA9E;
  --teal-dark: #1E8278;
  --teal-light: #CCFBF1;
  --amber-primary: #FFA33C;
  --amber-dark: #E68A20;
  --amber-light: #FEF3C7;
  --indigo-primary: #6366F1;
  
  /* Text & Surface Neutral */
  --text-navy: #1E293B;
  --text-slate: #475569;
  --text-muted: #8492A6;
  --border-subtle: #E2E8F0;
  --border-card: rgba(226, 232, 240, 0.8);
  
  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.06);
  --shadow-lg: 0 16px 40px rgba(30, 41, 59, 0.08);
  --shadow-teal: 0 8px 25px rgba(45, 170, 158, 0.25);
  --shadow-amber: 0 8px 25px rgba(255, 163, 60, 0.25);
  
  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

/* Default scroll anchor offset: cleanly frames sections under the 80px sticky header */
section[id],
.section[id],
div[id] {
  scroll-margin-top: 84px;
}

/* School hub page offset: accounts for double sticky navbars (80px header + 48px subnav = 128px + 6px breathing room) */
body.page-schools section[id],
body.page-schools .section[id],
body.page-schools div[id],
.school-subnav ~ section[id],
.school-subnav ~ .section[id] {
  scroll-margin-top: 134px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(#E2E8F0 1px, transparent 1px);
  background-size: 24px 24px;
}

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

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

.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Announcement Top Bar */
.announcement-bar {
  background-color: var(--teal-primary);
  color: #FFFFFF;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-badge {
  background-color: rgba(255, 255, 255, 0.22);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Site Navigation */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 90;
  transition: all 0.25s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.brand-title .highlight {
  color: var(--teal-primary);
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: -2px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-slate);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--teal-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--teal-primary);
  border-radius: var(--radius-full);
}

/* Distinctive For Schools Portal Pill Button */
.nav-link.nav-link-schools {
  background: var(--bg-teal-soft);
  color: var(--teal-primary);
  border: 1.5px solid rgba(45, 170, 158, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.nav-link-schools:hover {
  background: var(--teal-primary);
  color: #FFFFFF;
  border-color: var(--teal-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 170, 158, 0.25);
}

.nav-link.nav-link-schools.active {
  background: var(--teal-primary);
  color: #FFFFFF;
  border-color: var(--teal-primary);
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(45, 170, 158, 0.25);
}

.nav-link.nav-link-schools::after {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* School Secondary Sub-Navigation Bar */
.school-subnav {
  position: sticky;
  top: 80px;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 85;
}

.school-subnav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.school-subnav-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.school-subnav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.school-subnav-links::-webkit-scrollbar {
  display: none;
}

.school-subnav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-slate);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
  background: rgba(226, 232, 240, 0.4);
}

.school-subnav-link:hover {
  color: var(--teal-primary);
  background: var(--bg-teal-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--teal-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  transform: translateY(-1.5px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-navy);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #CBD5E1;
  transform: translateY(-1.5px);
}

.btn-amber {
  background-color: var(--amber-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-amber);
}

.btn-amber:hover {
  background-color: var(--amber-dark);
  transform: translateY(-1.5px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-navy);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-slate);
  box-shadow: var(--shadow-sm);
}

.pill-teal {
  background-color: var(--bg-teal-soft);
  color: var(--teal-dark);
  border-color: rgba(45, 170, 158, 0.3);
}

.pill-amber {
  background-color: var(--bg-amber-soft);
  color: var(--amber-dark);
  border-color: rgba(255, 163, 60, 0.3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title .teal-text {
  color: var(--teal-primary);
  position: relative;
  display: inline-block;
}

.hero-title .teal-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background-color: rgba(45, 170, 158, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-slate);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-slate);
}

.badge-item i {
  color: var(--teal-primary);
  font-size: 1rem;
}

/* Tactile Mockup Preview */
.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(#F8FAFC 1px, transparent 1px), linear-gradient(90deg, #F8FAFC 1px, transparent 1px);
  background-size: 20px 20px;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-controls {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #E2E8F0;
}

.mockup-dot.red { background-color: #F87171; }
.mockup-dot.yellow { background-color: #FBBF24; }
.mockup-dot.green { background-color: #34D399; }

.mockup-title-pill {
  background-color: var(--bg-cream);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-slate);
  border: 1px solid var(--border-subtle);
}

/* Mockup Header Status */
.mockup-live-status {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.rec-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  animation: pulse-red 1.4s infinite;
}

/* Mockup In-App Canvas Mini-Toolbar (Matching Real ShowTell App) */
.mockup-app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 6px 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.app-bg-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--teal-primary);
  border: 1.5px solid rgba(45, 170, 158, 0.4);
  border-radius: 12px;
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(45, 170, 158, 0.1);
  white-space: nowrap;
}

.app-tools-cluster {
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-tool-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: var(--text-slate);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.app-tool-btn.active {
  background: #FFFFFF;
  color: var(--teal-primary);
  border-color: var(--teal-primary);
  box-shadow: 0 2px 8px rgba(45, 170, 158, 0.22);
}

.tool-ink-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal-primary);
  box-shadow: 0 0 4px var(--teal-primary);
}

.app-tool-stamp {
  position: relative;
}

.stamp-pulse-glow {
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  border: 1.5px solid var(--amber-primary);
  animation: tool-ring-pulse 10s ease infinite;
  opacity: 0;
}

@keyframes tool-ring-pulse {
  0%, 62% { opacity: 0; transform: scale(0.9); }
  64% { opacity: 1; transform: scale(1.12); }
  68% { opacity: 0; transform: scale(1.25); }
  100% { opacity: 0; }
}

.toolbar-sep {
  width: 1px;
  height: 18px;
  background: var(--border-subtle);
  margin: 0 2px;
}

.app-export-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  color: var(--text-navy);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  white-space: nowrap;
}

/* Mockup Canvas Stage & Live Plant Cell Simulation (Fixed Aspect Ratio to Prevent Layout Shifts) */
.mockup-canvas.live-canvas-stage {
  background: #FFFDF9;
  border-radius: var(--radius-md);
  border: 1.5px solid #E2E8F0;
  padding: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1024 / 558;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  contain: paint;
}

.live-cell-diagram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* SVG Ink & Handwriting Annotation Layer */
.live-annotation-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Authentic Student Handwriting Script */
.svg-handwritten-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.03em;
  user-select: none;
}

.svg-handwritten-text.hw-vacuole {
  fill: #0D9488;
}

.svg-handwritten-text.hw-nucleus {
  fill: #F59E0B;
}

/* Clip Path Reveals (revealing the letters as the stylus writes them) */
.clip-rect-vacuole {
  animation: reveal-hw-vacuole 10s ease-in-out infinite;
}

.clip-rect-nucleus {
  animation: reveal-hw-nucleus 10s ease-in-out infinite;
}

@keyframes reveal-hw-vacuole {
  0%, 3% { width: 0; opacity: 1; }
  15% { width: 140px; opacity: 1; }
  92% { width: 140px; opacity: 1; }
  96%, 100% { width: 0; opacity: 0; }
}

@keyframes reveal-hw-nucleus {
  0%, 37% { width: 0; opacity: 1; }
  49% { width: 140px; opacity: 1; }
  92% { width: 140px; opacity: 1; }
  96%, 100% { width: 0; opacity: 0; }
}

/* Ink Strokes: Arrows and Organelle Circling Loops */
.svg-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stroke-vacuole-arrow {
  stroke: #0D9488;
  stroke-width: 4.5px;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-vacuole-arrow 10s ease-in-out infinite;
}

.stroke-vacuole-circle {
  stroke: #0D9488;
  stroke-width: 5px;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-vacuole-circle 10s ease-in-out infinite;
}

.stroke-nucleus-arrow {
  stroke: #F59E0B;
  stroke-width: 4.5px;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-nucleus-arrow 10s ease-in-out infinite;
}

.stroke-nucleus-circle {
  stroke: #F59E0B;
  stroke-width: 5px;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-nucleus-circle 10s ease-in-out infinite;
}

@keyframes draw-vacuole-arrow {
  0%, 15% { stroke-dashoffset: 200; opacity: 0; }
  16% { opacity: 1; }
  21% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 200; opacity: 0; }
}

@keyframes draw-vacuole-circle {
  0%, 21% { stroke-dashoffset: 1000; opacity: 0; }
  22% { opacity: 1; }
  33% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 1000; opacity: 0; }
}

@keyframes draw-nucleus-arrow {
  0%, 49% { stroke-dashoffset: 200; opacity: 0; }
  50% { opacity: 1; }
  54% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 200; opacity: 0; }
}

@keyframes draw-nucleus-circle {
  0%, 54% { stroke-dashoffset: 1000; opacity: 0; }
  55% { opacity: 1; }
  66% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 1; }
  96%, 100% { stroke-dashoffset: 1000; opacity: 0; }
}

/* Live Stylus / Pointer Movement (Smooth, continuous flowing motion) */
.live-stylus-pointer {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 8;
  transform: translate3d(-50%, -50%, 0);
  will-change: left, top, transform;
  animation: stylus-motion 10s cubic-bezier(0.35, 0.05, 0.25, 1) infinite;
}

.stylus-laser-core {
  width: 10px;
  height: 10px;
  background: #0D9488;
  border-radius: 50%;
  box-shadow: 0 0 10px #0D9488, 0 0 4px #FFFFFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.stylus-pen-body {
  position: absolute;
  top: -16px;
  left: 8px;
  font-size: 1.1rem;
  color: #1E293B;
  transform: rotate(-35deg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes stylus-motion {
  /* Smooth arrival at "Vacuole" */
  0% { opacity: 0; left: 19%; top: 19%; }
  3% { opacity: 1; left: 19%; top: 19%; }
  /* Writing "Vacuole" across */
  15% { left: 32%; top: 19%; }
  /* Drawing arrow down into vacuole */
  18% { left: 34%; top: 25%; }
  21% { left: 35%; top: 29%; }
  /* Circling the vacuole in continuous fluid loop */
  25% { left: 48%; top: 40%; }
  29% { left: 38%; top: 58%; }
  33% { left: 33%; top: 32%; }
  /* Smooth glide across to Nucleus */
  37% { left: 59%; top: 19%; }
  /* Writing "Nucleus" across */
  49% { left: 71%; top: 19%; }
  /* Drawing arrow down into nucleus */
  53% { left: 66%; top: 28%; }
  56% { left: 65%; top: 32%; }
  /* Circling the nucleus in continuous fluid loop */
  60% { left: 73%; top: 44%; }
  63% { left: 63%; top: 56%; }
  66% { left: 62%; top: 35%; }
  /* Moving smoothly to stamp area */
  70% { left: 72%; top: 68%; }
  74%, 90% { opacity: 0.2; left: 86%; top: 78%; }
  95%, 100% { opacity: 0; left: 19%; top: 19%; }
}

/* Tactile ShowTell Placed Stamps (Drop, Squash & Settle) */
.live-stamp-item {
  position: absolute;
  z-index: 6;
  pointer-events: none;
}

.stamp-star {
  bottom: 14%;
  right: 10%;
  animation: drop-stamp-star 10s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

.stamp-star .stamp-badge-body {
  background: #FFFBEB;
  border: 2px dashed #D97706;
  color: #B45309;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25);
}

.stamp-plant {
  bottom: 12%;
  left: 10%;
  animation: drop-stamp-plant 10s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

.stamp-plant .stamp-badge-body {
  background: #ECFDF5;
  border: 2px dashed #059669;
  color: #047857;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.stamp-badge-body {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stamp-star-icon {
  font-size: 0.9rem;
  color: #F59E0B;
}

.stamp-leaf-icon {
  font-size: 0.9rem;
  color: #10B981;
}

.stamp-shockwave {
  position: absolute;
  inset: -8px;
  border-radius: 16px;
  border: 2px solid #F59E0B;
  pointer-events: none;
  opacity: 0;
}

.stamp-star .stamp-shockwave {
  animation: stamp-shockwave-star 10s ease infinite;
}

.stamp-plant .stamp-shockwave {
  border-color: #10B981;
  animation: stamp-shockwave-plant 10s ease infinite;
}

@keyframes drop-stamp-star {
  0%, 63% { opacity: 0; transform: scale(2.4) rotate(25deg); }
  66% { opacity: 1; transform: scale(0.92, 1.08) rotate(-8deg); }
  69% { opacity: 1; transform: scale(1.05, 0.95) rotate(-8deg); }
  72%, 92% { opacity: 1; transform: scale(1) rotate(-8deg); }
  96%, 100% { opacity: 0; transform: scale(0.85) rotate(-8deg); }
}

@keyframes stamp-shockwave-star {
  0%, 65% { opacity: 0; transform: scale(0.5); }
  66% { opacity: 0.9; transform: scale(0.7); }
  71% { opacity: 0; transform: scale(2.2); }
  72%, 100% { opacity: 0; }
}

@keyframes drop-stamp-plant {
  0%, 71% { opacity: 0; transform: scale(2.4) rotate(-25deg); }
  74% { opacity: 1; transform: scale(0.92, 1.08) rotate(8deg); }
  77% { opacity: 1; transform: scale(1.05, 0.96) rotate(8deg); }
  80%, 92% { opacity: 1; transform: scale(1) rotate(8deg); }
  96%, 100% { opacity: 0; transform: scale(0.85) rotate(8deg); }
}

@keyframes stamp-shockwave-plant {
  0%, 73% { opacity: 0; transform: scale(0.5); }
  74% { opacity: 0.9; transform: scale(0.7); }
  80% { opacity: 0; transform: scale(2.2); }
  81%, 100% { opacity: 0; }
}

/* Mockup Recording Bar & Live Student Voice Stream (Zero Layout Shift) */
.mockup-recording-bar {
  margin-top: 14px;
  background-color: #0F172A;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0 16px;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

.rec-speaker-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rec-avatar {
  width: 28px;
  height: 28px;
  background: var(--teal-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #FFFFFF;
}

.rec-speaker-info {
  display: flex;
  flex-direction: column;
}

.speaker-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.1;
  color: #FFFFFF;
}

.speaker-tag {
  font-size: 0.65rem;
  color: var(--teal-light);
  font-weight: 600;
}

.rec-live-transcript {
  flex: 1;
  position: relative;
  height: 24px;
  min-width: 0;
  overflow: hidden;
}

.transcript-phrase {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  font-size: 0.78rem;
  font-weight: 500;
  color: #E2E8F0;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.transcript-phrase.phrase-1 {
  animation: phrase-1-anim 10s ease infinite;
}

.transcript-phrase.phrase-2 {
  animation: phrase-2-anim 10s ease infinite;
}

.transcript-phrase.phrase-3 {
  animation: phrase-3-anim 10s ease infinite;
}

@keyframes phrase-1-anim {
  0%, 35% { opacity: 1; visibility: visible; }
  36%, 100% { opacity: 0; visibility: hidden; }
}

@keyframes phrase-2-anim {
  0%, 35% { opacity: 0; visibility: hidden; }
  36%, 68% { opacity: 1; visibility: visible; }
  69%, 100% { opacity: 0; visibility: hidden; }
}

@keyframes phrase-3-anim {
  0%, 68% { opacity: 0; visibility: hidden; }
  69%, 92% { opacity: 1; visibility: visible; }
  93%, 100% { opacity: 0; visibility: hidden; }
}

.rec-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.rec-waveform span {
  width: 3px;
  height: 12px;
  background-color: var(--teal-light);
  border-radius: 3px;
  animation: wave 1.2s ease-in-out infinite alternate;
}

.rec-waveform span:nth-child(2) { height: 20px; animation-delay: 0.2s; }
.rec-waveform span:nth-child(3) { height: 16px; animation-delay: 0.4s; }
.rec-waveform span:nth-child(4) { height: 24px; animation-delay: 0.1s; }
.rec-waveform span:nth-child(5) { height: 14px; animation-delay: 0.3s; }
.rec-waveform span:nth-child(6) { height: 18px; animation-delay: 0.15s; }

@keyframes wave {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}

/* Section Common Styling */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-kicker {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-slate);
  line-height: 1.6;
}

/* Cards & Grid Systems */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.card-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-icon-teal {
  background-color: var(--bg-teal-soft);
  color: var(--teal-primary);
}

.card-icon-amber {
  background-color: var(--bg-amber-soft);
  color: var(--amber-dark);
}

.card-icon-purple {
  background-color: #F5F3FF;
  color: #8B5CF6;
}

.card-icon-blue {
  background-color: #EFF6FF;
  color: #3B82F6;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-navy);
  margin-bottom: 10px;
}

.card-body {
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.6;
}

/* Core Brand Values Banner */
.values-banner {
  background-color: var(--bg-amber-soft);
  border: 1px solid rgba(255, 163, 60, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.values-quote {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--text-navy);
  line-height: 1.4;
}

.values-quote span {
  color: var(--amber-dark);
}

/* Feature Spotlight Rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 70px;
}

.feature-row.reverse .feature-visual-box {
  order: -1;
}

.feature-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  margin-bottom: 8px;
  display: inline-block;
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--text-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-slate);
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-slate);
}

.feature-bullets li span {
  flex: 1;
  line-height: 1.55;
}

.feature-bullets li i {
  color: var(--teal-primary);
  margin-top: 3px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.feature-visual-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* Stamp Matrix Showcase */
.stamp-matrix-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stamp-box {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  transition: transform 0.2s ease;
}

.stamp-box:hover {
  transform: scale(1.06);
  border-color: var(--teal-primary);
}

.stamp-box i {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--teal-primary);
  display: block;
}

.stamp-box span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-navy);
}

/* Pricing / Trust Card */
.pricing-card-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--teal-primary);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--amber-primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 18px;
  border-radius: var(--radius-full);
}

.price-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.price-number {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-navy);
  margin: 16px 0 6px;
}

.price-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-slate);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-slate);
}

.pricing-features li i {
  color: var(--teal-primary);
}

/* ==========================================================================
   Real App Screenshots Showcase
   ========================================================================== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.screenshot-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.screenshot-stage {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.ipad-frame {
  position: relative;
  background: #0F172A;
  border: 2px solid #334155;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(15, 23, 42, 0.1);
  width: 100%;
}

.ipad-camera {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #334155;
  border-radius: 50%;
  box-shadow: inset 0 0 1px #000;
}

.ipad-screen {
  overflow: hidden;
  border-radius: 10px;
  background: #FFFFFF;
  display: block;
}

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

.screenshot-meta {
  padding: 24px 28px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.screenshot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.screenshot-pill.teal {
  background: var(--bg-teal-soft);
  color: var(--teal-primary);
  border: 1px solid rgba(45, 170, 158, 0.3);
}

.screenshot-pill.amber {
  background: var(--bg-amber-soft);
  color: var(--amber-dark);
  border: 1px solid rgba(255, 163, 60, 0.3);
}

.screenshot-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-navy);
}

.screenshot-desc {
  font-size: 0.92rem;
  color: var(--text-slate);
  line-height: 1.55;
}

/* ==========================================================================
   Why Parents Love ShowTell Section
   ========================================================================== */
.parent-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.parent-benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.parent-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.parent-icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 20px;
}

.parent-icon-bubble.teal {
  background: var(--bg-teal-soft);
  color: var(--teal-primary);
}

.parent-icon-bubble.amber {
  background: var(--bg-amber-soft);
  color: var(--amber-dark);
}

.parent-icon-bubble.purple {
  background: #F3E8FF;
  color: #7E22CE;
}

.parent-icon-bubble.rose {
  background: #FFE4E6;
  color: #E11D48;
}

.parent-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 10px;
}

.parent-card-body {
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.6;
}

.parent-quote-callout {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--bg-subtle);
  border-left: 3px solid var(--teal-primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--text-slate);
  font-style: italic;
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  color: var(--teal-primary);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* School Dedicated Components */
.school-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--bg-teal-soft);
  color: var(--teal-dark);
  border: 1px solid rgba(45, 170, 158, 0.3);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.school-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--teal-primary);
  margin-bottom: 12px;
}

.docs-download-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  margin-bottom: 14px;
}

.docs-download-card:hover {
  border-color: var(--teal-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.docs-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.docs-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-amber-soft);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.docs-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-navy);
}

.docs-text p {
  font-size: 0.82rem;
  color: var(--text-slate);
}

/* Site Footer */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-slate);
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-slate);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--teal-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   PRINT / PDF SPECIFIC STYLES
   ========================================================================== */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }
  
  .announcement-bar,
  .site-header,
  .site-footer,
  .no-print,
  .btn,
  .mobile-toggle {
    display: none !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .print-document {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  
  .print-header {
    border-bottom: 2pt solid #1E293B;
    padding-bottom: 12pt;
    margin-bottom: 16pt;
  }
  
  .print-page-break {
    page-break-before: always;
  }
  
  table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 14pt 0 !important;
  }
  
  th, td {
    border: 1px solid #CBD5E1 !important;
    padding: 6pt 10pt !important;
    text-align: left !important;
  }
  
  th {
    background-color: #F1F5F9 !important;
    font-weight: bold !important;
  }
  
  a {
    text-decoration: none !important;
    color: #000000 !important;
  }
}

/* Mobile Responsive */
@media (max-width: 1020px) {
  .hero-grid, .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr !important;
  }
  
  .grid-3, .grid-4, .school-steps-grid, .screenshots-grid, .parent-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .values-banner {
    flex-direction: column;
    text-align: center;
  }
}
