/* =============================================
   Novaes Digital – Premium Style Sheet v2.0
   ============================================= */

:root {
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-dark: #0891b2;
  --green: #10b981;
  --green-light: #34d399;
  --navy: #0f172a;
  --navy-dark: #020617;
  --navy-light: #1e293b;
  --purple: #8b5cf6;
  --glow-cyan: 0 0 40px rgba(6, 182, 212, 0.4);
  --glow-green: 0 0 40px rgba(16, 185, 129, 0.4);
}

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

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #020617;
  color: #cbd5e1;
  overflow-x: hidden;
  position: relative;
}

/* ============ CURSOR SPOTLIGHT ============ */
.cursor-spotlight {
  pointer-events: none;
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.1s ease;
  will-change: transform;
}

/* ============ ANIMATED BACKGROUND ============ */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
}

/* Aurora gradient blobs */
.aurora-1,
.aurora-2,
.aurora-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: auroraMove 20s ease-in-out infinite;
}

.aurora-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #06b6d4, #0891b2);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.aurora-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #10b981, #059669);
  bottom: -150px;
  right: -150px;
  animation-delay: -7s;
}

.aurora-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8b5cf6, #6d28d9);
  top: 50%;
  left: 60%;
  animation-delay: -14s;
}

@keyframes auroraMove {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(80px, -60px) scale(1.15);
  }

  66% {
    transform: translate(-60px, 80px) scale(0.9);
  }
}

/* Grid overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* ============ PARTICLES ============ */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: #06b6d4;
  border-radius: 3px;
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  box-shadow: none;
  transition:
    background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(2, 6, 23, 0.75) !important;
  backdrop-filter: blur(24px) saturate(180%) brightness(0.9);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(0.9);
  border-bottom: 1px solid rgba(6, 182, 212, 0.18);
  box-shadow: 0 4px 40px rgba(2, 6, 23, 0.6), 0 1px 0 rgba(6, 182, 212, 0.08) inset;
}

.nav-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

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

.nav-btn:hover {
  border-color: rgba(6, 182, 212, 0.6) !important;
  transform: translateY(-1px);
}

/* ============ HERO BADGE ============ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #22d3ee;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0.06);
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06b6d4;
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 6px #06b6d4;
  }

  50% {
    opacity: 0.4;
    box-shadow: none;
  }
}

/* ============ TYPEWRITER ============ */
.typewriter-text {
  display: inline;
  border-right: 3px solid #06b6d4;
  animation: blink-caret 0.75s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes blink-caret {

  0%,
  100% {
    border-color: #06b6d4;
  }

  50% {
    border-color: transparent;
  }
}

/* ============ HERO GRADIENT TEXT ============ */
.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #34d399 50%, #06b6d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ============ FLOATING BLOB ============ */
.blurred-blob {
  animation: float 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  33% {
    transform: translateY(-20px) scale(1.05);
  }

  66% {
    transform: translateY(10px) scale(0.97);
  }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-up.animate {
  animation: revealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-left.animate {
  animation: revealLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-right.animate {
  animation: revealRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
}

.reveal-scale.animate {
  animation: revealScale 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Delay helpers */
.delay-100 {
  --delay: 0.1s;
}

.delay-200 {
  --delay: 0.2s;
}

.delay-300 {
  --delay: 0.3s;
}

.delay-400 {
  --delay: 0.4s;
}

.delay-500 {
  --delay: 0.5s;
}

/* ============ STATS COUNTER ============ */
.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(6, 182, 212, 0.15);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #06b6d4, transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

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

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ============ SERVICE CARDS ============ */
.service-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.2);
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.05), transparent);
  transition: left 0.6s ease;
}

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

.service-card:hover::after {
  left: 100%;
}

.service-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 80px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.1);
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06b6d4;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(6, 182, 212, 0.2));
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

/* ============ STEP CARDS ============ */
.step-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(6, 182, 212, 0.25);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(6, 182, 212, 0.02) 100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(6, 182, 212, 0.04) 60deg, transparent 120deg);
  animation: rotateConic 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.step-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(6, 182, 212, 0.15);
}

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

/* ============ SECTOR CARDS ============ */
.sector-card {
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(30, 41, 59, 0.8);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.sector-card:hover {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateX(6px);
  box-shadow: -4px 0 30px rgba(6, 182, 212, 0.1);
}

.sector-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06b6d4;
  transition: all 0.3s ease;
}

.sector-card:hover .sector-icon {
  background: rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

/* ============ CTA BUTTON - HERO ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399, #10b981);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* ============ CTA BUTTON – FINAL ============ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.8rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
  }

  50% {
    box-shadow: 0 8px 60px rgba(16, 185, 129, 0.6), 0 0 0 8px rgba(16, 185, 129, 0.08);
  }
}

.btn-cta:hover {
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, #34d399, #10b981);
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  border-radius: 1.25rem;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(16px);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  font-family: 'Poppins', sans-serif;
  color: rgba(6, 182, 212, 0.15);
  line-height: 1;
  font-weight: 800;
}

.testimonial-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.1);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.star {
  color: #f59e0b;
  font-size: 0.9rem;
}

/* ============ DIVIDER ============ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
  margin: 0;
}

/* ============ INLINE HIGHLIGHT ============ */
.highlight-line {
  display: inline-block;
  position: relative;
}

.highlight-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  border-radius: 2px;
}

/* ============ NUMBER BADGE ============ */
.step-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(6, 182, 212, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ============ FOOTER LOGO GLOW ============ */
footer {
  position: relative;
  z-index: 10;
}

/* ============ SECTION Z-INDEX ============ */
section {
  position: relative;
  z-index: 10;
}

header {
  position: fixed;
  z-index: 60;
}

footer {
  position: relative;
  z-index: 10;
}

/* ============ SCROLLBAR ANIMATION ============ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {

  .aurora-1,
  .aurora-2,
  .aurora-3,
  .blurred-blob,
  .badge-dot,
  .hero-badge,
  .btn-cta {
    animation: none !important;
  }

  .reveal-up.animate,
  .reveal-left.animate,
  .reveal-right.animate,
  .reveal-scale.animate {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}