/* Logo Lab — AI Logo Generator (uses site CSS variables, retro 90s theme) */

/* ---- Container ---- */
.ll-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- Window frame — matches .wdg-window from generator-styles.css ---- */
.ll-window {
  background: var(--window-bg);
  border: 3px solid var(--neon-cyan);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.5), 0 0 15px var(--window-shadow);
  margin-bottom: 20px;
}
.ll-title-bar {
  background: var(--title-bg);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--neon-cyan);
}
.ll-title-bar .title-text {
  font-family: 'Press Start 2P', cursive;
  font-size: 11px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.ll-title-bar .title-buttons {
  display: flex;
  gap: 4px;
}
.ll-title-bar .title-buttons span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px outset #aaa;
  background: #c0c0c0;
  font-size: 9px;
  text-align: center;
  line-height: 14px;
}
.ll-body {
  padding: 16px;
}

/* ---- Section titles ---- */
.ll-section-title {
  background: linear-gradient(90deg, var(--section-bg-grad), transparent);
  border-bottom: 1px dashed var(--neon-green);
  padding: 8px 12px;
  margin: 20px 0 16px 0;
  color: var(--neon-magenta);
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--neon-magenta);
}

/* ---- Form labels ---- */
.ll-label {
  display: block;
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  text-shadow: 0 0 8px var(--window-shadow);
}
.ll-label-hint {
  color: var(--neon-green);
  opacity: 0.6;
  font-size: 16px;
}

/* ---- Text inputs ---- */
.ll-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  background: rgba(0,0,0,0.5);
  border: 2px inset var(--neon-green);
  color: var(--neon-green);
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ll-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--window-shadow);
}
.ll-input::placeholder {
  color: var(--neon-green);
  opacity: 0.3;
}

/* ---- Field spacing ---- */
.ll-field {
  margin-bottom: 20px;
}

/* ---- Industry chips (single-select) ---- */
.ll-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}
.ll-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid var(--neon-cyan);
  background: transparent;
  color: var(--neon-cyan);
  font-family: 'VT323', monospace;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.ll-chip:hover {
  background: rgba(0,255,255,0.08);
  border-color: var(--neon-green);
  transform: scale(1.03);
}
.ll-chip.selected {
  background: var(--neon-cyan);
  color: var(--bg-dark, #0a0a2e);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0,255,255,0.3);
  font-weight: bold;
}
.ll-chip.selected::before {
  content: '\2713 ';
}

/* ---- Style tiles (3x2 grid, single-select) ---- */
.ll-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0;
}
.ll-style-tile {
  cursor: pointer;
  padding: 16px 10px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.3);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.ll-style-tile:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--window-shadow);
}
.ll-style-tile.selected {
  border-color: var(--neon-yellow) !important;
  box-shadow: 0 0 15px rgba(255,255,0,0.3) !important;
  background: rgba(255,255,0,0.06);
}
.ll-style-tile.selected::after {
  content: '\2713';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--neon-yellow);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}
.ll-style-icon {
  font-size: 28px;
  margin-bottom: 6px;
}
.ll-style-name {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--neon-yellow);
  margin-bottom: 4px;
}
.ll-style-desc {
  font-size: 11px;
  color: var(--neon-green);
  opacity: 0.7;
}

/* ---- Color swatches (1-2 selectable) ---- */
.ll-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 8px 0;
}
.ll-color-card {
  cursor: pointer;
  padding: 10px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.3);
  text-align: center;
  transition: all 0.3s ease;
}
.ll-color-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--window-shadow);
}
.ll-color-card.selected {
  border-color: var(--neon-magenta) !important;
  box-shadow: 0 0 15px rgba(255,0,255,0.4) !important;
  transform: scale(1.05);
}
.ll-color-swatch {
  width: 100%;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 6px;
}
.ll-color-name {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--neon-green);
}

/* ---- Submit button ---- */
.ll-submit-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
  border: 3px outset var(--neon-green);
  color: #000;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  margin-top: 20px;
}
.ll-submit-btn:hover {
  box-shadow: 0 0 20px var(--neon-green), 0 0 40px var(--window-shadow);
  transform: translateY(-2px);
}
.ll-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---- Loading overlay ---- */
.ll-loading-wrap {
  text-align: center;
  padding: 40px 20px;
}
.ll-loading-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 14px;
  color: var(--neon-cyan);
  margin-bottom: 24px;
  text-shadow: 0 0 10px var(--window-shadow);
}
.ll-progress-bar {
  width: 100%;
  max-width: 400px;
  height: 20px;
  border: 2px inset var(--neon-green);
  background: rgba(0,0,0,0.5);
  margin: 0 auto 16px;
  overflow: hidden;
}
.ll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
  transition: width 0.5s ease;
  box-shadow: 0 0 8px var(--neon-green);
}
.ll-loading-msg {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--neon-green);
  text-shadow: 0 0 5px rgba(57,255,20,0.3);
  min-height: 28px;
}
.ll-loading-dots::after {
  content: '';
  animation: ll-dots 1.5s infinite;
}
@keyframes ll-dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* ---- 2x2 Logo Results Grid ---- */
.ll-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.ll-logo-card {
  border: 2px solid rgba(255,255,255,0.15);
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}
.ll-logo-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px var(--window-shadow);
  transform: translateY(-2px);
}
.ll-logo-card.selected {
  border-color: var(--neon-magenta) !important;
  box-shadow: 0 0 20px rgba(255,0,255,0.4) !important;
}
.ll-logo-card img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  box-sizing: border-box;
}
.ll-logo-label {
  padding: 8px 10px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--neon-yellow);
  text-align: center;
  background: rgba(0,0,0,0.6);
}

/* Staggered reveal animation */
@keyframes ll-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.ll-logo-card {
  opacity: 0;
}
.ll-logo-card.revealed {
  animation: ll-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ll-logo-card:nth-child(1).revealed { animation-delay: 0s; }
.ll-logo-card:nth-child(2).revealed { animation-delay: 0.15s; }
.ll-logo-card:nth-child(3).revealed { animation-delay: 0.3s; }
.ll-logo-card:nth-child(4).revealed { animation-delay: 0.45s; }

/* Skeleton placeholder for loading logos */
.ll-logo-skeleton {
  aspect-ratio: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: ll-shimmer 1.5s ease-in-out infinite;
}
@keyframes ll-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Mockup Previews (3x2 grid) ---- */
.ll-mockup-section {
  margin-top: 20px;
}
.ll-mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.ll-mockup-card {
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.4);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(12px);
}
.ll-mockup-card.active {
  opacity: 1;
  transform: translateY(0);
}
.ll-mockup-card:nth-child(1).active { transition-delay: 0.05s; }
.ll-mockup-card:nth-child(2).active { transition-delay: 0.1s; }
.ll-mockup-card:nth-child(3).active { transition-delay: 0.15s; }
.ll-mockup-card:nth-child(4).active { transition-delay: 0.2s; }
.ll-mockup-card:nth-child(5).active { transition-delay: 0.25s; }
.ll-mockup-card:nth-child(6).active { transition-delay: 0.3s; }

.ll-mockup-preview {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.ll-mockup-label {
  padding: 8px 10px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--neon-yellow);
  text-align: center;
}

/* Individual mockup contexts */

/* Business card */
.ll-mock-bizcard {
  background: #e8e4dd;
}
.ll-mock-bizcard .mock-card {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 3.5/2;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: perspective(600px) rotateY(-3deg) rotateX(2deg);
}
.ll-mock-bizcard .mock-card img {
  height: 24px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  align-self: flex-start;
}
.ll-mock-bizcard .mock-card .mock-info {
  font-family: 'Inter', sans-serif;
}
.ll-mock-bizcard .mock-card .mock-name {
  font-size: 9px;
  font-weight: 600;
  color: #1a1a1a;
}
.ll-mock-bizcard .mock-card .mock-detail {
  font-size: 7px;
  color: #888;
}

/* Website header */
.ll-mock-header {
  background: #f5f5f5;
  padding: 0;
}
.ll-mock-header .mock-browser {
  width: 100%;
  background: #fafafa;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.ll-mock-header .mock-chrome {
  padding: 6px 8px;
  background: #e0e0e0;
  display: flex;
  gap: 4px;
}
.ll-mock-header .mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.ll-mock-header .mock-dot-r { background: #ff5f57; }
.ll-mock-header .mock-dot-y { background: #ffbd2e; }
.ll-mock-header .mock-dot-g { background: #28c840; }
.ll-mock-header .mock-nav {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.ll-mock-header .mock-nav img {
  height: 18px;
  width: auto;
  max-width: 50%;
  object-fit: contain;
}
.ll-mock-header .mock-nav-links {
  display: flex;
  gap: 10px;
}
.ll-mock-header .mock-nav-pill {
  width: 24px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}
.ll-mock-header .mock-body-skel {
  padding: 20px 14px;
}
.ll-mock-header .mock-skel-line {
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin-bottom: 8px;
}
.ll-mock-header .mock-skel-line:first-child { width: 60%; }
.ll-mock-header .mock-skel-line:last-child { width: 40%; }

/* Social avatar (circular) */
.ll-mock-avatar {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.ll-mock-avatar .mock-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ll-mock-avatar .mock-circle img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* App icon (rounded square) */
.ll-mock-appicon {
  background: #1a1a2e;
}
.ll-mock-appicon .mock-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ll-mock-appicon .mock-icon img {
  width: 55%;
  height: 55%;
  object-fit: contain;
}

/* Dark mode variant */
.ll-mock-dark {
  background: #111;
}
.ll-mock-dark .mock-dark-bg {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ll-mock-dark .mock-dark-bg img {
  height: 32px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* T-shirt mockup */
.ll-mock-tshirt {
  background: #e8e4dd;
}
.ll-mock-tshirt .mock-shirt {
  width: 100px;
  position: relative;
}
.ll-mock-tshirt .mock-shirt-body {
  width: 100px;
  height: 110px;
  background: #222;
  border-radius: 4px 4px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ll-mock-tshirt .mock-shirt-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: -14px;
  width: 20px;
  height: 30px;
  background: #222;
  border-radius: 4px 0 0 0;
  transform: skewX(-8deg);
}
.ll-mock-tshirt .mock-shirt-body::after {
  content: '';
  position: absolute;
  top: 0;
  right: -14px;
  width: 20px;
  height: 30px;
  background: #222;
  border-radius: 0 4px 0 0;
  transform: skewX(8deg);
}
.ll-mock-tshirt .mock-shirt-body img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
  margin-top: -10px;
}

/* ---- Action buttons ---- */
.ll-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.ll-action-btn {
  flex: 1;
  min-width: 150px;
  padding: 10px 18px;
  border: 2px solid var(--neon-cyan);
  background: transparent;
  color: var(--neon-cyan);
  font-family: 'VT323', monospace;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.ll-action-btn:hover {
  background: rgba(0,255,255,0.1);
  box-shadow: 0 0 12px var(--window-shadow);
  transform: translateY(-1px);
}
.ll-action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.ll-action-btn.cta-seahawk {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
}
.ll-action-btn.cta-seahawk:hover {
  background: rgba(255,0,255,0.1);
  box-shadow: 0 0 12px rgba(255,0,255,0.3);
}

/* ---- Upgrade CTA ---- */
.ll-upsell {
  margin-top: 30px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(10,10,46,0.9), rgba(26,26,62,0.9));
  border: 2px solid var(--neon-magenta);
  text-align: center;
}
.ll-upsell h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  color: var(--neon-magenta);
  text-shadow: 0 0 10px rgba(255,0,255,0.5);
  margin: 0 0 12px 0;
  text-transform: uppercase;
}
.ll-upsell p {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--neon-green);
  margin: 0 0 8px 0;
  line-height: 1.5;
}
.ll-upsell .ll-brand-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}
.ll-upsell .ll-brand-pill {
  padding: 4px 12px;
  border: 1px solid rgba(255,0,255,0.3);
  background: rgba(255,0,255,0.08);
  color: var(--neon-cyan);
  font-family: 'VT323', monospace;
  font-size: 14px;
}
.ll-upsell .ll-upsell-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(90deg, var(--neon-magenta), #ff69b4);
  border: 3px outset var(--neon-magenta);
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  margin-top: 8px;
}
.ll-upsell .ll-upsell-btn:hover {
  box-shadow: 0 0 20px rgba(255,0,255,0.5);
  transform: translateY(-2px);
}
.ll-upsell .ll-upsell-price {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--neon-green);
  opacity: 0.6;
  margin-top: 10px;
}

/* ---- Social proof badges ---- */
.ll-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.ll-badge {
  border: 2px outset #aaa;
  background: #c0c0c0;
  padding: 4px 12px;
  color: #000;
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  font-weight: 700;
}

/* ---- Info box ---- */
.ll-info-box {
  background: rgba(57,255,20,0.08);
  border: 1px dashed var(--neon-green);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--neon-green);
  text-shadow: 0 0 5px rgba(57,255,20,0.3);
}

/* ---- Footer ---- */
.ll-powered {
  text-align: center;
  padding: 16px 0;
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--neon-green);
  opacity: 0.6;
}
.ll-powered a {
  color: var(--neon-cyan);
  text-decoration: none;
}
.ll-powered a:hover {
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ll-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ll-color-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ll-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ll-mockup-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ll-actions {
    flex-direction: column;
  }
  .ll-action-btn {
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .ll-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ll-color-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ll-results-grid {
    grid-template-columns: 1fr;
  }
  .ll-mockup-grid {
    grid-template-columns: 1fr;
  }
}
