/* v2026-07-18.1 — shared interactive demo styles (try-plumbing, try-notary) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: #F9F8F6; color: #1C1C1E; line-height: 1.5; }
a { color: inherit; }

.demo-top { background: #1B3A6B; padding: 14px 20px; text-align: center; }
.demo-top a { color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none; }

.demo-wrap { max-width: 480px; margin: 0 auto; padding: 32px 20px 60px; }

.demo-badge {
  display: inline-block; background: #D97706; color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-bottom: 10px;
}
.demo-wrap h1 { font-size: 1.5rem; color: #1B3A6B; margin-bottom: 8px; }
.demo-sub { color: #4B5563; font-size: 0.95rem; margin-bottom: 24px; }

.demo-step { }
.demo-step[hidden] { display: none; }

label { display: block; font-size: 0.85rem; font-weight: 700; color: #1B3A6B; margin: 14px 0 6px; }
input[type="text"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid #D1D5DB; border-radius: 8px; font-size: 1rem;
}
input[type="text"]:focus { outline: none; border-color: #1B3A6B; }

.demo-btn {
  display: inline-block; width: 100%; text-align: center; margin-top: 20px;
  background: #1B3A6B; color: #fff; font-weight: 700; font-size: 1rem;
  padding: 13px; border: none; border-radius: 8px; cursor: pointer;
}
.demo-btn:hover { background: #15305A; }
.demo-btn-outline {
  background: transparent; color: #1B3A6B; border: 1.5px solid #1B3A6B;
}
.demo-btn-outline:hover { background: #F0F4FA; }

/* Building animation */
#build-steps { list-style: none; margin-top: 20px; }
#build-steps li {
  padding: 10px 0 10px 30px; position: relative; font-size: 0.92rem; color: #9CA3AF;
}
#build-steps li::before {
  content: ''; position: absolute; left: 0; top: 12px; width: 18px; height: 18px;
  border-radius: 50%; border: 2px solid #D1D5DB;
}
#build-steps li.active { color: #1B3A6B; font-weight: 700; }
#build-steps li.active::before { border-color: #D97706; border-top-color: transparent; animation: spin 0.7s linear infinite; }
#build-steps li.done { color: #1A9F52; }
#build-steps li.done::before { border-color: #1A9F52; background: #1A9F52; }
#build-steps li.done::after {
  content: '✓'; position: absolute; left: 3px; top: 9px; color: #fff; font-size: 12px; font-weight: 900;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Preview phone frame */
.phone-frame {
  border: 8px solid #1B3A6B; border-radius: 24px; overflow: hidden; margin: 20px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.phone-header { background: #1B3A6B; color: #fff; padding: 20px 16px; text-align: center; }
.phone-header .trade-badge {
  display: inline-block; background: #D97706; color: #fff; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px;
}
.phone-header h2 { font-size: 1.15rem; margin-bottom: 4px; }
.phone-header .phone-tagline { font-size: 0.85rem; opacity: 0.85; }
.phone-body { background: #fff; padding: 16px; font-size: 0.85rem; color: #4B5563; }
.phone-body .phone-city { font-weight: 700; color: #1B3A6B; }

.domain-box {
  background: #F0FDF4; border: 1.5px solid #86EFAC; border-radius: 8px; padding: 12px 14px;
  margin: 16px 0; font-size: 0.95rem;
}
.domain-box code { font-weight: 700; color: #1B3A6B; font-size: 1rem; }
.domain-box .domain-note { display: block; font-size: 0.75rem; color: #6B7280; margin-top: 4px; }

.lang-row { text-align: center; margin: 16px 0; }
.lang-row button {
  background: transparent; border: 1px solid #9CA3AF; color: #4B5563; font-size: 0.8rem;
  padding: 6px 14px; border-radius: 20px; cursor: pointer;
}

.price-toggle { display: flex; gap: 8px; margin: 18px 0 10px; }
.price-toggle button {
  flex: 1; padding: 10px; border: 1.5px solid #D1D5DB; background: #fff; border-radius: 8px;
  font-weight: 700; font-size: 0.88rem; cursor: pointer; color: #4B5563;
}
.price-toggle button.active { border-color: #1B3A6B; background: #1B3A6B; color: #fff; }
.price-detail { text-align: center; font-size: 0.9rem; color: #4B5563; margin-bottom: 4px; }

.demo-disclaimer { font-size: 0.72rem; color: #9CA3AF; text-align: center; margin-top: 28px; }
