/* ========================================================
   RESFFEBER - Y2K LANDING · v.2026 · production
   ======================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0; padding: 0;
  background: #1A0B2E;
  color: #F4F0FF;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

::selection { background: #C5FF00; color: #1A0B2E; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === PAGE WRAPPER === */
.rf {
  background: #1A0B2E;
  color: #F4F0FF;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}
.rf::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,0,200,0.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(197,255,0,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0,212,255,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.rf > * { position: relative; z-index: 1; }

/* === STATUS BAR === */
.rf-statusbar {
  background: linear-gradient(90deg, #FF00C8 0%, #9D00FF 50%, #00D4FF 100%);
  padding: 6px 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #1A0B2E;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 60;
}
.rf-statusbar .blink { animation: rf-blink 1s steps(2) infinite; }
@keyframes rf-blink { 50% { opacity: 0; } }

/* === NAV === */
.rf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 2px solid #FF00C8;
  background: rgba(26,11,46,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 23px;
  z-index: 50;
  gap: 12px;
}

/* === LOGO === */
.rf-logo {
  font-family: 'Mada', sans-serif;
  font-weight: 900;
  font-size: 32px;
  font-style: italic;
  letter-spacing: -1px;
  line-height: 1;
  color: #F4F0FF;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-shadow: 2px 0 #FF00C8, -2px 0 #00D4FF;
  cursor: pointer;
  text-decoration: none;
}
.rf-logo .r-wrap {
  position: relative;
  display: inline-block;
}
.rf-logo .bolt {
  position: absolute;
  top: 18%;
  left: 27%;
  width: 11px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
}

.rf-nav-cta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  background: #F4F0FF;
  color: #1A0B2E;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 4px 4px 0 #C5FF00;
  transition: transform 0.15s, box-shadow 0.15s;
}
.rf-nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #FF00C8; }

/* === HERO === */
.rf-hero { padding: 70px 28px 80px; position: relative; overflow: hidden; }
.rf-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.rf-hero-prompt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #C5FF00;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  opacity: 0;
  animation: rf-fade-up 0.6s ease-out 0.1s forwards;
}
.rf-hero-prompt .arrow { color: #FF00C8; font-weight: 700; }
.rf-hero-prompt .cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: #C5FF00;
  vertical-align: -2px;
  margin-left: 2px;
  animation: rf-blink 1s steps(2) infinite;
}
@keyframes rf-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.rf-headline {
  font-family: 'VT323', monospace;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: -1px;
  margin: 0 0 24px;
  color: #F4F0FF;
  text-shadow: 3px 0 #FF00C8, -3px 0 #00D4FF;
  opacity: 0;
  animation: rf-fade-up 0.8s ease-out 0.3s forwards;
}
.rf-headline .lime { color: #C5FF00; text-shadow: 3px 0 #FF00C8, -3px 0 #00D4FF; }

.rf-sub {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.55;
  color: #F4F0FF;
  opacity: 0.9;
  margin: 0 0 32px;
  max-width: 480px;
  animation: rf-fade-up 0.8s ease-out 0.5s forwards;
  opacity: 0;
}

/* === CTA === */
.rf-cta-primary {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: #F4F0FF;
  color: #1A0B2E;
  border: none;
  padding: 16px 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 5px 5px 0 #C5FF00;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  animation: rf-fade-up 0.8s ease-out 0.7s forwards;
}
.rf-cta-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #FF00C8; }
.rf-cta-primary:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #FF00C8; }
.rf-cta-primary:focus-visible { outline: 2px solid #C5FF00; outline-offset: 4px; }
.rf-cta-primary .icon { color: #1A0B2E; font-weight: 900; }

/* === HERO CD === */
.rf-cd-container {
  position: relative;
  aspect-ratio: 1;
  width: min(520px, 38vw);
  max-width: 520px;
  min-width: 320px;
  margin: 0 auto;
  opacity: 0;
  isolation: isolate;
  animation: rf-fade-up 1s ease-out 0.4s forwards, rf-cd-float 5.8s ease-in-out 1.1s infinite;
}
.rf-cd-container::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 2px solid rgba(244,240,255,0.26);
  border-radius: 18px;
  transform: rotate(-7deg);
  box-shadow: 5px 5px 0 #00D4FF, -5px -5px 0 rgba(255,0,200,0.85);
  z-index: -2;
  animation: rf-panel-shift 4.8s steps(2, end) infinite;
}
.rf-cd-container::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(197,255,0,0.85), transparent);
  box-shadow: 0 120px 0 rgba(255,0,200,0.35), 0 210px 0 rgba(0,212,255,0.3);
  opacity: 0.75;
  z-index: 4;
  animation: rf-scan-drop 3.4s linear infinite;
}
@keyframes rf-cd-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes rf-panel-shift {
  50% { transform: rotate(-4deg) translate(4px, -2px); }
}
@keyframes rf-scan-drop {
  0% { transform: translateY(0); opacity: 0; }
  12%, 78% { opacity: 0.75; }
  100% { transform: translateY(260px); opacity: 0; }
}
.rf-cd {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #1A0B2E 18%, transparent 18.5%),
    conic-gradient(
      from 0deg,
      #FF00C8 0%, #00D4FF 25%, #C5FF00 50%, #FF00C8 75%, #00D4FF 100%
    );
  animation: rf-spin 8s linear infinite;
  box-shadow: 0 0 80px rgba(255,0,200,0.4), 0 0 0 10px rgba(26,11,46,0.55);
}
@keyframes rf-spin { to { transform: rotate(360deg); } }
.rf-cd::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14%; height: 14%;
  border-radius: 50%;
  background: #1A0B2E;
  border: 2px solid #F4F0FF;
  transform: translate(-50%, -50%);
}
.rf-cd-rings {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle, transparent 0, transparent 5px,
    rgba(255,255,255,0.04) 5px, rgba(255,255,255,0.04) 6px
  );
  animation: rf-spin 12s linear infinite reverse;
}
.rf-cd-orbit {
  position: absolute;
  inset: -4%;
  border: 2px dashed rgba(197,255,0,0.48);
  border-left-color: rgba(255,0,200,0.85);
  border-bottom-color: rgba(0,212,255,0.75);
  border-radius: 50%;
  animation: rf-spin 18s linear infinite reverse;
  z-index: -1;
}
.rf-cd-label {
  position: absolute;
  top: 1%; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: #C5FF00;
  color: #1A0B2E;
  padding: 5px 12px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 1.5px;
  z-index: 5;
  box-shadow: 2px 2px 0 #FF00C8;
  white-space: nowrap;
}
.rf-cd-spectrum {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  display: flex;
  align-items: end;
  gap: 5px;
  height: 54px;
  padding: 8px 10px;
  background: #1A0B2E;
  border: 2px solid #F4F0FF;
  border-radius: 8px;
  box-shadow: 4px 4px 0 #C5FF00;
  z-index: 5;
}
.rf-cd-spectrum span {
  width: 8px;
  height: 18px;
  background: #C5FF00;
  box-shadow: 1px 0 0 #FF00C8;
  animation: rf-eq 0.9s ease-in-out infinite;
}
.rf-cd-spectrum span:nth-child(2) { height: 34px; animation-delay: -0.2s; background: #00D4FF; }
.rf-cd-spectrum span:nth-child(3) { height: 24px; animation-delay: -0.4s; background: #FF00C8; }
.rf-cd-spectrum span:nth-child(4) { height: 42px; animation-delay: -0.1s; }
.rf-cd-spectrum span:nth-child(5) { height: 28px; animation-delay: -0.35s; background: #00D4FF; }
.rf-cd-spectrum span:nth-child(6) { height: 38px; animation-delay: -0.55s; background: #FF00C8; }
@keyframes rf-eq {
  0%, 100% { transform: scaleY(0.62); }
  50% { transform: scaleY(1.05); }
}
.rf-cd-stamp {
  position: absolute;
  bottom: 4%; right: 0;
  background: #FF00C8;
  color: #F4F0FF;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  z-index: 5;
  box-shadow: 2px 2px 0 #C5FF00;
  transform: rotate(-8deg);
}

/* === MARQUEE === */
.rf-marquee {
  background: #C5FF00;
  color: #1A0B2E;
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'VT323', monospace;
  font-size: 30px;
  letter-spacing: 1px;
  border-top: 2px solid #FF00C8;
  border-bottom: 2px solid #FF00C8;
  font-weight: 400;
}
.rf-marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: rf-marquee 30s linear infinite;
  padding-left: 32px;
}
.rf-marquee:hover .rf-marquee-track { animation-play-state: paused; }
@keyframes rf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.rf-marquee .star { color: #FF00C8; }
.rf-marquee .accent { color: #FF00C8; font-weight: 700; }

/* === STATS === */
.rf-stats { padding: 50px 28px; border-bottom: 2px solid #FF00C8; }
.rf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.rf-stat {
  padding: 12px 24px;
  border-right: 1px dashed rgba(255,0,200,0.3);
}
.rf-stat:last-child { border-right: none; }
.rf-stat:first-child { padding-left: 0; }
.rf-stat-num {
  font-family: 'VT323', monospace;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: #C5FF00;
  margin-bottom: 6px;
  text-shadow: 2px 0 #FF00C8;
}
.rf-stat-num .unit { color: #FF00C8; font-size: 0.6em; text-shadow: 2px 0 #00D4FF; }
.rf-stat-num.region { font-size: clamp(50px, 6vw, 80px); }
.rf-stat-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #F4F0FF;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* === SECTION === */
.rf-section { padding: 80px 28px; position: relative; max-width: 1400px; margin: 0 auto; }
.rf-section-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #C5FF00;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.rf-section-h {
  font-family: 'VT323', monospace;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin: 0 0 12px;
  color: #F4F0FF;
}
.rf-section-h .lime { color: #C5FF00; }
.rf-section-h .pink { color: #FF00C8; }
.rf-section-h .cyan { color: #00D4FF; }
.rf-section-sub {
  font-size: 15px;
  line-height: 1.6;
  color: #F4F0FF;
  opacity: 0.85;
  margin: 0 0 44px;
  max-width: 600px;
}

/* === SERVICES (3x2 grid, 6 windows) === */
.rf-windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rf-window {
  background: linear-gradient(180deg, #2D1654 0%, #1F0E3D 100%);
  border: 2px solid #F4F0FF;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 6px 6px 0 #FF00C8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rf-window:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 #FF00C8; }
.rf-window:nth-child(2) { box-shadow: 6px 6px 0 #C5FF00; }
.rf-window:nth-child(2):hover { box-shadow: 9px 9px 0 #C5FF00; }
.rf-window:nth-child(3) { box-shadow: 6px 6px 0 #00D4FF; }
.rf-window:nth-child(3):hover { box-shadow: 9px 9px 0 #00D4FF; }
.rf-window:nth-child(4) { box-shadow: 6px 6px 0 #C5FF00; }
.rf-window:nth-child(4):hover { box-shadow: 9px 9px 0 #C5FF00; }
.rf-window:nth-child(5) { box-shadow: 6px 6px 0 #FF00C8; }
.rf-window:nth-child(5):hover { box-shadow: 9px 9px 0 #FF00C8; }
.rf-window:nth-child(6) { box-shadow: 6px 6px 0 #00D4FF; }
.rf-window:nth-child(6):hover { box-shadow: 9px 9px 0 #00D4FF; }

.rf-titlebar {
  background: linear-gradient(90deg, #FF00C8 0%, #9D00FF 100%);
  padding: 8px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #F4F0FF;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.rf-titlebar-controls { display: inline-flex; gap: 4px; }
.rf-titlebar-controls span {
  display: inline-block;
  width: 14px; height: 14px;
  background: #F4F0FF;
  border: 1px solid #1A0B2E;
  border-radius: 2px;
  font-size: 8px;
  text-align: center;
  line-height: 12px;
  color: #1A0B2E;
  font-weight: 700;
}
.rf-window-body { padding: 24px 22px 26px; }
.rf-window-icon {
  display: inline-block;
  width: 52px; height: 52px;
  background: #C5FF00;
  border: 2px solid #1A0B2E;
  border-radius: 4px;
  text-align: center;
  line-height: 48px;
  font-size: 26px;
  margin-bottom: 18px;
  font-family: 'VT323', monospace;
  color: #1A0B2E;
  font-weight: bold;
  box-shadow: 2px 2px 0 #FF00C8;
}
.rf-window:nth-child(2) .rf-window-icon { background: #FF00C8; color: #F4F0FF; box-shadow: 2px 2px 0 #C5FF00; }
.rf-window:nth-child(3) .rf-window-icon { background: #00D4FF; color: #1A0B2E; box-shadow: 2px 2px 0 #FF00C8; }
.rf-window:nth-child(4) .rf-window-icon { background: #C5FF00; color: #1A0B2E; box-shadow: 2px 2px 0 #00D4FF; }
.rf-window:nth-child(5) .rf-window-icon { background: #FF00C8; color: #F4F0FF; box-shadow: 2px 2px 0 #C5FF00; }
.rf-window:nth-child(6) .rf-window-icon { background: #00D4FF; color: #1A0B2E; box-shadow: 2px 2px 0 #FF00C8; }
.rf-window-h {
  font-family: 'VT323', monospace;
  font-size: 32px;
  line-height: 1;
  margin: 0 0 12px;
  color: #F4F0FF;
}
.rf-window-p {
  font-size: 13px;
  line-height: 1.55;
  color: #F4F0FF;
  opacity: 0.85;
  margin: 0 0 14px;
}
.rf-window-list {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #C5FF00;
  margin: 0;
  line-height: 1.85;
}
.rf-window-list .b { color: #FF00C8; margin-right: 6px; }

/* === PORTFOLIO LOGOS === */
.rf-logos-section {
  padding: 60px 28px;
  text-align: center;
  border-top: 2px solid #FF00C8;
  border-bottom: 2px solid #FF00C8;
  background: linear-gradient(180deg, #0F051C 0%, #1A0B2E 100%);
}
.rf-logos-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #C5FF00;
  letter-spacing: 2.5px;
  margin: 0 0 30px;
  text-transform: uppercase;
}
.rf-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.rf-logo-tile {
  font-family: 'VT323', monospace;
  font-size: 26px;
  color: #F4F0FF;
  letter-spacing: -0.3px;
  padding: 8px 16px;
  border: 1px solid rgba(255,0,200,0.3);
  border-radius: 999px;
  transition: all 0.2s;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rf-logo-tile::before { content: "✦"; color: #C5FF00; font-size: 14px; }
.rf-logo-tile:hover { border-color: #C5FF00; background: #C5FF00; color: #1A0B2E; }
.rf-logo-tile:hover::before { color: #FF00C8; }

/* === CASES === */
.rf-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rf-case {
  background: linear-gradient(180deg, #2D1654 0%, #1F0E3D 100%);
  border: 2px solid #C5FF00;
  border-radius: 6px;
  padding: 22px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rf-case:hover { transform: translateY(-4px); border-color: #FF00C8; }
.rf-case::after {
  content: "✦";
  position: absolute;
  top: 12px; right: 14px;
  color: #C5FF00;
  font-family: 'VT323', monospace;
  font-size: 22px;
  animation: rf-spin 6s linear infinite;
}
.rf-case-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #FF00C8;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.rf-case-h {
  font-family: 'VT323', monospace;
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 8px;
  color: #F4F0FF;
}
.rf-case-p {
  font-size: 13px;
  line-height: 1.5;
  color: #F4F0FF;
  opacity: 0.8;
  margin: 0 0 18px;
  flex-grow: 1;
}
.rf-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px dashed rgba(197,255,0,0.3);
  padding-top: 14px;
  margin-top: auto;
}
.rf-metric { display: flex; flex-direction: column; min-width: 0; }
.rf-metric-key {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #F4F0FF;
  opacity: 0.7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rf-metric-val {
  font-family: 'VT323', monospace;
  font-size: 20px;
  color: #C5FF00;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === CTA BLOCK === */
.rf-cta-block {
  padding: 100px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #FF00C8;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,0,200,0.15) 0%, transparent 60%),
    #1A0B2E;
}
.rf-cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.rf-cta-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #C5FF00;
  text-transform: uppercase;
  margin: 0 0 16px;
  letter-spacing: 3px;
}
.rf-cta-h {
  font-family: 'VT323', monospace;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  margin: 0 0 18px;
  color: #F4F0FF;
  text-shadow: 4px 0 #FF00C8, -4px 0 #00D4FF;
}
.rf-cta-h .lime { color: #C5FF00; text-shadow: 4px 0 #FF00C8, -4px 0 #00D4FF; }
.rf-cta-p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: #F4F0FF;
  opacity: 0.9;
  margin: 0 auto 32px;
  max-width: 540px;
  line-height: 1.55;
}

/* === STICKY BAR === */
.rf-sticky {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  background: #1A0B2E;
  border: 2px solid #C5FF00;
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 24px rgba(197,255,0,0.4), 4px 4px 0 #FF00C8;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  max-width: calc(100vw - 32px);
  animation: rf-fade-in 0.6s ease-out 1.2s backwards;
}
@keyframes rf-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.rf-sticky-label { color: #C5FF00; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.rf-sticky-link { color: #F4F0FF; font-weight: 600; white-space: nowrap; transition: color 0.2s; }
.rf-sticky-link:hover { color: #C5FF00; }
.rf-sticky-divider { width: 1px; height: 18px; background: rgba(255,0,200,0.4); }
.rf-sticky-cta {
  background: #FF00C8;
  color: #F4F0FF;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.rf-sticky-cta:hover { background: #C5FF00; color: #1A0B2E; }

/* === FOOTER === */
.rf-foot {
  padding: 32px 28px 100px;
  background: #0F051C;
  border-top: 2px solid #FF00C8;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #F4F0FF;
  letter-spacing: 1px;
}
.rf-foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto 24px;
}
.rf-foot-col h4 {
  font-family: 'VT323', monospace;
  font-size: 22px;
  letter-spacing: 1px;
  margin: 0 0 14px;
  color: #C5FF00;
  text-transform: uppercase;
}
.rf-foot-col a, .rf-foot-col span {
  display: block;
  color: #F4F0FF;
  margin-bottom: 8px;
  transition: color 0.2s;
  opacity: 0.9;
}
.rf-foot-col a:hover { color: #C5FF00; }
.rf-foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px dashed rgba(255,0,200,0.3);
  max-width: 1400px;
  margin: 0 auto;
  font-size: 10px;
  flex-wrap: wrap;
  gap: 10px;
}
.rf-foot .pink { color: #FF00C8; }
.rf-foot .lime { color: #C5FF00; }

/* === SCROLL REVEAL === */
.rf-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.rf-reveal.is-visible { opacity: 1; transform: translateY(0); }
.rf-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.rf-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.rf-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.rf-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.rf-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.rf-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.rf-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.rf-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* === MODAL === */
.rf-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15,5,28,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.rf-modal-bg.is-open {
  display: flex;
  animation: rf-modal-fade 0.3s ease-out;
}
@keyframes rf-modal-fade { from { opacity: 0; } to { opacity: 1; } }

.rf-modal {
  width: 100%;
  max-width: 540px;
  background: linear-gradient(180deg, #2D1654 0%, #1F0E3D 100%);
  border: 2px solid #F4F0FF;
  border-radius: 6px;
  position: relative;
  box-shadow: 8px 8px 0 #FF00C8, 16px 16px 0 #C5FF00;
  animation: rf-modal-slide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes rf-modal-slide {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.rf-modal-titlebar {
  background: linear-gradient(90deg, #FF00C8 0%, #9D00FF 100%);
  padding: 8px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #F4F0FF;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.rf-modal-close {
  background: #F4F0FF;
  color: #1A0B2E;
  border: 1px solid #1A0B2E;
  border-radius: 2px;
  width: 22px;
  height: 22px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.rf-modal-close:hover { background: #C5FF00; }
.rf-modal-body { padding: 30px 28px 26px; }

.rf-modal-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #C5FF00;
  letter-spacing: 2px;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.rf-modal-h {
  font-family: 'VT323', monospace;
  font-size: 44px;
  line-height: 0.95;
  margin: 0 0 8px;
  color: #F4F0FF;
  text-shadow: 2px 0 #FF00C8, -2px 0 #00D4FF;
}
.rf-modal-h .lime { color: #C5FF00; text-shadow: 2px 0 #FF00C8, -2px 0 #00D4FF; }
.rf-modal-prompt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #C5FF00;
  margin: 0 0 22px;
}
.rf-modal-prompt .typed { color: #F4F0FF; }
.rf-modal-prompt .cursor {
  display: inline-block;
  width: 6px; height: 12px;
  background: #C5FF00;
  vertical-align: -1px;
  margin-left: 2px;
  animation: rf-blink 1s steps(2) infinite;
}

/* === FORM === */
.rf-form-group { margin-bottom: 16px; position: relative; z-index: 2; }
.rf-form-label {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #C5FF00;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.rf-form-label .req { color: #FF00C8; margin-left: 4px; }
.rf-form-input,
.rf-form-select,
.rf-form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(244,240,255,0.05);
  border: 2px solid rgba(197,255,0,0.3);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 16px;
  color: #F4F0FF;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.rf-form-input::placeholder, .rf-form-textarea::placeholder { color: rgba(244,240,255,0.4); opacity: 1; }
.rf-form-input:focus, .rf-form-select:focus, .rf-form-textarea:focus {
  border-color: #C5FF00;
  background: rgba(197,255,0,0.06);
  box-shadow: 0 0 0 3px rgba(197,255,0,0.15);
}
.rf-form-input.is-invalid, .rf-form-select.is-invalid, .rf-form-textarea.is-invalid { border-color: #FF00C8; }
.rf-form-textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.rf-form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23C5FF00' d='M0 0h10L5 6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.rf-form-select option { background: #1A0B2E; color: #F4F0FF; }
.rf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.rf-form-submit {
  width: 100%;
  box-sizing: border-box;
  background: #F4F0FF;
  color: #1A0B2E;
  border: none;
  border-radius: 4px;
  padding: 14px 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 8px;
  box-shadow: 4px 4px 0 #FF00C8;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.rf-form-submit:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #C5FF00; }
.rf-form-submit:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #FF00C8; }
.rf-form-submit:focus-visible { outline: 2px solid #C5FF00; outline-offset: 4px; }
.rf-form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.rf-form-foot {
  margin-top: 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: #F4F0FF;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.rf-form-foot .b { color: #C5FF00; margin-right: 6px; }

.rf-form-error {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border: 2px solid #FF00C8;
  border-radius: 4px;
  background: rgba(255,0,200,0.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #F4F0FF;
}
.rf-form-error.is-shown { display: block; }

.rf-form-success { display: none; text-align: center; padding: 30px 8px 12px; }
.rf-form-success.is-shown { display: block; }
.rf-form-success-icon {
  width: 64px; height: 64px;
  border: 2px solid #C5FF00;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #C5FF00;
  font-family: 'VT323', monospace;
  animation: rf-check-pulse 1.6s ease-out;
  box-shadow: 0 0 24px rgba(197,255,0,0.5);
}
@keyframes rf-check-pulse {
  0% { box-shadow: 0 0 0 0 rgba(197,255,0,0.6); }
  100% { box-shadow: 0 0 0 24px rgba(197,255,0,0); }
}
.rf-form-success-h {
  font-family: 'VT323', monospace;
  font-size: 32px;
  margin: 0 0 8px;
  color: #F4F0FF;
  text-shadow: 2px 0 #FF00C8, -2px 0 #00D4FF;
}
.rf-form-success-p { font-size: 14px; color: #F4F0FF; opacity: 0.85; line-height: 1.55; margin: 0; }

body.rf-modal-open { overflow: hidden; }

/* === MEDIA QUERIES === */
/* === BREAKPOINTS === */

/* Tablet: 1100px down */
@media (max-width: 1100px) {
  .rf-windows { grid-template-columns: repeat(2, 1fr); }
  .rf-cases { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rf-metric-val { font-size: 22px; }
  .rf-metric-key { font-size: 9px; }
  .rf-hero-grid { grid-template-columns: 1fr; gap: 50px; max-width: 600px; }
  .rf-cd-container { width: min(360px, 78vw); min-width: 260px; max-width: 360px; order: -1; }
}

/* Mobile: 768px down */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .rf-statusbar { padding: 5px 12px; font-size: 9px; letter-spacing: 0.5px; }

  .rf-nav { padding: 12px 16px; top: 22px; }
  .rf-logo { font-size: 24px; letter-spacing: -0.5px; }
  .rf-logo .bolt { width: 9px; height: 14px; }
  .rf-nav-cta { font-size: 10px; padding: 8px 12px; box-shadow: 3px 3px 0 #C5FF00; }
  .rf-nav-cta:hover { box-shadow: 4px 4px 0 #FF00C8; }

  .rf-hero { padding: 40px 18px 50px; }
  .rf-hero-grid { gap: 36px; }
  .rf-cd-container { width: min(280px, 78vw); min-width: 220px; max-width: 280px; }
  .rf-headline {
    font-size: clamp(38px, 11vw, 56px);
    text-shadow: 2px 0 #FF00C8, -2px 0 #00D4FF;
  }
  .rf-headline .lime { text-shadow: 2px 0 #FF00C8, -2px 0 #00D4FF; }
  .rf-sub { font-size: 14px; }
  .rf-cta-primary { padding: 14px 22px; font-size: 11px; box-shadow: 4px 4px 0 #C5FF00; }
  .rf-cta-primary:hover { box-shadow: 5px 5px 0 #FF00C8; }

  .rf-marquee { font-size: 22px; padding: 12px 0; }

  .rf-stats { padding: 30px 18px; }
  .rf-stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .rf-stat {
    padding: 14px 14px;
    border-bottom: 1px dashed rgba(255,0,200,0.3);
    border-right: 1px dashed rgba(255,0,200,0.3);
  }
  .rf-stat:nth-child(2n) { border-right: none; }
  .rf-stat:nth-last-child(-n+2) { border-bottom: none; }
  .rf-stat:first-child { padding-left: 14px; }
  .rf-stat-num { font-size: 44px; }
  .rf-stat-num.region { font-size: 52px; }

  .rf-section { padding: 50px 18px; }
  .rf-section-h { font-size: clamp(32px, 9vw, 44px); }
  .rf-section-sub { font-size: 14px; margin-bottom: 32px; }

  .rf-windows { grid-template-columns: 1fr; gap: 16px; }
  .rf-window-body { padding: 20px 18px 22px; }
  .rf-window-h { font-size: 28px; }
  .rf-window-p { font-size: 13px; }

  .rf-cases { grid-template-columns: 1fr; gap: 14px; }
  .rf-case { padding: 20px 18px; }
  .rf-case-h { font-size: 26px; }
  .rf-case-metrics { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rf-metric-val { font-size: 22px; }
  .rf-metric-key { font-size: 9px; }

  .rf-logos-section { padding: 40px 18px; }
  .rf-logos-tag { font-size: 10px; margin-bottom: 22px; }
  .rf-logo-tile { font-size: 20px; padding: 5px 12px; }

  .rf-cta-block { padding: 60px 18px; }
  .rf-cta-h { font-size: clamp(36px, 10vw, 52px); text-shadow: 3px 0 #FF00C8, -3px 0 #00D4FF; }
  .rf-cta-h .lime { text-shadow: 3px 0 #FF00C8, -3px 0 #00D4FF; }
  .rf-cta-p { font-size: 14px; }

  .rf-foot { padding: 28px 18px 100px; }
  .rf-foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .rf-foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .rf-sticky {
    bottom: 12px;
    padding: 6px 6px 6px 14px;
    font-size: 10px;
    gap: 8px;
    border-width: 1.5px;
  }
  .rf-sticky-divider, .rf-sticky-label { display: none; }
  .rf-sticky-link:not(:last-of-type) { display: none; }
  .rf-sticky-cta { font-size: 10px; padding: 8px 14px; }

  .rf-modal-bg {
    padding: 20px 12px;
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .rf-modal { max-width: 100%; box-shadow: 4px 4px 0 #FF00C8, 8px 8px 0 #C5FF00; }
  .rf-modal-body { padding: 22px 20px 20px; }
  .rf-modal-h { font-size: 34px; }
  .rf-form-row { grid-template-columns: 1fr; gap: 0; }
  .rf-form-input, .rf-form-select, .rf-form-textarea {
    font-size: 16px; /* iOS - 16px zapobiega autozoomowi przy focusie */
    padding: 11px 12px;
  }
  .rf-form-submit { padding: 13px 16px; font-size: 11px; }
}

/* Mały telefon: 380px down */
@media (max-width: 380px) {
  .rf-statusbar { font-size: 8px; padding: 5px 10px; }
  .rf-nav { padding: 10px 14px; }
  .rf-logo { font-size: 22px; }
  .rf-nav-cta { font-size: 9px; padding: 7px 10px; }
  .rf-headline { font-size: 36px; }
  .rf-stat-num { font-size: 38px; }
  .rf-stat-num.region { font-size: 46px; }
  .rf-section-h { font-size: 30px; }
  .rf-cta-h { font-size: 36px; }
  .rf-modal-h { font-size: 30px; }
  .rf-window-h, .rf-case-h { font-size: 24px; }
}

/* Bardzo szeroki: 1400px+ */
@media (min-width: 1400px) {
  .rf-nav, .rf-statusbar, .rf-foot, .rf-stats, .rf-cta-block, .rf-logos-section {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* Retina - subpixel rendering */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body { -webkit-font-smoothing: subpixel-antialiased; }
}

/* Hover tylko na desktop - mobile nie odpala hover transformacji */
@media (hover: none) {
  .rf-window:hover, .rf-case:hover, .rf-cta-primary:hover, .rf-nav-cta:hover, .rf-form-submit:hover {
    transform: none !important;
  }
  .rf-window:hover { box-shadow: 6px 6px 0 #FF00C8 !important; }
  .rf-window:nth-child(2):hover { box-shadow: 6px 6px 0 #C5FF00 !important; }
  .rf-window:nth-child(3):hover { box-shadow: 6px 6px 0 #00D4FF !important; }
  .rf-window:nth-child(4):hover { box-shadow: 6px 6px 0 #C5FF00 !important; }
  .rf-window:nth-child(5):hover { box-shadow: 6px 6px 0 #FF00C8 !important; }
  .rf-window:nth-child(6):hover { box-shadow: 6px 6px 0 #00D4FF !important; }
}

/* Landscape mobile - obniża hero żeby się mieścił */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .rf-hero { padding: 30px 20px 40px; }
  .rf-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 30px; }
  .rf-cd-container { width: 200px; min-width: 180px; max-width: 200px; order: 0; }
  .rf-headline { font-size: 36px; }
}