/* Guestify product page — Interconnected Systems Inc. */

html { scroll-padding-top: 120px; }
#how, #features, #offers, #markets, #contact { scroll-margin-top: 120px; }

/* Override the global [data-animate] { opacity:0 } so a JS miss never
   blanks a whole section. Fade-in is enhancement-only. */
[data-animate] { opacity: 1; transform: none; }

.preview-note {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.45rem 1rem;
  background: #3b1d08;
  border-bottom: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.preview-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.preview-note a:hover { color: #fde68a; }

.gfy-hero {
  position: relative;
  min-height: calc(100vh - 106px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}
.gfy-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.38) saturate(0.85);
}
.gfy-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 18% 45%, rgba(18,38,86,0.55) 0%, transparent 70%),
    linear-gradient(90deg, rgba(8,14,28,0.92) 0%, rgba(8,14,28,0.55) 48%, rgba(8,14,28,0.35) 100%),
    linear-gradient(to bottom, rgba(8,14,28,0.15) 0%, rgba(8,14,28,0.55) 70%, rgba(8,14,28,1) 100%);
}
.gfy-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.gfy-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gfy-mark svg { width: 22px; height: 22px; }
.gfy-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}
.gfy-hero .lede {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 34rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.gfy-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }
.gfy-hero-facts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.gfy-hero-facts .stat-n { font-size: 1.25rem; }

/* ── Device stage ── */
.device-stage {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  width: 250px;
  height: 520px;
  background: #0a0f1c;
  border: 3px solid #1e2a44;
  border-radius: 36px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    inset 0 0 0 2px #2a3b5e;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.phone.phone-back {
  position: absolute;
  right: -2%;
  top: 48px;
  transform: rotate(10deg) scale(0.86);
  z-index: 1;
  opacity: 0.92;
  filter: saturate(0.9);
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 18px;
  background: #050814;
  border-radius: 12px;
  z-index: 5;
}
.phone-screen {
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  overflow: hidden;
  background: #08101f;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 14px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-family: var(--mono);
}

/* Watch / ad screen */
.ad-stage {
  position: relative;
  height: 210px;
  margin: 8px 10px 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, #5b8cff 0%, transparent 45%),
    linear-gradient(160deg, #1a2f6b, #0b1328);
}
.ad-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(169,226,249,0.18) 50%, transparent 70%);
  animation: adSweep 4.5s ease-in-out infinite;
}
@keyframes adSweep {
  0% { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}
.ad-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(8,14,28,0.7);
  color: #a9e2f9;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(169,226,249,0.3);
}
.countdown {
  position: absolute;
  bottom: 10px; right: 10px;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(8,14,28,0.75);
  border: 2px solid #5b8cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  font-family: var(--mono);
}
.ad-copy {
  padding: 12px 14px 0;
}
.ad-copy h4 {
  font-size: 13px;
  margin-bottom: 4px;
}
.ad-copy p { font-size: 10.5px; line-height: 1.45; color: #94a3b8; }
.phone-cta {
  margin: 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.phone-btn {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--grad);
  color: #080e1c !important;
}
.phone-btn.ghost {
  background: transparent;
  border: 1px solid rgba(91,140,255,0.4);
  color: #c9d7f5 !important;
}
.phone-progress {
  margin: 12px 14px 0;
  height: 4px;
  border-radius: 4px;
  background: rgba(91,140,255,0.18);
  overflow: hidden;
}
.phone-progress > span {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--grad);
  border-radius: 4px;
  animation: loadBar 8s linear infinite;
}
@keyframes loadBar {
  0% { width: 0%; }
  85% { width: 100%; }
  100% { width: 100%; }
}

/* Offer card screen */
.offer-head {
  background: #3d5693;
  padding: 28px 14px 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.offer-body { padding: 16px 16px 0; text-align: center; }
.offer-body h4 { font-size: 16px; line-height: 1.25; margin-bottom: 4px; color: #f8fafc; }
.offer-body .fine { font-size: 10px; color: #94a3b8; margin-bottom: 10px; }
.offer-qr {
  width: 148px; height: 148px;
  margin: 0 auto 10px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}
.offer-qr img { width: 100%; height: 100%; }
.offer-save {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  background: #78350f;
  color: #fde68a;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 5px 8px;
}

/* ── Logo / vendor strip ── */
.vendor-strip {
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13,22,41,0.7);
}
.vendor-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.vendor-row span.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-muted);
}
.vendor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt-secondary);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}
.vendor-pill img { height: 18px; width: auto; filter: grayscale(0.2) brightness(1.15); }

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem 1.4rem;
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0.7rem; right: 0.9rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(91,140,255,0.22);
  font-family: var(--mono);
}
.step-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,140,255,0.1);
  border: 1px solid rgba(91,140,255,0.28);
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}
.step-icon svg { width: 20px; height: 20px; }
.step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; }

/* ── Feature grid ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feat {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.5rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feat:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,140,255,0.12);
  color: var(--accent-2);
  margin-bottom: 0.95rem;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feat p { font-size: 0.9rem; }

/* ── Spotlight split ── */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-copy { order: 2; }
.split-copy h2 { margin: 0.5rem 0 0.9rem; }
.split-copy p { margin-bottom: 0.85rem; }
.split-points { margin: 1.1rem 0 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.split-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--txt-secondary);
  font-size: 0.92rem;
}
.split-points svg {
  width: 16px; height: 16px;
  color: #86efac;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.split-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
  box-shadow: var(--shadow);
}
.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}
.split-visual .float-card {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 1.1rem;
  background: rgba(8,14,28,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(169,226,249,0.25);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.float-card strong { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 0.2rem; }
.float-card span { font-size: 0.8rem; color: var(--txt-secondary); }

/* ── Two sided ── */
.sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.side {
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem 1.8rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.side.venue {
  background:
    linear-gradient(180deg, rgba(91,140,255,0.12), rgba(18,38,86,0.2));
}
.side.advertiser {
  background:
    linear-gradient(180deg, rgba(251,191,36,0.08), rgba(18,38,86,0.2));
  border-color: rgba(251,191,36,0.28);
}
.side .eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}
.side.advertiser .eyebrow { color: #fbbf24; }
.side h3 { font-size: 1.35rem; margin-bottom: 0.55rem; }
.side ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.side li {
  color: var(--txt-secondary);
  font-size: 0.92rem;
  padding-left: 1.1rem;
  position: relative;
}
.side li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.side.advertiser li::before { background: #fbbf24; }

/* ── Markets ── */
.markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.market {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.market:hover { border-color: var(--border-accent); transform: translateY(-2px); color: inherit; }
.market-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(91,140,255,0.1);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.market-ico svg { width: 20px; height: 20px; }
.market h3 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.market p { font-size: 0.82rem; }

/* ── Hardware ── */
.hw-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.hw-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hw-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 64px;
  padding: 0 1.1rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.hw-logo img { max-height: 36px; width: auto; }
.hw-logo.dark { background: #0d1629; border-color: var(--border); color: var(--txt-primary); font-weight: 700; }

/* ── CTA band ── */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 3rem 2.5rem;
  background:
    linear-gradient(120deg, rgba(91,140,255,0.18), rgba(18,38,86,0.5));
  border: 1px solid var(--border-accent);
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { max-width: 520px; margin: 0 auto 1.4rem; }

@media (max-width: 1024px) {
  .gfy-hero-grid, .split, .split.reverse, .hw-row { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .device-stage { height: 540px; margin-top: 1rem; }
  .phone.phone-back { display: none; }
  .feat-grid, .markets { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .gfy-hero { padding-top: 2.4rem; padding-bottom: 2rem; min-height: 0; }
  .feat-grid, .markets, .steps, .sides { grid-template-columns: 1fr; }
  .device-stage { height: 500px; margin-top: 0.5rem; }
  .cta-band { padding: 2rem 1.2rem; }
  .gfy-hero-facts { gap: 1rem; }
  .gfy-hero-facts .stat { flex: 1 1 40%; }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .ad-stage::after, .phone-progress > span { animation: none; }
}
