/* ============================================
   ScanLinks.app — Main Stylesheet
   Fonts: Teko (display) + Mulish (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@600;700&family=Mulish:wght@400;500;600;700&display=swap');

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

:root {
  --hot-pink:     #ff2d78;
  --yellow:       #ffe600;
  --cyan:         #00e5ff;
  --navy:         #06061a;
  --purple:       #7b2fff;
  --lime:         #aaff00;
  --font-display: 'Teko', sans-serif;
  --font-body:    'Mulish', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  font-family: var(--font-body);
  color: #fff;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR (desktop only) ── */
.cursor {
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 40px;
  height: 40px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  mix-blend-mode: difference;
}
@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(6,6,26,0.95), transparent);
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}
.logo span { color: var(--yellow); }

.nav-cta {
  background: var(--hot-pink);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: none;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 28px var(--hot-pink);
}

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

/* ── BACKGROUND MESH ── */
.mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--hot-pink);
  top: -200px; left: -150px;
  animation-delay: 0s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: var(--purple);
  top: 100px; right: -180px;
  animation-delay: -3s;
}
.blob-3 {
  width: 400px; height: 400px;
  background: var(--cyan);
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.05); }
}

/* ── FLOATING QR ICONS ── */
.qr-float {
  position: absolute;
  opacity: 0.1;
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.1; }
  90%  { opacity: 0.1; }
  100% { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}

/* ── LIVE BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.6s ease both;
  position: relative;
  z-index: 1;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── HEADLINE ── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.15s ease both;
}
h1 .line-white  { color: #fff;          display: block; }
h1 .line-yellow { color: var(--yellow); display: block; }
h1 .line-pink   { color: var(--hot-pink); display: block; }

/* ── SUBTITLE ── */
.subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ── CTA BUTTONS ── */
.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.45s ease both;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border: none;
  padding: 15px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.35);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s;
}
.btn-primary:hover::after  { transform: translateX(150%) skewX(-15deg); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255,230,0,0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 15px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0,229,255,0.08);
  transform: translateY(-3px);
}

/* ── STATS STRIP ── */
.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 64px;
  padding: 24px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.6s ease both;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.stat-item:nth-child(1) .stat-number { color: var(--yellow); }
.stat-item:nth-child(2) .stat-number { color: var(--hot-pink); }
.stat-item:nth-child(3) .stat-number { color: var(--cyan); }

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
  animation: fadeUp 1s 1s ease both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1);   opacity: 0.4; }
  50%       { transform: scaleY(0.5); opacity: 1; }
}

/* ── FEATURES STRIP ── */
.features-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 56px 48px;
  border-top: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 2;
}
.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.feature-pill:hover {
  border-color: var(--yellow);
  background: rgba(255,230,0,0.07);
  transform: translateY(-2px);
}
.pill-icon { font-size: 1.1rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE — 768px ── */
@media (max-width: 768px) {
  nav {
    padding: 14px 20px;
  }
  .logo { font-size: 1.6rem; }
  .nav-cta {
    padding: 9px 18px;
    font-size: 0.82rem;
  }
  h1 { letter-spacing: 0.01em; }
  .subtitle { font-size: 0.95rem; }
  .stats {
    gap: 24px;
    padding: 20px 20px;
    margin-top: 40px;
  }
  .stat-number { font-size: 2rem; }
  .features-strip {
    padding: 40px 16px;
    gap: 10px;
  }
  .feature-pill {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
  .cta-group {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ── MOBILE — 480px ── */
@media (max-width: 480px) {
  .hero { padding: 100px 16px 80px; }
  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { width: 250px; height: 250px; }
  .blob-3 { width: 200px; height: 200px; }
  .stats  { gap: 16px; padding: 16px; }
  .badge  { font-size: 0.68rem; }
}
