/* Preserved body styles with comprehensive theme support */
body {
  background-color: #ffd1dc; /* Default pale candy pink */
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  padding-top: 250px;
  padding-bottom: 60px;
  min-height: 100vh;
  position: relative;
  color: #333;
  box-sizing: border-box;
  transition: background-color 0.5s ease, color 0.5s ease, font-family 0.5s ease;
}

/* Theme variations - controls colors, typography, backgrounds, UI accents */
body.theme-dark {
  background-color: #121212;
  color: #f0f0f0;
  font-family: 'Courier New', monospace;
}

body.theme-ocean {
  background-color: #e0f2f7;
  color: #003366;
  font-family: 'Georgia', serif;
}

body.theme-forest {
  background-color: #f0f8e8;
  color: #2d5016;
  font-family: 'Verdana', sans-serif;
}

body.theme-sunset {
  background-color: #ffe4cc;
  color: #8b4513;
  font-family: 'Trebuchet MS', sans-serif;
}

.sticky-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: inherit;
  transition: background-color 0.5s ease;
}

header {
  display: flex;
  justify-content: center;
  padding: 20px 10px;
  background-color: #ffd1dc;
  box-sizing: border-box;
  transition: background-color 0.5s ease;
  width: 100%;
}

body.theme-dark header {
  background-color: #121212;
}

body.theme-ocean header {
  background-color: #e0f2f7;
}

body.theme-forest header {
  background-color: #f0f8e8;
}

body.theme-sunset header {
  background-color: #ffe4cc;
}

/* PRESERVED: Title animation wrapper - unchanged */
.animation-wrapper {
  width: 800px;
  height: 100px;
  position: relative;
  border: none;
  max-width: 100%;
  margin: 0 auto;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* PRESERVED: Letter styles with all shadow effects - unchanged */
.letter {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 100px;
  font-weight: bold;
  color: #39ff14; /* Dayglo green for the title */
  text-shadow: -1px -1px 0 #ff0, 1px -1px 0 #ff0, -1px 1px 0 #ff0,
    1px 1px 0 #ff0, 0 0 10px #ff0; /* Bright yellow outline effect */
  transform-origin: bottom center;
  white-space: nowrap;
  transition: text-shadow 0.5s ease, color 0.3s ease;
}

/* PRESERVED: All shadow effects for active navigation - unchanged */
body.mission-active .letter {
  text-shadow: -1px -1px 0 #ff0, 1px -1px 0 #ff0, -1px 1px 0 #ff0,
    1px 1px 0 #ff0, 0 0 10px #ff0,
    0 0 60px rgba(0, 102, 255, 0.7),
    0 0 100px rgba(0, 102, 255, 0.5);
}

body.portfolio-active .letter {
  text-shadow: -1px -1px 0 #ff0, 1px -1px 0 #ff0, -1px 1px 0 #ff0,
    1px 1px 0 #ff0, 0 0 10px #ff0,
    0 0 60px rgba(0, 255, 0, 0.7),
    0 0 100px rgba(0, 255, 0, 0.5);
}

body.prices-active .letter {
  text-shadow: -1px -1px 0 #ff0, 1px -1px 0 #ff0, -1px 1px 0 #ff0,
    1px 1px 0 #ff0, 0 0 10px #ff0,
    0 0 60px rgba(255, 153, 0, 0.7),
    0 0 100px rgba(255, 153, 0, 0.5);
}

body.shop-active .letter {
  text-shadow: -1px -1px 0 #ff0, 1px -1px 0 #ff0, -1px 1px 0 #ff0,
    1px 1px 0 #ff0, 0 0 10px #ff0,
    0 0 60px rgba(255, 51, 0, 0.7),
    0 0 100px rgba(255, 51, 0, 0.5);
}

body.contact-active .letter {
  text-shadow: -1px -1px 0 #ff0, 1px -1px 0 #ff0, -1px 1px 0 #ff0,
    1px 1px 0 #ff0, 0 0 10px #ff0,
    0 0 60px rgba(204, 0, 255, 0.7),
    0 0 100px rgba(204, 0, 255, 0.5);
}

/* Navigation menu styles */
.main-nav {
  background-color: #ffd1dc;
  padding: 10px 0;
  transition: background-color 0.5s ease;
  width: 100%;
  box-sizing: border-box;
}

body.theme-dark .main-nav {
  background-color: #121212;
}

body.theme-ocean .main-nav {
  background-color: #e0f2f7;
}

body.theme-forest .main-nav {
  background-color: #f0f8e8;
}

body.theme-sunset .main-nav {
  background-color: #ffe4cc;
}

.menu-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0 10px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.dropdown-menu {
  position: relative;
}

.menu-trigger {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-trigger::after {
  content: '▼';
  font-size: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.7;
}

.menu-trigger:hover {
  color: #0066ff;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-trigger:active {
  transform: translateY(0);
}

.dropdown-menu.active .menu-trigger {
  color: #7fb1ff;
  font-weight: bold;
  position: relative;
  background-color: rgba(255, 255, 255, 0.15);
  /* PRESERVED: Active state shadow effect - unchanged */
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.5);
}

.dropdown-menu.active .menu-trigger::after {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  min-width: 220px;
  max-width: 300px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 0;
  margin-top: 0;
  list-style: none;
  z-index: 1001;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top left;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 102, 255, 0.3) transparent;
}

.dropdown-content::-webkit-scrollbar {
  width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 102, 255, 0.3);
  border-radius: 3px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 102, 255, 0.5);
}

body.theme-dark .dropdown-content {
  background-color: rgba(30, 30, 30, 0.98);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dropdown-menu.active .dropdown-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-group-label {
  padding: 8px 20px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  border-bottom: 1px solid #eee;
  margin-bottom: 5px;
}

body.theme-dark .dropdown-group-label {
  color: #aaa;
  border-bottom-color: #444;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-left: 3px solid transparent;
}

body.theme-dark .dropdown-content a {
  color: #f0f0f0;
}

.dropdown-content a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #0066ff;
  transform: scaleY(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-content a:hover {
  background-color: rgba(0, 102, 255, 0.08);
  color: #0066ff;
  padding-left: 24px;
  transform: translateX(4px);
}

.dropdown-content a:hover::before {
  transform: scaleY(1);
}

.dropdown-content a:active {
  transform: translateX(2px) scale(0.98);
}

/* Active state indicator */
.dropdown-content a.active {
  background-color: rgba(0, 102, 255, 0.15);
  color: #0066ff;
  font-weight: 600;
  border-left-color: #0066ff;
  padding-left: 24px;
}

.dropdown-content a.active::after {
  content: '✓';
  font-size: 16px;
  color: #0066ff;
  font-weight: bold;
  animation: checkmark 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Stagger animation for dropdown items */
.dropdown-menu.active .dropdown-content li:not(.dropdown-group-label) {
  animation: slideInItem 0.3s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.dropdown-menu.active .dropdown-content li:nth-child(1) { animation-delay: 0.02s; }
.dropdown-menu.active .dropdown-content li:nth-child(2) { animation-delay: 0.04s; }
.dropdown-menu.active .dropdown-content li:nth-child(3) { animation-delay: 0.06s; }
.dropdown-menu.active .dropdown-content li:nth-child(4) { animation-delay: 0.08s; }
.dropdown-menu.active .dropdown-content li:nth-child(5) { animation-delay: 0.10s; }
.dropdown-menu.active .dropdown-content li:nth-child(6) { animation-delay: 0.12s; }
.dropdown-menu.active .dropdown-content li:nth-child(7) { animation-delay: 0.14s; }
.dropdown-menu.active .dropdown-content li:nth-child(8) { animation-delay: 0.16s; }
.dropdown-menu.active .dropdown-content li:nth-child(9) { animation-delay: 0.18s; }
.dropdown-menu.active .dropdown-content li:nth-child(10) { animation-delay: 0.20s; }
.dropdown-menu.active .dropdown-content li:nth-child(11) { animation-delay: 0.22s; }
.dropdown-menu.active .dropdown-content li:nth-child(12) { animation-delay: 0.24s; }
.dropdown-menu.active .dropdown-content li:nth-child(13) { animation-delay: 0.26s; }
.dropdown-menu.active .dropdown-content li:nth-child(14) { animation-delay: 0.28s; }

@keyframes slideInItem {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Main content area */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Demo header - clearly indicates this is a demonstration tool */
.demo-header {
  text-align: center;
  margin: 40px 20px 30px;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(102, 51, 153, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(0, 102, 255, 0.1);
}

body.theme-dark .demo-header {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(102, 51, 153, 0.1) 100%);
  border-color: rgba(0, 102, 255, 0.2);
}

.demo-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #0066ff;
  letter-spacing: -0.5px;
}

body.theme-dark .demo-title {
  color: #7fb1ff;
}

.demo-subtitle {
  font-size: 16px;
  margin: 0;
  color: #666;
  font-weight: 400;
  line-height: 1.6;
}

body.theme-dark .demo-subtitle {
  color: #aaa;
}

.showcase-container {
  margin: 40px 0;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
  border: 2px dashed rgba(0, 0, 0, 0.15);
  position: relative;
  backdrop-filter: blur(10px);
}

body.theme-dark .showcase-container {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-label {
  position: absolute;
  top: -15px;
  left: 20px;
  background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
  z-index: 10;
  animation: labelPulse 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-label::before {
  content: '⚡';
  font-size: 14px;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes labelPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
  }
  50% {
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.6);
  }
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
}

/* Dummy website styles - visually distinct from main page */
.dummy-website {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 102, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 600px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  will-change: transform, background-color, box-shadow;
  animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Visual feedback when state changes */
.dummy-website.state-changing {
  animation: pulse 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(0, 102, 255, 0.1);
  }
  50% {
    transform: scale(1.01);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.3), 0 0 0 5px rgba(0, 102, 255, 0.2);
  }
}

body.theme-dark .dummy-website {
  background-color: #1e1e1e;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(0, 102, 255, 0.2);
}

body.theme-ocean .dummy-website {
  background-color: #f0f9fc;
  border-color: rgba(0, 51, 102, 0.15);
  box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15), 0 0 0 3px rgba(0, 102, 204, 0.1);
}

body.theme-forest .dummy-website {
  background-color: #f5fbf0;
  border-color: rgba(45, 80, 22, 0.15);
  box-shadow: 0 4px 20px rgba(45, 80, 22, 0.15), 0 0 0 3px rgba(76, 153, 0, 0.1);
}

body.theme-sunset .dummy-website {
  background-color: #fff5eb;
  border-color: rgba(139, 69, 19, 0.15);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.15), 0 0 0 3px rgba(255, 165, 0, 0.1);
}

/* Ensure all dummy website elements transition smoothly */
.dummy-website * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dummy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  transition: all 0.3s ease;
}

body.theme-dark .dummy-header {
  background-color: #2a2a2a;
  border-bottom-color: #444;
}

body.theme-ocean .dummy-header {
  background-color: #e6f5fc;
  border-bottom-color: rgba(0, 51, 102, 0.2);
}

body.theme-forest .dummy-header {
  background-color: #eef8e6;
  border-bottom-color: rgba(45, 80, 22, 0.2);
}

body.theme-sunset .dummy-header {
  background-color: #ffe8d1;
  border-bottom-color: rgba(139, 69, 19, 0.2);
}

.dummy-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  transition: color 0.5s ease;
}

.dummy-logo .logo-graphic {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

.dummy-logo .logo-graphic::before {
  content: '★';
  color: white;
  font-size: 24px;
}

body.theme-dark .dummy-logo {
  color: #f0f0f0;
}

body.theme-dark .dummy-logo .logo-graphic {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

body.theme-ocean .dummy-logo {
  color: #003366;
}

body.theme-ocean .dummy-logo .logo-graphic {
  background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
}

body.theme-forest .dummy-logo {
  color: #2d5016;
}

body.theme-forest .dummy-logo .logo-graphic {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

body.theme-sunset .dummy-logo {
  color: #8b4513;
}

body.theme-sunset .dummy-logo .logo-graphic {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
}

.dummy-nav {
  display: flex;
  gap: 20px;
}

.dummy-nav a {
  color: #666;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
  pointer-events: none;
  cursor: default;
  opacity: 0.7;
}

body.theme-dark .dummy-nav a {
  color: #aaa;
}

body.theme-ocean .dummy-nav a {
  color: #0052a3;
}

body.theme-forest .dummy-nav a {
  color: #4a7c2e;
}

body.theme-sunset .dummy-nav a {
  color: #cc6600;
}

.dummy-nav a:hover {
  background-color: rgba(0, 102, 255, 0.1);
  color: #0066ff;
  opacity: 1;
}

body.theme-ocean .dummy-nav a:hover {
  background-color: rgba(0, 102, 204, 0.15);
  color: #0066cc;
}

body.theme-forest .dummy-nav a:hover {
  background-color: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

body.theme-sunset .dummy-nav a:hover {
  background-color: rgba(255, 140, 0, 0.15);
  color: #ff8c00;
}

.dummy-content {
  padding: 30px;
  transition: all 0.3s ease;
}

.dummy-title {
  font-size: 36px;
  margin: 0 0 25px 0;
  color: #333;
  transition: color 0.5s ease;
  font-weight: 700;
  line-height: 1.2;
}

body.theme-dark .dummy-title {
  color: #f0f0f0;
}

body.theme-ocean .dummy-title {
  color: #003366;
}

body.theme-forest .dummy-title {
  color: #2d5016;
}

body.theme-sunset .dummy-title {
  color: #8b4513;
}

.dummy-image-container {
  margin: 20px 0;
}

.dummy-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

body.theme-dark .dummy-image {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

body.theme-ocean .dummy-image {
  background: linear-gradient(135deg, #0066cc 0%, #004080 100%);
}

body.theme-forest .dummy-image {
  background: linear-gradient(135deg, #66bb6a 0%, #388e3c 100%);
}

body.theme-sunset .dummy-image {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
}

.dummy-image::before {
  content: '🖼️';
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.dummy-image .placeholder-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.placeholder-label {
  display: block;
}

.dummy-text-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.dummy-text-box {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: #666;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dummy-text-box .placeholder-label {
  font-size: 12px;
  font-weight: bold;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  width: 100%;
}

.dummy-text-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #888;
  font-style: italic;
}

body.theme-dark .dummy-text-box {
  background-color: #2a2a2a;
  color: #aaa;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.05);
}

body.theme-dark .dummy-text-box .placeholder-label {
  color: #777;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .dummy-text-box p {
  color: #999;
}

body.theme-ocean .dummy-text-box {
  background-color: #e6f5fc;
  color: #003366;
  box-shadow: 0 2px 5px rgba(0, 51, 102, 0.1);
  border-color: rgba(0, 51, 102, 0.1);
}

body.theme-ocean .dummy-text-box .placeholder-label {
  color: #0052a3;
  border-bottom-color: rgba(0, 51, 102, 0.2);
}

body.theme-ocean .dummy-text-box p {
  color: #004080;
}

body.theme-forest .dummy-text-box {
  background-color: #eef8e6;
  color: #2d5016;
  box-shadow: 0 2px 5px rgba(45, 80, 22, 0.1);
  border-color: rgba(45, 80, 22, 0.1);
}

body.theme-forest .dummy-text-box .placeholder-label {
  color: #4a7c2e;
  border-bottom-color: rgba(45, 80, 22, 0.2);
}

body.theme-forest .dummy-text-box p {
  color: #3d6b1f;
}

body.theme-sunset .dummy-text-box {
  background-color: #ffe8d1;
  color: #8b4513;
  box-shadow: 0 2px 5px rgba(255, 140, 0, 0.1);
  border-color: rgba(139, 69, 19, 0.1);
}

body.theme-sunset .dummy-text-box .placeholder-label {
  color: #cc6600;
  border-bottom-color: rgba(139, 69, 19, 0.2);
}

body.theme-sunset .dummy-text-box p {
  color: #a0522d;
}

/* Typography theme support for dummy website */
body.theme-dark .dummy-website {
  font-family: 'Courier New', monospace;
}

body.theme-ocean .dummy-website {
  font-family: 'Georgia', serif;
}

body.theme-forest .dummy-website {
  font-family: 'Verdana', sans-serif;
}

body.theme-sunset .dummy-website {
  font-family: 'Trebuchet MS', sans-serif;
}

/* Layout variations - only affects dummy website */
.dummy-website.layout-grid .dummy-text-boxes {
  grid-template-columns: repeat(2, 1fr);
}

.dummy-website.layout-split .dummy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.dummy-website.layout-split .dummy-image-container {
  grid-column: 1;
}

.dummy-website.layout-split .dummy-text-boxes {
  grid-column: 2;
  grid-template-columns: 1fr;
}

.dummy-website.layout-hero-first .dummy-content {
  display: flex;
  flex-direction: column;
}

.dummy-website.layout-hero-first .dummy-image-container {
  order: -1;
  margin-bottom: 30px;
}

.dummy-website.layout-hero-first .dummy-image {
  height: 350px;
}

.dummy-website.layout-sidebar .dummy-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.dummy-website.layout-sidebar .dummy-text-boxes {
  grid-column: 2;
  grid-template-columns: repeat(2, 1fr);
}

.dummy-website.layout-sidebar .dummy-image-container {
  grid-column: 1;
  grid-row: 1 / 3;
}

.dummy-website.layout-card-based .dummy-text-boxes {
  grid-template-columns: repeat(4, 1fr);
}

.dummy-website.layout-card-based .dummy-text-box {
  flex-direction: column;
  min-height: 180px;
  align-items: center;
  text-align: center;
}

.dummy-website.layout-card-based .dummy-image-container {
  display: none;
}

/* Style variations - only affects dummy website */
.dummy-website.style-minimal {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.dummy-website.style-minimal .dummy-text-box {
  background: transparent;
  border: 1px solid #e0e0e0;
  box-shadow: none;
}

body.theme-dark .dummy-website.style-minimal {
  background: #1e1e1e;
  border-color: #444;
}

body.theme-dark .dummy-website.style-minimal .dummy-text-box {
  border-color: #444;
}

.dummy-website.style-brutalist {
  background: #000000;
  border: 4px solid #000000;
}

.dummy-website.style-brutalist .dummy-header {
  background: #ffff00;
  border-bottom: 4px solid #000000;
}

.dummy-website.style-brutalist .dummy-text-box {
  background: #ff0000;
  color: #ffffff;
  border: 4px solid #000000;
  box-shadow: 8px 8px 0 #000000;
}

.dummy-website.style-glassmorphism {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dummy-website.style-glassmorphism .dummy-text-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dummy-website.style-neumorphism .dummy-text-box {
  background: #f0f0f0;
  box-shadow: 8px 8px 16px #bebebe, -8px -8px 16px #ffffff;
  border: none;
}

body.theme-dark .dummy-website.style-neumorphism .dummy-text-box {
  background: #2a2a2a;
  box-shadow: 8px 8px 16px #1a1a1a, -8px -8px 16px #3a3a3a;
}

/* Interaction variations - only affects dummy website */
.dummy-website.interaction-hover .dummy-text-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dummy-website.interaction-transitions .dummy-text-box {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dummy-website.interaction-transitions .dummy-text-box:hover {
  background-color: #e3f2fd;
  transform: rotate(2deg);
}

.dummy-website.interaction-scroll .dummy-text-box {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.dummy-website.interaction-scroll .dummy-text-box:nth-child(1) {
  animation-delay: 0.1s;
}

.dummy-website.interaction-scroll .dummy-text-box:nth-child(2) {
  animation-delay: 0.2s;
}

.dummy-website.interaction-scroll .dummy-text-box:nth-child(3) {
  animation-delay: 0.3s;
}

.dummy-website.interaction-scroll .dummy-text-box:nth-child(4) {
  animation-delay: 0.4s;
}

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

.dummy-website.interaction-micro .dummy-text-box {
  cursor: pointer;
}

.dummy-website.interaction-micro .dummy-text-box:active {
  transform: scale(0.95);
}

.dummy-website.interaction-micro .dummy-nav a {
  position: relative;
}

.dummy-website.interaction-micro .dummy-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0066ff;
  transition: width 0.3s ease;
}

.dummy-website.interaction-micro .dummy-nav a:hover::after {
  width: 100%;
}

/* Content sections */
.content-section {
  padding: 40px 20px;
  margin: 20px;
  border-radius: 8px;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.2);
}

body.theme-dark .content-section {
  background-color: rgba(255, 255, 255, 0.05);
}

.content-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.content-section h2 {
  margin-top: 0;
  font-size: 2em;
}

.section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.content-block {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

body.theme-dark .content-block {
  background-color: rgba(255, 255, 255, 0.05);
}

.content-block:hover {
  transform: translateY(-5px);
}

.content-block h3 {
  margin-top: 0;
}

.price {
  font-size: 1.5em;
  font-weight: bold;
  color: #0066ff;
  margin-top: 10px;
}

/* Hide showcase when showing content sections */
main.showing-content .showcase-container {
  display: none;
}

/* Status indicator for active selections */
.status-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.status-indicator.show {
  opacity: 1;
  transform: translateY(0);
}

.status-indicator::before {
  content: '✓ ';
  font-size: 16px;
  margin-right: 6px;
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 768px) {
  body {
    padding-top: 280px;
  }

  .animation-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .letter {
    font-size: 60px;
  }

  .menu-container {
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
  }

  .dropdown-menu {
    width: 100%;
  }

  .menu-trigger {
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
    padding: 12px 15px;
  }

  .dropdown-content {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }

  .demo-header {
    margin: 20px 10px;
    padding: 20px 15px;
  }

  .demo-title {
    font-size: 22px;
  }

  .demo-subtitle {
    font-size: 14px;
  }

  .showcase-container {
    margin: 20px 0;
    padding: 15px;
  }

  .showcase-label {
    left: 15px;
    font-size: 10px;
    padding: 4px 12px;
  }

  .dummy-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
    align-items: flex-start;
  }

  .dummy-logo {
    font-size: 18px;
  }

  .dummy-logo .logo-graphic {
    width: 40px;
    height: 40px;
  }

  .dummy-nav {
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .dummy-nav a {
    font-size: 12px;
    padding: 6px 12px;
  }

  .dummy-content {
    padding: 20px;
  }

  .dummy-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .dummy-image {
    height: 180px;
    font-size: 14px;
  }

  .dummy-text-boxes {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
  }

  .dummy-text-box {
    min-height: 100px;
    padding: 15px;
  }

  .dummy-website.layout-split .dummy-content,
  .dummy-website.layout-sidebar .dummy-content,
  .dummy-website.layout-magazine .dummy-content {
    grid-template-columns: 1fr;
  }

  .dummy-website.layout-sidebar .dummy-image-container {
    grid-column: 1;
    grid-row: 1;
  }

  .dummy-website.layout-hero-first .dummy-image {
    height: 200px;
  }

  .dummy-website.layout-card-based .dummy-text-boxes {
    grid-template-columns: 1fr;
  }

  .content-section {
    margin: 10px;
    padding: 30px 15px;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .status-indicator {
    bottom: 10px;
    right: 10px;
    left: 10px;
    font-size: 12px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 300px;
  }

  .letter {
    font-size: 50px;
  }

  .demo-title {
    font-size: 20px;
  }

  .demo-subtitle {
    font-size: 13px;
  }

  .dummy-title {
    font-size: 20px;
  }

  .dummy-image {
    height: 150px;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .animation-wrapper {
    width: 100%;
    max-width: 700px;
  }

  .letter {
    font-size: 80px;
  }

  .menu-container {
    gap: 20px;
  }

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

  .dummy-website.layout-card-based .dummy-text-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large desktop optimizations */
@media (min-width: 1400px) {
  main {
    padding: 40px;
  }

  .showcase-container {
    padding: 40px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .menu-trigger,
  .dropdown-content a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .dropdown-content a {
    padding: 15px 20px;
  }

  .dummy-text-box {
    min-height: 120px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .dropdown-content {
    border: 2px solid currentColor;
  }

  .dummy-website {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
