/* ==========================================================================
   Securitech — landing
   ========================================================================== */

:root {
  --bg: #08090b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f3f5;
  --text-muted: #8b919b;
  --text-dim: #555b64;
  --accent: #ff3b44;
  --success: #2ecc71;

  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Background ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 50% 22%, rgba(255, 59, 68, 0.13), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255, 255, 255, 0.03), transparent 70%);
}
.bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 50% at 50% 35%, #000 20%, transparent 75%);
}

/* ---------- Stage ---------- */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 10vh, 120px) 20px 40px;
  text-align: center;
}

.mark {
  position: relative;
  width: clamp(96px, 16vw, 136px);
  margin-bottom: 28px;
}
.mark::before {
  content: "";
  position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(255, 59, 68, 0.35), transparent 65%);
  filter: blur(20px);
  animation: breathe 5s ease-in-out infinite;
}
.mark img {
  position: relative;
  transition: transform .6s var(--ease);
}
.mark:hover img { transform: rotate(90deg); }

@keyframes breathe {
  0%, 100% { opacity: .55; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

.brand {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.whisper {
  margin-top: 22px;
  min-height: 1.6em;
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  letter-spacing: 0.02em;
  color: var(--text);
}
.whisper::after {
  content: "_";
  margin-left: 2px;
  color: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.aside {
  max-width: 36ch;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
}

.rule {
  width: min(420px, 80%);
  height: 1px;
  margin: clamp(40px, 7vh, 64px) 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 68, 0.45), transparent);
}

/* ---------- Contact ---------- */
.contact__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact__text {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-muted);
}

.email {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  padding: 4px 4px 4px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.email:hover {
  border-color: rgba(255, 59, 68, 0.45);
  background: rgba(255, 59, 68, 0.04);
  box-shadow: 0 0 0 4px rgba(255, 59, 68, 0.07), 0 0 40px -10px rgba(255, 59, 68, 0.5);
}

.email__link {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 3.6vw, 1rem);
  white-space: nowrap;
  transition: color .2s;
}
.email__link:hover { color: var(--accent); }

.email__copy {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-left: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.email__copy:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.email__copy:active { transform: scale(0.9); }
.email__copy .icon--check { display: none; }
.email__copy.is-copied { color: var(--success); background: rgba(46, 204, 113, 0.12); }
.email__copy.is-copied .icon--copy { display: none; }
.email__copy.is-copied .icon--check { display: block; animation: pop .3s var(--ease); }
@keyframes pop { from { transform: scale(0.4); } to { transform: scale(1); } }

/* ---------- Footer ---------- */
.footer {
  padding: 24px 20px 28px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ---------- Entrance ---------- */
.js .stage > * {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 1s var(--ease) forwards;
}
.js .stage > :nth-child(2) { animation-delay: .15s; }
.js .stage > :nth-child(3) { animation-delay: .3s; }
.js .stage > :nth-child(4) { animation-delay: 1.6s; }
.js .stage > :nth-child(5) { animation-delay: 1.8s; }
.js .stage > :nth-child(6) { animation-delay: 2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
