/* ==========================================================================
   Automechanika Showcase Styles (/wa)
   ========================================================================== */

.wa-showcase-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wa-hero-header {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  text-align: center;
}

.wa-hero-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.wa-hero-subtitle {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: #e0f7fa;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}

/* Active Number Banner */
.wa-active-number-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 60, 68, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.825rem;
}

.wa-active-number-pill strong {
  color: #a5f3fc;
}

.wa-num-edit-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.wa-num-edit-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ─────────────────────────────────────────────────────────────────────────────
   4 Showcase Cards Grid
   ───────────────────────────────────────────────────────────────────────────── */
.wa-cards-grid {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  width: 100%;
}

.showcase-card {
  position: relative;
  background: rgba(0, 117, 128, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 45, 52, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  color: #ffffff;
}

.showcase-card:hover {
  background: rgba(0, 102, 112, 0.88);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

/* Card Head */
.sc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.sc-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.sc-title-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.sc-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #a5f3fc;
  margin-top: 0.25rem;
}

.sc-tagline {
  font-size: 0.825rem;
  color: #e0f2fe;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Prompt Box */
.sc-prompt-box {
  background: #ffffff;
  color: #1e293b;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--wa-green);
}

.sc-prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.sc-prompt-label {
  font-size: 0.675rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #00838F;
}

.sc-copy-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.sc-copy-btn:hover {
  background: var(--gh-teal);
  border-color: var(--gh-teal);
  color: #ffffff;
}

.sc-prompt-text {
  font-size: 0.825rem;
  line-height: 1.5;
  color: #334155;
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Side-by-Side QR Code & Direct Launch Row
   ───────────────────────────────────────────────────────────────────────────── */
.sc-action-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: rgba(0, 50, 58, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

/* QR Box */
.sc-qr-box {
  background: #ffffff;
  padding: 0.45rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  width: 145px;
}

.sc-qr-canvas-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.sc-qr-canvas-wrap svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.sc-qr-meta {
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* Launch Col */
.sc-launch-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sc-launch-btn {
  background: var(--wa-green);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.sc-launch-btn:hover {
  background: var(--wa-green-hover);
}

.sc-scan-hint {
  font-size: 0.725rem;
  color: #cffafe;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Sandbox
   ───────────────────────────────────────────────────────────────────────────── */
.wa-sandbox-section {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  width: 100%;
}

.wa-sandbox-card {
  background: rgba(0, 95, 105, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 30, 36, 0.25);
  color: #ffffff;
}

.sandbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sandbox-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sandbox-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.sandbox-textarea {
  width: 100%;
  height: 110px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: #1e293b;
  outline: none;
  resize: vertical;
  margin-bottom: 0.75rem;
}

.sandbox-textarea:focus {
  border-color: var(--wa-green);
}

.sandbox-preview-box {
  background: rgba(0, 50, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sandbox-qr-wrap {
  width: 120px;
  height: 120px;
  background: #ffffff;
  padding: 0.35rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sandbox-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .wa-cards-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .sandbox-grid {
    grid-template-columns: 1fr;
  }
}
