@import url("https://fonts.cdnfonts.com/css/pp-neue-montreal");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap");

@font-face {
  font-family: "PPSupplyMono";
  src: url("https://assets.codepen.io/7558/PPSupplyMono-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --warm-off-white: #ffffff;
  --warm-off-white-dim: #cccccc;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --background-dark: #1a1a1a;
  --background-gradient-1: #222222;
  --background-gradient-2: #1a1a1a;
  --font-primary: "PP Neue Montreal", sans-serif;
  --font-secondary: "PPSupplyMono", monospace;
  --font-sans: "PP Neue Montreal", sans-serif;
  --font-size-small: 10px;
  --font-size-regular: 1rem;
  --font-size-medium: 1.5rem;
  --font-size-large: 4rem;
  --spacing-small: 0.5rem;
  --spacing-medium: 1rem;
  --spacing-large: 2rem;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 20px;
  }
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  background-color: var(--background-dark);
  font-family: var(--font-secondary);
  font-size: var(--font-size-small);
  cursor: none;
  touch-action: pan-y pinch-zoom;
}

.section {
  width: 100vw;
  position: relative;
  transition: all 0.6s ease;
}

.hero-section {
  padding: var(--spacing-large);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://img.freepik.com/premium-photo/white-dust-scratches-black-background_279525-2.jpg?w=640");
  background-repeat: repeat;
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
  filter: invert(0);
}

#container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  z-index: 0;
  pointer-events: none;
}

#stats {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  pointer-events: none;
}

.header-area {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  padding: 0 3.5rem;
  display: flex;
  justify-content: center;
  z-index: 500;
  pointer-events: none;
}

.logo-container {
  position: absolute;
  left: 3.5rem;
  top: 0;
  display: flex;
  align-items: center;
  height: 2rem;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
}

.logo-circles {
  position: relative;
  width: 100%;
  height: 100%;
}

.circle {
  position: absolute;
  border-radius: 50%;
  transition: transform var(--transition-medium);
  width: 1.4rem;
  height: 1.4rem;
  background-color: var(--text-primary);
  top: 50%;
}

.circle-1 {
  left: 0;
  transform: translate(0, -50%);
}

.circle-2 {
  left: 0.8rem;
  transform: translate(0, -50%);
  mix-blend-mode: exclusion;
}

.logo-container:hover .circle-1 {
  transform: translate(-0.5rem, -50%);
}

.logo-container:hover .circle-2 {
  transform: translate(0.5rem, -50%);
}

.center-logo {
  text-align: center;
  z-index: 10;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.logo-image {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.4));
}

.menu-trigger {
  position: absolute;
  right: 3.5rem;
  top: 0;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #fff;
  width: 48px;
  height: 48px;
  line-height: 48px;
  cursor: pointer;
  z-index: 410;
  pointer-events: auto;
  touch-action: manipulation;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
}

.menu-trigger::before,
.menu-trigger::after {
  content: "";
  width: 48px;
  height: 8px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: background 0.3s ease;
}

.menu-trigger::before {
  top: 6px;
}

.menu-trigger::after {
  bottom: 6px;
}

.menu-trigger.menu-trigger--active {
  animation: burgertext 4s forwards;
}

.menu-trigger.menu-trigger--active::before {
  animation: burgertop 4s forwards;
}

.menu-trigger.menu-trigger--active::after {
  animation: burgerbottom 4s forwards;
}

.menu {
  display: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 380;
}

.menu.menu--visible {
  display: block;
}

.menu__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(5, 5, 12, 0.92);
  transition: opacity 0.35s ease;
}

.menu__bg.menu__bg--active {
  opacity: 1;
}

.menu__container {
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1.5;
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
  font-family: var(--font-primary);
  letter-spacing: 0.1em;
}

.menu__container.menu__container--active {
  animation: menufg 4s forwards;
}

.menu__container ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__container li {
  margin-bottom: 1rem;
}

.menu__container a {
  display: inline-block;
  transition: all 0.2s ease;
  color: #fff;
  text-decoration: none;
  padding: 5px 14px;
}

.menu__container a:hover {
  background: #fff;
  color: #000;
}

.menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #000;
  cursor: pointer;
  z-index: 35;
}

.menu__close::after {
  content: "\2715";
}

.marquee-section {
  position: relative;
  padding: 6rem 0 4rem;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
  margin-top: -2px;
}

.marquee-row {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-row--primary {
  color: #ffffff;
}

.marquee-row--secondary {
  color: #7ac5ff;
  border-color: rgba(122, 197, 255, 0.15);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: marquee-left 30s linear infinite;
  white-space: nowrap;
  padding: 1.25rem 0;
}

.marquee-row--secondary .marquee-track {
  animation: marquee-right 32s linear infinite;
}

.marquee-text {
  font-family: var(--font-primary);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(2rem, 5vw, 4rem);
  padding: 0 1rem;
  opacity: 0.9;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(146, 92, 255, 0.9) 0%, rgba(51, 13, 90, 0.7) 60%, rgba(0, 0, 0, 0) 75%);
  box-shadow: 0 0 20px rgba(146, 92, 255, 0.9), 0 0 40px rgba(102, 45, 145, 0.8);
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: opacity 0.3s ease;
  z-index: 50;
  opacity: 0;
}

/* Dev scanner section */
.dev-scanner-section {
  position: relative;
  width: 100%;
  min-height: 75vh;
  padding: 5rem 1.5rem 6rem;
  background: radial-gradient(circle at 20% 20%, rgba(147, 92, 255, 0.12), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(82, 222, 255, 0.12), transparent 32%),
    #050507;
  color: var(--text-primary);
  overflow: hidden;
}

.dev-scanner__canvas-container {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(12, 12, 16, 0.92), rgba(10, 10, 18, 0.85));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.dev-scanner__controls {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 30;
}

.control-btn {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.speed-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-primary);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  z-index: 30;
}

.dev-scanner__canvas-container canvas {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 70%;
  pointer-events: none;
}

#scannerCanvas {
  z-index: 15;
}

#particleCanvas {
  z-index: 0;
}

.scanner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 70%;
  border-radius: 20px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(82, 222, 255, 0.85),
    rgba(147, 92, 255, 1),
    rgba(82, 222, 255, 0.85),
    transparent
  );
  box-shadow: 0 0 20px rgba(82, 222, 255, 0.7), 0 0 40px rgba(147, 92, 255, 0.4);
  z-index: 12;
  opacity: 0.9;
  animation: scanPulse 2s ease-in-out infinite alternate;
}

.card-stream {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  overflow: visible;
  transform: translateY(-50%);
  z-index: 20;
}

.card-line {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.card-line.dragging {
  cursor: grabbing;
}

.card-wrapper {
  position: relative;
  width: 400px;
  height: 250px;
  flex-shrink: 0;
  overflow: hidden;
}

.card {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.card-surface {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(12, 12, 16, 0.9), rgba(8, 8, 12, 0.85));
}

.card-theme-aurora {
  background: linear-gradient(145deg, rgba(50, 70, 120, 0.55), rgba(15, 18, 40, 0.85));
  border: 1px solid rgba(118, 165, 255, 0.22);
}

.card-theme-dusk {
  background: linear-gradient(145deg, rgba(80, 42, 94, 0.5), rgba(24, 12, 30, 0.85));
  border: 1px solid rgba(182, 118, 255, 0.25);
}

.card-theme-iris {
  background: linear-gradient(145deg, rgba(30, 80, 95, 0.45), rgba(8, 16, 24, 0.85));
  border: 1px solid rgba(92, 255, 222, 0.18);
}

.card-theme-cyber {
  background: linear-gradient(145deg, rgba(90, 60, 130, 0.5), rgba(10, 12, 25, 0.9));
  border: 1px solid rgba(255, 120, 180, 0.18);
}

.card-web .card-surface {
  background: linear-gradient(190deg, rgba(18, 24, 38, 0.9), rgba(12, 16, 28, 0.82));
}

.card-web .browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 22px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot--red {
  background: #ff5f56;
}
.browser-dot--yellow {
  background: #ffbd2e;
}
.browser-dot--green {
  background: #28c840;
}

.browser-url {
  flex: 1;
  height: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.browser-url::after {
  content: "https://app.example.com";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-secondary);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
}

.browser-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 12px;
  padding-top: 6px;
}

.browser-sidebar,
.browser-content {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.browser-sidebar .nav-item,
.browser-content .content-block {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.browser-content .content-block.large {
  height: 40px;
}

.browser-content .content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.browser-content .content-grid .tile {
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(82, 222, 255, 0.12), rgba(147, 92, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-frame {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 130%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.phone-frame--android {
  border-radius: 26px;
  border-color: rgba(82, 222, 255, 0.85);
}

.phone-frame--ios {
  border-radius: 36px;
  border-color: rgba(168, 110, 255, 0.85);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
}

.phone-notch--android {
  width: 36px;
  height: 10px;
  border-radius: 12px;
  background: rgba(82, 222, 255, 0.8);
}

.phone-notch--ios {
  width: 120px;
  height: 18px;
  border-radius: 12px;
  background: rgba(168, 110, 255, 0.8);
}

.phone-screen {
  position: absolute;
  inset: 28px 18px 18px;
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.92), rgba(10, 10, 18, 0.9));
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-screen--android {
  background: linear-gradient(200deg, rgba(6, 40, 40, 0.9), rgba(9, 14, 18, 0.88));
}

.phone-screen--ios {
  background: linear-gradient(200deg, rgba(27, 18, 42, 0.92), rgba(10, 8, 26, 0.94));
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.phone-title {
  width: 60%;
  height: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(82, 222, 255, 0.2), rgba(147, 92, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.phone-item {
  height: 30px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-ascii {
  background: transparent;
  z-index: 1;
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
}

.ascii-content {
  position: absolute;
  inset: 0;
  color: rgba(220, 210, 255, 0.7);
  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 13px;
  white-space: pre;
  clip-path: inset(0 calc(100% - var(--clip-left, 0%)) 0 0);
  animation: glitch 0.1s infinite linear alternate-reverse;
  padding: 14px;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 80%,
    rgba(0, 0, 0, 0.2) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 80%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.card-normal {
  clip-path: inset(0 0 0 var(--clip-right, 0%));
}

.card-ascii {
  clip-path: inset(0 calc(100% - var(--clip-left, 0%)) 0 0);
}

.scan-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(82, 222, 255, 0.35), transparent);
  animation: scanEffect 0.6s ease-out;
  pointer-events: none;
  z-index: 5;
}

.instructions {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  max-width: 200px;
  text-align: right;
  z-index: 5;
}

.inspiration-credit {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  color: #ff9a9c;
  z-index: 30;
  text-align: center;
}

.inspiration-credit a {
  color: #ff9a9c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.inspiration-credit a:hover {
  color: #ff7a7c;
}

.dev-scanner-section + .cursor-dot {
  position: fixed;
}

.parallax-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 30% 20%, rgba(147, 92, 255, 0.2), rgba(11, 9, 22, 0.95));
  overflow: hidden;
  padding: 0;
}

.parallax-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.parallax-canvas {
  display: block;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.scrollElement {
  position: relative;
  height: 6000px;
  width: 100%;
  pointer-events: none;
}

.parallax-overlay {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.85rem 1.2rem;
  background: rgba(10, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--text-primary);
  font-family: "PPSupplyMono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  min-width: 280px;
  z-index: 6;
}

.parallax-buttons {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 6;
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.55rem 1.4rem;
  border-radius: 28px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn_primary {
  border-color: rgba(146, 92, 255, 0.6);
}

.btn_secondary {
  border-color: rgba(92, 222, 255, 0.6);
}

.btn:hover {
  background: var(--text-primary);
  color: #07060d;
}

.global-footer {
  background: #05050c;
  color: var(--text-secondary);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.global-footer.footer--visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-nav,
.footer-flags {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.footer-logo img {
  width: 110px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3));
}

.contact-anchor {
  display: block;
  width: 1px;
  height: 1px;
}

.footer-flags span {
  font-size: 0.85rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-social:hover,
.footer-social:focus {
  opacity: 0.9;
}

.footer-social svg {
  display: block;
}

@media (max-width: 1100px) {
  .dev-scanner-section {
    padding: 4rem 1rem 5rem;
  }

  .dev-scanner__canvas-container {
    height: 65vh;
  }

  .card-wrapper {
    transform: scale(0.9);
    transform-origin: center;
  }

  .parallax-overlay {
    top: 4%;
    min-width: 220px;
    font-size: 0.65rem;
  }

  .parallax-buttons {
    bottom: 3%;
  }

  .global-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .dev-scanner__controls,
  .speed-indicator {
    position: static;
    margin-bottom: 12px;
  }

  .dev-scanner-section {
    padding: 3rem 1rem 4rem;
  }

  .dev-scanner__canvas-container {
    height: 60vh;
  }

  .card-wrapper {
    transform: scale(0.75);
  }
}

@keyframes scanPulse {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scaleY(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleY(1.06);
  }
}

@keyframes scanEffect {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes glitch {
  0% {
    opacity: 1;
  }
  15% {
    opacity: 0.9;
  }
  16% {
    opacity: 1;
  }
  49% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  99% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: var(--text-primary);
  width: 90%;
  max-width: 800px;
}

.hero h1 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: var(--font-size-large);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: none;
  margin: 0 0 2rem 0;
}

.hero h2 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  opacity: 0.8;
  font-weight: normal;
  margin: 0;
}

.hero:hover h2 {
  opacity: 1;
}

@media (max-width: 768px) {
  .header-area {
    top: 1.25rem;
    padding: 0 2rem;
  }

  .logo-container {
    left: 2rem;
  }

  .menu-trigger {
    right: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 10px;
  }

  .marquee-section {
    padding: 4rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: var(--spacing-medium);
  }

  .header-area {
    top: 1rem;
    padding: 0 1.25rem;
  }

  .logo-container {
    left: 1.25rem;
    font-size: 0.65rem;
  }

  .menu-trigger {
    top: 0;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    line-height: 44px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .logo-image {
    width: 90px;
  }

  .marquee-text {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
  }
}

@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto;
  }

  .cursor-dot {
    display: none;
  }

  .menu-trigger {
    cursor: pointer;
  }
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes burgertext {
  0% {
    color: rgba(255, 255, 255, 1);
  }
  10% {
    color: rgba(255, 255, 255, 1);
  }
  12% {
    color: rgba(255, 255, 255, 0);
  }
  100% {
    color: rgba(255, 255, 255, 0);
  }
}

@keyframes burgerbottom {
  0% {
    bottom: 0;
    opacity: 1;
  }
  5% {
    bottom: -3px;
    opacity: 1;
  }
  10% {
    bottom: -3px;
    opacity: 1;
  }
  12% {
    bottom: 15px;
    opacity: 1;
  }
  13% {
    bottom: 15px;
    opacity: 0;
  }
  100% {
    bottom: 15px;
    opacity: 0;
  }
}

@keyframes burgertop {
  0% {
    left: 0;
    top: 0;
    transform: rotate(0);
    width: 48px;
    height: 8px;
    border-radius: 0;
  }
  5% {
    left: 0;
    top: -3px;
  }
  10% {
    left: 0;
    top: -3px;
  }
  12% {
    left: 0;
    top: 15px;
  }
  20% {
    left: 0;
    top: 15px;
  }
  30% {
    left: 0;
    top: 0;
    transform: rotate(1280deg);
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
  35% {
    transform: rotate(0);
  }
  38% {
    left: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
  100% {
    left: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
}

@keyframes menubg {
  0% {
    opacity: 0;
    width: 32px;
    height: 32px;
  }
  38% {
    opacity: 0;
  }
  39% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    width: 5000px;
    height: 5000px;
  }
}

@keyframes menufg {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
