/* ==========================================
   IMPULSYS - MODERN PREMIUM DESIGN
   New Theme: Blue/Cyan + Orange/Yellow
   ========================================== */

:root {
  /* Background colors */
  --bg-dark: #06090F;
  --bg-deep: #0B0F14;
  --bg-card: #111827;

  /* Blue scale */
  --blue-primary: #0465F1;
  --blue-medium: #0E99FE;
  --blue-light: #49BAFE;
  --cyan: #58D7FE;
  --blue-deep: #0A2168;
  --blue-night: #002F97;

  /* Warm accents */
  --orange: #FDA31C;
  --orange-intense: #F67004;
  --yellow: #FDE662;

  /* Violet accent (sparingly) */
  --violet-accent: #944FE1;

  /* Aurora colors (updated) */
  --aurora-1: #0465F1;
  --aurora-2: #0E99FE;
  --aurora-3: #58D7FE;
  --aurora-4: #49BAFE;

  /* UI colors */
  --glass-bg: rgba(11, 15, 20, 0.6);
  --glass-border: rgba(14, 153, 254, 0.15);
  --glass-highlight: rgba(88, 215, 254, 0.2);

  --text: #f4f4f5;
  --text-muted: rgba(244, 244, 245, 0.7);
  --text-dim: rgba(244, 244, 245, 0.5);

  /* Glow effects */
  --glow-primary: rgba(4, 101, 241, 0.5);
  --glow-secondary: rgba(88, 215, 254, 0.5);
  --glow-cta: rgba(246, 112, 4, 0.4);

  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

/* ==========================================
   PREMIUM LOADING SCREEN
   ========================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  z-index: 2;
}

.loader__logo {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__logo-img {
  width: 60px;
  height: auto;
  animation: logo-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(14, 153, 254, 0.5));
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(14, 153, 254, 0.5)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 40px rgba(88, 215, 254, 0.8)); }
}

.loader__logo-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--blue-medium);
  border-right-color: var(--cyan);
  border-radius: 50%;
  animation: ring-spin 1.5s linear infinite;
}

.loader__logo-ring--2 {
  inset: 10px;
  border-top-color: var(--orange);
  border-right-color: var(--yellow);
  animation-direction: reverse;
  animation-duration: 2s;
}

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

.loader__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.loader__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-medium), var(--cyan), var(--orange));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 3s ease infinite;
}

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

.loader__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0;
  animation: tagline-appear 0.8s ease forwards 0.5s;
}

@keyframes tagline-appear {
  to { opacity: 1; }
}

.loader__progress {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.loader__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan), var(--orange));
  border-radius: 999px;
  animation: progress-fill 2s ease-out forwards;
  box-shadow: 0 0 10px var(--cyan);
}

@keyframes progress-fill {
  0% { width: 0%; }
  20% { width: 20%; }
  50% { width: 60%; }
  80% { width: 85%; }
  100% { width: 100%; }
}

.loader__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.6;
  animation: particle-float 3s ease-in-out infinite;
}

@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 1; }
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(4, 101, 241, 0.12), transparent),
    radial-gradient(ellipse 60% 60% at 80% 10%, rgba(10, 33, 104, 0.2), transparent),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(246, 112, 4, 0.06), transparent),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(14, 153, 254, 0.08), transparent),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(88, 215, 254, 0.04), transparent);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* Hide default cursor on interactive elements */
a, button, input, textarea, .tilt, .magnetic { cursor: none; }

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--blue-medium) 50%, var(--orange) 50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow:
    -1px -1px 6px rgba(14, 153, 254, 0.7),
    1px 1px 6px rgba(253, 163, 28, 0.7);
  transition: transform 0.1s ease;
}

.cursor-glow {
  position: fixed;
  width: 32px;
  height: 32px;
  background: transparent;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#0B0F14, #0B0F14),
    linear-gradient(135deg, rgba(73, 186, 254, 0.8), rgba(253, 163, 28, 0.8));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 0 10px rgba(73, 186, 254, 0.4),
    0 0 10px rgba(253, 163, 28, 0.4);
  transition: width 0.3s, height 0.3s, border-width 0.2s, box-shadow 0.2s, opacity 0.15s;
}

.cursor-glow.hovering {
  width: 50px;
  height: 50px;
  border-width: 3px;
  background-image:
    linear-gradient(#0B0F14, #0B0F14),
    linear-gradient(135deg, rgba(88, 215, 254, 1), rgba(253, 163, 28, 1));
  box-shadow:
    0 0 15px rgba(88, 215, 254, 0.6),
    0 0 15px rgba(253, 163, 28, 0.6);
}

/* ==========================================
   NOISE TEXTURE
   ========================================== */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
}

/* ==========================================
   AURORA BACKGROUND
   ========================================== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.aurora__layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: aurora 15s ease-in-out infinite;
}

.aurora__layer--1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--blue-primary), transparent 70%);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.aurora__layer--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: 10%;
  right: -15%;
  animation-delay: -5s;
  animation-duration: 18s;
}

.aurora__layer--3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--orange), transparent 70%);
  bottom: -20%;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 20s;
  opacity: 0.18;
}

.aurora__layer--4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-medium), transparent 70%);
  top: 40%;
  left: 10%;
  animation-delay: -7s;
  animation-duration: 22s;
}

@keyframes aurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(5%, -5%) scale(1.1); }
  50% { transform: translate(-3%, 8%) scale(0.95); }
  75% { transform: translate(8%, 3%) scale(1.05); }
}

/* ==========================================
   FLOATING ORBS
   ========================================== */
.orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.orb--1 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.orb--2 {
  width: 200px;
  height: 200px;
  bottom: 30%;
  left: 5%;
  animation-delay: -7s;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.orb--3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 30%;
  animation-delay: -14s;
}

/* Video orbs */
.orb--video {
  overflow: hidden;
  background: transparent;
  animation: float-no-rotate 20s ease-in-out infinite;
}

.orb--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

@keyframes float-no-rotate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

/* ==========================================
   GLASS MORPHISM
   ========================================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: linear-gradient(
    135deg,
    rgba(11, 15, 20, 0.8),
    rgba(17, 24, 39, 0.6)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}

/* ==========================================
   GLOW EFFECTS
   ========================================== */
.glow-box {
  box-shadow:
    0 0 20px rgba(4, 101, 241, 0.3),
    0 0 40px rgba(4, 101, 241, 0.1),
    inset 0 0 20px rgba(4, 101, 241, 0.1);
}

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

.glow-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--orange-intense), var(--orange), var(--yellow));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.glow-btn:hover::before {
  opacity: 1;
  animation: glow-rotate 3s linear infinite;
}

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

.btn__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.glow-btn:hover .btn__shine {
  left: 100%;
}

/* ==========================================
   TEXT GRADIENTS
   ========================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-medium), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-anim {
  background: linear-gradient(
    90deg,
    var(--blue-primary),
    var(--cyan),
    var(--blue-light),
    var(--blue-primary)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
}

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

/* Text scramble effect */
.scramble-char {
  color: var(--orange);
  text-shadow: 0 0 10px var(--orange);
}

.highlight {
  position: relative;
  color: var(--cyan);
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan));
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.brand__icon {
  font-size: 24px;
}

.brand__logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.brand__text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav__link {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.nav__link:hover {
  color: var(--cyan);
  background: var(--glass-bg);
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

/* PRIMARY CTA - Orange gradient */
.btn--primary {
  background: linear-gradient(135deg, var(--orange-intense), var(--orange));
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--glow-cta);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 0 8px 30px var(--glow-cta), 0 0 40px rgba(253, 230, 98, 0.2);
  transform: translateY(-3px);
}

/* Secondary actions - Blue gradient */
.btn--secondary {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-medium));
  border: none;
  color: #fff;
}

.btn--secondary:hover {
  box-shadow: 0 10px 40px var(--glow-primary), 0 0 30px rgba(88, 215, 254, 0.2);
}

.btn--ghost {
  background: transparent;
  border-color: var(--glass-border);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* ==========================================
   WHATSAPP BUTTON - SINGLE ORBITING ICON
   ========================================== */
.wa-btn-wrap {
  position: relative;
  display: inline-flex;
}

.wa-btn__orbit {
  position: absolute;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
  z-index: 10;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -11px;
  filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.6));
  animation: wa-orbit 3s linear infinite;
}

/* Trace rounded rectangle around the button */
@keyframes wa-orbit {
  0%     { transform: translate(0px, -30px) rotate(0deg); }
  12.5%  { transform: translate(60px, -30px) rotate(45deg); }
  25%    { transform: translate(72px, 0px) rotate(90deg); }
  37.5%  { transform: translate(60px, 30px) rotate(135deg); }
  50%    { transform: translate(0px, 30px) rotate(180deg); }
  62.5%  { transform: translate(-60px, 30px) rotate(225deg); }
  75%    { transform: translate(-72px, 0px) rotate(270deg); }
  87.5%  { transform: translate(-60px, -30px) rotate(315deg); }
  100%   { transform: translate(0px, -30px) rotate(360deg); }
}

/* Hover: reverse direction + stronger glow */
.wa-btn-wrap:hover .wa-btn__orbit {
  animation-direction: reverse;
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, 1));
}

.btn__arrow {
  transition: transform 0.3s;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ==========================================
   BURGER MENU
   ========================================== */
.burger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ==========================================
   MOBILE DRAWER
   ========================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 20px;
}

.drawer.is-open {
  display: block;
}

.drawer__panel {
  max-width: 400px;
  margin-left: auto;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(11, 15, 20, 0.95);
  border: 1px solid var(--glass-border);
}

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drawer__head strong {
  font-size: 1.2rem;
}

.iconbtn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-size: 1.2rem;
}

.drawer__link {
  display: block;
  padding: 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.drawer__link:hover {
  color: var(--cyan);
  background: var(--glass-bg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  padding: 140px 0 60px;
  display: flex;
  flex-direction: column;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
}

.hero__copy {
  max-width: 600px;
}

/* ==========================================
   HERO BADGES - HOLOGRAPHIC PREMIUM
   ========================================== */
.hero-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding: 4px;
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  will-change: transform, opacity;
  background: rgba(11, 15, 20, 0.8);
  border: none;
  isolation: isolate;
  animation: badge-materialize 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Animated holographic border */
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--badge-angle, 0deg),
    var(--cyan),
    var(--blue-primary),
    var(--orange),
    var(--yellow),
    var(--cyan),
    var(--blue-medium),
    var(--cyan)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-orbit 3s linear infinite;
  opacity: 0.8;
}

/* Holographic shimmer sweep */
.hero-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(88, 215, 254, 0.12) 45%,
    rgba(253, 163, 28, 0.08) 50%,
    rgba(88, 215, 254, 0.12) 55%,
    transparent 70%
  );
  background-size: 250% 100%;
  animation: shimmer-sweep 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-badge--left {
  animation-delay: 2.6s;
}

.hero-badge--right {
  animation-delay: 2.9s;
}

.hero-badge__pulse {
  position: relative;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(88, 215, 254, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
  z-index: 2;
}

.hero-badge__pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

.hero-badge span:last-child {
  position: relative;
  z-index: 2;
}

/* Hover: expand + intensify glow */
.hero-badge:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 30px rgba(88, 215, 254, 0.2), 0 0 40px rgba(88, 215, 254, 0.1);
}

.hero-badge:hover::before {
  opacity: 1;
  animation-duration: 1.5s;
}

.hero-badge:hover::after {
  animation-duration: 1.5s;
}

.hero-badge {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

/* Floating idle */
.hero-badge--left {
  animation: badge-materialize 1s cubic-bezier(0.16, 1, 0.3, 1) 2.6s forwards,
             badge-float 4s ease-in-out 3.8s infinite;
}

.hero-badge--right {
  animation: badge-materialize 1s cubic-bezier(0.16, 1, 0.3, 1) 2.9s forwards,
             badge-float-alt 4.5s ease-in-out 4.1s infinite;
}

/* Materialize: glitch decode entry */
@keyframes badge-materialize {
  0% {
    opacity: 0;
    transform: scaleX(0) translateY(10px);
    filter: blur(10px) brightness(3);
  }
  30% {
    opacity: 1;
    transform: scaleX(1.15) scaleY(0.85) translateY(-5px);
    filter: blur(2px) brightness(1.5);
  }
  50% {
    transform: scaleX(0.95) scaleY(1.05) translateY(3px);
    filter: blur(0) brightness(1.2);
  }
  70% {
    transform: scaleX(1.02) scaleY(0.98) translateY(-1px);
    filter: blur(0) brightness(1);
  }
  100% {
    opacity: 1;
    transform: scaleX(1) scaleY(1) translateY(0);
    filter: blur(0) brightness(1);
  }
}

/* Orbiting border gradient */
@keyframes border-orbit {
  to { --badge-angle: 360deg; }
}

/* Register custom property for conic-gradient animation */
@property --badge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Shimmer sweep */
@keyframes shimmer-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Pulse glow */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(88, 215, 254, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px var(--cyan), 0 0 28px rgba(88, 215, 254, 0.5);
    transform: scale(1.2);
  }
}

/* Pulse ring */
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Floating breathe */
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes badge-float-alt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title .line {
  display: block;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stats {
  display: flex;
  gap: 16px;
}

.stat {
  padding: 20px 24px;
  position: relative;
}

.stat__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(4, 101, 241, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat:hover .stat__glow {
  opacity: 1;
}

.stat__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
  color: var(--cyan);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   HERO VISUAL / MOCKUP
   ========================================== */
.hero__visual {
  position: relative;
  perspective: 1000px;
}

.mockup {
  padding: 0;
  transform-style: preserve-3d;
}

.mockup__glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at 30% 30%, var(--glow-primary), transparent 50%),
              radial-gradient(circle at 70% 70%, var(--glow-secondary), transparent 50%);
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
}

.mockup__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.mockup__dots {
  display: flex;
  gap: 8px;
}

.mockup__dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup__url {
  flex: 1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mockup__live {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  font-size: 0.7rem;
  font-weight: 700;
}

.mockup__live.pulse {
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.mockup__body {
  padding: 20px;
}

.mockup__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  height: 280px;
}

.bento-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  position: relative;
}

.bento-item--main {
  grid-column: span 2;
}

.bento-item--tall {
  grid-row: span 2;
}

.bento-label {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.chart__bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--cyan), var(--blue-primary));
  border-radius: 4px;
  animation: chart-grow 1s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes chart-grow {
  from { height: 0; }
}

.kpi {
  text-align: center;
}

.kpi strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  display: block;
  color: var(--orange);
}

.kpi small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ui-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.skel {
  height: 12px;
  background: var(--glass-border);
  border-radius: 6px;
  animation: skeleton 1.5s ease-in-out infinite;
}

.skel--short { width: 60%; }
.skel--btn {
  height: 32px;
  margin-top: auto;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan));
  opacity: 0.3;
}

@keyframes skeleton {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float-badge 6s ease-in-out infinite;
  border: 1px solid var(--glass-border);
}

.float-badge--1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.float-badge--2 {
  bottom: 20%;
  left: -5%;
  animation-delay: -3s;
}

.float-badge__icon {
  font-size: 1.2rem;
}

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

/* ==========================================
   MARQUEE
   ========================================== */
.marquee {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee__item {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.marquee__item:hover {
  border-color: var(--cyan);
  color: var(--text);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
  padding: 100px 0;
}

.section__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 16px;
  border: 1px solid var(--glass-border);
}

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================
   SERVICES GRID
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease;
}

.service-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(4, 101, 241, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

.service-card[data-featured] {
  border-color: rgba(14, 153, 254, 0.3);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--orange-intense), var(--orange));
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(4, 101, 241, 0.2), rgba(88, 215, 254, 0.1));
  border: 1px solid var(--glass-border);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card__list {
  list-style: none;
  margin-bottom: 24px;
}

.service-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.check {
  color: var(--cyan);
  font-weight: 700;
}

/* ==========================================
   PROCESS SECTION
   ========================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process__line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-medium), var(--cyan), var(--blue-light));
  opacity: 0.3;
  z-index: 0;
}

.process__step {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.process__content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.process__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.process__icon {
  font-size: 2rem;
  margin-top: 16px;
}

/* ==========================================
   CASES GRID
   ========================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.case-card {
  overflow: hidden;
}

.case-card__thumb {
  height: 200px;
  background: linear-gradient(135deg, rgba(4, 101, 241, 0.3), rgba(88, 215, 254, 0.2));
  position: relative;
  overflow: hidden;
}

.case-card__thumb--2 {
  background: linear-gradient(135deg, rgba(246, 112, 4, 0.3), rgba(253, 163, 28, 0.2));
}

.case-card__thumb--3 {
  background: linear-gradient(135deg, rgba(88, 215, 254, 0.3), rgba(4, 101, 241, 0.2));
}

.case-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(32, 32, 32, 0.8);
  opacity: 0;
  transition: opacity 0.3s;
}

.case-card:hover .case-card__overlay {
  opacity: 1;
}

.case-card__body {
  padding: 24px;
}

.case-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 32px;
}

.testimonial__quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.testimonial p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  font-weight: 700;
}

.testimonial__author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial__author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   PRICING GRID
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  padding: 32px;
  position: relative;
  overflow: visible;
}

.price-card--featured {
  border-color: rgba(246, 112, 4, 0.4);
  transform: scale(1.05);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--orange-intense), var(--orange));
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
}

.price-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(246, 112, 4, 0.1), transparent 60%);
  pointer-events: none;
}

.price-card__header {
  text-align: center;
  margin-bottom: 24px;
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.price-card__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.price-card__currency {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.price-card__amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.price-card__period {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.price-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-card__features li:last-child {
  border: none;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.contact__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
}

.contact__feature-icon {
  font-size: 1.5rem;
}

.contact__feature strong {
  display: block;
  font-size: 0.95rem;
}

.contact__feature span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  padding: 40px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.glass-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
}

.glass-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(88, 215, 254, 0.2);
}

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

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

.form-actions {
  margin-top: 24px;
}

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

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer__brand small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--cyan);
}

.footer__copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ==========================================
   3D TILT EFFECT
   ========================================== */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.tilt-heavy {
  transform-style: preserve-3d;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-float {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-float.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(100%);
  display: inline-block;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations - Premium */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* Stagger for grid items */
.services-grid .service-card:nth-child(1),
.cases-grid .case-card:nth-child(1),
.pricing-grid .price-card:nth-child(1) { transition-delay: 0.1s; }

.services-grid .service-card:nth-child(2),
.cases-grid .case-card:nth-child(2),
.pricing-grid .price-card:nth-child(2) { transition-delay: 0.2s; }

.services-grid .service-card:nth-child(3),
.cases-grid .case-card:nth-child(3),
.pricing-grid .price-card:nth-child(3) { transition-delay: 0.3s; }

/* Process steps stagger */
.process__step:nth-child(2) { transition-delay: 0.1s; }
.process__step:nth-child(3) { transition-delay: 0.2s; }
.process__step:nth-child(4) { transition-delay: 0.3s; }
.process__step:nth-child(5) { transition-delay: 0.4s; }

/* Reveal with spring effect */
.reveal-spring {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-spring.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Reveal from sides */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    order: -1;
  }

  .float-badge { display: none; }

  .services-grid,
  .cases-grid,
  .pricing-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .process__line { display: none; }

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

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

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: block; }

  .stats {
    flex-direction: column;
  }

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

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

  /* Disable custom cursor on mobile */
  body { cursor: auto; }
  a, button, input, textarea, .tilt, .magnetic { cursor: auto; }
  .cursor, .cursor-glow { display: none; }
}

/* ==========================================
   SCROLL PROGRESS INDICATOR
   ========================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan), var(--orange));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--blue-primary), 0 0 20px var(--cyan);
}

/* ==========================================
   RIPPLE EFFECT
   ========================================== */
.btn {
  position: relative;
  overflow: hidden;
}

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

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================
   DYNAMIC CARD GLOW - PREMIUM
   ========================================== */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(14, 153, 254, 0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}

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

/* Premium border glow effect */
.glass-card {
  --border-glow-x: 50%;
  --border-glow-y: 50%;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(88, 215, 254, 0.5) var(--border-glow-x),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Magnetic shine effect on cards */
.glass-card .card-shine {
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    var(--shine-angle, 135deg),
    transparent 40%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 60%
  );
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* ==========================================
   ENHANCED HOVER TRANSITIONS
   ========================================== */
.service-card,
.price-card,
.testimonial {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.service-card:hover,
.price-card:hover,
.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(4, 101, 241, 0.2),
              0 0 60px rgba(88, 215, 254, 0.1);
  border-color: rgba(88, 215, 254, 0.3);
}

.case-card {
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.case-card:hover {
  box-shadow: 0 20px 40px rgba(4, 101, 241, 0.2),
              0 0 60px rgba(88, 215, 254, 0.1);
  border-color: rgba(88, 215, 254, 0.3);
}

/* ==========================================
   ANIMATED UNDERLINE FOR LINKS
   ========================================== */
.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav__link:hover::after {
  width: 80%;
}

/* ==========================================
   PULSE ANIMATION FOR CTA
   ========================================== */
.btn--primary.glow-btn {
  animation: cta-pulse 3s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(246, 112, 4, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(246, 112, 4, 0.4), 0 0 0 15px rgba(253, 163, 28, 0);
  }
}

/* ==========================================
   SMOOTH ENTRY ANIMATIONS
   ========================================== */
.hero__copy > * {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s ease forwards;
}

.hero__copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.2s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.3s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .aurora__layer,
  .orb,
  .marquee__track {
    animation: none;
  }
}

/* ==========================================
   ACCESSIBILITY - Focus states
   ========================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ==========================================
   PREMIUM HOVER EFFECTS
   ========================================== */

/* Floating animation for badges */
.float-badge {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.float-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(14, 153, 254, 0.3);
}

/* Shimmer effect for featured elements */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.service-card[data-featured]::after,
.price-card--featured::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* Glow pulse for primary buttons */
.btn--primary {
  position: relative;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px var(--orange), 0 0 40px rgba(253, 163, 28, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn--primary:hover::after {
  opacity: 1;
}

/* Stat cards enhanced glow */
.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(4, 101, 241, 0.2);
}

.stat {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

/* Process step connection glow */
.process__step:hover .process__number {
  text-shadow: 0 0 30px var(--cyan);
}

/* Testimonial quote animation */
.testimonial__quote {
  transition: transform 0.3s ease;
}

.testimonial:hover .testimonial__quote {
  transform: scale(1.1) rotate(-5deg);
}

/* Input field focus glow enhancement */
.glass-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(88, 215, 254, 0.2),
              0 0 20px rgba(88, 215, 254, 0.1);
}

/* Marquee pause on hover */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.marquee__item:hover {
  transform: scale(1.1);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(88, 215, 254, 0.3);
}

/* Page loaded state - smoother initial appearance */
body.loaded .hero__copy > * {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth color transitions for links */
a {
  transition: color 0.3s ease;
}

/* Enhanced section tag hover */
.section__tag {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.section__tag:hover {
  transform: scale(1.05);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(88, 215, 254, 0.3);
}

/* Mockup enhanced shadow on scroll */
.mockup {
  transition: box-shadow 0.5s ease;
}

.mockup:hover {
  box-shadow: 0 30px 60px rgba(4, 101, 241, 0.3),
              0 0 80px rgba(88, 215, 254, 0.1);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.about-value__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-value strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-value span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question:hover {
  color: var(--cyan);
}

.faq-item__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 28px 24px;
}

.faq-item__answer p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================================
   FORM VALIDATION & FEEDBACK
   ========================================== */
.form-error {
  display: none;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 6px;
}

.form-group.has-error .glass-input {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group.has-error .form-error {
  display: block;
}

.glass-input.is-valid {
  border-color: #22c55e;
}

select.glass-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2358D7FE' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select.glass-input option {
  background: var(--bg-deep);
  color: var(--text);
}

.form-feedback {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-feedback.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.btn--loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn--loading .btn__text::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

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

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-medium));
  border: 1px solid var(--glass-border);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(4, 101, 241, 0.4);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(4, 101, 241, 0.6);
}

/* ==========================================
   SOCIAL LINKS
   ========================================== */
.footer__social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 153, 254, 0.3);
}

/* ==========================================
   FOOTER BOTTOM ROW
   ========================================== */
.footer__bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.footer__legal {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__legal:hover {
  color: var(--cyan);
}

/* ==========================================
   PRIVACY MODAL
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 20px;
}

.modal-overlay.is-open {
  display: grid;
}

.modal {
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 0;
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--glass-border);
}

.modal__head h3 {
  font-size: 1.2rem;
}

.modal__body {
  padding: 28px;
}

.modal__body p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.modal__body p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   RESPONSIVE UPDATES
   ========================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================
   BODY LOADED STATE
   ========================================== */
body:not(.loading) {
  overflow-x: hidden;
}
