/* ========================================
   DIGITAL CLASSROOM - Design System
   ======================================== */

/* CSS Variables */
:root {
  /* Colors - Light Theme */
  --color-bg: #ffffff;
  --color-bg-elevated: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-hover: #f1f5f9;
  
  --color-border: #e2e8f0;
  --color-border-subtle: #f1f5f9;
  
  --color-text: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  
  /* Brand Colors - Green hues */
  --color-primary: #10b981;
  --color-primary-light: #34d399;
  --color-primary-dark: #059669;
  
  /* Tool Colors - Matching app theme colors */
  --color-emerald: #10b981;
  --color-emerald-light: #34d399;
  --color-emerald-dark: #059669;
  
  --color-cyan: #0891b2;
  --color-cyan-light: #06b6d4;
  --color-cyan-dark: #0e7490;
  
  --color-teal: #0d9488;
  --color-teal-light: #14b8a6;
  --color-teal-dark: #0f766e;
  --color-teal-lighter: #f0fdfa;
  --color-teal-light-bg: #ccfbf1;
  
  --color-indigo: #6366f1;
  --color-indigo-light: #818cf8;
  --color-indigo-dark: #4f46e5;
  
  --color-rose: #e11d48;
  --color-rose-light: #f43f5e;
  --color-rose-dark: #be123c;
  
  --color-purple: #7c3aed;
  --color-purple-light: #a78bfa;
  --color-purple-dark: #6d28d9;
  
  /* Typography */
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon.small {
  width: 32px;
  height: 32px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn.primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
}

.btn.primary:hover {
  background: var(--color-primary-light);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--color-bg-card);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn.secondary:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-text-muted);
}

.btn.emerald {
  background: var(--color-emerald);
}

.btn.emerald:hover {
  background: var(--color-emerald-light);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.4);
}

.btn.cyan {
  background: var(--color-cyan);
}

.btn.cyan:hover {
  background: var(--color-cyan-light);
  box-shadow: 0 0 24px rgba(8, 145, 178, 0.4);
}

.btn.teal {
  background: var(--color-teal);
}

.btn.teal:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  transform: translateY(-2px);
}

.btn.indigo {
  background: var(--color-indigo);
}

.btn.indigo:hover {
  background: var(--color-indigo-light);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.4);
}

.btn.purple {
  background: var(--color-purple);
  color: white;
}

.btn.purple:hover {
  background: var(--color-purple-light);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.4);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  padding: calc(var(--space-4xl) + 60px) 0 var(--space-4xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero-gradient {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  filter: blur(60px);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-xl);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-tags span {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* ========================================
   TOOLS SECTION
   ======================================== */
.tools-section {
  padding: var(--space-4xl) 0;
}

.section {
  padding: var(--space-4xl) 0;
}

.section-elevated {
  background: var(--color-bg-elevated);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: var(--space-md) auto 0;
  line-height: 1.6;
}

.section-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.google-scripts-section .section-tag {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

/* Problem Validation Section */
.problem-list {
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  display: grid;
  gap: var(--space-md);
}

.problem-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 16px;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.problem-item:hover {
  border-color: var(--color-primary);
  background: rgba(16, 185, 129, 0.02);
  transform: translateX(4px);
}

.problem-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.problem-resolution {
  max-width: 700px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--color-text);
  line-height: 1.7;
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
}

/* Lesson Flow Section */
.lesson-flow {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 900px) {
  .lesson-flow {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.lesson-step {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.lesson-step:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.lesson-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.lesson-step-icon svg {
  width: 28px;
  height: 28px;
}

.lesson-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.lesson-step p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Free Content Section */
.free-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.free-content p {
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.free-content p:last-child {
  margin-bottom: 0;
}

/* Department Content Section */
.department-content {
  max-width: 800px;
  margin: var(--space-3xl) auto 0;
}

.department-card {
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
}

.department-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.department-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-md);
}

.department-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.department-features li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.support-card {
  padding: var(--space-2xl);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.support-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.support-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-size: 16px;
}

.support-note {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* Tool Card */
.tool-card {
  position: relative;
  display: block;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.tool-card:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.tool-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  transition: opacity var(--transition-normal);
}

.tool-card:hover .tool-card-bg {
  opacity: 0.25;
}

.tool-card.emerald .tool-card-bg { background: var(--color-emerald); }
.tool-card.cyan .tool-card-bg { background: var(--color-cyan); }
.tool-card.teal .tool-card-bg { background: var(--color-teal); }
.tool-card.indigo .tool-card-bg { background: var(--color-indigo); }
.tool-card.rose .tool-card-bg { background: var(--color-rose); }
.tool-card.purple .tool-card-bg { background: var(--color-purple); }

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.tool-icon svg {
  width: 28px;
  height: 28px;
}

.tool-card.emerald .tool-icon { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }
.tool-card.cyan .tool-icon { background: rgba(8, 145, 178, 0.15); color: var(--color-cyan); }
.tool-card.teal .tool-icon { background: rgba(13, 148, 136, 0.15); color: var(--color-teal); }
.tool-card.indigo .tool-icon { background: rgba(99, 102, 241, 0.15); color: var(--color-indigo); }
.tool-card.rose .tool-icon { background: rgba(225, 29, 72, 0.15); color: var(--color-rose); }
.tool-card.purple .tool-icon { background: rgba(124, 58, 237, 0.15); color: var(--color-purple); }

.tool-content {
  position: relative;
  z-index: 1;
}

.tool-content h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.tool-content > p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.tool-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.tool-features li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: var(--space-md);
  position: relative;
}

.tool-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.tool-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
}

.tool-card.emerald .tool-price { color: var(--color-emerald-dark); }
.tool-card.cyan .tool-price { color: var(--color-cyan-dark); }
.tool-card.teal .tool-price { color: var(--color-teal-dark); }
.tool-card.indigo .tool-price { color: var(--color-indigo-dark); }
.tool-card.rose .tool-price { color: var(--color-rose-dark); }
.tool-card.purple .tool-price { color: var(--color-purple-dark); }

/* Subject Badge */
.subject-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
}

.subject-badge svg {
  width: 12px;
  height: 12px;
}

/* Offline Badge */
.offline-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
}

.offline-badge svg {
  width: 12px;
  height: 12px;
}

/* Firebase Badge */
.firebase-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
}

.firebase-badge svg {
  width: 12px;
  height: 12px;
}

/* Coming Soon Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 168, 83, 0.15));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.modal p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.tool-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.tool-card:hover .tool-cta {
  color: var(--color-text);
}

/* App-specific CTA colors on hover */
.tool-card.emerald:hover .tool-cta {
  color: var(--color-emerald);
}

.tool-card.cyan:hover .tool-cta {
  color: var(--color-cyan);
}

.tool-card.teal:hover .tool-cta {
  color: var(--color-teal);
}

.tool-card.indigo:hover .tool-cta {
  color: var(--color-indigo);
}

.tool-card.rose:hover .tool-cta {
  color: var(--color-rose);
}

.tool-card.purple:hover .tool-cta {
  color: var(--color-purple);
}

/* Bundle Card */
.bundle-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(52, 168, 83, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 768px) {
  .bundle-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.bundle-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.bundle-content h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.bundle-content p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 400px;
}

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .bundle-price {
    justify-content: center;
  }
}

.bundle-original {
  font-size: 18px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.bundle-sale {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
}

.bundle-btn {
  padding: var(--space-md) var(--space-xl);
}

.bundle-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.bundle-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.bundle-feature svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ========================================
   RESOURCES SECTION
   ======================================== */
.resources-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-elevated);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.resource-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
}

.resource-card:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.resource-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-primary);
}

.resource-icon svg {
  width: 24px;
  height: 24px;
}

.resource-badges {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.resource-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resource-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.resource-content > p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.resource-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.resource-features li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: var(--space-md);
  position: relative;
  margin-bottom: var(--space-xs);
}

.resource-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.resource-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-subtle);
}

.resource-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.btn-resource {
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.resources-cta {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-text-secondary);
  font-size: 14px;
}

@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .resource-footer {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-resource {
    width: 100%;
  }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.feature:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.feature:hover .feature-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
  border-color: var(--color-primary);
  transform: scale(1.05);
}

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

.feature h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.feature p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.about-content p {
  font-size: 17px;
}

.about-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.about-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 168, 83, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.about-icon svg {
  width: 32px;
  height: 32px;
}

.about-content h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.about-content p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  padding: var(--space-4xl) 0;
  text-align: center;
  background: var(--color-bg-elevated);
}

.contact-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.contact-section p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: var(--space-xl);
  }
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  max-width: 250px;
}

.footer-links {
  display: flex;
  gap: var(--space-2xl);
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link-group strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.footer-link-group a {
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-link-group a:hover {
  color: var(--color-text);
}

@media (max-width: 600px) {
  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
  }
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ========================================
   PRODUCT PAGE STYLES
   ======================================== */
.product-hero {
  padding: calc(var(--space-4xl) + 60px) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.product-hero-gradient {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.product-hero.emerald .product-hero-gradient { background: var(--color-emerald); }
.product-hero.cyan .product-hero-gradient { background: var(--color-cyan); }
.product-hero.teal .product-hero-gradient { background: var(--color-teal); }
.product-hero.indigo .product-hero-gradient { background: var(--color-indigo); }
.product-hero.rose .product-hero-gradient { background: var(--color-rose); }
.product-hero.purple .product-hero-gradient { background: var(--color-purple); }

.product-hero-content {
  max-width: 700px;
}

.product-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.product-breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.product-breadcrumb a:hover {
  color: var(--color-text);
}

.product-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.product-icon svg {
  width: 40px;
  height: 40px;
}

.product-hero.emerald .product-icon { background: var(--color-emerald); color: white; }
.product-hero.cyan .product-icon { background: var(--color-cyan); color: white; }
.product-hero.teal .product-icon { background: var(--color-teal); color: white; }
.product-hero.indigo .product-icon { background: var(--color-indigo); color: white; }
.product-hero.rose .product-icon { background: var(--color-rose); color: white; }
.product-hero.purple .product-icon { background: var(--color-purple); color: white; }

.product-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.product-hero .hero-sub {
  text-align: left;
  margin: 0 0 var(--space-xl);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
}

.product-hero.emerald .product-price { color: var(--color-emerald-dark); }
.product-hero.cyan .product-price { color: var(--color-cyan-dark); }
.product-hero.teal .product-price { color: var(--color-teal-dark); }
.product-hero.indigo .product-price { color: var(--color-indigo-dark); }
.product-hero.rose .product-price { color: var(--color-rose-dark); }
.product-hero.purple .product-price { color: var(--color-purple-dark); }

.product-license {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Product Sections */
.product-section {
  padding: var(--space-3xl) 0;
}

.product-section.alt {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.product-section-header {
  margin-bottom: var(--space-2xl);
}

.product-section-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.product-section-header p {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* Feature List */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.feature-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

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

.emerald .feature-item-icon { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }
.cyan .feature-item-icon { background: rgba(8, 145, 178, 0.15); color: var(--color-cyan); }
.teal .feature-item-icon { background: rgba(13, 148, 136, 0.15); color: var(--color-teal); }
.indigo .feature-item-icon { background: rgba(99, 102, 241, 0.15); color: var(--color-indigo); }
.purple .feature-item-icon { background: rgba(124, 58, 237, 0.15); color: var(--color-purple); }

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== Whiteboard Activity Grid (matches app visual design) ===== */
.whiteboard-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: var(--space-2xl);
}

@media (max-width: 1024px) {
  .whiteboard-activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .whiteboard-activity-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .whiteboard-activity-icon {
    height: 100px;
    margin: 10px 10px 0;
  }

  .whiteboard-activity-icon svg {
    max-width: 100px;
  }

  .whiteboard-activity-content {
    padding: 12px 16px 16px;
  }

  .whiteboard-activity-name {
    font-size: 16px;
  }

  .whiteboard-activity-description {
    font-size: 13px;
  }
}

.whiteboard-activity-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 0;
}

.whiteboard-activity-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.whiteboard-activity-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 12px 0;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease;
}

.whiteboard-activity-card:hover .whiteboard-activity-icon {
  transform: scale(1.02);
}

.whiteboard-activity-icon svg {
  width: 100%;
  height: 100%;
  max-width: 120px;
  object-fit: contain;
}

.whiteboard-activity-content {
  padding: 16px 20px 20px;
}

.whiteboard-activity-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-bg-elevated);
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.whiteboard-activity-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 6px;
}

.whiteboard-activity-description {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Activity color themes (matches app) */
.whiteboard-activity-icon.wordcloud {
  background: linear-gradient(135deg, #ffb74d 0%, #E67E22 100%);
}

.whiteboard-activity-icon.multiplechoice {
  background: linear-gradient(135deg, #64b5f6 0%, #1a73e8 100%);
}

.whiteboard-activity-icon.anagram,
.whiteboard-activity-icon.wordsearch,
.whiteboard-activity-icon.crossword {
  background: linear-gradient(135deg, #ce93d8 0%, #9c27b0 100%);
}

.whiteboard-activity-icon.exam {
  background: linear-gradient(135deg, #80cbc4 0%, #00796b 100%);
}

.whiteboard-activity-icon.quizround {
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
}

/* ===== Classroom Whiteboard Example Mockup ===== */
.cw-example-mockup {
  font-family: var(--font-display);
  background: var(--color-bg-elevated);
  min-height: 100%;
  padding: 20px 24px;
}

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

.cw-example-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.cw-example-room-badge {
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary-dark);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

.cw-example-activity {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.cw-example-activity-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cw-example-activity-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cw-example-activity-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 2px;
}

.cw-example-activity-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
}

.cw-example-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.cw-example-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: white;
  color: var(--color-text-muted);
}

.cw-example-btn {
  padding: 12px 20px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

.cw-example-wordcloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: var(--color-bg-elevated);
  border-radius: 12px;
  min-height: 120px;
}

.cw-example-word {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  background: rgba(230, 124, 34, 0.15);
  color: #c2410c;
}

.cw-example-word-sm { font-size: 11px; padding: 4px 10px; }
.cw-example-word-md { font-size: 13px; padding: 6px 12px; }
.cw-example-word-lg { font-size: 15px; padding: 8px 16px; }
.cw-example-word-xl { font-size: 17px; padding: 10px 18px; background: rgba(230, 124, 34, 0.22); }

.cw-example-hint {
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 14px 0 0;
  text-align: center;
}

/* Steps List */
.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .steps-list {
    grid-template-columns: 1fr;
  }
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.emerald .step-number { background: var(--color-emerald); color: white; }
.cyan .step-number { background: var(--color-cyan); color: white; }
.teal .step-number { background: var(--color-teal); color: white; }
.indigo .step-number { background: var(--color-indigo); color: white; }
.purple .step-number { background: var(--color-purple); color: white; }

.step-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cta-card {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.cta-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cta-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.cta-price {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.emerald .cta-price { color: var(--color-emerald-dark); }
.cyan .cta-price { color: var(--color-cyan-dark); }
.teal .cta-price { color: var(--color-teal-dark); }
.indigo .cta-price { color: var(--color-indigo-dark); }
.purple .cta-price { color: var(--color-purple-dark); }

.cta-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

/* Product CTA */
.product-cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: var(--color-bg-elevated);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cta-content > p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* Resource Images Section */
.resource-images-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-elevated);
}

.resource-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.resource-image-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.resource-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.resource-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 aspect ratio */
  background: var(--color-bg-hover);
  overflow: hidden;
}

.resource-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.resource-image-card:hover .resource-image {
  transform: scale(1.05);
}

.resource-image-caption {
  padding: var(--space-md);
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  border-top: 1px solid var(--color-border-subtle);
}

/* Resource Description */
.resource-description {
  max-width: 800px;
  margin: 0 auto;
}

.resource-description-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.resource-description-content h3:first-child {
  margin-top: 0;
}

.resource-description-content > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.resource-includes {
  list-style: none;
  margin: var(--space-lg) 0;
  padding: 0;
}

.resource-includes li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text);
}

.resource-includes li svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.resource-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.resource-spec-item {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.resource-spec-item strong {
  color: var(--color-text);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-xs);
}

@media (max-width: 968px) {
  .resource-images-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .resource-specs {
    grid-template-columns: 1fr;
  }
}

/* Use Cases */
.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .use-cases {
    grid-template-columns: 1fr;
  }
}

.use-case {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.use-case h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.use-case p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--color-text);
}

.back-link svg {
  width: 18px;
  height: 18px;
}

/* App-specific back link colors */
.emerald .back-link:hover { color: var(--color-emerald); }
.cyan .back-link:hover { color: var(--color-cyan); }
.teal .back-link:hover { color: var(--color-teal); }
.indigo .back-link:hover { color: var(--color-indigo); }
.purple .back-link:hover { color: var(--color-purple); }

/* Mobile Menu */
@media (max-width: 600px) {
  .nav {
    gap: var(--space-md);
  }
  
  .nav-link {
    font-size: 13px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-sub {
    font-size: 16px;
  }
}

/* ========================================
   APP PREVIEW MOCKUPS
   ======================================== */
.preview-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  overflow: hidden;
}

.preview-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.preview-text {
  flex: 1;
  min-width: 300px;
}

.preview-text h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.preview-text p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* Screenshot grid – 3 images per app */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
  width: 100%;
  max-width: 900px;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

@media (max-width: 700px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Device Frame */
.preview-device {
  flex: 1.5;
  position: relative;
}

.device-frame {
  position: relative;
  background: #e8eaed;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.08),
    0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.device-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
}

.device-dots {
  display: flex;
  gap: 6px;
}

.device-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dadce0;
}

.device-dots span:nth-child(1) { background: #ff5f57; }
.device-dots span:nth-child(2) { background: #febc2e; }
.device-dots span:nth-child(3) { background: #28c840; }

.device-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #5f6368;
  font-family: var(--font-mono);
}

.device-screen {
  border-radius: 12px;
  overflow: hidden;
  background: white;
  min-height: 600px;
  height: 600px;
  display: flex;
  flex-direction: column;
}

.device-screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
}

.device-screen #preview-split {
  height: 100%;
  display: flex;
}

/* Preview Tabs */
.preview-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.preview-tab {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preview-tab:hover {
  border-color: var(--color-text-muted);
}

.preview-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.emerald .preview-tab.active { background: var(--color-emerald); border-color: var(--color-emerald); color: white; }
.cyan .preview-tab.active { background: var(--color-cyan); border-color: var(--color-cyan); color: white; }
.teal .preview-tab.active { background: var(--color-teal); border-color: var(--color-teal); color: white; }
.indigo .preview-tab.active { background: var(--color-indigo); border-color: var(--color-indigo); color: white; }
.purple .preview-tab.active { background: var(--color-purple); border-color: var(--color-purple); color: white; }

.preview-screen {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.preview-screen.active {
  display: flex;
  flex-direction: column;
}

/* ========================================
   LESSON PLANNER MOCKUP
   ======================================== */
.lp-mockup {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  flex: 1;
  min-height: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* LP Welcome Screen (matches app) */
.lp-welcome-mockup {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  flex: 1;
  min-height: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.lp-welcome-icon {
  width: 64px;
  height: 64px;
  background: #d1fae5;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin-bottom: 20px;
}

.lp-welcome-icon svg {
  width: 32px;
  height: 32px;
}

.lp-welcome-title {
  font-size: 24px;
  font-weight: 500;
  color: #1f2937;
  margin: 0 0 6px;
}

.lp-welcome-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 24px;
}

.lp-welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.lp-welcome-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 16px;
  cursor: default;
}

.lp-welcome-btn svg {
  width: 18px;
  height: 18px;
}

.lp-welcome-btn-new {
  background: #10b981;
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.lp-welcome-btn-continue {
  background: white;
  color: #1f2937;
  border: 2px solid #e5e7eb;
}

.lp-welcome-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 12px;
}

.lp-welcome-divider::before,
.lp-welcome-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.lp-welcome-storage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 11px;
  color: #9ca3af;
}

.lp-welcome-storage svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.lp-welcome-back {
  position: absolute;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}

.lp-welcome-back svg {
  width: 16px;
  height: 16px;
}

/* LP Brain / Reflection Panel (matches app) */
.lp-brain-mockup {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  flex: 1;
  min-height: 0;
  padding: 20px;
  overflow-y: auto;
}

.lp-brain-header {
  margin-bottom: 20px;
}

.lp-brain-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 2px;
}

.lp-brain-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.lp-brain-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-brain-section-title {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
}

.lp-brain-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-brain-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.lp-brain-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.lp-brain-card-content {
  flex: 1;
  min-width: 0;
}

.lp-brain-card-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.lp-brain-card-text {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.4;
}

.lp-brain-card-text:empty::before {
  content: 'Not yet defined';
  color: #9ca3af;
  font-style: italic;
}

/* LP Preview Tabs */
.lp-preview-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.lp-preview-tab {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  cursor: pointer;
}

.lp-preview-tab:hover {
  border-color: #10b981;
  color: #059669;
}

.lp-preview-tab.active {
  background: #d1fae5;
  border-color: #10b981;
  color: #059669;
}

.lp-mode-toggle {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.lp-toggle {
  display: flex;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.lp-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
}

.lp-toggle-btn.active {
  background: #d1fae5;
  color: #059669;
}

.lp-focus-card {
  max-width: 500px;
  margin: 20px auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  padding: 40px;
  text-align: center;
}

.lp-step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.lp-question {
  font-size: 24px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 8px;
}

.lp-hint {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.lp-input {
  width: 100%;
  padding: 14px 18px;
  background: #f9fafb;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
  color: #1f2937;
}

.lp-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.lp-progress-top {
  padding: 16px 0 12px;
}

.lp-textarea {
  resize: none;
  min-height: 80px;
  text-align: left;
}

.lp-focus-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.lp-btn-continue {
  padding: 12px 28px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

.lp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
}

.lp-dot.active {
  background: #10b981;
  box-shadow: 0 0 0 4px #d1fae5;
  transform: scale(1.2);
}

.lp-dot.complete {
  background: #10b981;
}

/* ========================================
   LESSON TRACKER MOCKUP
   ======================================== */
.lt-mockup {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  display: flex;
  min-height: 400px;
}

.lt-panel {
  background: white;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.lt-panel-left {
  width: 200px;
}

.lt-panel-middle {
  width: 220px;
}

.lt-panel-right {
  flex: 1;
}

.lt-panel-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
}

.lt-class-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.lt-class-item.active {
  background: #ecfeff;
  border-left-color: #0891b2;
}

.lt-class-icon {
  width: 28px;
  height: 28px;
  background: #cffafe;
  color: #0891b2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.lt-class-name {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
}

.lt-section-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
}

.lt-section-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.lt-section-icon.complete { background: #d1fae5; color: #10b981; }
.lt-section-icon.partial { background: #fef3c7; color: #f59e0b; }
.lt-section-icon.pending { background: #f3f4f6; color: #9ca3af; }

.lt-section-name {
  font-size: 13px;
  color: #1f2937;
}

.lt-note-card {
  margin: 12px 16px;
  padding: 14px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.lt-note-time {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 6px;
}

.lt-note-tag {
  display: inline-block;
  padding: 3px 8px;
  background: #ecfeff;
  color: #0e7490;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}

.lt-note-text {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.5;
}

.lt-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  border: 2px solid;
}

.lt-status-btn.on-track {
  background: #d1fae5;
  border-color: #10b981;
  color: #10b981;
}

.lt-add-class-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cffafe;
  color: #0891b2;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: default;
}

.lt-panel-footer {
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
}

.lt-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}

/* ========================================
   SCHEME OF LEARNING MOCKUP
   ======================================== */
.sol-mockup {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  min-height: 400px;
  padding: 24px;
}

.sol-timeline-header {
  font-size: 14px;
  font-weight: 600;
  color: #0d9488;
  text-align: center;
  padding-top: 8px;
}

.sol-timeline-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 20px 0;
  justify-content: center;
}

.sol-lesson-card {
  flex-shrink: 0;
  width: 120px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.sol-lesson-card.has-content {
  border-color: #0d9488;
  background: #f0fdfa;
}

.sol-lesson-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin: 0 auto 10px;
}

.sol-lesson-label {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.sol-lesson-title {
  font-size: 12px;
  font-weight: 500;
  color: #1f2937;
  min-height: 32px;
}

.sol-connector {
  width: 32px;
  height: 3px;
  background: #e5e7eb;
  flex-shrink: 0;
  position: relative;
}

.sol-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: #e5e7eb;
}

.sol-end-goal {
  flex-shrink: 0;
  width: 140px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  color: white;
}

.sol-end-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 18px;
}

.sol-end-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.sol-end-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 6px;
}

.sol-end-text {
  font-size: 12px;
  font-weight: 500;
}

.sol-topic-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.sol-topic-dot {
  width: 6px;
  height: 6px;
  background: #8b5cf6;
  border-radius: 50%;
}

/* ========================================
   WORKSHOP PASSPORT MOCKUP
   ======================================== */
.wp-mockup {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #3d2e22, #1a1410);
  min-height: 400px;
  padding: 20px;
}

.wp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-bottom: 20px;
}

.wp-logo {
  width: 40px;
  height: 40px;
  background: #34a853;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.wp-student-name {
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.wp-student-class {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.wp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.wp-stat {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.wp-stat-number {
  font-size: 24px;
  font-weight: 500;
  color: white;
}

.wp-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.wp-pin {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wp-pin.locked {
  opacity: 0.4;
  filter: grayscale(1);
}

.wp-pin.supervised .wp-pin-icon {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}

.wp-pin.independent .wp-pin-icon {
  background: linear-gradient(135deg, #34d399, #059669);
}

.wp-pin-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  background: #374151;
}

.wp-pin-name {
  font-size: 10px;
  font-weight: 500;
  color: white;
  margin-bottom: 4px;
}

.wp-pin-status {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.wp-pin.locked .wp-pin-status { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }
.wp-pin.supervised .wp-pin-status { background: rgba(217,119,6,0.2); color: #fcd34d; }
.wp-pin.independent .wp-pin-status { background: rgba(5,150,105,0.2); color: #6ee7b7; }

/* ========================================
   CLASS WHITEBOARD MOCKUP
   ======================================== */
.cw-mockup {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8f9fa;
  min-height: 400px;
}

.cw-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: white;
  border-bottom: 1px solid #e8eaed;
}

.cw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #202124;
}

.cw-logo-icon {
  width: 32px;
  height: 26px;
}

.cw-room-badge {
  padding: 6px 16px;
  background: #e6f4ea;
  color: #34a853;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.cw-activities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
}

.cw-activity-card {
  background: white;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}

.cw-activity-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.cw-activity-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.cw-activity-icon.wordcloud { background: linear-gradient(135deg, #ffb74d, #E67E22); }
.cw-activity-icon.multiplechoice { background: linear-gradient(135deg, #64b5f6, #1a73e8); }
.cw-activity-icon.anagram { background: linear-gradient(135deg, #ce93d8, #9c27b0); }
.cw-activity-icon.exam { background: linear-gradient(135deg, #80cbc4, #00796b); }

.cw-activity-content {
  padding: 14px 16px;
}

.cw-activity-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  color: #5f6368;
  background: #f1f3f4;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cw-activity-name {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 2px;
}

.cw-activity-desc {
  font-size: 11px;
  color: #5f6368;
}

/* ========================================
   RESPONSIVE MOCKUPS
   ======================================== */
@media (max-width: 700px) {
  .device-frame {
    padding: 8px;
    border-radius: 16px;
  }
  
  .device-screen {
    min-height: 320px;
    border-radius: 10px;
  }
  
  .lt-mockup {
    flex-direction: column;
  }
  
  .lt-panel-left,
  .lt-panel-middle {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .sol-timeline-wrap {
    justify-content: flex-start;
  }
  
  .wp-pins-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cw-activities {
    grid-template-columns: 1fr;
  }
}

/* Support Popup */
.support-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  max-width: 360px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  display: block;
  visibility: visible;
}

.support-popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.support-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.support-popup-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.support-popup-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
  margin-top: -4px;
  margin-right: -4px;
}

.support-popup-close:hover {
  background: var(--color-bg-hover);
  color: var(--color-text);
}

.support-popup-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.support-popup-content p {
  margin: 0 0 12px 0;
}

.support-popup-content p:last-child {
  margin-bottom: 0;
}

.support-popup-button {
  width: 100%;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.support-popup-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
  .support-popup {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}
