/* =========================================================
   Website Tester — Site chrome (nav, footer, WhatsApp float)
   Ported directly from pixellattice.com's own style.css so this
   tool's chrome is identical to every other page on the site —
   same classes, same structure, same behavior.
   ========================================================= */

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav (floating pill, matches main site) ---------- */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: box-shadow .3s;
  will-change: box-shadow;
  width: calc(100% - 48px);
  max-width: 900px;
}

nav.scrolled { box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06); }

.nav-inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  min-width: 0;
}

.logo-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.logo-wrap img { height: 38px; width: auto; max-width: 140px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: .87rem; font-weight: 500; color: var(--color-text-secondary); transition: color .2s; position: relative; padding-bottom: 2px; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--color-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--transition-base);
}
.nav-links a:hover { color: var(--color-purple); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--color-purple); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.ham span { display: block; width: 22px; height: 2px; background: var(--color-text-secondary); border-radius: 2px; transition: .3s; }
.ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav {
  display: none;
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 900px;
  z-index: 199;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.mob-nav.open { display: flex; }
.mob-nav a { font-weight: 600; font-size: .98rem; color: var(--color-text-secondary); padding: 13px 0; border-bottom: 1px solid var(--color-border-light); transition: color .2s; }
.mob-nav a:last-child { border: none; }
.mob-nav a:hover, .mob-nav a.active { color: var(--color-purple); }
.mob-cta { margin-top: 14px; text-align: center; background: var(--color-orange) !important; color: #fff !important; border-radius: 8px; padding: 15px !important; border: none !important; font-weight: 700; }

/* Content clearance for the fixed floating nav */
#app { padding-top: 100px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--color-text-secondary); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--color-text-secondary); transition: color .2s; }
.breadcrumb a:hover { color: var(--color-purple); }
.breadcrumb span { color: var(--color-text); font-weight: 600; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .ham { display: flex; }
  #app { padding-top: 90px; }
  .logo-wrap img { max-width: 110px; height: 32px; }
}

/* ---------- Footer (matches main site) ---------- */
footer { background: var(--color-text); padding: 56px 0 28px; color: rgba(255,255,255,.5); margin-top: var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ft-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ft-logo img { height: 32px; width: auto; max-width: 130px; object-fit: contain; }
.ft-desc { font-size: .84rem; line-height: 1.65; max-width: 240px; }
.ft-socials { display: flex; gap: 10px; margin-top: 18px; }
.ft-social { width: 34px; height: 34px; border-radius: 7px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: background .2s; color: rgba(255,255,255,.75); }
.ft-social:hover { background: rgba(96,4,108,.6); color: #fff; }
.ft-col-h { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 14px; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-links a { font-size: .85rem; color: rgba(255,255,255,.48); transition: color .2s; }
.ft-links a:hover { color: #fff; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; font-size: .78rem; flex-wrap: wrap; gap: 10px; }
.ft-bottom a { color: rgba(255,255,255,.32); }
.ft-bottom a:hover { color: #fff; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .ft-bottom { flex-direction: column; } }

/* ---------- Floating WhatsApp button (matches main site) ---------- */
.wa-float-wrap { position: fixed; bottom: 28px; right: 28px; z-index: 150; display: flex; align-items: center; gap: 10px; }
.wa-tooltip {
  background: var(--color-text);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  white-space: nowrap;
}
.wa-float-wrap:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-float {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.wa-label { display: none; }

@media (max-width: 480px) {
  .wa-float-wrap { bottom: 20px; right: 20px; }
  .wa-tooltip { display: none; }
}
