/* ==========================================
   PHONA LANDING PAGE
   Estética: Analógica moderna + Moises.ai
   ========================================== */

/* ==========================================
   RESET & BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta de cores autoral */
  --copper: #c28c66;
  --copper-light: #d4a378;
  --copper-dark: #a67351;
  --peach: #e8b4a0;
  --sage: #8a9a8e;
  --charcoal: #1a1a1a;
  --charcoal-light: #2a2a2a;
  --cream: #f5f1ed;
  --warm-white: #fafaf8;

  /* Sistema de cores */
  --bg-primary: #0d0d0d;
  --bg-secondary: #161616;
  --bg-card: #1f1f1f;
  --text-primary: #f5f1ed;
  --text-secondary: #a8a29e;
  --text-muted: #6b6763;
  --border: rgba(194, 140, 102, 0.15);
  --border-hover: rgba(194, 140, 102, 0.35);

  /* Tipografia */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;

  /* Espaçamento */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Animação */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Performance */
  --animation-duration: 0.3s;
}

/* Performance optimization */
* {
  will-change: auto;
}

/* Prevent CLS with aspect ratio and sizing */
img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

/* System font fallback to prevent FOIT */
@font-face {
  font-family: 'Inter-fallback';
  src: local('Arial');
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 107%;
}

@font-face {
  font-family: 'Space Grotesk-fallback';
  src: local('Arial');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

.hero-bg,
.waveform-canvas,
.hero-grain {
  transform: translateZ(0);
  backface-visibility: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body), 'Inter-fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ==========================================
   STICKY CTA
   ========================================== */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  transition: opacity 0.3s var(--ease-smooth);
  contain: layout style paint;
  will-change: opacity;
}

.sticky-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg,
      var(--copper) 0%,
      var(--copper-dark) 100%);
  color: white;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(194, 140, 102, 0.4);
  transition: all var(--animation-duration) var(--ease-smooth);
  transform: translateZ(0);
}

.sticky-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(194, 140, 102, 0.5);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  transform: translateZ(0);
  will-change: opacity;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  contain: layout style paint;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.waveform-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  transform: translateZ(0);
  will-change: auto;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%,
      transparent 0%,
      var(--bg-primary) 80%);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  height: 72px;
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
  contain: layout style;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--copper);
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s var(--ease-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-cta {
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease-smooth);
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 140, 102, 0.4);
}

/* Nav User (when logged in) */
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(194, 140, 102, 0.1);
  border: 1px solid rgba(194, 140, 102, 0.2);
  border-radius: 100px;
  color: var(--text-primary);
}

/* Nav User Menu Container */
#nav-user-menu {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
}

.nav-user-icon {
  font-size: 1rem;
}

.nav-user-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-link-logout {
  background: transparent;
  border: 1px solid rgba(194, 140, 102, 0.3);
  color: var(--text-secondary) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.nav-link-logout::after {
  display: none;
}

.nav-link-logout:hover {
  border-color: var(--copper);
  color: var(--copper) !important;
  background: rgba(194, 140, 102, 0.05);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem;
  text-align: center;
  contain: layout style;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(194, 140, 102, 0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--copper-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--copper);
  border-radius: 50%;
  animation: pulse-dot 3s ease-in-out infinite;
  transform: translateZ(0);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  min-height: 0.1em;
  background: linear-gradient(180deg,
      var(--text-primary) 0%,
      var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-accent {
  display: block;
  background: linear-gradient(135deg,
      var(--copper-light) 0%,
      var(--copper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-highlight {
  color: var(--copper-light);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform var(--animation-duration) var(--ease-smooth),
    box-shadow var(--animation-duration) var(--ease-smooth);
  border: none;
  font-family: inherit;
  transform: translateZ(0);
}

.btn-primary {
  background: linear-gradient(135deg,
      var(--copper) 0%,
      var(--copper-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(194, 140, 102, 0.3);
}

.btn-primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 24px rgba(194, 140, 102, 0.4);
}

.btn-secondary {
  background: rgba(194, 140, 102, 0.1);
  color: var(--copper-light);
  border: 1px solid var(--border);
  transition: background var(--animation-duration) var(--ease-smooth),
    border-color var(--animation-duration) var(--ease-smooth);
}

.btn-secondary:hover {
  background: rgba(194, 140, 102, 0.15);
  border-color: var(--border-hover);
}

.btn-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease-smooth);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Mockup */
.hero-mockup {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  contain: layout style;
}

.mockup-player {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(194, 140, 102, 0.1) inset;
  backdrop-filter: blur(20px);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--charcoal-light);
  border: 1px solid var(--border);
}

.mockup-title {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: "Courier New", monospace;
}

.mockup-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--copper);
  padding: 0.25rem 0.75rem;
  background: rgba(194, 140, 102, 0.1);
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.mockup-waveform {
  position: relative;
  margin-bottom: 1.5rem;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(194, 140, 102, 0.05);
}

#mockupWaveCanvas {
  width: 100%;
  height: 100%;
}

.mockup-playhead {
  position: absolute;
  top: 0;
  left: 30%;
  width: 2px;
  height: 100%;
  background: var(--copper);
  box-shadow: 0 0 10px rgba(194, 140, 102, 0.5);
  animation: playhead-move 4s ease-in-out infinite;
  transform: translateZ(0);
}

@keyframes playhead-move {

  0%,
  100% {
    left: 30%;
  }

  50% {
    left: 70%;
  }
}

.mockup-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mockup-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--copper);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-smooth);
}

.mockup-play svg {
  width: 18px;
  height: 18px;
}

.mockup-play:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(194, 140, 102, 0.4);
}

.mockup-time {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.mockup-progress {
  flex: 1;
  height: 4px;
  background: var(--charcoal-light);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg,
      var(--copper) 0%,
      var(--copper-light) 100%);
  border-radius: 2px;
  position: relative;
  animation: progress-grow 4s ease-in-out infinite;
  transform: translateZ(0);
}

.mockup-progress-thumb {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) translateZ(0);
  width: 12px;
  height: 12px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(194, 140, 102, 0.6);
}

@keyframes progress-grow {

  0%,
  100% {
    width: 45%;
  }

  50% {
    width: 75%;
  }
}

.mockup-knobs {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.knob {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.knob-dial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--charcoal-light);
  border: 2px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.knob-dial::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: var(--copper);
  border-radius: 1px;
}

.knob:hover .knob-dial {
  border-color: var(--border-hover);
  transform: rotate(15deg);
}

.knob span {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Scroll Indicator */
.scroll-indicator {
  display: none;
}

.scroll-arrow {
  animation: bounce 3s ease-in-out infinite;
  transform: translateZ(0);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0) translateZ(0);
  }

  50% {
    transform: translateY(8px) translateZ(0);
  }
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
  position: relative;
  padding: var(--space-2xl) 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.text-accent {
  color: var(--copper-light);
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================
   EFFECTS SECTION
   ========================================== */
.effects-section {
  background: var(--bg-secondary);
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.effect-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  cursor: pointer;
  transition: transform var(--animation-duration) var(--ease-smooth),
    border-color var(--animation-duration) var(--ease-smooth),
    box-shadow var(--animation-duration) var(--ease-smooth);
  overflow: hidden;
  transform: translateZ(0);
}

.effect-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg,
      transparent,
      transparent 2px,
      rgba(194, 140, 102, 0.02) 2px,
      rgba(194, 140, 102, 0.02) 4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--animation-duration) var(--ease-smooth);
  transform: translateZ(0);
}

.effect-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(194, 140, 102, 0.2) inset;
}

.effect-card:hover .effect-texture {
  opacity: 1;
}

.effect-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.effect-icon svg {
  width: 100%;
  height: 100%;
}

.effect-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.effect-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.effect-preview {
  height: 60px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: rgba(194, 140, 102, 0.05);
  padding: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-smooth);
}

.effect-card:hover .effect-preview {
  opacity: 1;
  transform: translateY(0);
}

.effect-wave {
  width: 100%;
  height: 100%;
}

.effect-specs {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-section {
  background: linear-gradient(180deg,
      var(--bg-primary) 0%,
      var(--bg-secondary) 100%);
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.step {
  position: relative;
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform var(--animation-duration) var(--ease-smooth),
    border-color var(--animation-duration) var(--ease-smooth);
  transform: translateZ(0);
}

.step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--copper);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: var(--font-display);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  background: rgba(194, 140, 102, 0.1);
  border-radius: 50%;
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.9rem;
}

.step-connector {
  position: relative;
  width: 60px;
  height: 2px;
}

.connector-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      var(--border) 0%,
      var(--copper) 50%,
      var(--border) 100%);
  border-radius: 1px;
}

.connector-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateZ(0);
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
  animation: pulse-move 3s ease-in-out infinite;
}

@keyframes pulse-move {

  0%,
  100% {
    left: 0;
    opacity: 0;
  }

  50% {
    left: calc(100% - 8px);
    opacity: 1;
  }
}

/* ==========================================
   EXAMPLES SECTION
   ========================================== */
.examples-section {
  background: var(--bg-secondary);
}

.examples-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto var(--space-lg);
}

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform var(--animation-duration) var(--ease-smooth),
    border-color var(--animation-duration) var(--ease-smooth);
  transform: translateZ(0);
}

.example-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.example-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.example-label.slowed {
  background: rgba(194, 140, 102, 0.15);
  color: var(--copper-light);
}

.example-player {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.example-vinyl {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle,
      var(--charcoal-light) 20%,
      var(--charcoal) 20%,
      var(--charcoal) 100%);
  border: 2px solid var(--border);
  position: relative;
  animation: vinyl-rotate 4s linear infinite;
  animation-play-state: paused;
  transform: translateZ(0);
  will-change: transform;
}

.example-card:hover .vinyl-disc {
  animation-play-state: running;
}

.vinyl-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--copper);
  border-radius: 50%;
}

.vinyl-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vinyl-groove:nth-child(2) {
  inset: 25%;
}

.vinyl-groove:nth-child(3) {
  inset: 35%;
}

.vinyl-groove:nth-child(4) {
  inset: 45%;
}

.vinyl-disc.slowed {
  animation-duration: 6s;
}

@keyframes vinyl-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.example-info {
  flex: 1;
}

.example-info h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.example-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.example-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(194, 140, 102, 0.15);
  border: 1px solid var(--border);
  color: var(--copper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-smooth);
}

.example-play svg {
  width: 18px;
  height: 18px;
}

.example-play:hover {
  background: var(--copper);
  color: white;
  border-color: var(--copper);
}

.example-spectrum {
  height: 60px;
  border-radius: 8px;
  background: rgba(194, 140, 102, 0.05);
  overflow: hidden;
}

.spectrum-canvas {
  width: 100%;
  height: 100%;
}

.example-arrow {
  color: var(--copper);
  font-size: 2rem;
}

.example-arrow svg {
  width: 32px;
  height: 32px;
}

.examples-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 1rem;
  background: rgba(194, 140, 102, 0.05);
  border-radius: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.note-icon {
  font-size: 1.25rem;
}

/* ==========================================
   PROCESSOR SECTION
   ========================================== */
.processor-section {
  background: linear-gradient(180deg,
      var(--bg-primary) 0%,
      var(--bg-secondary) 100%);
}

.processor-container {
  max-width: 800px;
  margin: 0 auto;
}

.processor-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.processor-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.processor-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.processor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.processor-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.processor-limit-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(194, 140, 102, 0.2);
  background: linear-gradient(135deg,
      rgba(194, 140, 102, 0.08) 0%,
      rgba(232, 180, 160, 0.04) 100%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.processor-limit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(194, 140, 102, 0.12);
  color: var(--copper-light);
}

.processor-limit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--copper-light);
}

.processor-limit-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.processor-limit-copy strong {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.processor-limit-note span {
  display: block;
  color: var(--text-muted);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.label-text {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.label-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.input-icon svg {
  width: 20px;
  height: 20px;
}

.input-field {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s var(--ease-smooth);
}

.input-field:focus {
  outline: none;
  border-color: var(--border-hover);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(194, 140, 102, 0.1);
}

.input-field::placeholder {
  color: var(--text-muted);
}

/* Plus Master Filter Tab (dentro do dropdown) */
.custom-select-dropdown .preset-filter-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.custom-select-dropdown .preset-tab {
  padding: 0.6rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  white-space: nowrap;
  text-align: center;
}

.custom-select-dropdown .preset-tab:hover {
  border-color: var(--border-hover);
  background: rgba(194, 140, 102, 0.08);
  color: var(--text-primary);
}

.custom-select-dropdown .preset-tab.active {
  background: linear-gradient(135deg, rgba(194, 140, 102, 0.2), rgba(194, 140, 102, 0.15));
  border-color: var(--copper);
  color: var(--copper-light);
  box-shadow: 0 2px 8px rgba(194, 140, 102, 0.2);
}

.custom-select-dropdown .preset-tab-premium {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.05));
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--text-secondary);
}

.custom-select-dropdown .preset-tab-premium:hover {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.08));
  border-color: rgba(251, 191, 36, 0.5);
  color: #fbbf24;
}

.custom-select-dropdown .preset-tab-premium.active {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
  border-color: #fbbf24;
  color: #fbbf24;
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.25);
}

.select-wrapper {
  position: relative;
}

.select-field {
  width: 100%;
  padding: 1rem;
  padding-left: 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s var(--ease-smooth);
}

.select-field:focus {
  outline: none;
  border-color: var(--border-hover);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(194, 140, 102, 0.1);
}

/* Custom preset selector with icons */
.preset-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--copper);
  pointer-events: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.select-wrapper:has(.select-field:focus) .preset-icon {
  opacity: 1;
  color: var(--copper-light);
}

/* Custom Select Dropdown with Icons */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select.native-hidden .select-field {
  display: none;
}

.custom-select-trigger {
  width: 100%;
  padding: 1rem;
  padding-left: 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.custom-select-trigger:hover {
  border-color: var(--border-hover);
  background: var(--bg-primary);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--border-hover);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(194, 140, 102, 0.1);
}

.custom-select-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.custom-select-icon svg {
  width: 100%;
  height: 100%;
}

.custom-select-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.custom-select.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 1rem;
  padding-left: 3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.custom-select-option:last-child {
  border-bottom: none;
}

.custom-select-option:hover {
  background: var(--bg-secondary);
  color: var(--copper-light);
}

.custom-select-option.selected {
  background: rgba(194, 140, 102, 0.1);
  color: var(--copper);
}

.custom-select-option.placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.custom-select-option-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-select-option-icon svg {
  width: 100%;
  height: 100%;
}

.custom-select-option-text {
  flex: 1;
}

/* Scrollbar styling for dropdown */
.custom-select-dropdown::-webkit-scrollbar {
  width: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--copper-light);
}

.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.select-arrow svg {
  width: 20px;
  height: 20px;
}

.btn-process {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg,
      var(--copper) 0%,
      var(--copper-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform var(--animation-duration) var(--ease-smooth),
    box-shadow var(--animation-duration) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn-process:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 24px rgba(194, 140, 102, 0.4);
}

.btn-process:active {
  transform: translate3d(0, 0, 0);
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.btn-process.processing .btn-spinner {
  display: block;
}

.btn-process.processing .btn-text,
.btn-process.processing .btn-icon {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.status-container {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(194, 140, 102, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 120px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.status-container[style*="display: none"] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.status-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--copper);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

.status-info {
  flex: 1;
}

.status-text {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.status-subtext {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.progress-bar {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg,
      var(--copper) 0%,
      var(--copper-light) 100%);
  border-radius: 3px;
  transition: width 0.3s var(--ease-smooth);
}

.result-container {
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(194, 140, 102, 0.05);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  min-height: 200px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.result-container[style*="display: none"] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.result-header {
  margin-bottom: 1.5rem;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.result-badge svg {
  width: 18px;
  height: 18px;
}

.result-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.result-player {
  margin-bottom: 1.5rem;
}

.audio-player {
  width: 100%;
  height: 54px;
  border-radius: 8px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--copper);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s var(--ease-smooth);
}

.btn-download svg {
  width: 20px;
  height: 20px;
}

.btn-download:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(194, 140, 102, 0.3);
}

.processor-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.feature-icon {
  color: var(--copper);
  font-size: 1.125rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-xl) 2rem var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s var(--ease-smooth);
}

.footer-links a:hover {
  color: var(--copper);
}

.footer-tape {
  max-width: 1200px;
  margin: 0 auto var(--space-lg);
  position: relative;
  height: 20px;
}

.tape-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      var(--border) 0%,
      var(--copper) 25%,
      var(--copper) 75%,
      var(--border) 100%);
}

.tape-marks {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.tape-marks span {
  width: 2px;
  height: 20px;
  background: var(--border);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==========================================
   PERFORMANCE - REDUCE MOTION
   ========================================== */
@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;
  }

  .waveform-canvas,
  .mockup-playhead,
  .vinyl-disc {
    animation: none !important;
  }
}

/* Performance para dispositivos com menor poder de processamento */
@media (max-width: 768px) {
  .hero-grain {
    display: none;
  }

  .waveform-canvas {
    opacity: 0.3;
  }

  .effect-texture {
    display: none;
  }

  /* Simplifica transições em mobile */
  * {
    transition-duration: 0.2s !important;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-connector {
    display: none;
  }

  .examples-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .example-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ========================================== */

/* Hamburger Button */
.hamburger {
  display: none;
  /* Hidden by default, shown in mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  transition: transform var(--animation-duration) var(--ease-smooth);
}

.hamburger:hover {
  transform: scale(1.05);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--animation-duration) var(--ease-smooth);
  transform-origin: center;
}

/* Hamburger Animation to X */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--animation-duration) var(--ease-smooth);
  z-index: 140;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  z-index: 150;
  overflow-y: auto;
  transition: right 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.mobile-menu-logo .logo-icon {
  color: var(--copper);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--animation-duration) var(--ease-smooth);
  border-left: 3px solid transparent;
  min-height: 48px;
  /* Touch-friendly */
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--text-primary);
  background: rgba(194, 140, 102, 0.1);
  border-left-color: var(--copper);
}

.mobile-nav-link-cta {
  margin: 0.5rem 1.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: white !important;
  border-radius: 12px;
  text-align: center;
  border-left: none !important;
  box-shadow: 0 4px 12px rgba(194, 140, 102, 0.3);
}

.mobile-nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(194, 140, 102, 0.4);
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 1.5rem;
}

/* Mobile User Menu */
#mobile-nav-user-menu {
  margin-top: auto;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(194, 140, 102, 0.1);
  border-radius: 12px;
}

.mobile-user-initial {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.mobile-user-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-logout-btn {
  width: 100%;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  cursor: pointer;
  margin: 0;
}

.mobile-logout-btn:hover {
  border-color: var(--copper);
  color: var(--copper) !important;
  background: rgba(194, 140, 102, 0.05);
}

/* Mobile User Section (dynamically created) */
.mobile-user-section {
  margin-top: auto;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.mobile-user-section .mobile-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(194, 140, 102, 0.1);
  border-radius: 12px;
}

.mobile-user-section .mobile-user-initial {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.mobile-user-section .mobile-user-label {
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.mobile-user-section .mobile-logout-btn {
  width: 100%;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  cursor: pointer;
  margin: 0;
}

.mobile-user-section .mobile-logout-btn:hover {
  border-color: var(--copper);
  color: var(--copper) !important;
  background: rgba(194, 140, 102, 0.05);
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }


  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .mockup-knobs {
    display: none;
  }

  .effects-grid {
    grid-template-columns: 1fr;
  }

  .processor-card {
    padding: 2rem 1.5rem;
  }

  .processor-limit-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
  }

  .processor-limit-icon svg {
    width: 22px;
    height: 22px;
  }

  .processor-limit-icon {
    width: 28px;
    height: 28px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .sticky-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .sticky-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: var(--space-2xl) 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .mockup-player {
    padding: 1rem;
  }

  .effect-card {
    padding: 1.5rem;
  }

  .processor-grid {
    grid-template-columns: 1fr;
  }

  .processor-card {
    padding: 1.5rem 1rem;
  }

  .processor-limit-note {
    margin-top: 1rem;
    padding: 0.85rem 0.9rem;
  }

  .processor-limit-icon {
    width: 26px;
    height: 26px;
  }

  .btn-process {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero-badge {
    font-size: 0.6875rem;
    padding: 0.3125rem 0.875rem;
  }

  .mockup-player {
    padding: 0.875rem;
  }

  .mockup-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .effect-card {
    padding: 1.25rem;
  }

  .card-title {
    font-size: 1rem;
  }
}

/* ==========================================
   TRANSITION LOADING
   ========================================== */
.transition-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.vinyl {
  width: 80px;
  height: 80px;
  border: 4px solid var(--copper);
  border-radius: 50%;
  position: relative;
  animation: spin 1s linear infinite;
}

.vinyl::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--copper);
  border-radius: 50%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 500;
}

.loading-dots::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: "";
  }

  40% {
    content: ".";
  }

  60% {
    content: "..";
  }

  80%,
  100% {
    content: "...";
  }
}

/* ==========================================
   AUTH REQUIRED TOAST
   ========================================== */
.auth-required-toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(135deg, var(--charcoal-light), var(--bg-card));
  border: 1px solid var(--copper);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(194, 140, 102, 0.1);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  max-width: 400px;
}

.auth-required-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.auth-required-toast .toast-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.auth-required-toast .toast-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.auth-required-toast .toast-content strong {
  color: var(--copper);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
}

.auth-required-toast .toast-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* ==========================================
   PROCESSOR ERROR
   ========================================== */
.processor-error {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: #fca5a5;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .auth-required-toast {
    top: 80px;
    left: 1rem;
    right: 1rem;
    transform: translateX(0) translateY(-20px);
    max-width: none;
  }

  .auth-required-toast.show {
    transform: translateX(0) translateY(0);
  }
}