/* css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --kd-color-primary: #002b54;
  --kd-color-primary-light: #004080;
  --kd-color-accent: #0088ff;
  /* Brand new blue for glows */
  --kd-color-glow: rgba(0, 136, 255, 0.4);
  --kd-color-bg-base: #000810;
  --kd-color-bg-surface: #001222;
  --kd-color-text-main: #e0edfa;
  --kd-color-text-muted: #809ebb;
  --kd-color-border: rgba(224, 237, 250, 0.1);
  --kd-font-base: 'Inter', sans-serif;
  --kd-font-heading: 'DM Sans', sans-serif;
}

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

body {
  font-family: var(--kd-font-base);
  background-color: var(--kd-color-bg-base);
  color: var(--kd-color-text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography extracted from Futuristic Infra */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--kd-font-heading);
  font-weight: 200;
  /* extralight */
  letter-spacing: -0.04em;
  /* tracking-tight */
  line-height: 1.1;
}

.font-dm {
  font-family: var(--kd-font-heading);
}

.text-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.text-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 15px rgba(0, 8, 16, 0.8), 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Liquid Glass Elements */
.liquid-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  background-blend-mode: overlay;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), inset 0 -1px 1px rgba(0, 0, 0, 0.2), 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  /* default pill */
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg,
      rgba(224, 237, 250, 0.4) 0%,
      rgba(224, 237, 250, 0.1) 20%,
      rgba(224, 237, 250, 0) 40%,
      rgba(224, 237, 250, 0) 60%,
      rgba(224, 237, 250, 0.1) 80%,
      rgba(224, 237, 250, 0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass:hover {
  border-color: rgba(0, 136, 255, 0.3);
  box-shadow: inset 0 1px 1px rgba(224, 237, 250, 0.15), 0 0 12px rgba(0, 136, 255, 0.2);
  background: rgba(0, 136, 255, 0.05);
}

.liquid-glass-strong {
  background: rgba(0, 43, 84, 0.2);
  background-blend-mode: luminosity;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(224, 237, 250, 0.1);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(224, 237, 250, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.liquid-glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg,
      rgba(224, 237, 250, 0.6) 0%,
      rgba(224, 237, 250, 0.2) 20%,
      rgba(224, 237, 250, 0) 40%,
      rgba(224, 237, 250, 0) 60%,
      rgba(224, 237, 250, 0.2) 80%,
      rgba(224, 237, 250, 0.6) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass-strong:hover {
  border-color: rgba(0, 136, 255, 0.5);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(224, 237, 250, 0.2), 0 0 16px rgba(0, 136, 255, 0.2);
}

/* Rounded variation for cards */
.liquid-glass.rounded-lg,
.liquid-glass-strong.rounded-lg {
  border-radius: 24px;
}

/* Base Layout Classes */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.section-spacing {
  padding: 100px 0;
  position: relative;
}

/* Buttons and Shimmer Effect */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--kd-color-text-main);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

@keyframes spin-beam {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-beam {
  background: var(--kd-color-bg-base);
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224, 237, 250, 0.1);
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.1);
  padding: 0;
  /* remove default padding */
}

.btn-beam .beam-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-beam:hover .beam-wrapper {
  opacity: 1;
}

.btn-beam .beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 280deg, var(--kd-color-accent) 360deg);
  animation: spin-beam 2s linear infinite;
  transform-origin: center center;
}

.btn-beam .btn-content {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  background: var(--kd-color-bg-base);
  border-radius: 9999px;
  margin: 1px;
  /* Inner border width */
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  font-size: 0.95rem;
}

.btn-beam:hover .btn-content {
  background: var(--kd-color-bg-surface);
  color: #fff;
  box-shadow: inset 0 0 8px rgba(0, 136, 255, 0.2);
}

.btn-sm {
  padding: 0 !important;
}

.btn-sm .btn-content {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-solid-glass {
  background: rgba(0, 43, 84, 0.3);
  background-blend-mode: luminosity;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 237, 250, 0.15);
  box-shadow: inset 0 1px 1px rgba(224, 237, 250, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 9999px;
}

.btn-solid-glass:hover {
  background: rgba(0, 136, 255, 0.15);
  border-color: rgba(0, 136, 255, 0.5);
  box-shadow: inset 0 1px 1px rgba(224, 237, 250, 0.3), 0 0 12px rgba(0, 136, 255, 0.2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--kd-color-text-muted);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(224, 237, 250, 0.05);
}

/* Animations from Gemini 3 */
@keyframes textSlide {
  0% {
    transform: translateY(110%);
    opacity: 0;
  }

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

/* Reveal Animations from Aura Reference */
.reveal-fade, .reveal-up, .reveal-scale, .reveal-left, .reveal-right, .reveal-3d {
  opacity: 0;
  will-change: opacity, transform;
  backface-visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade {
  transform: translateY(15px);
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal-scale {
  transform: scale(0.97) translateY(15px);
}

.reveal-3d {
  transform: perspective(1200px) rotateX(12deg) translateY(40px) scale(0.95);
  transform-origin: center bottom;
}

.reveal-fade.is-visible, 
.reveal-up.is-visible, 
.reveal-scale.is-visible, 
.reveal-left.is-visible, 
.reveal-right.is-visible,
.reveal-3d.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.text-clip-anim {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.text-clip-anim span.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  will-change: transform, opacity;
}

.text-clip-anim.is-animated span.char {
  animation: textSlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Header Specific */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  pointer-events: none;
  /* Allows clicking through the empty space */
}

.header-nav>* {
  pointer-events: auto;
  /* Re-enable clicks on header items */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.8rem 2.5rem;
  overflow: visible;
}

.nav-links > a,
.nav-links .nav-item > a.nav-link {
  color: var(--kd-color-text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-links > a:hover,
.nav-links .nav-item > a.nav-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Specific & Video Background */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  /* Contains video */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* Gradiente radial escuro focado no centro (atrás do texto) para garantir legibilidade, sem esconder a parte de baixo do vídeo */
  background: radial-gradient(ellipse 80% 60% at center, rgba(0, 8, 16, 0.85) 0%, rgba(0, 8, 16, 0.4) 50%, rgba(0, 8, 16, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-pill-badge {
  background: var(--kd-color-text-main);
  color: var(--kd-color-bg-base);
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.hero-pill-text {
  font-size: 0.75rem;
  font-weight: 300;
}

.hero-cta-group {
  margin-top: 3.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.brand-logo img {
  height: 56px;
  object-fit: contain;
}

/* Grids and Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  margin-top: 4rem;
}

.card-glass {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease, border-color 0.6s ease;
}

.card-glass:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 136, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(224, 237, 250, 0.15), 0 0 24px rgba(0, 136, 255, 0.15);
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 237, 250, 0.05);
  border: 1px solid rgba(224, 237, 250, 0.1);
  color: var(--kd-color-text-main);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-glass:hover .card-icon-wrapper {
  transform: scale(1.1);
  background: var(--kd-color-glow);
  color: #fff;
  border-color: var(--kd-color-accent);
  box-shadow: 0 0 20px var(--kd-color-glow);
}

.card-glass h3 {
  font-size: 1.5rem;
  font-weight: 400;
  transition: color 0.4s ease;
}

.card-glass:hover h3 {
  color: #fff;
}

.card-glass p {
  font-size: 0.95rem;
  color: var(--kd-color-text-muted);
  font-weight: 300;
}

/* Showcase Sections */
.showcase-header {
  text-align: center;
  margin-bottom: 3rem;
}

.showcase-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.showcase-header p {
  color: var(--kd-color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.color-swatch {
  height: 100px;
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.type-scale {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.type-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.type-label {
  width: 80px;
  color: var(--kd-color-text-muted);
  font-size: 0.85rem;
  font-family: monospace;
}

.icon-capsule {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 43, 84, 0.15);
  border: 1px solid rgba(224, 237, 250, 0.05);
  color: var(--kd-color-text-muted);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: default;
}

.icon-capsule:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--kd-color-glow);
  color: #fff;
  border-color: var(--kd-color-accent);
  box-shadow: 0 0 24px var(--kd-color-glow);
}

/* Forms */
.form-group {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.input-glass {
  flex: 1;
  background: rgba(0, 43, 84, 0.15);
  border: 1px solid rgba(224, 237, 250, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.input-glass::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.input-glass:focus {
  border-color: var(--kd-color-accent);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 20px var(--kd-color-glow);
  background: rgba(0, 43, 84, 0.3);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--kd-color-bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader-logo {
  height: 280px;
  width: auto;
  max-width: 80vw;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(0, 136, 255, 0.8));
  animation: pulse-preloader 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-preloader {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

/* ── Footer (New Layout) ───────────────────────────────────────── */
.footer {
  background: var(--kd-color-bg-base);
  color: var(--kd-color-text-main);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 136, 255, 0.1);
}
.footer-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 16, 0.8); /* Konec dark background color */
  z-index: 1;
}
.footer-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 8, 16, 0.3) 20%, rgba(0, 8, 16, 0.8) 50%, rgba(0, 8, 16, 1) 70%, rgba(0, 8, 16, 1) 100%);
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.footer-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  align-items: flex-start;
}
.footer-nav-link {
  font-family: var(--kd-font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--kd-color-text-main);
  letter-spacing: -0.04em;
  line-height: 1.1;
  position: relative;
  display: inline-block;
  width: fit-content;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.footer-nav:hover .footer-nav-link { opacity: 0.3; }
.footer-nav:hover .footer-nav-link:hover { opacity: 1; }
.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--kd-color-text-main);
  transition: width 0.3s ease;
}
.footer-nav-link:hover::after { width: 100%; }

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-chat {
  margin-bottom: 48px;
}
.footer-chat-label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kd-color-text-muted);
  margin-bottom: 12px;
}
.footer-email {
  font-family: var(--kd-font-heading);
  font-size: 1.125rem;
  color: var(--kd-color-text-main);
  font-weight: 500;
  transition: opacity 0.4s ease;
  text-decoration: none;
}
.footer-email:hover { opacity: 0.7; }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.footer-col-title {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kd-color-text-muted);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-link {
  font-size: .875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.4s ease;
  text-decoration: none;
}
.footer-link:hover { color: var(--kd-color-text-main); }

/* Marquee */
.footer-marquee {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}
.footer-marquee::before,
.footer-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.footer-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--kd-color-bg-base), transparent);
}
.footer-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--kd-color-bg-base), transparent);
}
.footer-marquee-track {
  display: flex;
  gap: 80px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.footer-marquee-text {
  font-family: var(--kd-font-heading);
  flex-shrink: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.25), rgba(255,255,255,0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: .8125rem;
  color: var(--kd-color-text-muted);
}
@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* Mega Menu (Konec Digital Style) */
.nav-item { position: relative; }
.nav-item > .nav-link { display: flex; align-items: center; gap: 4px; padding: 0; }
.nav-link .nav-chevron {
  width: 14px; height: 14px;
  transition: transform 0.3s;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 860px;
  background: rgba(0, 12, 25, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(224, 237, 250, 0.15);
  border-radius: 16px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1), inset 0 0 40px rgba(0, 136, 255, 0.05);
  z-index: 100;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mega-menu-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
}
.mega-menu-item:hover {
  transform: translateY(-2px);
  background: rgba(0, 136, 255, 0.1);
  border-color: rgba(0, 136, 255, 0.3);
}
.mega-menu-item-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}
.mega-menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.mega-menu-item:hover .mega-menu-item-img img { transform: scale(1.05); }

.mega-menu-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px 10px;
}
.mega-menu-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.mega-menu-desc {
  font-size: 0.7rem;
  color: var(--kd-color-text-muted);
  line-height: 1.4;
}

/* Header Light Mode fixes for mega menu */
.header-nav.header-light .mega-menu {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.header-nav.header-light .mega-menu-item {
  background: transparent;
}
.header-nav.header-light .mega-menu-item:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.05);
}
.header-nav.header-light .mega-menu-title {
  color: #0a1d30;
}