/* Presence Browser — static remake (Hostinger/Zyro visual match) */
:root {
  --bg-dark: #1a1a2e;
  --accent-blue: #4a90e2;
  --accent-orange: #ff9101;
  --btn-slate: #3b4d61;
  --text: #ffffff;
  --text-muted: #dbdfe8;
  --font: "Poppins", system-ui, sans-serif;
  --header-h: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(8px);
}

.site-header__logo img {
  height: 27px;
  width: auto;
}

.site-header__nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
}

.site-header__nav a:hover {
  color: var(--accent-blue);
}

/* —— Hero (video) —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  text-align: center;
}

.hero__video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.35);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  width: 100%;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-blue);
}

.hero .tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
}

.hero .lede {
  margin: 0 auto 1rem;
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--text);
}

.hero .emphasis {
  margin: 0 auto 2rem;
  max-width: 38rem;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 600;
  color: var(--accent-blue);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn--primary {
  background: var(--btn-slate);
  color: #fff;
  border: 2px solid var(--btn-slate);
}

.btn--primary:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.btn--outline {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

.btn--outline:hover {
  background: #1d1e20;
  border-color: #000;
}

/* —— Forms —— */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
  margin: 0 auto 2.5rem;
  width: 100%;
}

.form-stack input,
.form-stack textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #b8c0cc;
  border-radius: 10px;
  background: #fff;
  color: #0d141a;
}

.form-stack input:focus,
.form-stack textarea:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.form-stack label {
  display: block;
  text-align: left;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.form-stack .btn--submit {
  background: var(--accent-orange);
  border: 2px solid var(--accent-orange);
  color: #fff;
  margin-top: 0.25rem;
}

.form-stack .btn--submit:hover {
  background: var(--btn-slate);
  border-color: var(--btn-slate);
}

.hero__copyright {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

/* —— Inner pages —— */
.page {
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  max-width: 40rem;
  margin: 0 auto;
}

.page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--accent-blue);
  margin-top: 0;
}

.page .panel {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.page p,
.page li {
  color: var(--text-muted);
}

.page a.bookmark-drag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
}

.page a.bookmark-drag:hover {
  filter: brightness(1.08);
}

/* Bookmarklet install tutorial (matches Hostinger builder layout) */
.page--bookmarklet-tutorial {
  max-width: 52rem;
}

.bookmarklet-lead {
  margin: 0 0 1.25rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.bookmarklet-intro p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.bookmarklet-steps {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bookmarklet-steps .step {
  margin-bottom: 2.5rem;
}

.bookmarklet-steps .step:last-child {
  margin-bottom: 0;
}

.bookmarklet-steps .step-text {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.bookmarklet-steps .step-text strong {
  color: var(--text);
  font-weight: 600;
}

.bookmarklet-steps figure {
  margin: 0;
}

.bookmarklet-steps img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.page .note {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 1.5rem;
}

/* —— Footer strip (optional on subpages) —— */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
  color: var(--accent-blue);
}
