/* XOLV landing page. Extracted from index.html so the page runs under a CSP
   with no 'unsafe-inline'; the former style="" attributes are now classes
   (.roles-grid, .role-employer, .role-tasker, .role-list, .play-note). */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF5E00;
  --orange-dim: rgba(255,94,0,0.15);
  --green: #118C4F;
  --black: #080808;
  --card: #111111;
  --border: rgba(255,255,255,0.07);
  --text: #F0F0F0;
  --muted: rgba(240,240,240,0.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
}

/* ───── NAV ───── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; row-gap: 10px; column-gap: 12px;
  padding: 20px 40px;
  background: rgba(8,8,8,0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: -0.5px;
}
.nav-badge {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #FFB27A;
  border: 1px solid rgba(255,94,0,0.45);
  border-radius: 100px;
  padding: 3px 9px;
  background: rgba(255,94,0,0.12);
}
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-right .langsw {
  --sw-line: rgba(255,255,255,0.14); --sw-bg: rgba(255,255,255,0.05);
  --sw-ink: rgba(240,240,240,0.55);  --sw-ink-on: #fff;
  --sw-active: rgba(255,94,0,0.28);  --sw-focus: var(--orange);
}
.nav-cta {
  background: var(--orange);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }

/* ───── HERO ───── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 132px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Glow background */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -60%);
  background: radial-gradient(ellipse, rgba(255,94,0,0.18) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -60%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); }
}

/* Big bolt watermark */
.hero-bolt {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-size: clamp(200px, 40vw, 400px);
  line-height: 1;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  position: relative;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(46px, 11vw, 110px);
  line-height: 0.95;
  letter-spacing: -3px;
  color: #fff;
  position: relative;
}
.hero-title span { color: var(--orange); }

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  max-width: 520px;
  margin: 28px auto 0;
  line-height: 1.65;
  position: relative;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
  position: relative;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 16px 34px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
  box-shadow: 0 0 40px rgba(255,94,0,0.35);
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 34px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.25); }

/* Stats strip */
.stats-strip {
  position: relative;
  display: flex; justify-content: center; gap: 0;
  flex-wrap: wrap;
  margin-top: 72px;
}
.stat {
  padding: 0 40px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #fff;
  letter-spacing: -1px;
}
.stat-num span { color: var(--orange); }
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ───── HOW IT WORKS ───── */
section { padding: 100px 24px; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 52px);
  text-align: center;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto;
}
.section-title span { color: var(--orange); }

/* Flow steps */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  max-width: 900px;
  margin: 60px auto 0;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.flow-step {
  background: var(--card);
  padding: 36px 28px;
  position: relative;
}
.flow-step::after {
  content: attr(data-arrow);
  position: absolute;
  top: 36px; right: -10px;
  font-size: 18px;
  color: var(--orange);
  z-index: 1;
}
.flow-step:last-child::after { display: none; }
.flow-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.flow-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.flow-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 8px;
}
.flow-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ───── FEATURES ───── */
.features-section { background: #0C0C0C; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 60px auto 0;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(255,94,0,0.3);
  transform: translateY(-3px);
}
.feature-card.highlight {
  border-color: rgba(255,94,0,0.25);
  background: linear-gradient(135deg, #111, #1a0a00);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--orange-dim);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ───── TRUST ───── */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 700px;
  margin: 48px auto 0;
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.trust-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ───── ROLES (was inline style attributes) ───── */
.roles-grid { margin-top: 60px; max-width: 700px; }
.role-employer { border-color: rgba(255,94,0,0.2); }
.role-tasker   { border-color: rgba(17,140,79,0.3); }
.role-list     { color: var(--text); line-height: 1.8; }

/* ───── CTA SECTION ───── */
.cta-section {
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 600px; height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,94,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .section-title { margin-bottom: 16px; }
.cta-subtitle {
  color: var(--muted);
  font-size: 17px;
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Google Play Badge */
.play-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff;
  color: #000;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 30px rgba(255,255,255,0.1);
}
.play-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,255,255,0.15); }
.play-badge-icon { font-size: 28px; }
.play-badge-text { text-align: left; }
.play-badge-text .small { font-size: 10px; font-weight: 500; color: #555; letter-spacing: 0.3px; }
.play-badge-text .big { font-size: 18px; font-weight: 900; letter-spacing: -0.3px; }
.play-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ───── FOOTER ───── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--orange);
}
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 12px;
  color: rgba(240,240,240,0.25);
  width: 100%;
  text-align: center;
  margin-top: 8px;
  line-height: 1.8;
}

/* ───── RESPONSIVE ───── */
@media (max-width: 640px) {
  nav { padding: 14px 18px; }
  .nav-logo { font-size: 19px; }
  .stat { padding: 0 20px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .btn-primary, .feature-card, .play-badge { transition: none; }
}
