/* ============================================================================
   CSS Variables & Design System
   ============================================================================ */
:root {
  /* Base Design System */
  --font-size: 14px;
  --background: #ffffff;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --primary: #030213;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --border: rgba(0, 0, 0, 0.1);
  --input-background: #f3f3f5;
  --radius: 0.625rem;
  
  /* Logikbug Brand Colors */
  --logik-green: #56B14B;
  --logik-green-hover: #4a9640;
  --logik-green-light: rgba(86, 177, 75, 0.1);
  --logik-yellow: #FFD700;
  --logik-yellow-dark: #B8860B;
  --logik-yellow-light: rgba(255, 215, 0, 0.1);
}

/* ============================================================================
   Base Styles & Reset
   ============================================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================================================
   Typography
   ============================================================================ */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ============================================================================
   Header & Navigation
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  border-right: 2px solid rgba(86, 177, 75, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 2.5rem;
  height: 2.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

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

.nav-link {
  text-decoration: none;
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* ============================================================================
   Hero Section
   ============================================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--logik-green-light), var(--logik-yellow-light), var(--background));
  padding: 5rem 1rem;
  overflow: hidden;
}

.grid-background {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.grid-pattern {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  height: 100%;
}

.grid-pattern::before {
  content: '';
  border: 1px solid var(--logik-green);
  grid-column: span 12;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  background: var(--logik-yellow-light);
  color: var(--logik-yellow-dark);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 9999px;
  font-weight: 500;
}

.star-icon {
  width: 1rem;
  height: 1rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-highlight {
  color: var(--logik-green);
}

.hero-subtitle {
  max-width: 64rem;
  margin: 0 auto 2rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--muted-foreground);
}

.hero-description {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--logik-green);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--logik-green-hover);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: transparent;
  color: var(--logik-green);
  border: 2px solid var(--logik-green);
}

.btn-secondary:hover {
  background: rgba(86, 177, 75, 0.05);
}

.btn-outline {
  background: transparent;
  color: var(--muted-foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--logik-green);
  color: var(--foreground);
}

.btn-outline-sm {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================================================
   Feature Cards
   ============================================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.2s ease;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-card p {
  font-size: 0.875rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 0.75rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Feature Card Variants */
.feature-logic {
  border-color: rgba(86, 177, 75, 0.2);
}

.feature-logic:hover {
  border-color: rgba(86, 177, 75, 0.4);
}

.feature-logic .feature-icon {
  background: var(--logik-green-light);
  color: var(--logik-green);
}

.feature-ai {
  border-color: rgba(255, 215, 0, 0.3);
}

.feature-ai:hover {
  border-color: rgba(255, 215, 0, 0.5);
}

.feature-ai .feature-icon {
  background: var(--logik-yellow-light);
  color: var(--logik-yellow-dark);
}

.feature-safe {
  border-color: var(--border);
}

.feature-safe:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.feature-safe .feature-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

/* Promptucation Section */
.promptucation-section {
  padding: 5rem 1rem;
  background: linear-gradient(90deg, var(--logik-green-light), var(--logik-yellow-light));
}

.promptucation-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.promptucation-card {
  background: var(--card);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.quote-mark {
  font-size: 4rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.promptucation-quote {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.quote-highlight {
  color: var(--logik-green);
}

.quote-citation {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-style: normal;
}

.promptucation-description {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--logik-yellow-light);
  border-radius: 1rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.promptucation-description p {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.6;
}

/* ============================================================================
   Common Section Styles
   ============================================================================ */
.section-content {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--foreground);
  text-align: center;
}

.section-subtitle {
  max-width: 48rem;
  margin: 0 auto 4rem;
  font-size: 1.25rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 1rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--card);
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.step-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-1 .step-number {
  background: var(--logik-green-light);
  color: var(--logik-green);
}

.step-2 .step-number {
  background: var(--logik-yellow-light);
  color: var(--logik-yellow-dark);
}

.step-3 .step-number {
  background: rgba(3, 2, 19, 0.1);
  color: var(--primary);
}

.step-card h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.step-card p {
  margin-bottom: 1.5rem;
}

.step-age {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.check-icon {
  width: 1rem;
  height: 1rem;
}

.step-1 .check-icon {
  color: var(--logik-green);
}

.step-2 .check-icon {
  color: var(--logik-yellow-dark);
}

.step-3 .check-icon {
  color: var(--primary);
}

/* Prompt Lab Showcase */
.prompt-lab-showcase {
  padding: 5rem 1rem;
  background: rgba(236, 236, 240, 0.3);
}

.showcase-content {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .showcase-content {
    grid-template-columns: 1fr 1fr;
  }
}

.showcase-text h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.showcase-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.benefit-green {
  background: var(--logik-green-light);
  color: var(--logik-green);
}

.benefit-yellow {
  background: var(--logik-yellow-light);
  color: var(--logik-yellow-dark);
}

.benefit-primary {
  background: rgba(3, 2, 19, 0.1);
  color: var(--primary);
}

.benefit-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.benefit-item h4 {
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  color: var(--muted-foreground);
}

/* Interactive Preview */
.interactive-preview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.preview-content {
  padding: 1.5rem;
}

.ai-chat-bubble {
  background: var(--logik-green-light);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ai-avatar {
  width: 2rem;
  height: 2rem;
}

.ai-header span {
  font-weight: 500;
  color: var(--foreground);
}

.ai-chat-bubble p {
  color: var(--foreground);
  margin: 0;
}

.prompt-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prompt-preview label {
  color: var(--foreground);
  font-weight: 500;
}

.prompt-example {
  padding: 0.75rem;
  background: var(--input-background);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.prompt-example p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

.feedback-positive {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--logik-green);
}

.feedback-positive span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Audience Section */
.audience-section {
  padding: 5rem 1rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.audience-card {
  border-radius: 1rem;
  padding: 2rem;
}

.parents-card {
  background: linear-gradient(135deg, var(--logik-green-light), rgba(86, 177, 75, 0.15));
  border: 1px solid rgba(86, 177, 75, 0.2);
}

.educators-card {
  background: linear-gradient(135deg, var(--logik-yellow-light), rgba(255, 215, 0, 0.15));
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.audience-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.audience-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parents-card .audience-icon {
  background: rgba(86, 177, 75, 0.2);
  color: var(--logik-green);
}

.educators-card .audience-icon {
  background: var(--logik-yellow-light);
  color: var(--logik-yellow-dark);
}

.audience-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.audience-header h3 {
  color: var(--foreground);
}

.audience-card p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.audience-card .benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.audience-card .benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
}

.parents-card .check-icon {
  color: var(--logik-green);
}

.educators-card .check-icon {
  color: var(--logik-yellow-dark);
}

/* About Section */
.about-section {
  padding: 5rem 1rem;
  background: rgba(236, 236, 240, 0.3);
}

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

.about-card {
  background: var(--card);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-main {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about-secondary {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.about-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .about-buttons {
    flex-direction: row;
  }
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 1rem;
}

.footer-content {
  max-width: 1152px;
  margin: 0 auto;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .logo {
  width: 2rem;
  height: 2rem;
}

.footer-logo span {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-section h4 {
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section button,
.footer-section a {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-section button:hover,
.footer-section a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ============================================================================
   Modals
   ============================================================================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 32rem;
  max-height: 90vh;
  margin: 5% auto;
  background-color: var(--card);
  border-radius: 1rem;
  overflow-y: auto;
}

.prompt-lab-modal {
  max-width: 48rem;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.modal-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  border-radius: 0.25rem;
  font-size: 1.5rem;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--muted);
  color: var(--foreground);
}

.modal-body {
  padding: 1.5rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

/* AI Interaction */
.ai-interaction {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--accent);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.ai-character {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.ai-bubble {
  background: var(--card);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 2px solid var(--border);
  position: relative;
}

.ai-bubble::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.75rem;
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-right: 0.5rem solid var(--card);
}

.ai-bubble p {
  color: var(--card-foreground);
  margin: 0;
}

/* Prompt Interaction */
.prompt-interaction {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-description {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.prompt-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--background);
  color: var(--foreground);
}

.prompt-input:focus {
  outline: none;
  border-color: var(--logik-green);
}

.puzzle-feedback {
  font-weight: 500;
  margin-top: 0.75rem;
}

.ai-facts {
  background: var(--logik-green-light);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(86, 177, 75, 0.2);
  margin-top: 0.75rem;
}

.ai-facts div {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.ai-facts div:last-child {
  margin-bottom: 0;
}

/* ============================================================================
   Form Elements
   ============================================================================ */
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--logik-green);
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */
/* Mobile Navigation Styles */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile navigation toggle button */
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    z-index: 1001;
  }
  
  .mobile-nav-toggle:hover {
    background-color: rgba(86, 177, 75, 0.1);
  }
  
  .hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--logik-green);
    transition: all 0.3s ease;
    margin: 2px 0;
  }
  
  .mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Mobile navigation dropdown */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    padding: 0.75rem 2rem;
    border-bottom: none;
    transition: background-color 0.3s ease;
  }
  
  .nav-link:hover {
    background-color: rgba(86, 177, 75, 0.05);
  }
  
  /* Mobile layout - logo centered, hamburger on right */
  .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  
  .logo-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .mobile-nav-toggle {
    margin-left: auto;
  }
}

@media (max-width: 375px) {
  /* Ultra-small screens adjustments */
  .nav-container {
    padding: 0 0.5rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .mobile-nav-toggle {
    width: 32px;
    height: 24px;
  }
  
  .hamburger-line {
    width: 20px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 3rem 1rem;
  }
  
  .promptucation-section,
  .how-it-works-section,
  .prompt-lab-showcase,
  .audience-section,
  .about-section {
    padding: 3rem 1rem;
  }
  
  .promptucation-card,
  .about-card {
    padding: 2rem 1rem;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   Animations
   ============================================================================ */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

.typing-animation {
  overflow: hidden;
  white-space: nowrap;
  animation: typing 2s steps(40, end);
}