@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');

/* ═══════════════════════════════════════════════════════════════
   ARANTES TECNOLOGIA — styles.css v2.0
   Design System: Glassmorphism + GSAP + Three.js
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ── @property para border animada ── */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ══════════════════════════════════
   1. DESIGN TOKENS
   ══════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg-primary:    #05051A;
  --bg-secondary:  #0A0A2E;
  --bg-card:       rgba(10, 10, 46, 0.45);
  --bg-glass:      rgba(255, 255, 255, 0.04);

  /* Accent Colors */
  --purple-main:   #7B2FFF;
  --purple-light:  #9B59B6;
  --pink-neon:     #E040FB;
  --pink-accent:   #C724E6;
  --cyan:          #00D4FF;
  --cyan-light:    #00B8FF;
  --indigo:        #4F46E5;
  
  /* Semantic Colors */
  --success:       #10B981;
  --danger:        #EF4444;
  --warning:       #F59E0B;
  --info:          #0EA5E9;
  --btn-gray:      #6B7280;

  /* Text */
  --text-primary:   #FFFFFF;
  --text-secondary: #E8E8F0;
  --text-muted:     #8892B0;

  /* Borders */
  --border-subtle:  rgba(255, 255, 255, 0.08);
  --border-mid:     rgba(255, 255, 255, 0.14);
  --border-accent:  rgba(123, 47, 255, 0.45);
  --border-glass:   rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-primary:  linear-gradient(135deg, #7B2FFF 0%, #E040FB 100%);
  --gradient-hero:     linear-gradient(135deg, #7B2FFF 0%, #E040FB 50%, #FF6B9D 100%);
  --gradient-text:     linear-gradient(90deg, #FF6B9D, #C724E6, #7B2FFF);
  --gradient-cyan:     linear-gradient(135deg, #00D4FF 0%, #7B2FFF 100%);
  --gradient-bg:       linear-gradient(180deg, #05051A 0%, #0A0A2E 100%);
  
  --gradient-success:  linear-gradient(135deg, #10B981 0%, #059669 100%);
  --gradient-danger:   linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  --gradient-warning:  linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --gradient-info:     linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max:   1200px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-pill: 50px;

  /* Typography */
  --font-display: 'Manrope', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Shadows / Glows */
  --glow-purple: 0 0 30px rgba(123, 47, 255, 0.45);
  --glow-pink:   0 0 30px rgba(224, 64, 251, 0.45);
  --glow-cyan:   0 0 30px rgba(0, 212, 255, 0.45);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.08);

  /* Transitions */
  --ease-fast:   0.2s ease;
  --ease-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Cursor/Spotlight (updated by JS) */
  --mx: 50%;
  --my: 50%;
  --angle: 135deg;
}

/* ══════════════════════════════════
   2. RESET & BASE
   ══════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* Lenis controla */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ══════════════════════════════════
   3. UTILITIES
   ══════════════════════════════════ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ── Acessibilidade: Screen-Reader Only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Animated Gradient Text (react-bits GradientText style) ── */
.text-gradient {
  background: linear-gradient(
    to right,
    #7B2FFF,
    #E040FB,
    #FF9FFC,
    #B497CF,
    #7B2FFF
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextYoyo 8s ease-in-out infinite;
}

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

.section-glow {
  position: relative;
  overflow: hidden;
}

.section-glow::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123,47,255,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

.section-glow > .container {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════
   4. TYPOGRAPHY
   ══════════════════════════════════ */
.hero-title {
  font-family: 'Roboto Flex', var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400; /* Initial weight */
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text-primary);
  font-variation-settings: 'wght' 400, 'opsz' 14;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--text-primary);
}

.section-header {
  margin-bottom: 60px;
}



/* ══════════════════════════════════
   6. LOADER
   ══════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
}

.loader-count {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

/* ══════════════════════════════════
   7. NAVBAR
   ══════════════════════════════════ */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  /* CSS simulando MeshTransmissionMaterial (React Three Fiber) */
  background: rgba(255, 255, 255, 0.07); /* transmission: 1 (quase totalmente transparente) */
  /* Simulando IOR e roughness: 0 (reflexão sharp e refração nítida) */
  backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  -webkit-backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  
  border-radius: 50px;
  /* Borda externa super fina */
  border: 1px solid rgba(255, 255, 255, 0.08);
  
  /* Simulando thickness: 10 e dispersão de luz */
  box-shadow: 
    /* Specular highlight forte no topo (roughness 0) */
    inset 0 2px 2px rgba(255, 255, 255, 0.3),
    /* Espessura/Borda de refração na parte inferior */
    inset 0 -3px 8px rgba(255, 255, 255, 0.06),
    /* Sombra projetada pelo "vidro grosso" */
    0 25px 50px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.15);
  
  overflow: hidden;

  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, background, padding;
}

nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: -1;
}

nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
  z-index: -1;
}

nav.scrolled {
  top: 12px;
  padding: 10px 32px;
  background: rgba(10, 10, 31, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(123, 47, 255, 0.4));
  transition: transform 0.3s var(--ease-normal);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-5deg) scale(1.05);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-arantes {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
}

.logo-tecnologia {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  position: relative;
  transition: all var(--ease-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: width var(--ease-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.nav-link.active {
  color: #fff;
}
.nav-link.active::after {
  width: 100%;
}


/* ══════════════════════════════════
   8. BUTTONS
   ══════════════════════════════════ */

/* --- Base Button --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--ease-normal);
  border: 1px solid transparent;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  user-select: none;
  will-change: transform;
}

/* Ripple effect (for solid buttons) */
.btn:not(.btn-link):not(.btn-outline-primary):not(.btn-outline-success):not(.btn-outline-danger):not(.btn-outline-warning):not(.btn-outline-info):not(.btn-light):not(.btn-white)::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.btn:hover::before {
  width: 320px;
  height: 320px;
}

.btn > * {
  position: relative;
  z-index: 1;
}

/* --- Solid Semantic Variants --- */
.btn-primary {
  background: var(--gradient-primary);
  box-shadow: var(--glow-purple);
  border: none;
}
.btn-primary:hover {
  box-shadow: var(--glow-pink), 0 0 60px rgba(224,64,251,0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--text-secondary);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Pulse animation */
.btn-pulse {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: var(--glow-purple); }
  50%       { box-shadow: 0 0 50px rgba(224,64,251,0.7); }
}

/* ══════════════════════════════════
   9. TAGS / LABELS
   ══════════════════════════════════ */
.tag {
  display: flex;
  width: fit-content;
  margin: 0 auto 20px;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 31, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -2px 4px rgba(255, 255, 255, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.2);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  -webkit-backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
}

.tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple-main);
  box-shadow: 0 0 8px var(--purple-main);
  flex-shrink: 0;
}

/* ══════════════════════════════════
   10. GLASSMORPHISM
   ══════════════════════════════════ */

/* Nível 1 — Leve */
.glass-light {
  background: rgba(10, 10, 31, 0.35);
  backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  -webkit-backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 
    inset 0 2px 2px rgba(255, 255, 255, 0.3),
    inset 0 -3px 8px rgba(255, 255, 255, 0.06),
    0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Nível 2 — Médio */
.glass-mid {
  background: rgba(10, 10, 31, 0.35);
  backdrop-filter: blur(20px) saturate(150%) contrast(110%) brightness(105%);
  -webkit-backdrop-filter: blur(20px) saturate(150%) contrast(110%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 
    inset 0 2px 2px rgba(255, 255, 255, 0.35),
    inset 0 -3px 8px rgba(255, 255, 255, 0.08),
    0 25px 40px rgba(0, 0, 0, 0.4);
}

/* Nível 3 — Intenso com borda giratória */
.glass-intense {
  background: rgba(10, 10, 31, 0.35);
  backdrop-filter: blur(60px) saturate(200%);
  -webkit-backdrop-filter: blur(60px) saturate(200%);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6),
              inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
}

.glass-intense::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: conic-gradient(
    from var(--angle),
    #7B2FFF, #E040FB, #00D4FF, #7B2FFF
  );
  z-index: -1;
  animation: borderSpin 5s linear infinite;
}

.glass-intense::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
}

@keyframes borderSpin {
  to { --angle: 360deg; }
}

/* Pausa a animação da borda giratória quando fora da viewport */
.glass-intense.border-spin-paused::before {
  animation-play-state: paused;
}

/* Spotlight glass */
.glass-spotlight {
  --mx: 50%;
  --my: 50%;
  position: relative;
}

/* Card hover glow */
.glass-card-hover {
  transition: box-shadow var(--ease-normal), border-color var(--ease-normal);
}

.glass-card-hover:hover {
  border-color: rgba(123, 47, 255, 0.4);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.2),
              0 0 0 1px rgba(123,47,255,0.3);
}

/* ══════════════════════════════════
   11. HERO
   ══════════════════════════════════ */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  background: var(--bg-primary);
}

#prismatic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
  opacity: 0.85;
}



.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.hero-title {
  position: relative;
}

/* Splitting.js — cada char */
.hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-subtitle {
  max-width: 520px;
}

.hero-buttons {
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 24px !important;
  text-align: center !important;
}

#hero-cta-primary, #hero-cta-video {
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: inline-flex !important;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator-dot {
  width: 4px;
  height: 8px;
  background: var(--purple-main);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(12px); opacity: 0.3; }
}

/* ══════════════════════════════════
   12. MARQUEE
   ══════════════════════════════════ */
.marquee-section {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(123,47,255,0.04);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.marquee-item span {
  margin: 0 30px;
  color: var(--purple-main);
}

/* ══════════════════════════════════
   13. SPLIT SECTIONS (texto + imagem)
   ══════════════════════════════════ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 10vw, 100px);
}

.split-section:last-child {
  margin-bottom: 0;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.split-image picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.split-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.3) 0%, rgba(224, 64, 251, 0.1) 50%, transparent 70%);
  margin-top: -240px;
  margin-left: -240px;
  border-radius: 50%;
  filter: blur(35px);
  z-index: 0;
  animation: floatImg 5s ease-in-out infinite;
  pointer-events: none;
}

.split-image img {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  will-change: transform;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(123, 47, 255, 0.4));
}

.float-img {
  animation: floatImg 5s ease-in-out infinite;
}

/* Estado pausado pelo IntersectionObserver (libera GPU) */
.float-img[style*="paused"] {
  will-change: auto;
}

@keyframes floatImg {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(1.5deg); }
}

/* ══════════════════════════════════
   14. STATS / COUNTERS
   ══════════════════════════════════ */
.stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 28px;
  border-radius: var(--radius-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-prefix, .stat-suffix {
  font-size: 0.6em;
  font-weight: 700;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ══════════════════════════════════
   15. SERVICE CARDS
   ══════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background:
    radial-gradient(
      circle 180px at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.08),
      transparent 70%
    ),
    rgba(10, 10, 31, 0.35);
  backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  -webkit-backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color var(--ease-normal), box-shadow var(--ease-normal), transform var(--ease-normal);
  box-shadow: 
    inset 0 2px 2px rgba(255, 255, 255, 0.3),
    inset 0 -3px 8px rgba(255, 255, 255, 0.06),
    0 25px 50px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-spring);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: rgba(123, 47, 255, 0.35);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), var(--glow-purple);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* ══════════════════════════════════
   16. FEATURE LIST
   ══════════════════════════════════ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-list li::before {
  content: '✦';
  color: var(--purple-main);
  font-size: 0.65rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-list.two-cols {
  columns: 2;
  gap: 20px;
  display: block;
}

.feature-list.two-cols li {
  break-inside: avoid;
  margin-bottom: 10px;
}

/* ══════════════════════════════════
   17. STEPS / METODOLOGIA
   ══════════════════════════════════ */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-connector {
  position: absolute;
  top: 28px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 0;
  border-radius: 2px;
}

.steps-connector-fill {
  height: 100%;
  background: var(--gradient-primary);
  transform-origin: left;
  transform: scaleX(0);
  border-radius: 2px;
  box-shadow: var(--glow-purple);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: var(--glow-purple);
  margin-bottom: 24px;
  position: relative;
  will-change: transform, opacity;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(123,47,255,0.4);
  animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(1.2); }
}

.step-card {
  padding: 20px 16px;
  text-align: center;
  width: 100%;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ══════════════════════════════════
   18. TESTIMONIALS
   ══════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  -webkit-backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 
    inset 0 2px 2px rgba(255, 255, 255, 0.3),
    inset 0 -3px 8px rgba(255, 255, 255, 0.06),
    0 25px 50px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 8rem;
  color: rgba(123,47,255,0.1);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-display);
  color: #fff;
  flex-shrink: 0;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px var(--purple-main);
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════
   19. LOGO TICKER (Marquee 2)
   ══════════════════════════════════ */
.logo-ticker-wrap {
  padding: 32px 0;
  text-align: center;
}

.logo-ticker-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.logo-ticker-outer {
  overflow: hidden;
}

.logo-ticker {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  will-change: transform;
}

.logo-ticker-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  flex-shrink: 0;
  filter: grayscale(0.6);
  opacity: 0.7;
  transition: all 0.3s;
}

.logo-ticker-item:hover {
  opacity: 1;
  filter: grayscale(0);
  border-color: var(--purple-main);
  color: var(--text-primary);
}

/* ══════════════════════════════════
   20. INSTAGRAM PRICING
   ══════════════════════════════════ */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing-table {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  font-family: var(--font-display);
}

.price-cyan { color: var(--cyan); }
.price-pink { color: var(--pink-neon); }

#pricing-panel {
  perspective: 1000px;
}

/* ══════════════════════════════════
   21. FAQ
   ══════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: #C4A0FF;
}

.faq-chevron {
  font-size: 1.3rem;
  color: var(--purple-main);
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.3s;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
}

.faq-body p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ══════════════════════════════════
   22. INPUT / NEWSLETTER
   ══════════════════════════════════ */
.input-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  backdrop-filter: blur(10px);
  transition: border-color var(--ease-normal), box-shadow var(--ease-normal);
}

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

.input-glass:focus {
  border-color: var(--purple-main);
  box-shadow: 0 0 0 4px rgba(123,47,255,0.15);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

/* ══════════════════════════════════
   23. FOOTER
   ══════════════════════════════════ */
footer {
  background: #030310;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(24px, 5vw, 48px);
  margin-bottom: 64px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

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

.footer-links a:hover::after {
  transform: scaleX(1);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}



.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 20px;
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
  transition: color 0.2s;
}

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

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ══════════════════════════════════
   24. SECTION BACKGROUNDS
   ══════════════════════════════════ */
.bg-primary { background: var(--bg-primary); }
.bg-secondary { background: var(--bg-secondary); }

/* ══════════════════════════════════
   25. RESPONSIVIDADE
   ══════════════════════════════════ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 768px) {
  /* Cursor off on touch */
  *, *::before, *::after { cursor: auto; }

  /* Nav */
  nav {
    top: 16px;
    width: calc(100% - 32px);
    padding: 10px 20px;
    border-radius: 50px;
  }
  .nav-logo-img { height: 44px; }
  .logo-arantes { font-size: 1.2rem; }
  .logo-tecnologia { font-size: 0.6rem; letter-spacing: 0.28em; }

  /* Hero */
  .hero-buttons { flex-direction: column; align-items: center; }

  /* Split */
  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-section.reverse { direction: ltr; }

  /* Steps */
  .steps-wrapper { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-connector { display: none; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }

  /* Newsletter form */
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps-wrapper { grid-template-columns: 1fr; }
  .feature-list.two-cols { columns: 1; }
  .pricing-tabs { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .section-title { font-size: clamp(1.4rem, 7vw, 2rem); }
}

/* ══════════════════════════════════
   26. PREFERS REDUCED MOTION
   ══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .float-img { animation: none; }
  .btn-pulse { animation: none; }
}

/* ══════════════════════════════════
   27. VIDEO MODAL
   ══════════════════════════════════ */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

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

.video-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.video-close:hover { opacity: 1; }

/* ══════════════════════════════════
   28. LOGO 3D CANVAS
   ══════════════════════════════════ */
#logo-canvas {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0 auto;
}

/* ══════════════════════════════════
   29. ACTIVE TAB STATE
   ══════════════════════════════════ */
.btn-primary.tab-active {
  box-shadow: 0 0 40px rgba(224,64,251,0.5);
}

.btn-secondary.tab-inactive {
  opacity: 0.7;
}

/* ══════════════════════════════════
   30. SECTION CTA FINAL INNER CONTENT
   ══════════════════════════════════ */
.cta-inner {
  padding: clamp(60px, 10vw, 100px) clamp(24px, 6vw, 80px);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 888;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  transition: all 0.3s;
  animation: whabounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.7);
}

@keyframes whabounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
/* ══════════════════════════════════
   31. STAGGERED MENU OVERLAY
   ══════════════════════════════════ */
.staggered-menu-wrapper { position: relative; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
.staggered-menu-wrapper.fixed-wrapper { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 55; overflow: hidden; }

.sm-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-width: 48px; min-height: 48px; padding: 8px; background: transparent; border: none; cursor: pointer; color: var(--text-primary); font-weight: 700; font-family: var(--font-display); line-height: 1; overflow: visible; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.sm-toggle:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 4px; border-radius: 4px; }
.sm-toggle-textWrap { position: relative; display: inline-block; height: 1em; overflow: hidden; white-space: nowrap; width: 80px; }
.sm-toggle-textInner { display: flex; flex-direction: column; line-height: 1; }
.sm-toggle-line { display: block; height: 1em; line-height: 1; text-align: right; }
.sm-icon { position: relative; width: 20px; height: 20px; flex: 0 0 20px; display: inline-flex; align-items: center; justify-content: center; will-change: transform; margin-left: auto; }
.sm-icon-line { position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); will-change: transform; transition: all 0.3s; }
.sm-panel-itemWrap { position: relative; overflow: hidden; line-height: 1; }

.staggered-menu-panel { position: absolute; top: 0; right: 0; width: clamp(260px, 38vw, 420px); height: 100%; background: var(--bg-card); backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%); -webkit-backdrop-filter: blur(14px) saturate(130%) contrast(110%) brightness(105%); display: flex; flex-direction: column; padding: 6em 2em 3em 3em; overflow-y: auto; z-index: 10; pointer-events: auto; opacity: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
[data-position='left'] .staggered-menu-panel { right: auto; left: 0; border-right: 1px solid rgba(255, 255, 255, 0.08); border-left: none; }

.sm-prelayers { position: absolute; top: 0; right: 0; bottom: 0; width: clamp(260px, 38vw, 420px); pointer-events: none; z-index: 5; opacity: 0; }
[data-position='left'] .sm-prelayers { right: auto; left: 0; }
.sm-prelayer { position: absolute; top: 0; right: 0; height: 100%; width: 100%; transform: translateX(0); opacity: 0; }

.sm-panel-inner { flex: 1; display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.sm-socials { margin-top: 3rem; padding-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); }
.sm-socials-title { margin: 0; font-size: 1rem; font-weight: 600; font-family: var(--font-display); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.sm-socials-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sm-socials-list .sm-socials-link { opacity: 1; }
.sm-socials-list:hover .sm-socials-link { opacity: 0.35; }
.sm-socials-list:hover .sm-socials-link:hover { opacity: 1; }
.sm-socials-link { font-size: 1.1rem; font-weight: 400; font-family: var(--font-body); color: var(--text-secondary); text-decoration: none; position: relative; padding: 2px 0; display: inline-block; transition: color 0.3s ease, opacity 0.3s ease; }
.sm-socials-link:hover { color: var(--purple-main); }

.sm-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sm-panel-item { position: relative; color: var(--text-secondary); font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 2.8rem); cursor: pointer; line-height: 1.1; letter-spacing: -0.04em; outline: none; transition: background 0.25s, color 0.25s; display: inline-block; text-decoration: none; padding-right: 1.4em; }
.sm-panel-itemLabel { display: inline-block; will-change: transform; transform-origin: 50% 100%; transition: color 0.3s ease; }
.sm-panel-item:hover .sm-panel-itemLabel { color: var(--purple-main); }
.sm-panel-item:focus-visible .sm-panel-itemLabel { color: var(--purple-main); }

.sm-panel-list[data-numbering] { counter-reset: smItem; }
.sm-panel-list[data-numbering] .sm-panel-item::after { counter-increment: smItem; content: "0" counter(smItem); position: absolute; top: 0.2em; right: 0; font-size: 14px; font-weight: 500; font-family: var(--font-body); color: var(--purple-light); letter-spacing: 0; pointer-events: none; user-select: none; opacity: var(--sm-num-opacity, 0); }

/* Desktop: hide mobile toggle */
.sm-toggle { display: none; }

@media (max-width: 1024px) {
  /* Show mobile toggle, hide desktop items */
  .sm-toggle { display: inline-flex; }
  .nav-links { display: none !important; }
  #nav-cta  { display: none !important; }

  /* Full-width panel on mobile */
  .staggered-menu-panel { width: 100%; left: 0; right: 0; border: none; }
  .sm-prelayers { width: 100%; left: 0; right: 0; }
  .sm-panel-item { font-size: 2.4rem; padding-right: 2em; }
}

/* ----------------------------------
   32. ODOMETER / COUNTER
   ---------------------------------- */
.counter-container {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.counter-counter {
  display: flex;
  overflow: hidden;
  line-height: 1;
}

.counter-digit {
  position: relative;
  width: 0.62em;
  height: 1.1em;
  font-variant-numeric: tabular-nums;
  display: flex;
  justify-content: center;
}

.counter-strip {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.counter-number {
  height: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-container {
  pointer-events: none;
  position: absolute;
  top: -2px; bottom: -2px; left: 0; right: 0;
  z-index: 2;
}

.top-gradient {
  position: absolute; top: 0; width: 100%; height: 32%;
  background: linear-gradient(to bottom, rgba(10, 10, 31, 1) 0%, rgba(10, 10, 31, 0.4) 50%, transparent 100%);
}

.bottom-gradient {
  position: absolute; bottom: 0; width: 100%; height: 32%;
  background: linear-gradient(to top, rgba(10, 10, 31, 1) 0%, rgba(10, 10, 31, 0.4) 50%, transparent 100%);
}

/* ══════════════════════════════════
   13. ANIMATED DOCK
   ══════════════════════════════════ */
.dock-panel {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  width: fit-content;
  gap: 0.75rem;
  border-radius: 1rem;
  background-color: rgba(18, 15, 23, 0.45);
  backdrop-filter: blur(24px) saturate(130%) contrast(110%);
  -webkit-backdrop-filter: blur(24px) saturate(130%) contrast(110%);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0 0.5rem 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  height: 52px;
  margin-top: 16px;
}

.dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.2),
    0 2px 4px -1px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
  cursor: pointer;
  outline: none;
  width: 42px;
  height: 42px;
  color: var(--text-secondary);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.dock-item:hover, .dock-item.hovered {
  background-color: rgba(123, 47, 255, 0.2);
  border-color: rgba(224, 64, 251, 0.4);
  color: #fff;
}

.dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-item svg {
  transition: transform 0.2s;
}
.dock-item.hovered svg {
  transform: scale(1.15);
}

.dock-label {
  position: absolute;
  top: -2.3rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: fit-content;
  white-space: pre;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.15);
  background-color: rgba(10, 10, 31, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.2rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.dock-item.hovered .dock-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
