/* Navius Brand CSS — 3D Glass Edition */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --navius-blue-900: #0A2E5C;
  --navius-blue-700: #1652A8;
  --navius-blue-500: #2B7BD6;
  --navius-teal-500: #1AA8A8;
  --navius-green-500: #3BB54A;
  --navius-green-600: #2E9D3E;
  --navius-ink: #0F172A;
  --navius-slate: #475569;
  --navius-cloud: #F8FAFC;
  --navius-line: #E2E8F0;
  --navius-whatsapp: #25D366;
  --navius-amber: #F59E0B;

  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.18);
  --glass-shadow: 0 8px 32px rgba(10,46,92,0.18);
  --glow-blue: 0 0 40px rgba(22,82,168,0.35);
  --glow-teal: 0 0 40px rgba(26,168,168,0.35);
  --glow-green: 0 0 40px rgba(59,181,74,0.35);
}

/* ── Signature gradient ── */
.gradient-navius {
  background: linear-gradient(135deg, #0A2E5C 0%, #1652A8 35%, #1AA8A8 65%, #2E9D3E 100%);
}

.gradient-navius-text {
  background: linear-gradient(135deg, #1652A8 0%, #1AA8A8 50%, #2E9D3E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-navius-soft {
  background: linear-gradient(135deg, rgba(10,46,92,0.06) 0%, rgba(26,168,168,0.06) 50%, rgba(59,181,74,0.06) 100%);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #0A2E5C, #1652A8 40%, #1AA8A8 70%, #2E9D3E);
  background-size: 200% 200%;
  box-shadow: 0 4px 20px rgba(22,82,168,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(22,82,168,0.5), 0 0 0 1px rgba(255,255,255,0.1) inset, var(--glow-teal);
  color: #fff;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(22,82,168,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--navius-blue-700);
}

.btn-secondary:hover {
  border-color: var(--navius-teal-500);
  box-shadow: 0 4px 20px rgba(26,168,168,0.2);
  transform: translateY(-1px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #1a9f4e, #25D366 50%, #1db954);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 20px rgba(37,211,102,0.3);
  color: #fff;
}

/* ── Glass card ── */
.card-navius {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(10,46,92,0.06);
  border: 1px solid rgba(226,232,240,0.8);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.card-navius:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 48px rgba(10,46,92,0.14), 0 0 0 1px rgba(26,168,168,0.2);
  border-color: rgba(26,168,168,0.25);
}

/* Glass card for dark backgrounds */
.card-glass {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.card-glass:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Service card 3D effect */
.card-service {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(226,232,240,0.7);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 4px 20px rgba(10,46,92,0.05);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,82,168,0.03) 0%, rgba(26,168,168,0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card-service:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(10,46,92,0.15), 0 0 0 1px rgba(26,168,168,0.2);
  border-color: transparent;
}

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

/* Glass header is applied inline in header.html */

/* ── Glow effects ── */
.glow-blue  { box-shadow: var(--glow-blue); }
.glow-teal  { box-shadow: var(--glow-teal); }
.glow-green { box-shadow: var(--glow-green); }

/* ── Floating WhatsApp ── */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a9f4e, #25D366);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: pulse-whatsapp 2.5s infinite;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover { transform: scale(1.1); }

@keyframes pulse-whatsapp {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ── Orb accents ── */
.orb-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-blue  { background: radial-gradient(circle, rgba(22,82,168,0.3) 0%, transparent 70%); }
.orb-green { background: radial-gradient(circle, rgba(59,181,74,0.25) 0%, transparent 70%); }

/* ── Background patterns ── */
.bg-bars-pattern {
  background-image:
    repeating-linear-gradient(to right, transparent, transparent 18px, rgba(255,255,255,0.04) 18px, rgba(255,255,255,0.04) 20px),
    repeating-linear-gradient(to top, transparent, transparent 18px, rgba(255,255,255,0.04) 18px, rgba(255,255,255,0.04) 20px);
}

.bg-mesh {
  background-image:
    radial-gradient(at 20% 30%, rgba(22,82,168,0.15) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(26,168,168,0.12) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(59,181,74,0.08) 0px, transparent 60%);
}

/* ── Process step ── */
.process-step {
  position: relative;
  text-align: center;
}

.process-step-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #0A2E5C, #1652A8 40%, #1AA8A8 70%, #2E9D3E);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 32px rgba(22,82,168,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.process-step:hover .process-step-icon {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 16px 48px rgba(22,82,168,0.5), 0 0 30px rgba(26,168,168,0.3);
}

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

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* ── Gradient badge ── */
.badge-gradient {
  background: linear-gradient(135deg, rgba(22,82,168,0.1), rgba(26,168,168,0.1));
  border: 1px solid rgba(26,168,168,0.2);
  color: var(--navius-blue-700);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  display: inline-block;
  backdrop-filter: blur(8px);
}

/* ── Section headings ── */
.section-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--navius-ink);
}

.section-heading-white {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: #fff;
}

/* ── Arrow accent ── */
.arrow-accent::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, #1652A8, #1AA8A8, #2E9D3E);
  border-radius: 2px;
  margin-top: 0.75rem;
}

/* ── Stats ── */
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #1652A8, #1AA8A8, #2E9D3E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(26,168,168,0.3));
}

/* ── Sticky mobile CTA ── */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
}

@media (min-width: 768px) { .sticky-mobile-cta { display: none; } }

/* ── FAQ ── */
.faq-item {
  transition: all 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(10,46,92,0.08);
}

.faq-item details summary { list-style: none; }

.faq-item details[open] .faq-icon {
  background: linear-gradient(135deg, #0A2E5C, #2E9D3E);
  color: #fff;
  border-radius: 50%;
}

/* ── Dashboard sidebar ── */
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(10,46,92,0.1), rgba(26,168,168,0.1));
  color: var(--navius-blue-700);
  font-weight: 600;
  border-right: 3px solid var(--navius-teal-500);
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 4rem; /* sit above sticky mobile CTA */
  left: 0; right: 0;
  z-index: 10000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--navius-line);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .cookie-banner { bottom: 0; }
}

/* ── Marquee ── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

/* ── Gradient border card ── */
.card-gradient-border {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  z-index: 0;
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #0A2E5C, #1AA8A8, #2E9D3E);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-gradient-border:hover::before { opacity: 1; }

/* ── Floating animation ── */
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

.float-anim { animation: float 4s ease-in-out infinite; }
.float-anim-slow { animation: float 6s ease-in-out infinite; }

/* ── Neon tag ── */
.tag-neon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(26,168,168,0.1);
  color: var(--navius-teal-500);
  border: 1px solid rgba(26,168,168,0.3);
  box-shadow: 0 0 12px rgba(26,168,168,0.15);
}

/* ── Process connector ── */
.process-step-connector {
  position: absolute;
  left: 50%;
  top: 4rem;
  bottom: -2rem;
  width: 2px;
  background: linear-gradient(to bottom, #1652A8, #2E9D3E);
  transform: translateX(-50%);
}

/* ── Scroll fade-in ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ── Mobile horizontal tab scroll ── */
.tabs-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.tabs-scroll::-webkit-scrollbar { display: none; }

/* ── Icon box 3D ── */
.icon-box-3d {
  background: linear-gradient(135deg, #0A2E5C, #1652A8 40%, #1AA8A8);
  border-radius: 1rem;
  box-shadow:
    0 6px 20px rgba(22,82,168,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -2px 0 rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.icon-box-3d:hover {
  transform: scale(1.15) translateY(-3px) rotate(-3deg);
  box-shadow: 0 12px 40px rgba(22,82,168,0.5), 0 0 20px rgba(26,168,168,0.3);
}
