/* ============================================
   Pixels Helps — style.css
   Emil Kowalski philosophy: ease-out, GPU only
   ============================================ */

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

/* ── Custom Properties ── */
:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1C1C1C;
  --accent: #7C3AED;
  --accent-hover: #9333EA;
  --accent-glow: rgba(124, 58, 237, 0.25);
  --text: #F4F4F5;
  --text-2: #A1A1AA;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
  --shadow-accent: 0 8px 32px rgba(124, 58, 237, 0.3);
  --nav-height: 72px;
  --transition: 0.25s ease-out;
  --transition-fast: 0.15s ease-out;
  --transition-slow: 0.4s ease-out;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: none;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Typography ── */
.font-display {
  font-family: 'Unbounded', sans-serif;
}

h1, h2, h3 {
  font-family: 'Unbounded', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ── Focus Rings ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto; }
  button { cursor: pointer; }
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ── */
section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: transform var(--transition-fast), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  will-change: transform;
  white-space: nowrap;
  cursor: none;
  position: relative;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hover);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-icon {
  padding: 12px;
  border-radius: var(--radius-sm);
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease-out, height 0.2s ease-out, background 0.2s ease-out;
  will-change: transform;
  top: 0;
  left: 0;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease-out, height 0.35s ease-out, border-color 0.2s ease-out, background 0.2s ease-out;
  will-change: transform;
  top: 0;
  left: 0;
}

.cursor-ring.hovered {
  width: 60px;
  height: 60px;
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(124, 58, 237, 0.12);
}

/* ========================================
   SCROLL REVEAL — dramatic version
   ======================================== */
.reveal {
  opacity: 0;
  transform: scale(0.95) translateY(60px);
  filter: blur(4px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
  will-change: transform, opacity, filter;
}

.reveal.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  transition: opacity var(--transition-fast);
  cursor: none;
}

.nav-logo:hover { opacity: 0.8; }

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
  cursor: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

/* Animated nav underline indicator */
.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px;
  transition: left 0.35s ease-out, width 0.35s ease-out, opacity 0.25s ease-out;
  pointer-events: none;
  opacity: 0;
  z-index: 1001;
}

.nav-indicator.visible {
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  cursor: none;
}

.lang-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
  min-width: 100px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: scale(0.95) translateY(-4px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  will-change: transform, opacity;
}

.lang-dropdown.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background var(--transition-fast), color var(--transition-fast);
  cursor: none;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.lang-option:hover, .lang-option.active {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  padding: 8px;
  transition: background var(--transition-fast);
  cursor: none;
}

.hamburger:hover { background: rgba(255,255,255,0.06); }

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  will-change: transform, opacity;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  will-change: transform, opacity;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 16px 20px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  border-bottom: 1px solid var(--border);
  cursor: none;
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.mobile-menu-cta {
  margin-top: 16px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Animated gradient blob */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: blob-float 12s ease-out infinite alternate;
  will-change: transform;
}

.hero-blob-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.08) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: blob-float-2 16s ease-out infinite alternate;
  will-change: transform;
}

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

@keyframes blob-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* ── Floating Tech Chips ── */
.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-chip {
  position: absolute;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 100px;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(147, 51, 234, 0.6);
  will-change: transform;
}

.float-chip-1 {
  top: 20%;
  right: 8%;
  animation: float-idle 6s ease-in-out infinite;
}
.float-chip-2 {
  top: 35%;
  right: 15%;
  animation: float-idle 7.5s ease-in-out infinite 1s;
}
.float-chip-3 {
  bottom: 30%;
  right: 6%;
  animation: float-idle 5.5s ease-in-out infinite 0.5s;
}
.float-chip-4 {
  top: 60%;
  right: 20%;
  animation: float-idle 8s ease-in-out infinite 2s;
}

@keyframes float-idle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

/* Badge shimmer */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-hover);
  margin-bottom: 32px;
  animation: badge-in 0.6s ease-out both;
  position: relative;
  overflow: hidden;
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 2.5s ease-out infinite 1s;
}

@keyframes shimmer {
  0% { left: -60%; }
  100% { left: 120%; }
}

@keyframes badge-in {
  from { opacity: 0; transform: scale(0.9) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Hero title — word reveal */
.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  will-change: transform, opacity;
  cursor: default;
}

/* Each word span created by JS */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

.hero-word.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-title .accent {
  background: linear-gradient(135deg, #7C3AED, #C084FC, #7C3AED);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-out infinite alternate;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Glitch effect on hero title hover */
.glitch-target:hover .hero-word {
  animation: none;
}

@keyframes glitch-red {
  0%, 100% { text-shadow: none; clip-path: none; }
  20% { text-shadow: -2px 0 #ff0000; clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
  40% { text-shadow: 2px 0 #0000ff; clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
  60% { text-shadow: -1px 0 #ff0000; clip-path: none; }
}

.glitch-target:hover {
  animation: glitch-subtle 0.3s ease-out;
}

@keyframes glitch-subtle {
  0% { transform: none; }
  15% { transform: translate(-1px, 0); filter: drop-shadow(2px 0 0 rgba(255,0,0,0.4)) drop-shadow(-2px 0 0 rgba(0,0,255,0.4)); }
  30% { transform: translate(1px, 0); filter: drop-shadow(-2px 0 0 rgba(255,0,0,0.4)) drop-shadow(2px 0 0 rgba(0,0,255,0.4)); }
  45% { transform: translate(-1px, 0); filter: none; }
  60% { transform: translate(1px, 0); filter: drop-shadow(1px 0 0 rgba(255,0,0,0.2)); }
  100% { transform: none; filter: none; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: sub-in 0.7s ease-out 0.8s both;
  will-change: transform, opacity;
}

@keyframes sub-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: ctas-in 0.7s ease-out 1s both;
  will-change: transform, opacity;
}

@keyframes ctas-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: stats-in 0.7s ease-out 1.2s both;
  will-change: transform, opacity;
}

@keyframes stats-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-2);
}

.hero-stats-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-header {
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Gradient border on hover via pseudo-element wrapper */
.service-card {
  background: var(--surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--transition), transform var(--transition);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

/* Animated gradient border on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, transparent 0deg, var(--accent) 60deg, var(--accent-hover) 120deg, transparent 180deg);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: 0;
  animation: none;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
  animation: rotate-border 2s linear infinite;
}

@keyframes rotate-border {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Inner mask so content stays clean */
.service-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 1px);
  z-index: 1;
  transition: background var(--transition);
}

.service-card:hover::before {
  background: var(--surface-2);
}

.service-card:hover {
  transform: translateY(-4px);
}

/* All card content must be above pseudo-elements */
.service-card > * {
  position: relative;
  z-index: 2;
}

/* Spotlight — radial gradient that follows mouse inside card */
.service-card .spotlight {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  z-index: 1;
  border-radius: inherit;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  color: var(--accent-hover);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  transform: scale(1.2) rotate(5deg);
}

.service-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-hover);
  margin-top: auto;
  align-self: flex-start;
  transition: gap var(--transition-fast), color var(--transition-fast);
  cursor: none;
}

.service-cta:hover {
  gap: 8px;
  color: #C084FC;
}

/* ========================================
   METHOD
   ======================================== */
.method {
  position: relative;
}

.method-header {
  text-align: center;
  margin-bottom: 48px;
}

.method-header .section-subtitle {
  margin: 0 auto;
}

/* Progress track — the line drawn on scroll */
.method-progress-track {
  position: relative;
  height: 2px;
  background: var(--border);
  max-width: 75%;
  margin: 0 auto 48px;
  border-radius: 2px;
  overflow: hidden;
}

.method-progress-line {
  position: absolute;
  inset: 0 0 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s ease-out;
  will-change: transform;
  border-radius: 2px;
}

.method-progress-line.drawn {
  transform: scaleX(1);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.method-step {
  padding: 0 32px;
  position: relative;
  text-align: center;
}

/* SVG circle fill animation */
.method-step-number {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  transition: box-shadow var(--transition);
}

.step-circle-svg {
  position: absolute;
  inset: 0;
  width: 72px;
  height: 72px;
  transform: rotate(-90deg);
}

.step-circle-bg {
  stroke: var(--border);
  fill: var(--surface-2);
}

.step-circle-progress {
  stroke: var(--accent);
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out;
}

.method-step.filled .step-circle-progress {
  stroke-dashoffset: 0;
}

.method-step:hover .method-step-number {
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.2);
}

.method-step-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.method-step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.method-step-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ========================================
   PRICING
   ======================================== */
.pricing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-subtitle {
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.pricing-card.featured {
  border-color: rgba(124, 58, 237, 0.5);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.08) 0%, var(--surface-2) 60%);
  box-shadow: var(--shadow-accent);
}

.pricing-card.featured:hover {
  border-color: rgba(124, 58, 237, 0.8);
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.35);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.pricing-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-cta-tag {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 0;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.pricing-feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-hover);
  margin-top: 2px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background var(--transition-fast);
}

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

.faq-item.open { background: var(--surface-2); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  cursor: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition-fast);
  user-select: none;
  -webkit-user-select: none;
}

.faq-question:hover { color: var(--accent-hover); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-radius: 6px;
  color: var(--text-2);
  transition: transform var(--transition), background var(--transition), color var(--transition);
  will-change: transform;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-hover);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.25s ease-out;
  will-change: max-height;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.contact-info-sub {
  color: var(--text-2);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  color: var(--accent-hover);
  flex-shrink: 0;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-item-value {
  font-size: 0.9375rem;
  color: var(--text);
}

.contact-item-value a:hover { color: var(--accent-hover); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform var(--transition-fast), box-shadow var(--transition);
  will-change: transform;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  cursor: none;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:active { transform: scale(0.97); }

/* Form */
.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 28px;
  font-family: 'Unbounded', sans-serif;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
}

.form-input, .form-textarea, .form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-2);
  opacity: 0.6;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23A1A1AA' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-select option {
  background: var(--surface);
  color: var(--text);
}

.form-submit-row {
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success.visible { display: block; }

.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent-hover);
}

.form-success-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Unbounded', sans-serif;
}

.form-success-text { color: var(--text-2); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.footer-logo img { height: 32px; }

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  will-change: transform;
  cursor: none;
}

.footer-social:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color var(--transition-fast);
  cursor: none;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

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

/* Footer big outline text */
.footer-pixels-big {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  text-stroke: 1px rgba(255, 255, 255, 0.15);
  transition: color 0.4s ease-out, -webkit-text-stroke 0.4s ease-out;
  cursor: default;
  user-select: none;
}

.footer-pixels-big:hover {
  color: var(--text);
  -webkit-text-stroke: 1px transparent;
  text-stroke: 1px transparent;
}

.footer-made {
  font-size: 0.8125rem;
  color: var(--text-2);
}

.footer-made span { color: var(--accent-hover); }

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(120%);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  will-change: transform, opacity;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: none;
}

.cookie-text a:hover { color: var(--accent); }

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-manage {
  font-size: 0.8125rem;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: none;
  margin-left: auto;
  transition: color var(--transition-fast);
}

.cookie-manage:hover { color: var(--text); }

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(8px);
  transition: transform var(--transition);
  will-change: transform;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Unbounded', sans-serif;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  transition: background var(--transition-fast), color var(--transition-fast);
  cursor: none;
  flex-shrink: 0;
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border);
}

.legal-hero-label {
  font-size: 0.875rem;
  color: var(--accent-hover);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.legal-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.legal-hero-date {
  font-size: 0.9rem;
  color: var(--text-2);
}

.legal-content {
  padding: 80px 0;
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.375rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.0625rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text-2);
}

.legal-content p {
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.legal-content a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content strong { color: var(--text); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .method-progress-track { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .float-chip-1, .float-chip-2 { right: 2%; }
  .float-chip-3, .float-chip-4 { display: none; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  section { padding: 72px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-right .btn { display: none; }

  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }

  .hero-ctas { gap: 12px; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stats-divider { display: none; }

  .hero-floats { display: none; }

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

  .method-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form { padding: 28px; }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-pixels-big { display: none; }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 20px;
  }

  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-manage { margin-left: 0; text-align: center; }

  .modal { padding: 28px; }

  .method-step { padding: 0 16px; }

  /* On mobile fall back to auto cursor */
  body, button, a { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: clamp(2rem, 12vw, 3rem); }

  .service-card { padding: 28px 24px; }
  .pricing-card { padding: 28px 24px; }
}
