/* ============================================
   PVN AI Handbook - Claymorphism Style
   Based on UI/UX Pro Max Skill
   
   Claymorphism: Soft 3D, chunky, playful, toy-like,
   bubbly, thick borders (3-4px), double shadows,
   rounded (16-24px), pastel colors
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables - Claymorphism Palette */
:root {
  /* Primary Pastel Colors */
  --color-peach: #FDBCB4;
  --color-peach-light: #FED8D3;
  --color-peach-dark: #E99B92;

  --color-blue: #ADD8E6;
  --color-blue-light: #C5E5EF;
  --color-blue-dark: #8CC4D5;

  --color-mint: #98FF98;
  --color-mint-light: #B5FFB5;
  --color-mint-dark: #7AE57A;

  --color-lilac: #E6E6FA;
  --color-lilac-light: #F0F0FF;
  --color-lilac-dark: #D1D1F0;

  --color-yellow: #FFF3B0;
  --color-yellow-light: #FFF8D0;
  --color-yellow-dark: #F0E090;

  --color-coral: #FFB5A7;
  --color-lavender: #C8B6FF;
  --color-sage: #B5E48C;

  /* Background */
  --bg-main: #FFF9F5;
  --bg-card: #FFFFFF;
  --bg-section: #F5F0EB;

  /* Text */
  --text-dark: #3D3D3D;
  --text-body: #5A5A5A;
  --text-muted: #8A8A8A;
  --text-white: #FFFFFF;

  /* Borders - Thick for Claymorphism */
  --border-width: 3px;
  --border-color: rgba(60, 60, 60, 0.15);
  --border-dark: rgba(60, 60, 60, 0.25);

  /* Shadows - Double shadow for 3D clay effect */
  --shadow-clay:
    6px 6px 0px rgba(0, 0, 0, 0.08),
    12px 12px 0px rgba(0, 0, 0, 0.04);
  --shadow-clay-hover:
    8px 8px 0px rgba(0, 0, 0, 0.1),
    16px 16px 0px rgba(0, 0, 0, 0.05);
  --shadow-clay-inner:
    inset 2px 2px 4px rgba(255, 255, 255, 0.8),
    inset -2px -2px 4px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Border Radius - Bubbly */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Typography */
  --font-main: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-soft: 200ms ease-out;
  --transition-normal: 300ms ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-main);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
}

/* ============================================
   Navigation - Clay Style
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: var(--border-width) solid var(--border-color);
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--color-peach);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-clay-inner), 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.nav-logo-icon svg {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition-soft);
}

.nav-link:hover {
  background: var(--color-lilac-light);
  border-color: var(--border-color);
  color: var(--text-dark);
}

.nav-cta {
  padding: 12px 24px;
  background: var(--color-mint);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 15px;
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  transition: all var(--transition-soft);
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* ============================================
   App Container - Tab Layout
   ============================================ */
.app-container {
  display: flex;
  min-height: 100vh;
  padding-top: 68px;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--bg-card);
  border-right: var(--border-width) solid var(--border-color);
  position: fixed;
  top: 68px;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.04);
  z-index: 50;
}

.sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 2px solid var(--border-color);
}

.sidebar-header h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Tab Navigation */
.tab-nav {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-soft);
}

.tab-btn:hover {
  background: var(--color-lilac-light);
  border-color: var(--border-color);
  color: var(--text-dark);
}

.tab-btn.active {
  background: var(--color-peach);
  border-color: var(--border-dark);
  color: var(--text-dark);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.tab-btn.completed {
  position: relative;
}

.tab-btn.completed::after {
  content: '✓';
  position: absolute;
  right: 12px;
  color: var(--color-mint-dark);
  font-weight: 800;
}

.tab-number {
  width: 28px;
  height: 28px;
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Sidebar Footer - Progress */
.sidebar-footer {
  padding: 16px;
  border-top: 2px solid var(--border-color);
  background: var(--bg-section);
}

.progress-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-bar-mini {
  flex: 1;
  height: 8px;
  background: var(--color-lilac-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  overflow: hidden;
}

.progress-fill-mini {
  height: 100%;
  background: var(--color-mint);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

/* Tab Content Area */
.tab-content-area {
  flex: 1;
  margin-left: 260px;
  padding: 32px 40px;
  background: var(--bg-main);
  min-height: calc(100vh - 68px);
  overflow-y: auto;
}

/* Tab Panels */
.tab-panel {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab Header */
.tab-header {
  margin-bottom: 32px;
}

.tab-header h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 12px 0;
}

.tab-header .highlight {
  background: var(--color-peach);
  padding: 0 8px;
  border-radius: var(--radius-sm);
}

/* ============================================
   Intro Hero Section (Tab-based)
   ============================================ */
.intro-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 20px 0 40px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-color);
}

.intro-hero-content h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.intro-hero-content .highlight {
  background: var(--color-peach);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.intro-hero-content .highlight-2 {
  background: var(--color-blue);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.intro-subtitle {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.intro-buttons {
  margin-bottom: 32px;
}

.intro-stats {
  display: flex;
  gap: 24px;
}

.intro-stat {
  text-align: left;
}

.intro-stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.intro-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Intro Illustration */
.intro-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: var(--shadow-clay);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-soft);
}

.illustration-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-clay-hover);
}

.illustration-icon {
  width: 72px;
  height: 72px;
  background: var(--color-blue);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-clay-inner), 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.illustration-icon svg {
  width: 36px;
  height: 36px;
  color: var(--text-dark);
}

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

.framework-tag {
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--border-dark);
  text-align: center;
}

/* Intro Section Headers */
.intro-section {
  text-align: center;
  margin-bottom: 24px;
}

.intro-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-top: 8px;
  color: var(--text-dark);
}

/* Module Overview Grid */
.module-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.module-overview-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all var(--transition-soft);
}

.module-overview-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
}

.module-overview-number {
  width: 44px;
  height: 44px;
  background: var(--color-peach);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-dark);
  flex-shrink: 0;
  box-shadow: var(--shadow-clay-inner);
}

.module-overview-info h4 {
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.module-overview-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Hero Badge in Tab */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-yellow);
  border: var(--border-width) solid var(--border-dark);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  background: var(--color-mint-dark);
  border-radius: 50%;
  border: 2px solid var(--text-dark);
}

/* Responsive for Intro Hero */
@media (max-width: 900px) {
  .intro-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intro-stats {
    justify-content: center;
  }

  .intro-buttons {
    display: flex;
    justify-content: center;
  }

  .module-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Mode Cards (3 Modes: Autonomous/Centaur/Cyborg)
   ============================================ */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.mode-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-soft);
}

.mode-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-clay-hover);
}

.mode-header {
  padding: 20px;
  text-align: center;
  border-bottom: var(--border-width) solid var(--border-dark);
}

.mode-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.mode-header h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.mode-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-dark);
}

.mode-content {
  padding: 20px;
}

.mode-content p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.6;
}

.mode-example,
.mode-warning,
.mode-tip {
  font-size: 13px;
  padding: 12px;
  border-radius: var(--radius-md);
  margin-top: 10px;
  line-height: 1.5;
}

.mode-example {
  background: var(--color-lilac-light);
  border: 2px solid var(--border-color);
}

.mode-warning {
  background: var(--color-yellow);
  border: 2px solid var(--color-yellow-dark);
}

.mode-tip {
  background: var(--color-mint-light);
  border: 2px solid var(--color-mint-dark);
}

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

/* ============================================
   Block Grid (6-Block Prompt Formula)
   ============================================ */
.block-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.block-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.06);
}

.block-number {
  width: 36px;
  height: 36px;
  background: var(--color-lilac-light);
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  flex-shrink: 0;
}

.block-info h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.block-info p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 10px;
  line-height: 1.5;
}

.block-example {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-section);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-style: italic;
}

.required-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #FF6B6B;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
}

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

/* ============================================
   Data Classification Table (4 Levels)
   ============================================ */
.data-classification-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.data-level {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.06);
}

.level-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color);
  background: var(--bg-section);
}

.level-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dark);
  border: 2px solid var(--border-dark);
}

.level-header h4 {
  font-size: 15px;
  margin: 0;
}

.level-content {
  padding: 14px 16px;
}

.level-content p {
  font-size: 14px;
  margin: 0 0 6px 0;
  line-height: 1.5;
}

.level-risk {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}

/* ============================================
   Workflow Steps (5-Step Process)
   ============================================ */
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.06);
  position: relative;
}

.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 32px;
  bottom: -18px;
  width: 3px;
  height: 16px;
  background: var(--color-lilac);
}

.step-number {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--color-lilac), var(--color-blue));
  border: 3px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-dark);
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.step-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ============================================
   Tools Comparison Cards
   ============================================ */
.tools-comparison {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.06);
}

.tool-header {
  padding: 16px;
  text-align: center;
  color: white;
}

.tool-logo {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}

.tool-header h4 {
  font-size: 14px;
  margin: 0;
}

.tool-features {
  list-style: none;
  padding: 16px;
  margin: 0;
}

.tool-features li {
  font-size: 12px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.tool-features li:last-child {
  margin-bottom: 0;
}

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

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

.tab-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--border-color);
}

/* Content Cards for Tab Pages */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.content-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-clay);
}

.content-card.success {
  border-left: 6px solid var(--color-mint-dark);
}

.content-card.danger {
  border-left: 6px solid var(--color-peach-dark);
}

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

.card-header h3 {
  font-size: 17px;
}

.content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-list li {
  padding: 10px 0;
  border-bottom: 2px solid var(--border-color);
  font-size: 15px;
  color: var(--text-body);
}

.content-list li:last-child {
  border-bottom: none;
}

.content-list li::before {
  content: '•';
  margin-right: 10px;
  color: var(--text-muted);
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.tip-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-clay);
  text-align: center;
}

.tip-number {
  width: 40px;
  height: 40px;
  background: var(--color-blue);
  border: var(--border-width) solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 auto 12px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.tip-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.tip-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Example Box */
.example-box {
  background: var(--color-lilac-light);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.example-box h4 {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.example-content {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 14px;
  font-family: monospace;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Checklist Inline */
.checklist-inline {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-clay);
  margin-bottom: 24px;
}

.checklist-inline h4 {
  font-size: 16px;
  margin-bottom: 16px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 2px solid var(--border-color);
}

.check-item:last-child {
  border-bottom: none;
}

.check-box {
  width: 28px;
  height: 28px;
  background: var(--color-mint);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-dark);
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.principle-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-soft);
}

.principle-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-clay-hover);
}

.principle-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.principle-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Laws Grid */
.laws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.law-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.06);
}

.law-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

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

/* ============================================
   Hero Section - Playful Clay
   ============================================ */
.hero {
  min-height: 100vh;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--color-lilac-light) 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-yellow);
  border: var(--border-width) solid var(--border-dark);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  background: var(--color-mint-dark);
  border-radius: 50%;
  border: 2px solid var(--text-dark);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero h1 .highlight {
  background: var(--color-peach);
  padding: 0 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.hero h1 .highlight-2 {
  background: var(--color-blue);
  padding: 0 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Buttons - Chunky Clay Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  text-decoration: none;
  cursor: pointer;
  border: var(--border-width) solid var(--border-dark);
  transition: all var(--transition-soft);
}

.btn-primary {
  background: var(--color-peach);
  color: var(--text-dark);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: var(--color-lilac-light);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Illustration */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow-clay);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: all var(--transition-soft);
}

.illustration-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-clay-hover);
}

.illustration-icon {
  width: 80px;
  height: 80px;
  background: var(--color-blue);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-clay-inner), 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.illustration-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-dark);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 80px 24px;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-lavender);
  border: var(--border-width) solid var(--border-dark);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Feature Cards - Clay Style
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-soft);
  cursor: pointer;
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-clay-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--color-peach);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-clay-inner), 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-dark);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================
   Module Cards - 4D Framework
   ============================================ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-clay);
  transition: all var(--transition-soft);
}

.module-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-clay-hover);
}

.module-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: var(--border-width) solid var(--border-color);
}

.module-number {
  width: 48px;
  height: 48px;
  background: var(--color-peach);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 900;
  box-shadow: var(--shadow-clay-inner), 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.module-title h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.module-title span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.module-content {
  padding: 24px;
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 2px solid var(--border-color);
}

.module-item:last-child {
  border-bottom: none;
}

.module-check {
  width: 24px;
  height: 24px;
  background: var(--color-mint);
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.module-check svg {
  width: 14px;
  height: 14px;
  color: var(--text-dark);
}

.module-item-text {
  font-size: 15px;
  color: var(--text-body);
}

/* ============================================
   Alert Boxes - Clay Style
   ============================================ */
.alert {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: var(--border-width) solid var(--border-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.06);
}

.alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.alert-info {
  background: var(--color-blue-light);
}

.alert-info .alert-icon {
  color: var(--text-dark);
}

.alert-warning {
  background: var(--color-yellow);
}

.alert-warning .alert-icon {
  color: var(--text-dark);
}

.alert-danger {
  background: var(--color-coral);
}

.alert-danger .alert-icon {
  color: var(--text-dark);
}

/* ============================================
   Accordion - Clay Style
   ============================================ */
.accordion {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.06);
}

.accordion-header {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  transition: background var(--transition-soft);
}

.accordion-header:hover {
  background: var(--color-lilac-light);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion.active .accordion-content {
  padding: 0 20px 20px;
  max-height: 400px;
}

.accordion-icon {
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.accordion.active .accordion-icon {
  transform: rotate(180deg);
}

/* ============================================
   Checklist Card - Clay Style
   ============================================ */
.checklist-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-clay);
}

.checklist-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.checklist-header svg {
  color: var(--text-dark);
}

.checklist-header h4 {
  font-size: 18px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 2px solid var(--border-color);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-checkbox {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: var(--color-peach-dark);
}

.checklist-label {
  cursor: pointer;
  font-size: 15px;
  color: var(--text-body);
  font-weight: 500;
}

/* ============================================
   Quiz Section - Clay Style
   ============================================ */
.quiz-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-clay);
}

.quiz-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.quiz-number {
  width: 44px;
  height: 44px;
  background: var(--color-lavender);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-clay-inner), 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.quiz-header h4 {
  font-size: 16px;
  color: var(--text-dark);
}

.quiz-question {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding: 18px;
  background: var(--color-lilac-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  line-height: 1.5;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-main);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-soft);
}

.quiz-option:hover {
  background: var(--color-blue-light);
  border-color: var(--border-dark);
  transform: translateX(4px);
}

.quiz-option.selected {
  background: var(--color-lavender);
  border-color: var(--border-dark);
}

.quiz-option.correct {
  background: var(--color-mint);
  border-color: var(--border-dark);
}

.quiz-option.incorrect {
  background: var(--color-coral);
  border-color: var(--border-dark);
}

.quiz-letter {
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.quiz-text {
  font-size: 15px;
  color: var(--text-body);
  font-weight: 500;
}

.quiz-feedback {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.quiz-feedback.correct {
  background: var(--color-mint);
  color: var(--text-dark);
}

.quiz-feedback.incorrect {
  background: var(--color-coral);
  color: var(--text-dark);
}

/* Results Card */
.results-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-dark);
  border-radius: var(--radius-2xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-clay);
}

.results-score {
  font-size: 72px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1;
}

.results-message {
  font-size: 18px;
  color: var(--text-body);
}

/* ============================================
   CTA Section - Clay Style
   ============================================ */
.cta-section {
  background: var(--color-peach);
  border-top: var(--border-width) solid var(--border-dark);
  border-bottom: var(--border-width) solid var(--border-dark);
  padding: 80px 24px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-dark {
  background: var(--text-dark);
  color: var(--text-white);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.btn-light {
  background: var(--bg-card);
  color: var(--text-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

/* ============================================
   Footer - Clay Style
   ============================================ */
.footer {
  background: var(--text-dark);
  color: var(--text-white);
  padding: 60px 24px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition-soft);
}

.footer-link:hover {
  color: var(--color-peach);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ============================================
   Grid Layouts
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .feature-grid,
  .module-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.animate-wiggle:hover {
  animation: wiggle 0.3s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Responsive - Tab Layout
   ============================================ */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .tab-content-area {
    margin-left: 0;
    padding: 24px 20px;
  }

  .content-grid,
  .tips-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .laws-grid {
    grid-template-columns: 1fr;
  }

  .mobile-menu-btn {
    display: block;
  }

  .tab-actions {
    flex-direction: column;
  }

  .tab-actions .btn {
    width: 100%;
  }
}

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

  .tab-header h1 {
    font-size: 26px;
  }

  .quiz-card {
    padding: 20px;
  }
}