/* EZ Mode - ELI5 Page Styles */

.simple-page {
  --simple-max-width: 700px;
  --simple-accent: #6366f1;
  --simple-accent-soft: rgba(99, 102, 241, 0.1);
  --simple-warning: #f59e0b;
  --simple-warning-soft: rgba(245, 158, 11, 0.1);
  background: var(--bg);
  color: var(--fg);
}

/* Header */
.simple-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.simple-back {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.simple-back:hover {
  color: var(--simple-accent);
}

.simple-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* Main Container */
.simple-main {
  max-width: var(--simple-max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Hero */
.simple-hero {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}

.simple-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--fg);
}

.simple-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0;
}

/* Sections */
.simple-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.simple-section:last-of-type {
  border-bottom: none;
}

.simple-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: var(--fg);
}

.simple-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0 0 16px 0;
  color: var(--fg);
}

.simple-section p:last-of-type {
  margin-bottom: 0;
}

/* Warning Section */
.simple-section.simple-warning {
  background: var(--simple-warning-soft);
  margin: 48px -24px;
  padding: 48px 24px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Action Section */
.simple-section.simple-action {
  background: var(--simple-accent-soft);
  margin: 48px -24px;
  padding: 48px 24px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* TLDR / Summary */
.simple-tldr {
  font-size: 1.125rem;
  padding: 16px 20px;
  background: var(--panel);
  border-left: 4px solid var(--simple-accent);
  border-radius: 0 8px 8px 0;
  margin-top: 24px !important;
}

/* Callout */
.simple-callout {
  padding: 24px;
  background: var(--panel);
  border-radius: 12px;
  margin: 24px 0;
  border: 1px solid var(--line);
}

.simple-callout.fun {
  border-color: var(--simple-accent);
}

.simple-callout p {
  margin: 0 0 12px 0;
  font-size: 1rem;
}

.simple-callout p:last-child {
  margin-bottom: 0;
}

/* Lists */
.simple-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.simple-list li {
  font-size: 1.125rem;
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

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

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--simple-accent);
  font-weight: bold;
}

/* Buttons */
.simple-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--simple-accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 24px;
  transition: opacity 0.2s, transform 0.2s;
}

.simple-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.simple-btn.secondary {
  background: transparent;
  border: 2px solid var(--line);
  color: var(--fg);
}

.simple-btn.secondary:hover {
  border-color: var(--simple-accent);
  color: var(--simple-accent);
}

/* Action Grid */
.action-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.action-card {
  padding: 20px 24px;
  background: var(--panel);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.action-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--simple-accent);
}

.action-card p {
  font-size: 1rem;
  margin: 0;
  color: var(--muted);
}

/* Final Section */
.simple-final {
  text-align: center;
}

.simple-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Footer */
.simple-footer {
  text-align: center;
  padding: 48px 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.simple-footer p {
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.simple-tagline {
  font-size: 0.875rem !important;
  opacity: 0.7;
}

/* ========================================
   CSS ILLUSTRATIONS
   ======================================== */

.simple-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

/* Lock Icon */
.icon-lock {
  position: relative;
  width: 60px;
  height: 80px;
}

.lock-body {
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 45px;
  background: var(--simple-accent);
  border-radius: 8px;
}

.lock-body::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 14px;
  background: var(--bg);
  border-radius: 2px;
}

.lock-shackle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 35px;
  border: 6px solid var(--simple-accent);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
}

/* Building Icon */
.icon-building {
  position: relative;
  width: 80px;
  height: 90px;
}

.building-body {
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 60px;
  background: var(--simple-accent);
  border-radius: 4px 4px 0 0;
}

.building-body::before,
.building-body::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--bg);
  top: 12px;
}

.building-body::before { left: 12px; }
.building-body::after { right: 12px; }

.building-roof {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 30px solid var(--simple-accent);
}

.building-stamp {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: bold;
  color: var(--bg);
}

/* Computers Icon */
.icon-computers {
  display: flex;
  align-items: center;
  gap: 16px;
}

.computer-old,
.computer-quantum {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.computer-screen {
  width: 50px;
  height: 35px;
  background: var(--muted);
  border-radius: 4px;
  border: 3px solid var(--line);
}

.computer-screen.quantum {
  background: linear-gradient(135deg, var(--simple-accent), var(--simple-warning));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.computer-base {
  width: 20px;
  height: 8px;
  background: var(--line);
  margin-top: 4px;
  border-radius: 0 0 4px 4px;
}

.arrow {
  font-size: 24px;
  color: var(--muted);
}

/* Shield Icon */
.icon-shield {
  width: 70px;
  height: 85px;
}

.shield-body {
  width: 100%;
  height: 100%;
  background: var(--simple-accent);
  clip-path: polygon(50% 0%, 100% 15%, 100% 60%, 50% 100%, 0% 60%, 0% 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: white;
  padding-top: 10px;
}

/* Spork Icon */
.icon-spork {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  height: 100px;
}

.spork-handle {
  width: 8px;
  height: 50px;
  background: var(--simple-accent);
  border-radius: 4px;
}

.spork-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
}

.spork-tine {
  width: 6px;
  height: 20px;
  background: var(--simple-accent);
  border-radius: 3px 3px 0 0;
  margin: 0 2px;
}

.spork-head {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
}

.spork-bowl {
  position: absolute;
  bottom: -15px;
  width: 40px;
  height: 20px;
  background: var(--simple-accent);
  border-radius: 0 0 20px 20px;
}

/* Anvil Icon */
.icon-anvil {
  position: relative;
  width: 80px;
  height: 60px;
}

.anvil-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 30px;
  background: var(--muted);
  border-radius: 4px;
}

.anvil-body::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 15px;
  background: var(--muted);
  border-radius: 2px;
}

.anvil-horn {
  position: absolute;
  top: 15px;
  right: -10px;
  width: 30px;
  height: 12px;
  background: var(--muted);
  border-radius: 0 6px 6px 0;
}

.anvil-sparks {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.anvil-sparks span {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--simple-warning);
  border-radius: 50%;
  margin: 0 3px;
  animation: spark 1.5s ease-in-out infinite;
}

.anvil-sparks span:nth-child(2) { animation-delay: 0.2s; }
.anvil-sparks span:nth-child(3) { animation-delay: 0.4s; }

@keyframes spark {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-10px); opacity: 0.5; }
}

/* Vault Icon */
.icon-vault {
  width: 70px;
  height: 80px;
}

.vault-door {
  width: 100%;
  height: 100%;
  background: var(--muted);
  border-radius: 8px;
  border: 4px solid var(--line);
  position: relative;
}

.vault-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 4px solid var(--simple-accent);
  border-radius: 50%;
}

.vault-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--simple-accent);
  border-radius: 50%;
}

/* People Icon */
.icon-people {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.person {
  width: 20px;
  height: 50px;
  position: relative;
}

.person::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--simple-accent);
  border-radius: 50%;
}

.person::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 30px;
  background: var(--simple-accent);
  border-radius: 10px 10px 0 0;
}

.person:nth-child(2) {
  height: 55px;
}

.person:nth-child(2)::before,
.person:nth-child(2)::after {
  background: var(--muted);
}

/* ========================================
   EZ MODE BUTTON (for other pages)
   ======================================== */

.simple-mode-btn {
  position: fixed;
  top: 70px;
  left: 20px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  z-index: 1000;
  transition: all 0.2s;
}

.simple-mode-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--fg);
}

/* Responsive */
@media (max-width: 600px) {
  .simple-hero h1 {
    font-size: 2rem;
  }

  .simple-section h2 {
    font-size: 1.5rem;
  }

  .simple-section p,
  .simple-list li {
    font-size: 1rem;
  }

  .simple-section.simple-warning,
  .simple-section.simple-action {
    margin: 48px -16px;
    padding: 32px 16px;
  }
}
