/* ============================================================
   Professor Turtle Blog — Shared Styles
   Color palette: emerald-600 #059669, emerald-500 #10b981, emerald-400 #34d399
   ============================================================ */

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

/* ---------- Theme Variables ---------- */
:root {
  --bg-primary: #020617;
  --bg-secondary: rgba(15, 23, 42, 0.8);
  --bg-tertiary: rgba(15, 23, 42, 0.6);
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-highlight: rgba(16, 185, 129, 0.06);
  --bg-error: rgba(239, 68, 68, 0.06);
  --bg-input: #0f172a;
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-card: rgba(148, 163, 184, 0.15);
  --border-input: rgba(148, 163, 184, 0.2);
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #34d399;
  --error: #ef4444;
  --error-text: #fca5a5;
  --warning: #facc15;
  --nav-bg: rgba(15, 23, 42, 0.95);
  --nav-border: rgba(148, 163, 184, 0.1);
  --hero-bg: linear-gradient(180deg, #020617 0%, rgba(5, 150, 105, 0.08) 100%);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-highlight: rgba(16, 185, 129, 0.06);
  --bg-error: rgba(239, 68, 68, 0.04);
  --bg-input: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --border-subtle: rgba(148, 163, 184, 0.15);
  --border-card: rgba(148, 163, 184, 0.2);
  --border-input: rgba(148, 163, 184, 0.25);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-border: rgba(148, 163, 184, 0.15);
  --hero-bg: linear-gradient(180deg, #f8fafc 0%, rgba(16, 185, 129, 0.06) 100%);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #6ee7b7;
}
body.light-mode a {
  color: #059669;
}
body.light-mode a:hover {
  color: #10b981;
}

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

/* ---------- Layout ---------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-wrapper {
  flex: 1;
}

/* ---------- Navigation ---------- */
.navbar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #ffffff;
  text-decoration: none;
}
.navbar-brand:hover {
  color: #34d399;
}
.navbar-brand .brand-icon {
  font-size: 1.6rem;
}

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

.nav-links li a {
  display: block;
  padding: 0.45rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #ffffff;
  background: rgba(5, 150, 105, 0.15);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #059669, #06b6d4);
  color: #ffffff !important;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(5, 150, 105, 0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, #10b981, #22d3ee);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(5, 150, 105, 0.15);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

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

.footer-brand p {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-heading {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  color: #64748b;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #34d399;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.85rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.75rem;
  border-radius: 2rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #059669, #06b6d4);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
  border: 2px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.45);
  color: #ffffff;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.1rem;
}

/* ---------- Section ---------- */
.section {
  padding: 4rem 0;
}
.section-title {
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ---------- Cards ---------- */
.card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: rgba(5, 150, 105, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ---------- Grid Helpers ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}
.hero p {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 2rem;
  position: relative;
}
.hero .btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- Gradient text ---------- */
.gradient-text {
  background: linear-gradient(135deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Image placeholder ---------- */
.brand-icon-img {
  width: auto;
  height: 36px;
  vertical-align: middle;
  object-fit: contain;
}
@media (max-width: 700px) {
  .brand-icon-img { height: 30px; }
}

.img-placeholder {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px dashed rgba(5, 150, 105, 0.3);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
  min-height: 180px;
}
.img-placeholder .placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}
.img-placeholder .placeholder-label {
  display: block;
  font-style: italic;
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
}
.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(6, 182, 212, 0.2));
  border: 2px solid rgba(5, 150, 105, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #34d399;
}
.step-content {
  flex: 1;
}
.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.step-content p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1.25rem 0;
}
.faq-item:first-child {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}
.faq-question {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.faq-answer {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ---------- Token badge ---------- */
.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  color: #34d399;
  font-weight: 500;
}

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #34d399;
}
.stat-item .stat-label {
  color: #64748b;
  font-size: 0.9rem;
}

/* ---------- Page header ---------- */
.page-header {
  padding: 3rem 0 2rem;
  text-align: center;
}
.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}
.page-header p {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Page-specific content styles ---------- */
.content-section {
  padding: 2rem 0 3rem;
}
.content-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.content-section h2:first-child {
  margin-top: 0;
}
.content-section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
.content-section p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.content-section .highlight-box {
  background: rgba(5, 150, 105, 0.08);
  border-left: 4px solid #059669;
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.content-section .highlight-box p {
  margin-bottom: 0;
  color: #e2e8f0;
}

/* ---------- Pricing cards ---------- */
.pricing-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.pricing-card.featured {
  border-color: #059669;
  box-shadow: 0 0 30px rgba(5, 150, 105, 0.15);
}
.pricing-card .price {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0.75rem 0;
}
.pricing-card .price-period {
  color: #64748b;
  font-size: 0.9rem;
}
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 1.25rem 0;
}
.pricing-card ul li {
  padding: 0.4rem 0;
  color: #94a3b8;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-card ul li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
}

/* ---------- Contact form ---------- */
.contact-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 1rem;
  padding: 2rem;
}
.contact-card dt {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1rem;
}
.contact-card dt:first-child {
  margin-top: 0;
}
.contact-card dd {
  color: #94a3b8;
  margin: 0.25rem 0 0 0;
  font-size: 0.95rem;
}

/* ---------- Mobile responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    padding: 0.6rem 1rem;
  }
  .nav-cta {
    width: 100%;
    justify-content: center;
  }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.6rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .step { flex-direction: column; }
  .page-header h1 { font-size: 1.8rem; }
  .pricing-card.featured { order: -1; }
}

/* ============================================================
   Step Illustrations (How It Works SVGs)
   ============================================================ */
.step-illustration {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}
.step-illustration svg {
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   Hero Image / Mascot Section
   ============================================================ */
.hero-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}
.hero-mascot {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.3));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-image-text {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #34d399;
  backdrop-filter: blur(4px);
}

/* ============================================================
   Phone Mockup
   ============================================================ */
.phone-mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.phone-frame {
  background: #1e293b;
  border-radius: 2rem;
  padding: 0.6rem;
  border: 2px solid rgba(148,163,184,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  max-width: 280px;
  width: 100%;
}
.phone-screen {
  background: #0f172a;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.1);
}
.phone-header {
  background: linear-gradient(135deg, #059669, #0d9488);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 0.8rem;
  font-family: 'Fredoka', sans-serif;
}
.phone-body {
  padding: 0.7rem;
}
.mock-label {
  font-size: 0.6rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
}
.mock-field {
  font-size: 0.8rem;
  color: #e2e8f0;
  padding: 0.25rem 0.4rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: 0.35rem;
  margin-top: 0.1rem;
}
.mock-gen-btn {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.5rem;
  background: linear-gradient(135deg, #059669, #0d9488);
  border: none;
  border-radius: 0.45rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: 'Fredoka', sans-serif;
  text-align: center;
}
.phone-question {
  padding: 0.7rem;
  border-top: 1px solid rgba(148,163,184,0.1);
}
.mq {
  font-size: 0.72rem;
  color: #e2e8f0;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.mq-input {
  font-size: 0.7rem;
  color: #64748b;
  padding: 0.35rem 0.5rem;
  background: #0f172a;
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: 0.35rem;
}
.mq-submit {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.4rem;
  background: rgba(5,150,105,0.2);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 0.35rem;
  color: #34d399;
  font-weight: 600;
  font-size: 0.7rem;
  font-family: 'Fredoka', sans-serif;
}
.mock-caption {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.6rem;
}

/* ============================================================
   Desktop Mockup (App-like Interface)
   ============================================================ */
.desktop-mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.desktop-frame {
  background: #1e293b;
  border-radius: 0.75rem;
  padding: 0.5rem;
  border: 2px solid rgba(148,163,184,0.15);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  width: 100%;
  max-width: 620px;
}
.desktop-screen {
  background: #0f172a;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.08);
}
.desktop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #059669, #0d9488);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  font-family: 'Fredoka', sans-serif;
}
.dh-user {
  font-size: 0.65rem;
  opacity: 0.85;
  font-weight: 500;
}
.desktop-body {
  display: flex;
  flex-direction: row;
  min-height: 300px;
}

/* Left Panel */
.left-panel {
  width: 38%;
  border-right: 1px solid rgba(148,163,184,0.1);
  padding: 0.7rem;
  background: rgba(15,23,42,0.4);
}
.lp-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148,163,184,0.15);
  padding-bottom: 0.4rem;
  margin-bottom: 0.5rem;
  font-family: 'Fredoka', sans-serif;
}
.lp-label {
  font-size: 0.6rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
}
.lp-select {
  font-size: 0.7rem;
  color: #e2e8f0;
  padding: 0.3rem 0.4rem;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: 0.35rem;
}
.lp-btn {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.4rem;
  background: linear-gradient(135deg, #059669, #0d9488);
  border: none;
  border-radius: 0.4rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  font-family: 'Fredoka', sans-serif;
  text-align: center;
}

/* Right Panel */
.right-panel {
  flex: 1;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rp-header {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148,163,184,0.15);
  padding-bottom: 0.4rem;
  font-family: 'Fredoka', sans-serif;
}
.rp-question-box {
  font-size: 0.7rem;
  color: #e2e8f0;
  padding: 0.45rem 0.5rem;
  background: rgba(30,41,59,0.6);
  border-radius: 0.4rem;
  line-height: 1.45;
}
.rp-qnum {
  display: inline-block;
  background: #facc15;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  margin-right: 0.3rem;
}
.rp-qtext {
  color: #e2e8f0;
}
.rp-q2 {
  opacity: 0.75;
}
.rp-answer-input {
  display: flex;
  gap: 0.3rem;
}
.rp-answer-input input {
  flex: 1;
  font-size: 0.7rem;
  color: #64748b;
  padding: 0.3rem 0.4rem;
  background: #0f172a;
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: 0.35rem;
}
.rp-answer-input button {
  font-size: 0.65rem;
  padding: 0.3rem 0.5rem;
  background: rgba(5,150,105,0.15);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 0.35rem;
  color: #34d399;
  font-weight: 600;
  font-family: 'Fredoka', sans-serif;
}

/* ============================================================
   App-Like Grading UI (matches actual app interface)
   ============================================================ */

/* Student Answer textarea (app-like) */
.rp-student-answer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.rp-sa-label {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rp-sa-text {
  font-size: 0.7rem;
  color: #e2e8f0;
  padding: 0.4rem 0.5rem;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: 0.5rem;
  line-height: 1.5;
}

/* AI Examiner Grade Banner (matches app) */
.rp-grade-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  border-width: 1px;
  border-style: solid;
}
.rp-grade-banner-wrong {
  background: rgba(225,29,72,0.15);
  border-color: rgba(225,29,72,0.25);
  color: #fb7185;
}
.rp-grade-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rp-grade-icon {
  display: flex;
  align-items: center;
}
.rp-grade-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e2e8f0;
}
.rp-score-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: 999px;
  color: #e2e8f0;
}

/* Shared strengths/improvements/model boxes (app-like) */
.rp-box {
  font-size: 0.65rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  line-height: 1.55;
}
.rp-box p {
  color: #e2e8f0;
  margin-top: 0.15rem;
}
.rp-box-title {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rp-box-strengths {
  background: rgba(5,150,105,0.12);
  border: 1px solid rgba(5,150,105,0.2);
}
.rp-box-strengths .rp-box-title {
  color: #34d399;
}
.rp-box-improvements {
  background: rgba(225,29,72,0.1);
  border: 1px solid rgba(225,29,72,0.2);
}
.rp-box-improvements .rp-box-title {
  color: #fb7185;
}
.rp-box-model {
  background: rgba(30,41,59,0.6);
  border: 1px solid rgba(148,163,184,0.1);
}
.rp-box-model .rp-box-title {
  color: #34d399;
}

/* Mobile: stack vertically */
@media (max-width: 750px) {
  .desktop-body {
    flex-direction: column;
  }
  .left-panel {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(148,163,184,0.1);
  }
  .hero-mascot { width: 140px; }
}

/* ============================================================
   Theme Toggle Button
   ============================================================ */
.theme-toggle-btn {
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.5rem;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s;
  color: inherit;
}
.theme-toggle-btn:hover {
  background: rgba(148, 163, 184, 0.1);
}

/* ============================================================
   Light Mode Overrides
   ============================================================ */
body.light-mode .navbar {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
}
body.light-mode .navbar-brand,
body.light-mode .nav-links li a {
  color: var(--text-primary);
}
body.light-mode .nav-links li a:hover {
  color: #059669;
}
body.light-mode .nav-cta {
  color: #fff !important;
}
body.light-mode .hero {
  background: var(--hero-bg);
}
body.light-mode .hero h1 {
  color: var(--text-primary);
}
body.light-mode .hero p {
  color: var(--text-muted);
}
body.light-mode .section {
  background: var(--bg-primary);
}
body.light-mode .section-alt {
  background: #f1f5f9;
}
body.light-mode .section-title,
body.light-mode .page-header h1 {
  color: var(--text-primary);
}
body.light-mode .section-subtitle,
body.light-mode .page-header p {
  color: var(--text-muted);
}
body.light-mode .card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--card-shadow);
}
body.light-mode .card h3 {
  color: var(--text-primary);
}
body.light-mode .card p {
  color: var(--text-muted);
}
body.light-mode .card.card-compact {
  background: var(--bg-card);
}
body.light-mode .pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
}
body.light-mode .pricing-card h3 {
  color: var(--text-primary);
}
body.light-mode .pricing-card li {
  color: var(--text-secondary);
}
body.light-mode .pricing-card.featured {
  border-color: var(--accent);
}
body.light-mode .price {
  color: var(--accent);
}
body.light-mode .price-period {
  color: var(--text-dim);
}
body.light-mode .highlight-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
body.light-mode .highlight-box p {
  color: var(--text-secondary);
}
body.light-mode .stats-row {
  border-color: var(--border-card);
}
body.light-mode .stat-value {
  color: var(--text-primary);
}
body.light-mode .stat-label {
  color: var(--text-muted);
}
body.light-mode .site-footer {
  background: #e2e8f0;
  border-top: 1px solid #cbd5e1;
}
body.light-mode .site-footer p,
body.light-mode .site-footer a,
body.light-mode .footer-bottom span {
  color: #475569;
}
body.light-mode .site-footer a:hover {
  color: #059669;
}
body.light-mode .footer-heading {
  color: #0f172a;
}
body.light-mode .btn-secondary {
  border-color: var(--border-card);
  color: var(--accent-dark);
}
body.light-mode .btn-secondary:hover {
  background: rgba(5, 150, 105, 0.08);
}
body.light-mode .token-badge {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-dark);
}
body.light-mode .step {
  border-left-color: var(--border-card);
}
body.light-mode .step-number {
  background: var(--accent);
  color: #fff;
}
body.light-mode .step-content h3 {
  color: var(--text-primary);
}
body.light-mode .step-content p {
  color: var(--text-secondary);
}
body.light-mode .step-content p a {
  color: var(--accent-dark);
}
body.light-mode .img-placeholder {
  background: #f1f5f9;
  border-color: var(--border-card);
}
body.light-mode .img-placeholder .placeholder-label {
  color: var(--text-dim);
}
body.light-mode .faq-item {
  border-bottom-color: var(--border-subtle);
}
body.light-mode .faq-question {
  color: var(--text-primary);
}
body.light-mode .faq-answer {
  color: var(--text-muted);
}
body.light-mode .content-section {
  background: var(--bg-primary);
}
body.light-mode .content-section h2 {
  color: var(--text-primary);
}
body.light-mode .content-section h3 {
  color: var(--text-primary);
}
body.light-mode .content-section p,
body.light-mode .content-section li {
  color: var(--text-secondary);
}
body.light-mode .content-section .feature-list li {
  color: var(--text-muted);
}

/* Mockup overrides for light mode */
body.light-mode .phone-frame {
  background: #cbd5e1;
  border: 2px solid #94a3b8;
}
body.light-mode .phone-screen {
  background: #fff;
}
body.light-mode .phone-header,
body.light-mode .desktop-header {
  background: linear-gradient(135deg, #059669, #0d9488);
}
body.light-mode .mock-field {
  color: #1e293b;
}
body.light-mode .mock-label {
  color: #64748b;
}
body.light-mode .mock-gen-btn {
  background: linear-gradient(135deg, #059669, #0d9488);
}
body.light-mode .mq {
  color: #1e293b;
}
body.light-mode .mq-input {
  color: #94a3b8;
  background: #f1f5f9;
  border-color: #cbd5e1;
}
body.light-mode .desktop-frame {
  background: #cbd5e1;
  border: 2px solid #94a3b8;
}
body.light-mode .desktop-screen {
  background: #fff;
}
body.light-mode .left-panel {
  background: #f8fafc;
  border-right-color: #e2e8f0;
}
body.light-mode .lp-title {
  color: #0f172a;
  border-bottom-color: #e2e8f0;
}
body.light-mode .lp-label {
  color: #64748b;
}
body.light-mode .lp-select {
  color: #1e293b;
  background: #fff;
  border-color: #e2e8f0;
}
body.light-mode .rp-header {
  color: #0f172a;
  border-bottom-color: #e2e8f0;
}
body.light-mode .rp-question-box {
  background: #f1f5f9;
  color: #1e293b;
}
body.light-mode .rp-qtext {
  color: #1e293b;
}
body.light-mode .rp-score-bar {
  background: #f1f5f9;
  color: #64748b;
}
body.light-mode .rp-answer-box {
  background: #fef2f2;
}
body.light-mode .rp-atext {
  color: #dc2626;
}
body.light-mode .rp-feedback {
  background: #f0fdf4;
  border-left-color: var(--accent);
}
body.light-mode .rp-feedback p {
  color: #475569;
}
body.light-mode .rp-answer-input input {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #94a3b8;
}
body.light-mode .hero-image-wrapper .hero-badge {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border-color: rgba(5, 150, 105, 0.25);
}
body.light-mode .mock-caption {
  color: #94a3b8;
}
body.light-mode .rp-sa-text {
  color: #1e293b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}
body.light-mode .rp-grade-label {
  color: #1e293b;
}
body.light-mode .rp-score-badge {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}
body.light-mode .rp-box p {
  color: #475569;
}
body.light-mode .rp-box-model {
  background: #f1f5f9;
  border-color: #e2e8f0;
}
body.light-mode .rp-box-model .rp-box-title {
  color: #059669;
}
body.light-mode .rp-box-model p {
  color: #475569;
}
body.light-mode .rp-student-answer .rp-sa-label {
  color: #64748b;
}

/* Contact card light mode */
body.light-mode .contact-card {
  background: #ffffff;
  border-color: var(--border-card);
}
body.light-mode .contact-card dt {
  color: var(--text-primary);
}
body.light-mode .contact-card dd {
  color: var(--text-muted);
}

/* Mobile nav light mode */
body.light-mode .nav-toggle {
  color: #475569;
  border-color: rgba(148, 163, 184, 0.4);
}
body.light-mode .nav-links {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(148, 163, 184, 0.2);
}
body.light-mode .nav-links li a {
  color: #1e293b;
}
body.light-mode .nav-links li a:hover,
body.light-mode .nav-links li a.active {
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
}
body.light-mode .btn-primary {
  border: 2px solid #1e3a5f;
  color: #ffffff;
}
