/* VibeClassroom Marketing Design System
   Palette: Grayscale + Warm Pastel Orange / Peach Accent
   Clean, modern, highly legible typography and spacing
*/

:root {
  --bg-primary: #fdfdfc;
  --bg-secondary: #f6f5f3;
  --bg-card: #ffffff;
  --bg-card-subtle: #faf9f6;
  
  --border-light: #eae7e1;
  --border-medium: #d6d1c7;
  --border-dark: #2c2a29;

  --text-primary: #191817;
  --text-secondary: #57534e;
  --text-muted: #8c857b;
  --text-inverse: #ffffff;

  /* Pastel Orange / Apricot accents */
  --accent-pastel: #ffe8d6;
  --accent-pastel-hover: #fed7b2;
  --accent-primary: #e07a5f;
  --accent-deep: #c45d42;
  --accent-subtle-border: #f4cbb2;
  --accent-soft-tag: #fff1e6;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 25px -4px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --max-width: 1160px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* Header & Navigation */
header.site-header {
  border-bottom: 1px solid var(--border-light);
  background: rgba(253, 253, 252, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  background: var(--accent-pastel);
  color: var(--accent-deep);
  border: 1px solid var(--accent-subtle-border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--accent-pastel);
  color: #5c2818;
  border: 1px solid var(--accent-subtle-border);
}

.btn-primary:hover {
  background: var(--accent-pastel-hover);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.btn-dark:hover {
  background: #33312e;
  transform: translateY(-1px);
}

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

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

/* Hero Section */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft-tag);
  border: 1px solid var(--accent-subtle-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
}

.hero h1 span.highlight {
  background: linear-gradient(180deg, transparent 65%, var(--accent-pastel) 65%);
  padding: 0 0.1em;
}

.hero p.lead {
  font-size: 1.22rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Sections General */
section {
  padding: 5rem 1.5rem;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  margin-bottom: 0.6rem;
  display: block;
}

.section-head h2 {
  font-size: 2.2rem;
  letter-spacing: -0.025em;
  font-weight: 750;
  margin-bottom: 0.9rem;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Product Architecture Grid / Key Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-subtle-border);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-pastel);
  border: 1px solid var(--accent-subtle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: #6d2f1c;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Guardrails Spotlight Section */
.guardrails-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .guardrails-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

.guardrail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.guardrail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.guardrail-bullet {
  background: var(--accent-pastel);
  color: var(--accent-deep);
  border-radius: var(--radius-full);
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* Code / Prompt Guardrail Card */
.code-window {
  background: #1e1d1c;
  border-radius: var(--radius-md);
  border: 1px solid #383533;
  color: #f3f3f2;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.code-header {
  background: #2b2826;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #383533;
}

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

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a4542;
}

.code-filename {
  font-size: 0.75rem;
  color: #a8a29e;
}

.code-body {
  padding: 1.25rem 1.4rem;
  line-height: 1.6;
}

.code-comment {
  color: #8c857b;
}

.code-keyword {
  color: #f7a072;
}

.code-val {
  color: #89d185;
}

/* Educational Levels Banner */
.audiences-banner {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.audience-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.audience-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Pricing Page Styles */
.pricing-hero {
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card.featured {
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-card);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-pastel);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-subtle-border);
}

.pricing-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 44px;
}

.pricing-cost {
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-num {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

.addon-notice {
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check-icon {
  color: var(--accent-deep);
  font-weight: 800;
  margin-top: 0.1rem;
}

.pricing-cta {
  width: 100%;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-card-subtle);
}

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

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
  padding: 4rem 1.5rem 3rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}

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

/* Video Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 17, 16, 0.78);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: #000;
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.video-aspect-box {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-aspect-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Screenshot & Product Mockup Windows */
.product-showcase {
  margin: 3rem 0;
}

.screenshot-window {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.browser-bar {
  background: #f3f1ee;
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8d4cc;
}

.browser-address {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  flex-grow: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.browser-tag {
  background: var(--accent-pastel);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* Student Split View Mockup */
.split-workspace-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background: #fafaf8;
}

@media (max-width: 800px) {
  .split-workspace-mockup {
    grid-template-columns: 1fr;
  }
}

.mockup-pane {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mockup-pane-left {
  background: #ffffff;
  border-right: 1px solid var(--border-light);
}

.pane-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-bubble-user {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  border-radius: 12px 12px 3px 12px;
  font-size: 0.88rem;
  margin-left: auto;
  max-width: 85%;
  margin-bottom: 1rem;
}

.chat-bubble-agent {
  background: #fef8f4;
  border: 1px solid var(--accent-subtle-border);
  padding: 0.85rem 1.1rem;
  border-radius: 12px 12px 12px 3px;
  font-size: 0.88rem;
  margin-right: auto;
  max-width: 90%;
  margin-bottom: 1rem;
}

.agent-diff-preview {
  background: #201f1e;
  color: #89d185;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Instructor Dashboard Mockup */
.dash-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.dash-stats-bar {
  display: flex;
  gap: 1.5rem;
}

.dash-stat-pill {
  font-size: 0.82rem;
  background: var(--bg-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.student-table-mockup {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.student-table-mockup th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.student-table-mockup td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f2eee8;
}

.status-online {
  color: #15803d;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.status-online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.spend-meter-bg {
  width: 100px;
  height: 6px;
  background: #e7e4dc;
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.spend-meter-fill {
  height: 100%;
  background: var(--accent-primary);
  border-radius: 3px;
}

/* "Why We Built This" Editorial Prose Styles */
.letter-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.letter-title {
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.letter-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.prose {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2b2826;
}

.prose p {
  margin-bottom: 1.6rem;
}

.prose h3 {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.prose blockquote {
  border-left: 3px solid var(--accent-primary);
  padding: 0.75rem 0 0.75rem 1.4rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--accent-soft-tag);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose ul {
  margin: 1.25rem 0 1.75rem 1.5rem;
}

.prose li {
  margin-bottom: 0.75rem;
}

.signature-box {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.signature-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-pastel);
  border: 1px solid var(--accent-subtle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.signature-info h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.signature-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

