/* ─────────────────────────────────────────────────────────────
   RespawnTok – Marketing site styles
   Palette: #0a0a0a bg · #fe2c55 red · #25f4ee teal · #f1f1f1 text
───────────────────────────────────────────────────────────── */

:root {
  --bg:       #080810;
  --surface:  #111118;
  --border:   #1e1e2e;
  --red:      #fe2c55;
  --teal:     #25f4ee;
  --text:     #f1f1f1;
  --muted:    #666;
  --radius:   12px;
  --max-w:    1100px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Grid background ────────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

/* ─── Glow blobs ────────────────────────────────────────────── */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow--red  { background: rgba(254, 44, 85,  .18); top: -100px; left:  -80px; }
.hero-glow--teal { background: rgba(37, 244, 238, .12); top: -80px;  right: -80px; }

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 16, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 20px; color: var(--red); }
.logo-text  { font-size: 17px; font-weight: 700; color: var(--text); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover  { opacity: .88; }
.btn:active { opacity: .75; }

.btn-nav {
  background: var(--red);
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 24px rgba(254,44,85,.35);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(254,44,85,.5); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: #444; }

.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: 10px; }

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 28px 80px;
  z-index: 1;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--teal);
  border-radius: 100px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--red), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

/* ─── App mockup ──────────────────────────────────────────────── */
.mockup {
  width: 100%;
  max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
}
.mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  pointer-events: none;
}

.mockup-bar {
  background: #0f0f18;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-bar .dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.mockup-bar .dot-red    { background: #ff5f57; }
.mockup-bar .dot-yellow { background: #ffbd2e; }
.mockup-bar .dot-green  { background: #28c840; }
.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-left: -60px;
}

.mockup-body {
  display: flex;
  min-height: 220px;
  font-size: 12px;
}

.mockup-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: #0f0f18;
  border-right: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-logo {
  padding: 0 14px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.mock-nav-item {
  padding: 7px 14px;
  color: var(--muted);
  cursor: default;
}
.mock-nav-item.active {
  color: var(--text);
  border-left: 3px solid var(--red);
  background: rgba(254,44,85,.06);
}
.mock-nav-item.hl {
  color: var(--teal);
}

.mockup-content {
  flex: 1;
  padding: 20px 24px;
}
.mock-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.mock-cards {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mock-card {
  flex: 1;
  min-width: 120px;
  background: #0f0f18;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 5px;
}
.mock-val {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text);
}
.mock-val.dead { color: var(--red); }

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  flex-shrink: 0;
}
.pulse-dot.red {
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.mock-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mock-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.mock-btn.primary { background: var(--red);  color: #fff; }
.mock-btn.teal    { background: var(--teal); color: #000; }

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 28px;
}
.section--dark { background: var(--surface); }
.section--cta  { overflow: hidden; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
  line-height: 1.1;
}

/* ─── Steps ──────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.step {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color .2s;
}
.step:not(:last-child) { margin-right: -1px; border-radius: var(--radius) 0 0 var(--radius); }
.step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.step:hover { border-color: var(--red); z-index: 1; }

.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: monospace;
}
.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ─── Features grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: rgba(254,44,85,.5);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

code {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: monospace;
  font-size: 12px;
  color: var(--teal);
}

kbd {
  background: var(--surface);
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1px 6px;
  font-family: monospace;
  font-size: 12px;
  color: var(--text);
}

/* ─── Download CTA ───────────────────────────────────────────── */
.cta-inner { text-align: center; }

.cta-sub {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 48px;
  margin-top: -36px;
}

.download-box {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 32px;
  margin-bottom: 32px;
}

.download-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.download-meta {
  font-size: 13px;
  color: var(--muted);
}

.windows-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px auto 0;
  max-width: 560px;
  padding: 14px 18px;
  background: rgba(255, 180, 0, .06);
  border: 1px solid rgba(255, 180, 0, .25);
  border-radius: var(--radius);
  color: #b8a070;
  font-size: .82rem;
  line-height: 1.5;
  text-align: left;
}
.windows-warning svg { flex-shrink: 0; margin-top: 2px; opacity: .7; }
.windows-warning strong { color: #d4a840; }
.windows-warning em { font-style: normal; color: var(--text); }

.system-reqs {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: center;
}
.req-label {
  color: var(--text);
  font-weight: 600;
  margin-right: 6px;
}
.req-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 28px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-note {
  font-size: 12px;
  color: var(--muted);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:last-child), .step:first-child, .step:last-child {
    border-radius: var(--radius);
    margin-right: 0;
    margin-bottom: -1px;
  }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 20px 60px; }
  .download-box { flex-direction: column; text-align: center; }
  .mockup-sidebar { display: none; }
}
