/* Self-hosted fonts: Unbounded + Inter (cyrillic, latin) */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070503;
  --orange: #ff5c00;
  --orange-bright: #ff7a26;
  --text: #f7f3ee;
  --text-dim: #9d938a;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
}

.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;
}

/* ---------- Layout: one screen ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- Background layers ---------- */

.bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50vmax 42vmax at 78% 8%, rgba(255, 92, 0, 0.20), transparent 62%),
    radial-gradient(42vmax 36vmax at 12% 96%, rgba(255, 60, 0, 0.13), transparent 60%);
  animation: glow-drift 14s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  to {
    transform: translate3d(0, 2%, 0) scale(1.06);
    opacity: 0.85;
  }
}

.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  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: 72px 72px;
  mask-image: radial-gradient(80% 80% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, black 30%, transparent 100%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero > :not(.bg-glow):not(.bg-grid):not(.bg-noise) {
  position: relative;
  z-index: 1;
}

/* ---------- Top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2.4vh, 24px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--border);
}

.topbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.topbar-logo {
  height: clamp(34px, 5.2vh, 52px);
  width: auto;
  filter: drop-shadow(0 0 16px rgba(255, 92, 0, 0.5));
}

.topbar-domain {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: clamp(0.72rem, 1.6vw, 0.9rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.topbar-link {
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.topbar-link:hover {
  color: var(--text);
  border-color: var(--orange);
}

/* ---------- Center ---------- */

.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(16px, 3vh, 30px);
  padding: clamp(16px, 3vh, 32px) clamp(20px, 4vw, 56px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.66rem, 1.6vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  animation: rise 0.7s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

/* ---------- Display typography ---------- */

.display {
  display: flex;
  flex-direction: column;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.6rem, 11.5vmin, 7rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.line {
  display: block;
  animation: rise 0.7s ease both;
}

.line-1 {
  font-weight: 900;
  animation-delay: 0.05s;
}

.line-2 {
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 2px rgba(247, 243, 238, 0.85);
  animation-delay: 0.15s;
}

.line-3 {
  font-weight: 900;
  background: linear-gradient(100deg, var(--orange) 10%, #ffa24d 50%, var(--orange) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.7s ease both, shimmer 5s linear infinite;
  animation-delay: 0.25s, 1s;
}

.line .accent {
  color: var(--orange);
  -webkit-text-stroke: 0;
}

.line-3 .accent {
  color: var(--text);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--text);
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead {
  max-width: 560px;
  font-size: clamp(0.88rem, 2vw, 1.08rem);
  line-height: 1.6;
  color: var(--text-dim);
  animation: rise 0.7s 0.35s ease both;
}

/* ---------- CTA ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: rise 0.7s 0.45s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: clamp(0.74rem, 1.7vw, 0.88rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: clamp(13px, 1.9vh, 17px) clamp(24px, 3vw, 36px);
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff8c1a);
  color: #140a02;
  box-shadow: 0 8px 36px rgba(255, 92, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(255, 92, 0, 0.55);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--orange);
  background: rgba(255, 92, 0, 0.08);
}

/* ---------- Bottom bar ---------- */

.bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: clamp(12px, 2vh, 20px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--border);
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  color: var(--text-dim);
}

.bottombar a {
  color: var(--orange-bright);
  text-decoration: none;
}

.bottombar a:hover {
  text-decoration: underline;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.02);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: "Unbounded", sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.32);
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .badge-dot,
  .line-3,
  .marquee-track {
    animation-duration: 0.01s;
    animation-iteration-count: 1;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .topbar-domain {
    display: none;
  }

  .display {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .cta {
    width: 100%;
    flex-direction: column;
  }

  .bottombar {
    flex-direction: column;
    gap: 4px;
  }

  .bottombar-center {
    order: 3;
  }
}
