* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #FAF7F0;
  background-image: linear-gradient(rgba(250, 247, 240, 0.08), rgba(250, 247, 240, 0.08)), url("/assets/marble.jpg");
  background-size: cover;
  background-position: center top;
  color: #0B1F3A;
  min-height: 100vh;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shine-sweep {
  0%, 60% { transform: translateX(-180%) skewX(-20deg); }
  90%, 100% { transform: translateX(320%) skewX(-20deg); }
}
.page { max-width: 440px; margin: 16px auto; padding: 28px 20px 40px; min-height: calc(100vh - 32px); background: #FFFDF6; border: 2px solid #C8952A; border-radius: 24px; box-shadow: 0 10px 30px rgba(11, 31, 58, 0.15); }

/* ---- Profile (no badge) ---- */
.profile { text-align: center; animation: rise-in 0.5s ease-out backwards; }
.profile .company {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: #0B1F3A;
}
.banner {
  width: 100%; height: 172px; object-fit: cover; border-radius: 20px;
  border: 2px solid #C8952A; display: block;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.20); margin-top: 16px;
}
.circle-photo {
  width: 168px; height: 168px; object-fit: cover; border-radius: 50%;
  border: 3px solid #C8952A; margin: -56px auto 16px; display: block;
  position: relative;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.25);
}
.profile-name { font-size: 30px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.1; color: #0B1F3A; }
.profile-title { font-size: 17px; font-weight: 600; margin-top: 8px; color: #0B1F3A; }
.profile-sub { font-size: 14px; color: #4A5568; margin-top: 4px; }
.profile-rule {
  width: 64px; height: 3px; background: #C8952A; border: none;
  margin: 16px auto 12px; border-radius: 2px;
}
.profile-tagline { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #8A6D1B; }

/* ---- Link buttons ---- */
.links { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.links > * { animation: rise-in 0.4s ease-out backwards; }
.links > *:nth-child(1) { animation-delay: 0.02s; }
.links > *:nth-child(2) { animation-delay: 0.06s; }
.links > *:nth-child(3) { animation-delay: 0.10s; }
.links > *:nth-child(4) { animation-delay: 0.14s; }
.links > *:nth-child(5) { animation-delay: 0.18s; }
.links > *:nth-child(6) { animation-delay: 0.22s; }
.links > *:nth-child(7) { animation-delay: 0.26s; }
.links > *:nth-child(8) { animation-delay: 0.30s; }
.links > *:nth-child(9) { animation-delay: 0.34s; }
.links > *:nth-child(10) { animation-delay: 0.38s; }
.links > *:nth-child(11) { animation-delay: 0.42s; }
.links > *:nth-child(12) { animation-delay: 0.46s; }
.links > *:nth-child(13) { animation-delay: 0.50s; }
.links > *:nth-child(14) { animation-delay: 0.54s; }
.links > *:nth-child(15) { animation-delay: 0.58s; }
.btn { transition: transform 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn.shine { overflow: hidden; }
.btn.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.70), transparent);
  animation: shine-sweep 3s ease-in-out infinite;
}
.section-head {
  text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 0.18em;
  color: #8A6D1B; margin: 14px 0 0;
}
.btn {
  display: flex; align-items: center; gap: 12px; width: 100%; text-decoration: none; text-align: left;
  background: #C8952A; color: #0B1F3A; border-radius: 14px;
  padding: 12px 14px; font-size: 16px; font-weight: 700; position: relative;
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.10);
}
.thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; border: 1.5px solid #C8952A; }
.thumb-icon { width: 52px; height: 52px; border-radius: 50%; flex: none; border: 2px solid #C8952A; background: linear-gradient(145deg, #FFFDF6, #F3EAD0); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 8px rgba(11, 31, 58, 0.20); }
.thumb-icon svg { width: 30px; height: 30px; display: block; }
.thumb-icon svg [stroke="#0B1F3A"] { stroke: #8A6D1B; }
.btn-text { flex: 1; min-width: 0; }
.btn small { display: block; font-size: 13px; font-weight: 400; color: #3D2E05; margin-top: 3px; }
.btn-gold { background: linear-gradient(90deg, #D9B45B, #C8952A); color: #0B1F3A; border: 1.5px solid #8A6D1B; }
.btn-gold small { color: #3D2E05; }
.btn-cream { background: #FFFDF6; color: #0B1F3A; border: 1.5px solid #C8952A; }
.btn-cream small { color: #4A5568; }
.chev {
  flex: none;
  font-size: 24px; font-weight: 400; line-height: 1;
  transition: transform 0.2s ease;
}
.btn:hover .chev { transform: translateX(3px); }
.btn-navy { background: #0B1F3A; color: #FFFFFF; border: 1.5px solid #C8952A; }
.btn-navy small { color: #CBD5E0; }
.btn-outline {
  background: #FFFFFF; color: #0B1F3A; border: 2px solid #0B1F3A;
}
.btn-outline small { color: #4A5568; }
@keyframes social-in {
  from { opacity: 0; transform: translateY(14px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.social { display: flex; gap: 18px; margin-top: 22px; justify-content: center; }
.social a {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; border: 2px solid #FFFFFF;
  animation: social-in 0.55s ease-out backwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social a:nth-child(1) { animation-delay: 0.05s; }
.social a:nth-child(2) { animation-delay: 0.18s; }
.social a:nth-child(3) { animation-delay: 0.31s; }
.social a:hover { transform: translateY(-3px) scale(1.06); }
.social a:active { transform: scale(0.92); }
.social svg { display: block; }
.social a.li { background: linear-gradient(135deg, #0A66C2, #004182); box-shadow: 0 5px 14px rgba(10, 102, 194, 0.40); }
.social a.li:hover { box-shadow: 0 9px 20px rgba(10, 102, 194, 0.45), 0 0 0 3px rgba(200, 149, 42, 0.45); }
.social a.fb { background: linear-gradient(135deg, #1877F2, #0D5CB6); box-shadow: 0 5px 14px rgba(24, 119, 242, 0.40); }
.social a.fb:hover { box-shadow: 0 9px 20px rgba(24, 119, 242, 0.45), 0 0 0 3px rgba(200, 149, 42, 0.45); }
.social a.ig { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); box-shadow: 0 5px 14px rgba(214, 41, 118, 0.35); }
.social a.ig:hover { box-shadow: 0 9px 20px rgba(214, 41, 118, 0.40), 0 0 0 3px rgba(200, 149, 42, 0.45); }

/* ---- Quote page ---- */
.quote-head { text-align: center; }
.quote-photo { width: 100%; border-radius: 16px; margin-bottom: 18px; display: block; }
.quote-head h1 { font-size: 28px; color: #0B1F3A; margin-bottom: 8px; }
.quote-head p { color: #4A5568; font-size: 15px; line-height: 1.55; margin-bottom: 22px; }
.quote-form { background: #FFFFFF; border-radius: 16px; padding: 22px; color: #0B1F3A; border: 1px solid #E3D9B8; box-shadow: 0 8px 24px rgba(11, 31, 58, 0.10); }
.q-label { display: block; font-size: 12px; font-weight: 700; color: #0B1F3A; margin-bottom: 5px; }
.q-field { margin-bottom: 14px; }
.q-input { display: block; width: 100%; padding: 11px 12px; border: 1px solid #D1D5DB; border-radius: 10px; font-size: 15px; color: #0B1F3A; background: #FFFFFF; }
.q-input:focus { outline: none; border-color: #C8952A; box-shadow: 0 0 0 2px rgba(200, 149, 42, 0.25); }
.q-btn { display: block; width: 100%; padding: 15px 16px; border: 0; border-radius: 14px; background: linear-gradient(90deg, #D9B45B, #C8952A); color: #0B1F3A; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 6px; }
.q-btn:disabled { opacity: 0.6; cursor: default; }
.quote-msg { background: #FFFFFF; border-radius: 16px; padding: 28px 22px; text-align: center; color: #0B1F3A; }
.quote-msg h2 { font-size: 22px; margin-bottom: 10px; }
.quote-msg p { font-size: 15px; color: #4A5568; line-height: 1.55; }
.quote-msg a { color: #0B1F3A; font-weight: 700; }
.quote-foot { text-align: center; margin-top: 20px; }
.quote-foot a { color: #8A6D1B; font-weight: 700; text-decoration: none; }

/* ---- Dashboard hub ---- */
.hub-head { text-align: center; padding: 18px 0 6px; }
.hub-head img { width: 72px; height: auto; }
.hub-head h1 { font-size: 26px; margin-top: 10px; }
.hub-head p { font-size: 14px; color: #4A5568; margin-top: 6px; }
.hub-note { text-align: center; font-size: 12px; color: #718096; margin-top: 22px; }

/* ---- QR + note pages ---- */
.center { text-align: center; padding-top: 30px; }
.center h1 { font-size: 24px; margin: 14px 0 8px; }
.center p { font-size: 15px; color: #4A5568; line-height: 1.55; }
.center img.qr { width: 280px; height: 280px; margin: 22px auto; display: block; }
.center img.mark { width: 72px; height: auto; }
.backlink { display: inline-block; margin-top: 24px; color: #0B1F3A; font-weight: 700; }
