:root{
  --bg: #ffffff;
  --text: rgba(15,23,42,0.95);
  --muted: rgba(15,23,42,0.72);
  --muted2: rgba(15,23,42,0.58);

  --panel: rgba(228, 241, 255, 0.78);     /* light blue glass */
  --stroke: rgba(15,23,42,0.10);

  --brand: #0b63b6;
  --brand2:#2e9cf0;

  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow2: 0 12px 30px rgba(15, 23, 42, 0.10);

  --radius: 20px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 600px at 10% 0%, rgba(46,156,240,0.14), transparent 62%),
    radial-gradient(900px 520px at 92% 18%, rgba(11,99,182,0.10), transparent 64%),
    #ffffff;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{
  max-width: 980px;        /* v1 behavior: clean, centered, not full width */
  margin: 0 auto;
  padding: 28px 16px 44px;
}

/* Header */
.topbar{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 18px;
}

/* Logo: large, centered, no background */
.logo{
  display:block;
  position: relative;
  overflow: hidden;        /* prevents fx canvas from affecting layout */
  line-height: 0;
  padding: 6px 0;
}
.logo img{
  position: relative;
  z-index: 1;

  height: 156px;
  width: auto;
  max-width: 100%;
  display:block;
  margin: 0 auto;
}

/* Canvas overlay for hover effect */
.logo-fx{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events:none;
  opacity: 0;
  transition: opacity 120ms ease;
  z-index: 2;
}
.logo:hover .logo-fx{ opacity: 1;   z-index: 2;
}

/* Hero + cards */
.hero{
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 68ch;
}

.ctas{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 8px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255,255,255,0.84);
  color: var(--text);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  user-select:none;
}

.btn:hover{ transform: translateY(-1px); background: rgba(235,242,255,0.95); color: var(--text); text-decoration:none; }
.btn:active{ transform: translateY(0px) scale(0.99); }

.btn-primary{
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-color: rgba(15, 23, 42, 0.14);
  color: rgba(255,255,255,0.96);
  box-shadow: 0 14px 30px rgba(11,99,182,0.20);
  position: relative;
  overflow: hidden;
  animation: reviewPulse 10s ease-in-out infinite;
}
.btn-primary:hover{ animation-play-state: paused; filter: brightness(1.05); }

@keyframes reviewPulse{
  0%, 92%, 100%{ box-shadow: 0 14px 30px rgba(11,99,182,0.20); }
  94%{ box-shadow: 0 14px 30px rgba(11,99,182,0.26), 0 0 0 10px rgba(46,156,240,0.12); }
  96%{ box-shadow: 0 14px 30px rgba(11,99,182,0.24), 0 0 0 14px rgba(46,156,240,0.08); }
}

.grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;               /* spacing restored */
  margin-top: 18px;
}

.card{
  border-radius: var(--radius);
  background: rgba(228, 241, 255, 0.70);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  padding: 18px 18px;
  box-shadow: var(--shadow2);
}

.card h2{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.tip{
  font-size: 16px;
  color: var(--text);
  margin-top: 8px;
}

.small{
  margin-top: 8px;
  color: var(--muted2);
  font-size: 12px;
}

.proof{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.proof .dot{
  width:10px;height:10px;border-radius:50%;
  background: rgba(24,168,121,0.85);
  box-shadow: 0 0 0 6px rgba(24,168,121,0.12);
  margin-top: 4px;
  flex:0 0 auto;
}

.form{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top: 8px;
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size: 13px;
  color: var(--muted);
}

input, textarea{
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  padding: 11px 12px;
  font-size: 14px;
  outline:none;
}

textarea{ min-height: 110px; resize: vertical; }

input:focus, textarea:focus{
  border-color: rgba(46,156,240,0.45);
  box-shadow: 0 0 0 4px rgba(46,156,240,0.12);
}

.helper{
  font-size: 12px;
  color: var(--muted2);
}

.alert{
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(24,168,121,0.12);
  color: rgba(15,23,42,0.92);
}

.alert.error{
  background: rgba(214,59,59,0.12);
}

.qr{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top: 10px;
}
.qr img{
  width: 110px;
  height: 110px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 18px rgba(15,23,42,0.12);
}
.qr .meta{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.footer{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
  justify-content:space-between;
  color: var(--muted2);
  font-size: 12px;
}
.footer a{ color: rgba(15,23,42,0.78); }

/* Tech tip add-ons */
.divider{ height:1px; background: rgba(15,23,42,0.10); margin: 14px 0 12px; }
.minihead{ margin:0 0 10px; font-size: 14px; letter-spacing:-0.01em; color: var(--muted); }
.checklist{ margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.checklist li{ margin: 6px 0; }
.quickactions{ display:flex; gap:10px; flex-wrap:wrap; }
.btn.btn-mini{ padding: 10px 12px; border-radius: 12px; font-weight: 800; }

/* Cursor easter egg tooltip */
.cursor-tip{
  position: fixed;
  z-index: 9999;
  pointer-events:none;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(12,18,32,0.78);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.96);
  font-size: 12px;
  backdrop-filter: blur(6px);
  transform: translate(12px, 12px);
  opacity: 0;
  transition: opacity 160ms ease;
  max-width: min(360px, 78vw);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.cursor-tip.show{ opacity: 1; }

@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
}
@media (max-width: 540px){
  .row{ grid-template-columns: 1fr; }
  .qr img{ width: 96px; height: 96px; }
  .hero{ padding: 22px 16px; }
}

/* Logo repulsion + scroll float (JS sets CSS vars) */
.logo img{
  transform: translate(var(--logo-tx, 0px), var(--logo-ty, 0px)) scale(var(--logo-scale, 1));
  transform-origin: center center;
  transition: transform 80ms linear;
  will-change: transform;
}
