/* =====================================================
   CH 3D Studio — Design System (Vanilla CSS)
   Cores baseadas na Logo: Azul Royal + Prata + Preto
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --blue-900:  #05091a;
  --blue-850:  #080d22;
  --blue-800:  #0e152e;
  --blue-700:  #162040;
  --blue-600:  #1a2d55;

  --brand:     #1e4fc2;
  --brand-mid: #2660d8;
  --brand-bright: #3b7ff5;
  --brand-glow: rgba(30, 79, 194, 0.45);

  --silver:    #9eb3c8;
  --silver-mid:#b8cede;
  --silver-light: #d4e4f0;

  --accent-red: #e03030;
  --accent-green: #22c55e;

  --border:    rgba(30, 79, 194, 0.18);
  --border-silver: rgba(158, 179, 200, 0.15);

  --text-primary:   #f0f6ff;
  --text-secondary: #9eb3c8;
  --text-muted:     #5a7090;

  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --transition: 200ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 400ms cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--blue-900);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  padding-bottom: 6rem;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--blue-900); }
::-webkit-scrollbar-thumb { background: var(--blue-700); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ── Background FX ── */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.bg-fx__orb--top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,79,194,0.2) 0%, rgba(30,79,194,0.05) 60%, transparent 100%);
  animation: orbPulse 8s ease-in-out infinite;
}
.bg-fx__orb--right {
  top: 40%;
  right: -150px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(30,79,194,0.12) 0%, transparent 70%);
}
.bg-fx__orb--left {
  bottom: 5%;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(158,179,200,0.08) 0%, transparent 70%);
}
.bg-fx__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30,79,194,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30,79,194,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
@keyframes orbPulse {
  0%,100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%     { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

/* ── Top Bar ── */
.topbar {
  position: relative;
  z-index: 20;
  background: rgba(8,13,34,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}
.topbar__status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}
.topbar__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-bright);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-family: var(--font-body);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 600;
}
.topbar__btn:hover { background: rgba(30,79,194,0.15); color: var(--text-primary); }

/* ── Main Layout ── */
.main {
  position: relative;
  z-index: 10;
  max-width: 540px;
  margin: 0 auto;
  padding: 2rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Profile Avatar ── */
.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
}
.avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 50%, var(--silver) 100%);
  filter: blur(8px);
  opacity: 0.7;
  transition: opacity var(--transition-slow);
  animation: avatarGlow 5s ease-in-out infinite;
}
.avatar-wrapper:hover .avatar-glow { opacity: 1; }
@keyframes avatarGlow {
  0%,100% { opacity: 0.6; } 50% { opacity: 0.9; }
}
.avatar-ring {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--blue-900);
  background: var(--blue-800);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.avatar-wrapper:hover .avatar-ring img { transform: scale(1.06); }
.avatar-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--blue-900);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--brand-glow);
}

/* ── Brand Header ── */
.brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
@media(min-width: 480px) { .brand-name { font-size: 32px; } }

.brand-handle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-bright);
  font-weight: 600;
  font-size: 13px;
  margin-top: 4px;
}
.brand-handle span.sep { color: var(--text-muted); }
.brand-handle span.sub { color: var(--text-secondary); font-weight: 400; }

.brand-bio {
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  max-width: 420px;
  line-height: 1.65;
  font-weight: 300;
}
.brand-bio strong { color: var(--brand-bright); font-weight: 600; }

/* ── Badges Row ── */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(14,21,46,0.9);
  border: 1px solid var(--border-silver);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.badge svg { flex-shrink: 0; }
.badge--blue svg { color: var(--brand-bright); }
.badge--green svg { color: var(--accent-green); }
.badge--silver svg { color: var(--silver); }

/* ── CTA Button ── */
.cta-section { width: 100%; margin-top: 22px; }
.btn-whatsapp {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 0 24px rgba(22,163,74,0.35), 0 4px 16px rgba(0,0,0,0.3);
  overflow: hidden;
}
.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(22,163,74,0.5), 0 8px 24px rgba(0,0,0,0.4);
}
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp__icon {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
}
.btn-whatsapp__arrow { margin-left: 4px; opacity: 0.85; transition: transform var(--transition); }
.btn-whatsapp:hover .btn-whatsapp__arrow { transform: translate(2px, -2px); }
.cta-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Quick Actions Grid ── */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}
.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(14,21,46,0.8);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-action:hover { border-color: var(--brand); color: var(--brand-bright); background: rgba(30,79,194,0.1); }

/* ── Section Header ── */
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
  padding: 0 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title svg { color: var(--brand-bright); }
.section-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.product-count {
  font-size: 11px;
  font-family: 'Space Grotesk', monospace;
  background: var(--blue-800);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

/* ── Filter Tabs ── */
.filter-tabs {
  display: flex;
  gap: 6px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  border: 1px solid var(--border);
  background: var(--blue-800);
  color: var(--text-secondary);
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand-bright); }
.filter-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 16px var(--brand-glow); }

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}
@media(min-width: 460px) { .products-grid { grid-template-columns: 1fr 1fr; } }

/* ── Product Card ── */
.product-card {
  background: rgba(14,21,46,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-slow);
  cursor: pointer;
}
.product-card:hover {
  border-color: rgba(30,79,194,0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(30,79,194,0.15);
}
.product-card__img-wrap {
  position: relative;
  height: 180px;
  background: #080d22;
  overflow: hidden;
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.06); }
.product-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,21,46,0.9) 0%, transparent 60%);
}
.product-card__expand {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(8,13,34,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.product-card__expand:hover { color: var(--brand-bright); border-color: var(--brand); }

.product-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.product-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(30,79,194,0.12);
  color: var(--brand-bright);
  border: 1px solid rgba(30,79,194,0.25);
}
.product-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card:hover .product-card__title { color: var(--brand-bright); }
.product-card__desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(30,79,194,0.1);
}
.btn-card-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-card-wa:hover { filter: brightness(1.12); }
.btn-card-info {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--blue-700);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: var(--transition);
}
.btn-card-info:hover { background: var(--blue-600); color: var(--text-primary); }

/* ── FAQ Section ── */
.faq-section { width: 100%; margin-top: 40px; }
.faq-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 2px;
}
.faq-item {
  background: rgba(14,21,46,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: rgba(30,79,194,0.35); }
.faq-item[open] { border-color: rgba(30,79,194,0.4); }
.faq-summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-summary { color: var(--text-primary); }
.faq-chevron { transition: transform var(--transition); flex-shrink: 0; color: var(--text-muted); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--brand-bright); }
.faq-body {
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}
.faq-body strong { color: var(--silver-mid); font-weight: 600; }

/* ── Footer ── */
.site-footer {
  width: 100%;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.footer-copy { font-size: 11px; color: var(--text-muted); }
.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-badges span { display: flex; align-items: center; gap: 4px; }

/* ── Floating WhatsApp ── */
.fab-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(22,163,74,0.45), 0 4px 16px rgba(0,0,0,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 0 36px rgba(22,163,74,0.6), 0 6px 20px rgba(0,0,0,0.5); }
.fab-whatsapp:active { transform: scale(0.95); }
.fab-whatsapp svg { fill: #fff; width: 30px; height: 30px; }
.fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--accent-red);
  border: 2px solid var(--blue-900);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ── Modals ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 200ms;
}
.modal-backdrop.active { display: flex; }
.modal-backdrop.visible { opacity: 1; }

.modal-box {
  background: var(--blue-850, #080d22);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 200ms;
}
.modal-backdrop.visible .modal-box { transform: scale(1); }

/* Product Modal */
.modal-img { position: relative; height: 220px; background: var(--blue-900); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--blue-850, #080d22) 0%, transparent 60%); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,0.9); }
.modal-category-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--brand);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
}

.modal-body { padding: 20px; }
.modal-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-primary); }
.modal-desc { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.65; font-weight: 300; }

.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  background: rgba(5,9,26,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.modal-spec-item {}
.modal-spec-label { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-family: 'Space Grotesk', monospace; display: block; margin-bottom: 2px; }
.modal-spec-value { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.modal-spec-value--green { color: var(--accent-green); }
.modal-spec-value--blue { color: var(--brand-bright); }

.modal-actions { display: flex; gap: 8px; margin-top: 18px; }
.btn-modal-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  font-family: var(--font-body);
  transition: var(--transition);
  box-shadow: 0 0 16px rgba(22,163,74,0.3);
}
.btn-modal-wa:hover { filter: brightness(1.1); }
.btn-modal-close {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--blue-700);
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
}
.btn-modal-close:hover { background: var(--blue-600); color: var(--text-primary); }

/* Config & STL Modals */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.modal-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}
.modal-header-title svg { color: var(--brand-bright); }

.modal-content { padding: 18px 20px 20px; }
.modal-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }

.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.form-input {
  width: 100%;
  background: var(--blue-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,79,194,0.15); }
.form-input--prefix { padding-left: 44px; font-family: 'Space Grotesk', monospace; }
.form-prefix-wrap { position: relative; }
.form-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Space Grotesk', monospace;
  pointer-events: none;
}
.form-hint { font-size: 10px; color: var(--text-muted); margin-top: 4px; }

.btn-primary {
  flex: 1;
  padding: 10px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  box-shadow: 0 0 16px var(--brand-glow);
}
.btn-primary:hover { background: var(--brand-mid); filter: brightness(1.1); }
.btn-secondary {
  padding: 10px 16px;
  background: var(--blue-700);
  color: var(--text-secondary);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}
.btn-secondary:hover { background: var(--blue-600); color: var(--text-primary); }

/* STL Steps */
.stl-steps { display: flex; flex-direction: column; gap: 12px; }
.stl-step { display: flex; gap: 10px; align-items: flex-start; }
.stl-step-num {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(30,79,194,0.2);
  color: var(--brand-bright);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stl-step-text { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.stl-step-text strong { color: var(--text-primary); }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--blue-800);
  border: 1px solid rgba(30,79,194,0.4);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
  white-space: nowrap;
}
.toast.visible { opacity: 1; pointer-events: auto; }
.toast svg { color: var(--brand-bright); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Section spacing */
.section { width: 100%; margin-top: 40px; }
