/* OneguS Bio - Cinematic Neon Glass */
:root {
  color-scheme: dark;
  --bg0: #050712;
  --bg1: #0b0f24;
  --text: #f1f5ff;
  --muted: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow-blue: rgba(45, 170, 255, 0.18);
  --glow-purple: rgba(160, 90, 255, 0.22);
  --glow-pink: rgba(255, 79, 216, 0.18);
  --gradient-text: linear-gradient(120deg, #6bb6ff 0%, #8b7dff 45%, #d16cff 75%);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 55px rgba(109, 94, 252, 0.22);
  --radius-lg: 30px;
  --radius-md: 20px;
  --glass-ring: rgba(255, 255, 255, 0.18);
  --px: 0px;
  --py: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg0);
}

/* Background glows (body) - Volumétricos e intensos */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -3;
  filter: blur(110px);
  opacity: 1;
  pointer-events: none;
  animation: glowFloat 20s ease-in-out infinite;
  transform: translate3d(calc(var(--px) * 0.5), calc(var(--py) * 0.5), 0);
}

body::before {
  background:
    radial-gradient(1200px 900px at 20% 25%, rgba(45, 170, 255, 0.28), transparent 55%),
    radial-gradient(1000px 800px at 75% 22%, rgba(160, 90, 255, 0.32), transparent 55%);
}

body::after {
  background:
    radial-gradient(1100px 850px at 55% 80%, rgba(255, 79, 216, 0.26), transparent 55%),
    radial-gradient(800px 650px at 35% 70%, rgba(255, 255, 255, 0.12), transparent 55%);
  animation-delay: -8s;
}

body.is-loading .panel {
  opacity: 0;
  transform: translateY(12px);
}

body.is-ready .panel {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Base background layers */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, var(--bg0), var(--bg1) 45%, #070a1a 100%);
  overflow: hidden;
}

/* Third glow layer on .bg - Mais volumétrico */
.bg::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: 
    radial-gradient(1100px 900px at 30% 65%, rgba(110, 130, 255, 0.32), transparent 55%),
    radial-gradient(950px 750px at 60% 40%, rgba(180, 100, 255, 0.24), transparent 55%);
  filter: blur(110px);
  opacity: 0.9;
  animation: glowFloat 24s ease-in-out infinite;
  transform: translate3d(calc(var(--px) * 0.4), calc(var(--py) * 0.4), 0);
}

/* Noise overlay sutil - sem padrões circulares */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
  mix-blend-mode: overlay;
  opacity: 0.08;
  pointer-events: none;
}

.bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 40% 35%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 70% 25%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 30% 75%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 55% 55%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 62% 18%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 12% 55%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 25% 10%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 88% 30%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 50% 90%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 8% 45%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 95% 75%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 45% 5%, rgba(255, 255, 255, 0.3), transparent);
  background-size: 100% 100%;
  opacity: 0.4;
  animation: drift 35s linear infinite;
}

.bg-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 40%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 75% 45%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 48% 82%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 35% 15%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 92% 70%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 65% 25%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 18% 88%, rgba(255, 255, 255, 0.28), transparent);
  background-size: 100% 100%;
  opacity: 0.3;
  animation: drift 42s linear infinite reverse;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 30%, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.shell {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 18px 18px 28px;
}

/* Glass panel with neon frame - Reflexos especulares */
.panel {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  background-image:
    linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.12) 42%, transparent 68%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(109, 94, 252, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  overflow: visible;
}

/* Neon frame glow - Mais volumétrico */
.panel::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background: linear-gradient(135deg, 
    rgba(45, 170, 255, 0.42), 
    rgba(160, 90, 255, 0.32), 
    rgba(255, 79, 216, 0.22),
    rgba(45, 170, 255, 0.18));
  filter: blur(18px);
  opacity: 1;
  z-index: -1;
  pointer-events: none;
  animation: frameGlow 8s ease-in-out infinite;
}

/* Glass contour + Reflexos especulares */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    inset 2px 0 0 rgba(255, 255, 255, 0.08),
    inset -2px 0 0 rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero,
.link-list,
.portfolio,
.foot {
  position: relative;
  z-index: 2;
}

.hero {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-bottom: 24px;
  position: relative;
}

/* Seletor de idioma integrado ao hero */
.hero .lang-switch {
  margin-top: 8px;
  margin-bottom: 0;
}

/* Logo wrapper com halo e partículas */
.hero-logo-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
}

/* Halo neon externo pulsante */
.hero-logo-halo {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: 
    radial-gradient(circle, rgba(45, 170, 255, 0.5) 0%, transparent 50%),
    radial-gradient(circle, rgba(160, 90, 255, 0.4) 0%, transparent 60%),
    radial-gradient(circle, rgba(255, 79, 216, 0.35) 0%, transparent 70%);
  filter: blur(25px);
  opacity: 0.9;
  animation: haloPulse 3s ease-in-out infinite;
  z-index: 0;
}

/* Orb 3D principal */
.hero-logo-orb {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(45, 170, 255, 0.2), transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(45, 170, 255, 0.1) 50%, rgba(160, 90, 255, 0.1) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 0 60px rgba(45, 170, 255, 0.4),
    0 0 90px rgba(160, 90, 255, 0.3),
    inset 0 0 40px rgba(255, 255, 255, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: orbFloat 4s ease-in-out infinite;
  z-index: 1;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Reflexo interno do orb com rotação */
.hero-logo-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4), transparent 45%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  pointer-events: none;
  animation: orbShine 3s ease-in-out infinite, orbRotate 15s linear infinite;
}

/* Container interno da logo */
.hero-logo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  z-index: 2;
  transform-style: preserve-3d;
}

.hero-logo-inner img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: 
    drop-shadow(0 8px 16px rgba(120, 140, 255, 0.6))
    drop-shadow(0 0 20px rgba(45, 170, 255, 0.4));
  animation: logoGlow 2.5s ease-in-out infinite;
}

/* Partículas flutuantes ao redor */
.hero-logo-particles {
  position: absolute;
  inset: -30px;
  z-index: 0;
  pointer-events: none;
}

.hero-logo-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(45, 170, 255, 0.8);
  animation: particleFloat 8s ease-in-out infinite;
}

.hero-logo-particles span:nth-child(1) {
  top: 10%;
  left: 50%;
  animation-delay: 0s;
}

.hero-logo-particles span:nth-child(2) {
  top: 50%;
  right: 5%;
  animation-delay: -1.5s;
}

.hero-logo-particles span:nth-child(3) {
  bottom: 15%;
  left: 50%;
  animation-delay: -3s;
}

.hero-logo-particles span:nth-child(4) {
  top: 50%;
  left: 5%;
  animation-delay: -4.5s;
}

.hero-logo-particles span:nth-child(5) {
  top: 25%;
  right: 20%;
  animation-delay: -6s;
}

/* Orbs decorativos orbitando dentro do orb principal, atrás da logo */
.hero-orb-decorative {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-orb-1 {
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(45, 170, 255, 0.7), rgba(45, 170, 255, 0.3) 50%, transparent 70%);
  border: 1px solid rgba(45, 170, 255, 0.5);
  box-shadow: 
    0 0 12px rgba(45, 170, 255, 0.6),
    0 0 24px rgba(45, 170, 255, 0.4),
    inset 0 0 8px rgba(255, 255, 255, 0.25);
  animation: orbOrbit1 8s linear infinite, orbPulse1 3s ease-in-out infinite;
  transform-origin: center;
}

.hero-orb-2 {
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(160, 90, 255, 0.7), rgba(160, 90, 255, 0.3) 50%, transparent 70%);
  border: 1px solid rgba(160, 90, 255, 0.5);
  box-shadow: 
    0 0 10px rgba(160, 90, 255, 0.6),
    0 0 20px rgba(160, 90, 255, 0.4),
    inset 0 0 6px rgba(255, 255, 255, 0.25);
  animation: orbOrbit2 10s linear infinite, orbPulse2 4s ease-in-out infinite;
  transform-origin: center;
}

.hero-orb-3 {
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 79, 216, 0.7), rgba(255, 79, 216, 0.3) 50%, transparent 70%);
  border: 1px solid rgba(255, 79, 216, 0.5);
  box-shadow: 
    0 0 10px rgba(255, 79, 216, 0.6),
    0 0 18px rgba(255, 79, 216, 0.4),
    inset 0 0 5px rgba(255, 255, 255, 0.25);
  animation: orbOrbit3 12s linear infinite, orbPulse3 3.5s ease-in-out infinite;
  transform-origin: center;
}

.hero-orb-4 {
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(90, 200, 255, 0.7), rgba(90, 200, 255, 0.3) 50%, transparent 70%);
  border: 1px solid rgba(90, 200, 255, 0.5);
  box-shadow: 
    0 0 8px rgba(90, 200, 255, 0.6),
    0 0 16px rgba(90, 200, 255, 0.4),
    inset 0 0 4px rgba(255, 255, 255, 0.25);
  animation: orbOrbit4 14s linear infinite, orbPulse4 4.5s ease-in-out infinite;
  transform-origin: center;
}

.hero-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(109, 94, 252, 0.22);
}

.hero-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-shadow: 0 2px 14px rgba(80, 120, 255, 0.25);
}

.hero-subtitle strong {
  color: #fff;
}

.link-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

/* Holographic pill cards - Reflexos especulares */
.link-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 0 0 30px rgba(45, 170, 255, 0.12),
    0 12px 28px rgba(8, 12, 40, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), 
              box-shadow 0.3s ease, 
              border 0.3s ease;
}

/* Sheen diagonal animado */
.link-card::after {
  content: "";
  position: absolute;
  inset: -60% 50% auto -50%;
  height: 220%;
  background: linear-gradient(120deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.35) 30%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.35) 70%,
    transparent 100%);
  opacity: 0.15;
  transform: translateX(-20%) rotate(15deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(200, 220, 255, 0.5);
  box-shadow: 
    0 20px 40px rgba(18, 24, 60, 0.65),
    0 0 28px rgba(86, 132, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 35px rgba(45, 170, 255, 0.15);
}

.link-card:hover::after,
.link-card:focus-visible::after {
  transform: translateX(30%) rotate(15deg);
}

.link-card.glow-tap {
  box-shadow: 0 0 24px rgba(86, 132, 255, 0.45);
}

.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 0 24px rgba(45, 170, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 0 0 18px rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.link-icon::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 60%);
  opacity: 0.3;
  animation: iconShine 3s ease-in-out infinite;
}

.link-icon img,
.link-icon svg {
  width: 22px;
  height: 22px;
}

.link-icon svg {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
}

.link-text {
  display: grid;
  gap: 4px;
}

.link-title {
  font-weight: 600;
  font-size: 15px;
}

.link-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Arrow glass button - Reflexos especulares */
.link-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 0 20px rgba(109, 94, 252, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.link-arrow::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 65%);
  opacity: 0.4;
  animation: arrowShine 2.5s ease-in-out infinite;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}

/* Portfolio card - Glow roxo intenso */
.portfolio {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(120, 150, 255, 0.14);
  border: 1px solid rgba(180, 190, 255, 0.3);
  box-shadow: 
    0 20px 42px rgba(18, 22, 60, 0.55),
    0 0 45px rgba(140, 100, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 50%, rgba(140, 100, 255, 0.25), transparent 60%);
  filter: blur(30px);
  opacity: 0.6;
  animation: portfolioGlow 6s ease-in-out infinite;
  pointer-events: none;
}

.portfolio-thumbs {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.thumb {
  flex: 1;
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.1);
  transition: transform 0.3s ease;
}

.thumb-clickable {
  cursor: pointer;
}

.thumb-clickable:hover img {
  transform: scale(1.05);
}

.thumb::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%);
  opacity: 0.3;
  animation: thumbShine 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.thumb:nth-child(2) {
  height: 84px;
}

.thumb:nth-child(3) {
  height: 72px;
}

.portfolio-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(140, 100, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05);
}

.portfolio-text {
  text-align: center;
}

.portfolio-text h2 {
  margin: 0 0 6px;
  font-size: 19px;
}

.portfolio-text p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* CTA with shimmer - Brilho intenso */
.cta {
  position: relative;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #5aa7ff 0%, #7c6dff 45%, #b85bff 100%);
  box-shadow: 
    0 14px 38px rgba(109, 94, 252, 0.4),
    0 0 50px rgba(45, 170, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), 
              box-shadow 0.3s ease;
  display: inline-block;
  margin: 0 auto;
}

.cta::after {
  content: "";
  position: absolute;
  inset: -70% 35% auto -50%;
  height: 240%;
  background: linear-gradient(120deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.5) 25%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 100%);
  opacity: 0.4;
  animation: shimmer 5s linear infinite;
}

.cta:hover,
.cta:focus-visible {
  transform: scale(0.97);
  box-shadow: 
    0 18px 42px rgba(109, 94, 252, 0.5),
    0 0 58px rgba(45, 170, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cta.glow-tap {
  box-shadow: 0 0 32px rgba(109, 94, 252, 0.5);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

/* Link do footer */
.footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 600;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(120deg, #6bb6ff 0%, #8b7dff 45%, #d16cff 75%);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(90, 167, 255, 0.5);
}

.footer-link:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(90, 167, 255, 0.6);
}

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

.foot-badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(10, 12, 30, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.12);
  margin-left: auto;
}

.ripple-target {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-80px);
  }
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate3d(calc(var(--px) * 0.5), calc(var(--py) * 0.5), 0) scale(1);
  }
  50% {
    transform: translate3d(calc(var(--px) * 0.5), calc(var(--py) * 0.5 + 18px), 0) scale(1.06);
  }
}

@keyframes frameGlow {
  0%, 100% {
    opacity: 0.95;
  }
  50% {
    opacity: 1;
  }
}

@keyframes haloPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes orbRotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes orbShine {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes logoGlow {
  0%, 100% {
    filter: 
      drop-shadow(0 8px 16px rgba(120, 140, 255, 0.7))
      drop-shadow(0 0 25px rgba(45, 170, 255, 0.5));
  }
  50% {
    filter: 
      drop-shadow(0 8px 24px rgba(120, 140, 255, 1))
      drop-shadow(0 0 40px rgba(45, 170, 255, 0.8));
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(20px, -25px) scale(1.3);
    opacity: 1;
  }
  50% {
    transform: translate(-15px, -40px) scale(0.9);
    opacity: 0.9;
  }
  75% {
    transform: translate(-25px, -20px) scale(1.2);
    opacity: 1;
  }
}

/* Animações de órbita circular para orbs decorativos (dentro do orb principal) */
@keyframes orbOrbit1 {
  0% { transform: translate(-50%, -50%) translateX(45px) translateY(0); }
  12.5% { transform: translate(-50%, -50%) translateX(32px) translateY(-32px); }
  25% { transform: translate(-50%, -50%) translateX(0) translateY(-45px); }
  37.5% { transform: translate(-50%, -50%) translateX(-32px) translateY(-32px); }
  50% { transform: translate(-50%, -50%) translateX(-45px) translateY(0); }
  62.5% { transform: translate(-50%, -50%) translateX(-32px) translateY(32px); }
  75% { transform: translate(-50%, -50%) translateX(0) translateY(45px); }
  87.5% { transform: translate(-50%, -50%) translateX(32px) translateY(32px); }
  100% { transform: translate(-50%, -50%) translateX(45px) translateY(0); }
}

@keyframes orbOrbit2 {
  0% { transform: translate(-50%, -50%) translateX(50px) translateY(0); }
  12.5% { transform: translate(-50%, -50%) translateX(0) translateY(-50px); }
  25% { transform: translate(-50%, -50%) translateX(-50px) translateY(0); }
  37.5% { transform: translate(-50%, -50%) translateX(0) translateY(50px); }
  50% { transform: translate(-50%, -50%) translateX(50px) translateY(0); }
  62.5% { transform: translate(-50%, -50%) translateX(0) translateY(-50px); }
  75% { transform: translate(-50%, -50%) translateX(-50px) translateY(0); }
  87.5% { transform: translate(-50%, -50%) translateX(0) translateY(50px); }
  100% { transform: translate(-50%, -50%) translateX(50px) translateY(0); }
}

@keyframes orbOrbit3 {
  0% { transform: translate(-50%, -50%) translateX(42px) translateY(0); }
  12.5% { transform: translate(-50%, -50%) translateX(-30px) translateY(-30px); }
  25% { transform: translate(-50%, -50%) translateX(0) translateY(42px); }
  37.5% { transform: translate(-50%, -50%) translateX(30px) translateY(-30px); }
  50% { transform: translate(-50%, -50%) translateX(-42px) translateY(0); }
  62.5% { transform: translate(-50%, -50%) translateX(30px) translateY(30px); }
  75% { transform: translate(-50%, -50%) translateX(0) translateY(-42px); }
  87.5% { transform: translate(-50%, -50%) translateX(-30px) translateY(30px); }
  100% { transform: translate(-50%, -50%) translateX(42px) translateY(0); }
}

@keyframes orbOrbit4 {
  0% { transform: translate(-50%, -50%) translateX(48px) translateY(0); }
  12.5% { transform: translate(-50%, -50%) translateX(34px) translateY(34px); }
  25% { transform: translate(-50%, -50%) translateX(0) translateY(48px); }
  37.5% { transform: translate(-50%, -50%) translateX(-34px) translateY(34px); }
  50% { transform: translate(-50%, -50%) translateX(-48px) translateY(0); }
  62.5% { transform: translate(-50%, -50%) translateX(-34px) translateY(-34px); }
  75% { transform: translate(-50%, -50%) translateX(0) translateY(-48px); }
  87.5% { transform: translate(-50%, -50%) translateX(34px) translateY(-34px); }
  100% { transform: translate(-50%, -50%) translateX(48px) translateY(0); }
}

/* Animações de pulso para orbs decorativos (usando scale separado) */
@keyframes orbPulse1 {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

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

@keyframes orbPulse3 {
  0%, 100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}

@keyframes orbPulse4 {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes iconShine {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
}

@keyframes arrowShine {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.15);
  }
}

@keyframes portfolioGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes thumbShine {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg);
    opacity: 0.4;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-20%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 360px) {
  .link-card {
    min-height: 76px;
  }

  .hero-title {
    font-size: 28px;
  }
}

/* Modal para expandir imagens */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  display: flex;
  opacity: 1;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.image-modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(160, 90, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 7, 18, 0.95);
  animation: modalFadeIn 0.3s ease;
}

.image-modal-img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.image-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.image-modal-close:active {
  transform: scale(0.95);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   SELETOR DE IDIOMA (Language Switch) - Integrado ao Header
   ============================================ */
.lang-switch {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 30px rgba(45, 170, 255, 0.08),
    0 6px 20px rgba(8, 12, 40, 0.35),
    0 0 25px rgba(86, 132, 255, 0.12);
  z-index: 15;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin-top: 12px;
}

.lang-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(90, 167, 255, 0.1) 0%,
    rgba(140, 100, 255, 0.08) 50%,
    rgba(255, 79, 216, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.lang-switch:hover {
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 35px rgba(45, 170, 255, 0.12),
    0 8px 28px rgba(18, 24, 60, 0.45),
    0 0 30px rgba(86, 132, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
}

.lang-switch:hover::before {
  opacity: 1;
}

.lang-switch__option {
  padding: 10px 16px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 44px;
  text-align: center;
  z-index: 1;
}

.lang-switch__option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(90, 167, 255, 0.15) 0%,
    rgba(140, 100, 255, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.lang-switch__option::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-100%) skewX(-15deg);
  border-radius: inherit;
}

.lang-switch__option:hover::after {
  opacity: 1;
  transform: translateX(100%) skewX(-15deg);
}

.lang-switch__option:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.lang-switch__option:hover::before {
  opacity: 1;
}

.lang-switch__option.active {
  background: linear-gradient(135deg, 
    rgba(90, 167, 255, 0.3) 0%,
    rgba(140, 100, 255, 0.25) 100%);
  color: #fff;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 0 20px rgba(90, 167, 255, 0.5),
    0 4px 16px rgba(8, 12, 40, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(0);
  font-weight: 700;
}

.lang-switch__option.active::before {
  opacity: 1;
  background: linear-gradient(135deg, 
    rgba(90, 167, 255, 0.4) 0%,
    rgba(140, 100, 255, 0.35) 100%);
}

.lang-switch__option.active:hover {
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 0 25px rgba(90, 167, 255, 0.6),
    0 6px 20px rgba(8, 12, 40, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Animação suave ao trocar idioma */
.lang-switch__option {
  animation: langOptionFadeIn 0.3s ease-out;
}

@keyframes langOptionFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lang-switch__option.active {
  animation: langOptionActive 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes langOptionActive {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Ajustes responsivos para seletor integrado */
@media (max-width: 480px) {
  .lang-switch {
    margin-top: 8px;
    padding: 2px;
    gap: 1px;
  }
  
  .lang-switch__option {
    padding: 8px 12px;
    font-size: 11px;
    min-width: 38px;
  }
}

/* ============================================
   MELHORIAS PREMIUM - Cards e Botões
   ============================================ */

/* Aumentar blur do glass em todos os cards */
.link-card,
.service-card,
.plan-card,
.feature-card {
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}

/* Inner glow mais intenso nos cards */
.link-card::before,
.service-card::before,
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: 
    radial-gradient(circle at 30% 20%, rgba(90, 167, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(140, 100, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* Sheen diagonal nos cards */
.link-card::after,
.service-card::after,
.plan-card::after {
  content: "";
  position: absolute;
  inset: -50% 50% auto -50%;
  height: 200%;
  width: 200%;
  background: linear-gradient(120deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.link-card:hover::after,
.service-card:hover::after,
.plan-card:hover::after {
  opacity: 0.3;
  transform: translateX(30%);
}

/* Botões com gradiente e glow mais intenso */
.cta,
.plan-cta,
.service-cta {
  position: relative;
  overflow: hidden;
}

.cta::before,
.plan-cta::before,
.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
  transform: translateX(-100%);
  pointer-events: none;
}

.cta:hover::before,
.plan-cta:hover::before,
.service-cta:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

@media (prefers-reduced-motion: reduce) {
  .bg-stars,
  body::before,
  body::after,
  .bg::before,
  .cta::after {
    animation: none;
  }

  body.is-ready .panel {
    transition: none;
  }

  .image-modal-content {
    animation: none;
  }

  .lang-switch__option::before,
  .link-card::after,
  .service-card::after,
  .plan-card::after {
    transition: none;
  }
}
