/* =============================================
   PORTFOLIO PREMIUM — JOÃO VITOR
   CSS PRINCIPAL
   ============================================= */

:root {
  --neon: #C6FF00;
  --neon-dim: rgba(198, 255, 0, 0.15);
  --neon-glow: rgba(198, 255, 0, 0.4);
  --dark: #050505;
  --dark-2: #0a0a0a;
  --dark-3: #111111;
  --ice: #F0F0F0;
  --ice-dim: rgba(240, 240, 240, 0.5);
  --graphite: #1c1c1c;
  --border: rgba(255, 255, 255, 0.06);
  --r: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--dark);
  color: var(--ice);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===================== LOADER ===================== */

/* Fallback: auto-fecha o loader se JS/GSAP não carregar */
@keyframes loader-autodismiss {
  0%, 95% { opacity: 1; visibility: visible; }
  100%     { opacity: 0; visibility: hidden;  }
}

@keyframes loader-bar-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* CSS failsafe: dispara após 5 s se GSAP não assumir */
  animation: loader-autodismiss 0.8s ease forwards 5s;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  font-size: 64px;
  font-weight: 900;
  color: var(--neon);
  letter-spacing: -4px;
  line-height: 1;
}

.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: var(--neon);
  border-radius: 99px;
  box-shadow: 0 0 12px var(--neon-glow);
  /* CSS fallback para a barra */
  animation: loader-bar-progress 2s ease-in-out forwards;
}

.loader-text {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.3);
}

/* ===================== CURSOR ===================== */

.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(198, 255, 0, 0.3);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

body:hover .cursor { opacity: 1; }

/* ===================== PROGRESS BAR ===================== */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--neon);
  z-index: 9990;
  width: 0%;
  box-shadow: 0 0 8px var(--neon-glow);
  transition: width 0.1s linear;
}

/* ===================== NAVBAR ===================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  padding: 12px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(240, 240, 240, 0.5);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon);
  transition: width 0.3s ease;
}

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

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

/* ===================== BUTTONS ===================== */

.btn-neon-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--neon);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 99px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-neon-sm:hover {
  box-shadow: 0 0 20px var(--neon-glow);
  transform: translateY(-1px);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--neon);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  border-radius: 99px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-neon:hover {
  box-shadow: 0 0 32px var(--neon-glow), 0 0 64px rgba(198, 255, 0, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--ice);
  font-size: 15px;
  font-weight: 500;
  border-radius: 99px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--neon);
}

.btn-neon-xl {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 48px;
  background: var(--neon);
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  border-radius: 99px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: box-shadow 0.3s ease;
}

.btn-neon-xl:hover {
  box-shadow: 0 0 48px var(--neon-glow), 0 0 100px rgba(198, 255, 0, 0.2);
}

.btn-ghost-sm {
  display: inline-block;
  color: rgba(240, 240, 240, 0.4);
  font-size: 13px;
  text-decoration: none;
  margin-top: 16px;
  transition: color 0.2s ease;
}

.btn-ghost-sm:hover {
  color: var(--ice);
}

/* ===================== NOISE OVERLAY ===================== */

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

/* ===================== HERO SECTION ===================== */

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(198, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  top: -100px;
  left: -100px;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.04) 0%, transparent 70%);
  top: auto;
  left: auto;
  right: 10%;
  bottom: 0;
  animation-delay: 3s;
}

@keyframes glowPulse {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(198, 255, 0, 0.06);
  border: 1px solid rgba(198, 255, 0, 0.15);
  border-radius: 99px;
  margin-bottom: 40px;
  opacity: 0;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--neon-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px transparent; }
}

.hero-headline {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  overflow: hidden;
}

.hero-line {
  display: block;
  overflow: hidden;
  opacity: 0;
}

.hero-line.accent {
  color: var(--neon);
}

.word {
  display: inline-block;
  transform: translateY(110%);
}

/* ===================== TEXT OUTLINE / STROKE ===================== */

.text-outline {
  -webkit-text-stroke: 2px var(--neon);
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.text-outline-white {
  -webkit-text-stroke: 2px rgba(240, 240, 240, 0.45);
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.55);
  margin-bottom: 48px;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

/* Floating Card */
.hero-card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  width: 260px;
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
}

.hero-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-card-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--neon);
  border-right-color: var(--neon);
  animation: avatarSpin 3s linear infinite;
}

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

.avatar-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--neon-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--neon);
}

.hero-card-status {
  margin-left: auto;
}

.status-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hero-card-stats {
  display: flex;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  color: rgba(240, 240, 240, 0.35);
  letter-spacing: 0.04em;
  margin-top: 2px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(240, 240, 240, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(240, 240, 240, 0.2);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  border-radius: 99px;
  background: var(--neon);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* ===================== SECTION LAYOUT ===================== */

.section-padded {
  padding: 120px 48px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--neon);
  opacity: 0.6;
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 80px;
}

/* ===================== SERVICES ===================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px 36px;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.3s ease;
  transform-style: preserve-3d;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.featured-card {
  border-color: rgba(198, 255, 0, 0.2);
  background: linear-gradient(135deg, rgba(198, 255, 0, 0.03) 0%, var(--dark-3) 100%);
}

.featured-card:hover {
  border-color: rgba(198, 255, 0, 0.35);
}

.card-glow {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.card-glow-featured {
  background: radial-gradient(circle, rgba(198, 255, 0, 0.08) 0%, transparent 70%);
  opacity: 1;
}

.service-card:hover .card-glow { opacity: 1; }

.card-number {
  font-size: 11px;
  font-weight: 700;
  color: rgba(240, 240, 240, 0.2);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: rgba(240, 240, 240, 0.6);
  transition: background 0.2s ease;
}

.neon-icon {
  background: rgba(198, 255, 0, 0.1);
  color: var(--neon);
}

.service-card:hover .card-icon {
  background: rgba(255, 255, 255, 0.08);
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.45);
  margin-bottom: 28px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tag {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  font-size: 12px;
  color: rgba(240, 240, 240, 0.4);
  border: 1px solid var(--border);
}

.card-arrow {
  color: rgba(240, 240, 240, 0.2);
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card:hover .card-arrow {
  color: var(--neon);
  transform: translate(4px, -4px);
}

/* ===================== PAIN SECTION ===================== */

.pain-section {
  position: relative;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.pain-bg-line {
  position: absolute;
  left: 48px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(198, 255, 0, 0.15), transparent);
}

.pain-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.pain-headline {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 80px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pain-block {
  opacity: 0;
  transform: translateX(-32px);
}

.pain-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  margin-bottom: 20px;
}

.pain-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pain-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.4);
}

/* ===================== PROJECTS ===================== */

.projects-section {
  overflow: hidden;
}

.projects-header {
  padding-bottom: 0;
}

.projects-scroll-wrap {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  height: 100vh;
  display: flex;
  align-items: center;
}

.projects-scroll-wrap:active {
  cursor: grabbing;
}

.projects-track {
  display: flex;
  gap: 32px;
  padding: 0 48px;
  width: max-content;
}

.project-card {
  width: 420px;
  flex-shrink: 0;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
}

.project-img-wrap {
  overflow: hidden;
  height: 220px;
}

.project-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
  position: relative;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-img-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-emoji {
  font-size: 64px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.project-info {
  padding: 28px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-category {
  font-size: 12px;
  color: var(--neon);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-year {
  font-size: 12px;
  color: rgba(240, 240, 240, 0.25);
}

.project-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.project-result {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.4);
  margin-bottom: 20px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tag {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
  font-size: 11px;
  color: rgba(240, 240, 240, 0.35);
  border: 1px solid var(--border);
}

.badge-intl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198, 255, 0, 0.06);
  border: 1px solid rgba(198, 255, 0, 0.2);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--neon);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(240, 240, 240, 0.3);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.project-link:hover {
  color: var(--neon);
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.55) 0%, transparent 65%);
  pointer-events: none;
}

.drag-hint {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 0;
}

.drag-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===================== METHOD / TIMELINE ===================== */

.method-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.method-title {
  text-align: center;
  width: 100%;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--neon), transparent);
}

.timeline-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  opacity: 0;
  transform: translateY(32px);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.1em;
  width: 28px;
  flex-shrink: 0;
  padding-top: 4px;
}

.timeline-dot {
  position: absolute;
  left: 24px;
  top: 54px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon-glow);
  display: none;
}

.timeline-content {
  flex: 1;
}

.timeline-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.45);
  max-width: 500px;
}

/* ===================== SOCIAL PROOF ===================== */

.proof-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.proof-item {
  flex: 1;
  text-align: center;
  position: relative;
  opacity: 0;
}

.proof-number {
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--neon);
  line-height: 1;
  margin-bottom: 12px;
}

.proof-label {
  font-size: 14px;
  color: rgba(240, 240, 240, 0.4);
  letter-spacing: 0.02em;
}

.proof-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

.proof-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(198, 255, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ===================== CTA SECTION ===================== */

.cta-section {
  position: relative;
  padding: 160px 48px;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.06) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes ctaGlowPulse {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.cta-headline {
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 40px 0 32px;
}

.cta-line {
  display: block;
  overflow: hidden;
  opacity: 0;
}

.cta-accent {
  color: var(--neon);
}

.cta-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.4);
  margin-bottom: 56px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ===================== FOOTER ===================== */

.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 240, 240, 0.3);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--ice);
}

/* ===================== REVEAL UTILS ===================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

/* ===================== MAGNETIC BUTTON ===================== */

.magnetic-btn {
  display: inline-flex;
  position: relative;
}

/* ===================== LOGOS MARQUEE ===================== */

.logos-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.logos-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.25);
  text-align: center;
  margin-bottom: 36px;
  font-weight: 500;
}

.marquee-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 0 26px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track img {
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.45);
  opacity: 0.55;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.marquee-track img:hover {
  filter: grayscale(0%) brightness(1.1);
  opacity: 1;
  transform: scale(1.12);
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
  .hero-card {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 16px 24px;
  }

  .navbar.scrolled {
    padding: 12px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    padding: 120px 24px 80px;
  }

  .section-padded {
    padding: 80px 24px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-grid {
    flex-direction: column;
    gap: 40px;
  }

  .proof-divider {
    width: 80px;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-section {
    padding: 100px 24px;
  }
}

/* ===================== SCROLLBAR CUSTOM ===================== */

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(198, 255, 0, 0.2);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(198, 255, 0, 0.4);
}

/* ===================== SELECTION ===================== */

::selection {
  background: rgba(198, 255, 0, 0.2);
  color: var(--neon);
}
