/* =============================================
   PASSWORD TOGGLE
   ============================================= */
.password-toggle-wrapper {
  position: relative;
  display: block;
}
.password-toggle-wrapper input[type="password"],
.password-toggle-wrapper input[type="text"] {
  padding-right: 2.75rem;
}
.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 2;
}
.password-toggle-btn:hover {
  color: #3B82F6;
}
.password-toggle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* =============================================
   TURINGTEC - DESIGN SYSTEM v2.0
   Conceito: "Neural Digital Ecosystem"
   Técnicas: Glassmorphism, Mesh Gradients,
   Particle Canvas, Animated Blobs, Glow FX
   ============================================= */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #050E1F;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Selection ---- */
::selection {
  background: rgba(6, 182, 212, 0.35);
  color: #fff;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050E1F; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3B82F6, #06B6D4);
  border-radius: 10px;
}

/* =============================================
   PARTICLE CANVAS (Full-page neural network)
   ============================================= */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =============================================
   AMBIENT BACKGROUND EFFECTS
   ============================================= */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.ambient-glow.cyan {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.3), transparent 70%);
  animation: floatBlob1 20s ease-in-out infinite;
}

.ambient-glow.blue {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
  animation: floatBlob2 25s ease-in-out infinite;
}

.ambient-glow.purple {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.15), transparent 70%);
  animation: floatBlob3 18s ease-in-out infinite;
}

@keyframes floatBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(120px, -80px) scale(1.1); }
  66% { transform: translate(-60px, 60px) scale(0.9); }
}

@keyframes floatBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, 100px) scale(1.15); }
  66% { transform: translate(80px, -40px) scale(0.85); }
}

@keyframes floatBlob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -100px) scale(1.2); }
}

/* =============================================
   GRID OVERLAY (Subtle tech grid)
   ============================================= */
.tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}

/* =============================================
   NOISE TEXTURE OVERLAY
   ============================================= */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* =============================================
   NAVIGATION - Glassmorphism v2
   ============================================= */
#navbar {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.scrolled {
  background: rgba(5, 14, 31, 0.75) !important;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Nav link glow underline */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

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

/* Nav CTA button */
.nav-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3B82F6, #06B6D4) !important;
  border: none;
  z-index: 1;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-cta:hover::before {
  opacity: 1;
}

.nav-cta:hover {
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4), 0 0 50px rgba(6, 182, 212, 0.15);
  transform: scale(1.03);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(59,130,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(6,182,212,0.06) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Hero badge - neon glow */
.hero-badge {
  position: relative;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15), inset 0 0 20px rgba(59, 130, 246, 0.05);
}

/* Hero title gradient text */
.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .accent-text {
  background: linear-gradient(135deg, #3B82F6, #06B6D4, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

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

/* Typing cursor effect */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: linear-gradient(180deg, #3B82F6, #06B6D4);
  margin-left: 4px;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: text-bottom;
  border-radius: 2px;
}

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

/* Hero CTA buttons */
.hero-btn-primary {
  position: relative;
  background: linear-gradient(135deg, #3B82F6, #06B6D4) !important;
  border: none;
  overflow: hidden;
  z-index: 1;
}

.hero-btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #3B82F6, #06B6D4, #8B5CF6, #3B82F6);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  animation: borderRotate 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-btn-primary:hover::before {
  opacity: 1;
}

.hero-btn-primary:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4), 0 0 60px rgba(6, 182, 212, 0.1);
  transform: scale(1.04) !important;
}

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

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}

.scroll-indicator:hover {
  color: #3B82F6;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
  opacity: 0.5;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* =============================================
   SECTION DIVIDERS (Wave shapes)
   ============================================= */
.section-divider {
  position: absolute;
  left: 0; right: 0;
  z-index: 2;
  pointer-events: none;
}

.section-divider.top {
  top: -1px;
}

.section-divider.bottom {
  bottom: -1px;
  transform: rotate(180deg);
}

/* =============================================
   GLASSMORPHISM CARDS
   ============================================= */
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg,
    rgba(59,130,246,0.3) 0%,
    rgba(255,255,255,0.05) 30%,
    rgba(255,255,255,0) 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Card accent line (animated) */
.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.6;
  transition: opacity 0.3s, height 0.3s;
}

.glass-card:hover .card-accent {
  opacity: 1;
  height: 3px;
}

/* Card glow corner */
.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card:hover .card-glow {
  opacity: 0.15;
}

/* =============================================
   ICON CONTAINERS - Gradient orbs
   ============================================= */
.icon-orb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.icon-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.15;
}

.icon-orb::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--orb-color, #3B82F6), transparent);
  opacity: 0.3;
}

.icon-orb svg {
  position: relative;
  z-index: 1;
}

/* =============================================
   STATS / COUNTER SECTION
   ============================================= */
.stat-number {
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.stat-card {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  transition: all 0.4s ease;
}

.stat-card:hover {
  border-color: rgba(59,130,246,0.15);
  box-shadow: 0 10px 40px rgba(59,130,246,0.08);
  transform: translateY(-4px);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
}

/* =============================================
   TESTIMONIAL CARDS
   ============================================= */
.testimonial-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card:hover {
  border-color: rgba(59,130,246,0.12);
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

/* Quote icon */
.quote-icon {
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

/* =============================================
   PROCESS STEPS - Connected nodes
   ============================================= */
.process-step {
  position: relative;
}

.process-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(59,130,246,0.08);
  border: 2px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.process-step:hover .process-node {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 25px rgba(59,130,246,0.2);
  background: rgba(59,130,246,0.12);
}

.process-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(59,130,246,0.15), rgba(59,130,246,0.02));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* Connector line glow */
.connector-line {
  position: absolute;
  top: 36px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.3), rgba(6,182,212,0.3));
  z-index: 1;
}

/* Animated dot traveling the line */
.connector-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 10px #3B82F6, 0 0 20px rgba(59,130,246,0.5);
  top: -3px;
  animation: travelDot 3s linear infinite;
}

@keyframes travelDot {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* =============================================
   TAG PILLS (Glowing)
   ============================================= */
.glow-pill {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(59,130,246,0.08);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.12);
  transition: all 0.3s ease;
}

.glow-pill:hover {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 0 15px rgba(59,130,246,0.15);
}

/* =============================================
   ABOUT SECTION - Feature cards
   ============================================= */
.feature-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #06B6D4, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(59,130,246,0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Mission/Vision pills */
.mission-pill {
  position: relative;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e2e8f0;
  transition: all 0.3s ease;
  cursor: default;
}

.mission-pill:hover {
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.06);
  box-shadow: 0 0 20px rgba(59,130,246,0.1);
}

/* =============================================
   FORM STYLES
   ============================================= */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: #e2e8f0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: #475569;
}

.form-input:focus {
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.03);
  box-shadow: 0 0 20px rgba(59,130,246,0.08);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  background-color: rgba(255,255,255,0.02);
  color: #e2e8f0;
}

select.form-input option,
select.form-input optgroup {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 0.5rem;
}

select.form-input option:checked,
select.form-input option:hover {
  background-color: rgba(59,130,246,0.2);
  color: #fff;
}

select.form-input optgroup {
  font-weight: 600;
  color: #94a3b8;
}

.form-submit {
  width: 100%;
  padding: 0.875rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0B1D3A, #1B3A5C);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  background: linear-gradient(135deg, #1B3A5C, #2A5298);
  box-shadow: 0 0 25px rgba(59,130,246,0.2);
  transform: translateY(-1px);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-btn-hero {
  position: relative;
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.cta-btn-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #06B6D4, #8B5CF6, #3B82F6);
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.cta-btn-hero:hover::after {
  opacity: 1;
  animation: gradientShift 2s ease infinite;
}

.cta-btn-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(59,130,246,0.4), 0 0 80px rgba(6,182,212,0.1);
}

/* =============================================
   FOOTER
   ============================================= */
.footer-link {
  position: relative;
  color: #64748b;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #3B82F6;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), transparent);
}

/* =============================================
   REVEAL ANIMATIONS (CSS fallback + enhanced)
   ============================================= */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right-item {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right-item.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   STAGGER DELAYS
   ============================================= */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* =============================================
   SECTION LABEL (Glowing text)
   ============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #06B6D4;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(6,182,212,0.5);
}

/* =============================================
   GRADIENT TEXT UTILITY
   ============================================= */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 60%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   GLOWING BORDER UTILITY
   ============================================= */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(6,182,212,0.1), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.glow-border:hover::after {
  opacity: 1;
}

/* =============================================
   SPOTLIGHT EFFECT (for cards)
   ============================================= */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card .spotlight {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  transform: translate(-50%, -50%);
  z-index: 0;
}

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

/* =============================================
   MOBILE MENU
   ============================================= */
#mobileMenu {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#mobileMenu.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#mobileMenu:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =============================================
   ADMIN ACCORDION (mobile list cards)
   ============================================= */
.accordion-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease;
}
.accordion-item:hover {
  border-color: rgba(255,255,255,0.12);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.accordion-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: #94A3B8;
}
.accordion-item.accordion-open .accordion-chevron {
  transform: rotate(180deg);
  color: #3B82F6;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.accordion-item.accordion-open .accordion-body {
  /* max-height é controlado via JS */
}
.accordion-body-inner {
  padding: 0 1.25rem 1rem 1.25rem;
}
.accordion-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.accordion-row:first-child {
  border-top: none;
}
.accordion-label {
  font-size: 0.75rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.accordion-value {
  font-size: 0.8125rem;
  color: #94A3B8;
  text-align: right;
  word-break: break-word;
}
.accordion-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ambient-glow { animation: none !important; }
}
