@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-main: #020205;
  --bg-secondary: #05050a;
  --bg-card: rgba(15, 20, 35, 0.4);
  --bg-surface: #0a0a14;

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-purple: #8300E9;
  --accent-purple-light: #a855f7;
  --accent-purple-glow: rgba(131, 0, 233, 0.3);

  --accent-lime: #EDF000;
  --accent-lime-light: #fef08a;
  --accent-lime-glow: rgba(237, 240, 0, 0.2);

  --border-light: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(24px);
  --glass-frost: blur(40px) saturate(150%);

  --grad-purple: linear-gradient(135deg, #8300E9 0%, #6d28d9 100%);
  --grad-premium: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-dropdown: 0 10px 40px -10px rgba(0, 0, 0, 0.8);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
.section {
  padding: 8rem 0;
  position: relative;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  overflow: hidden;
  position: relative;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 5, 0.65);
  z-index: 1;
}

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

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin-bottom: 2rem;
  letter-spacing: -0.05em;
  background: var(--grad-premium);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
  text-align: center;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-lime {
  background: linear-gradient(135deg, var(--accent-lime-light), var(--accent-lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-size: 1.1rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  background-size: 200% auto;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(109, 40, 217, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-accent {
  background: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 8px 25px var(--accent-purple-glow);
}

.btn-accent:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px var(--accent-purple-glow);
  filter: brightness(1.2);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-premium {
  position: relative;
  overflow: visible !important;
  z-index: 1;
  background: rgba(10, 10, 15, 0.8) !important;
  color: #ffffff !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1.25rem 3.8rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary.btn-premium {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%) !important;
  background-size: 200% auto !important;
}

.btn-primary.btn-premium:hover {
  background: linear-gradient(135deg, #e9e9ee00 0%, #8b5cf6 50%, #e8e2e9 100%) !important;
  background-size: 200% auto !important;
}

.btn-outline.btn-premium {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.btn-premium:hover {
  background: rgba(123, 115, 226, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.btn-premium .btn-svg-container {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
  z-index: 10;
}

.btn-premium .btn-svg-container svg {
  width: 100%;
  height: 100%;
}

.btn-premium .btn-svg-container rect {
  fill: none;
  stroke: var(--accent-lime);
  stroke-width: 2px;
  stroke-dasharray: 0 1220;
  stroke-dashoffset: 40;
  transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  vector-effect: non-scaling-stroke;
}

.btn-premium:hover .btn-svg-container rect {
  stroke-dasharray: 1000 0;
  stroke-dashoffset: 0;
  stroke: var(--accent-purple);
}

.btn-primary.btn-premium .btn-svg-container rect {
  stroke: #ffffff;
  opacity: 0.8;
}

.btn-primary.btn-premium:hover .btn-svg-container rect {
  opacity: 1;
  stroke: var(--accent-lime);
}

.btn-premium .btn-label {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
}

.btn-premium .btn-label {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.btn-premium .btn-label span {
  position: relative;
  /* Anchor for absolute arrow */
  display: inline-block;
}

.btn-premium .btn-label svg {
  position: absolute;
  left: calc(100% + 12px);
  /* Fixed offset from centered text */
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 20px !important;
}

.btn-premium:hover .btn-label svg {
  opacity: 1;
  transform: translateX(0);
}

/* Remove text shift */
.btn-premium:hover .btn-label span {
  transform: none;
}


/* Glass Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3.5rem;
  backdrop-filter: var(--glass-frost);
  -webkit-backdrop-filter: var(--glass-frost);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(131, 0, 233, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.card:hover {
  border-color: rgba(131, 0, 233, 0.5);
  background: rgba(20, 25, 45, 0.75);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 50px rgba(131, 0, 233, 0.2);
}

.card:hover .dropdown-icon,
.card:hover .icon-wrapper {
  transform: scale(1.1);
}

[id] {
  scroll-margin-top: 150px;
}

/* Spotlights */
.spotlight {
  position: absolute;
  width: 60vw;
  height: 60vh;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.spotlight-1 {
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  animation: float-spotlight-1 25s infinite alternate ease-in-out;
}

.spotlight-2 {
  bottom: 10%;
  right: -5%;
  background: radial-gradient(circle, var(--accent-lime) 0%, transparent 70%);
  animation: float-spotlight-2 30s infinite alternate ease-in-out;
}

@keyframes float-spotlight-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(15%, 20%) scale(1.15);
  }
}

@keyframes float-spotlight-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-15%, -20%) scale(1.2);
  }
}

/* Mesh Gradient */
.mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
  background-image: radial-gradient(at 100% 0%, var(--accent-purple) 0px, transparent 50%),
    radial-gradient(at 0% 100%, var(--accent-lime) 0px, transparent 50%);
}

/* Products Dedicated Background */
.products-bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-color: #020205;
  background-image: url('../products-bg.png');
  background-size: cover;
  background-position: center;
}

.products-bg-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(131, 0, 233, 0.15) 0%, rgba(2, 2, 5, 0.95) 100%);
  z-index: 1;
}

.products-bg-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 2, 5, 0.4) 0%, rgba(2, 2, 5, 0.9) 100%);
  z-index: 2;
}

.products-aura {
  position: absolute;
  width: 80vw;
  height: 80vh;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(131, 0, 233, 0.2) 0%, transparent 70%);
  filter: blur(120px);
  z-index: 3;
  animation: bg-float-1 20s infinite alternate ease-in-out;
}

@keyframes bg-float-1 {
  0% {
    transform: translate(0, 0) scale(1.0);
  }

  100% {
    transform: translate(-10%, 10%) scale(1.2);
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  background: rgba(2, 2, 5, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  height: 80px;
  background: rgba(8, 10, 18, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}


.nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 320px;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.nav-logo img {
  position: absolute;
  left: 0;
  top: 50%;
  transform-origin: left center;
  transform: translateY(-50%) scale(1.6);
  height: 120px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 10px rgba(131, 0, 233, 0.3));
}

.navbar.scrolled .nav-logo img {
  height: 80px;
  transform: translateY(-50%) scale(1.6);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.2rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-purple-light);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

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

/* Footer Links */
.footer-link {
  position: relative;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--grad-purple);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  /* transform: translateX(5px); */
}

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

.footer-bottom-link {
  position: relative;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-bottom-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: var(--accent-purple-light);
  transition: width 0.3s ease;
}

.footer-bottom-link:hover {
  color: #fff;
}

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

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 300px;
  background: rgba(15, 18, 30, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-dropdown);
  display: grid;
  gap: 0.5rem;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  background: rgba(131, 0, 233, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple-light);
  transition: all 0.3s ease;
}

.dropdown-item:hover .dropdown-icon {
  background: var(--accent-purple);
  color: #fff;
}

.dropdown-info h5 {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
  color: #fff;
}

.dropdown-info p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(131, 0, 233, 0.15);
  border: 1px solid rgba(131, 0, 233, 0.3);
  border-radius: 99px;
  color: var(--accent-purple-light);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  backdrop-filter: blur(10px);
}

/* Professional Elite Transitions */
@keyframes reveal-up {
  0% {
    transform: translateY(30px);
    opacity: 0;
    filter: blur(10px);
  }

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

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slow-zoom {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes border-shimmer {
  0% {
    border-color: rgba(131, 0, 233, 0.1);
  }

  50% {
    border-color: rgba(131, 0, 233, 0.4);
  }

  100% {
    border-color: rgba(131, 0, 233, 0.1);
  }
}

@keyframes contentFloat {

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

  50% {
    transform: translateY(-5px);
  }
}

.reveal-elite {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-elite.active {
  opacity: 1;
  transform: translateY(0);
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.text-reveal {
  background: linear-gradient(90deg, #ffffff, var(--accent-purple-light), var(--accent-lime-light), #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradient 5s ease infinite;
  display: inline-block;
}

/* Contact Form Premium Styles */
.contact-input {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.contact-input:focus {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

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

.contact-page .text-glow {
  background: linear-gradient(to right, #fff, var(--accent-purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(131, 0, 233, 0.3));
}

/* Animated Form Field Borders */
.form-field-wrapper {
  position: relative;
  width: 100%;
}

.form-field-wrapper .field-svg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.form-field-wrapper .field-svg-container svg {
  display: block;
  width: 100%;
  height: 100%;
}

.form-field-wrapper .field-svg-container rect {
  fill: none;
  stroke: transparent;
  stroke-width: 2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.15, 1), stroke 0.4s ease;
  vector-effect: non-scaling-stroke;
}

.contact-input:focus~.field-svg-container rect,
.contact-input.filled~.field-svg-container rect,
.contact-input:not(:placeholder-shown)~.field-svg-container rect {
  stroke: var(--accent-purple-light);
  stroke-dashoffset: 0;
}

.form-field-wrapper select.contact-input {
  background: rgba(0, 0, 0, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 1rem center !important;
  background-size: 1.2rem !important;
}

/* Improved Option Menu Background */
.contact-input option {
  background-color: #0c0e1a;
  color: #fff;
  padding: 1rem;
}

/* Amazing Contact Background */
.contact-bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #020205;
  overflow: hidden;
}

.contact-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../contact-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  filter: blur(20px) brightness(0.85);
  transform: scale(1.1);
  animation: bg-subtle-drift 30s infinite alternate ease-in-out;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(2, 2, 5, 0.8) 100%);
  z-index: 1;
}

.contact-bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
}

@keyframes bg-subtle-drift {
  0% {
    transform: scale(1.1) translate(0, 0);
  }

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

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.2;
}

.orb-1 {
  width: 40vw;
  height: 40vw;
  top: -10%;
  right: -5%;
  background: var(--accent-purple);
  animation: orb-float 20s infinite alternate ease-in-out;
}

.orb-2 {
  width: 35vw;
  height: 35vw;
  bottom: -5%;
  left: -5%;
  background: var(--accent-lime);
  animation: orb-float 25s infinite alternate-reverse ease-in-out;
}

@keyframes orb-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-10%, 10%) scale(1.15);
  }
}

.glass-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(131, 0, 233, 0.06) !important;
  border-color: rgba(131, 0, 233, 0.2) !important;
}

/* ================================================================
   SMART MARKETING HEADER v6
   - sm-header-wrap: fixed dark container (always #020205, never white)
   - sm-header-nav:  transparent inner bar; gets blur on scroll
   - nav links: auto height so underline sits below text correctly
================================================================ */

/* Force the Divi section/row wrapping the header to be invisible */
.et_pb_section:has(.sm-header-wrap),
.et_pb_row:has(.sm-header-wrap),
.et_pb_column:has(.sm-header-wrap) {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Dark outer wrapper — always visible, never white */
.sm-header-wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999999 !important;
    background: #020205 !important;
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}

/* Inner nav — transparent, gets blur overlay on scroll */
.sm-header-nav {
    background: transparent !important;
    transition: none !important;
}

/* Scrolled: show blur tint on the wrapper */
.sm-header-wrap.scrolled {
    background: rgba(8, 10, 18, 0.93) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

/* Nav link — no fixed height, underline will sit below text */
.sm-header-nav .nav-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 0;
    white-space: nowrap;
    transition: color 0.3s ease;
    line-height: 1.3;
}

/* Hover + active — white */
.sm-header-nav .nav-link:hover,
.sm-header-nav .nav-link.sm-nav-active {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Underline — sits 4px below the bottom of the text */
.sm-header-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #a855f7;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

/* Show underline on hover and active */
.sm-header-nav .nav-link:hover::after,
.sm-header-nav .nav-link.sm-nav-active::after {
    transform: scaleX(1);
}

/* Products / dropdown triggers — arrow rotates on open */
.sm-nav-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.has-mega-menu.open .sm-nav-arrow {
    transform: rotate(180deg);
}

/* Mega-menu items */
.mega-menu-item {
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.mega-menu-item:hover {
    background: rgba(131, 0, 233, 0.12) !important;
}

/* ── Scroll-reveal ── */
.sm-native-section .sm-float-animation { animation: sm-float 6s ease-in-out infinite; }
@keyframes sm-float {
    0%,100% { transform: translate(-50%,-50%) translateY(0); }
    50%      { transform: translate(-50%,-50%) translateY(-15px); }
}
.sm-native-section { clear: both; overflow: hidden; }
.reveal-elite, .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-elite.active, .reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }

/* ── Footer ── */
.discord-footer-btn  { transition: all 0.3s ease; }
.discord-footer-btn:hover  { background: #5865F2 !important; box-shadow: 0 15px 30px rgba(88,101,242,0.4) !important; transform: translateY(-3px) !important; color: #fff; }
.discord-social-icon { transition: all 0.3s ease; }
.discord-social-icon:hover { background: rgba(88,101,242,0.15) !important; color: #5865F2 !important; border-color: rgba(88,101,242,0.3) !important; }
.footer-link, .footer-bottom-link { color: #64748b; text-decoration: none; transition: color 0.3s; }
.footer-link:hover, .footer-bottom-link:hover { color: #fff; }

/* ── Blog ── */
.blog-page { min-height: 100vh; }
.blog-card-v2 { cursor: pointer; }
.featured-title-link:hover h2,
.card-title-link:hover h3 { color: #a855f7; }

/* ── Single post ── */
body.single-post { background: #080a12; color: #fff; line-height: 1.8; }
body.single-post .entry-title { font-size: clamp(2.5rem,5vw,4rem); font-weight: 800; color: #fff; }
body.single-post .post-content { font-size: 1.15rem; color: rgba(255,255,255,0.7); max-width: 900px; margin: 0 auto; }
body.single-post img { border-radius: 24px; border: 1px solid rgba(255,255,255,0.08); margin: 2rem 0; width: 100%; }
body.single-post a { color: #a855f7; text-decoration: none; font-weight: 700; }
body.single-post a:hover { color: #fff; }
body.single-post blockquote { border-left: 4px solid #8300E9; padding: 1.5rem 2rem; background: rgba(131,0,233,0.05); border-radius: 0 16px 16px 0; font-style: italic; margin: 3rem 0; font-size: 1.4rem; color: #fff; }


/* FIX #11: :root vars — single source of truth */
:root {
    --bg-main:#020205;
    --accent-purple:#8300E9;
    --accent-purple-light:#a855f7;
    --accent-purple-glow:rgba(131,0,233,0.3);
    --text-dim:#64748b;
    --text-muted:#94a3b8;
}
.navbar .nav-link{color:#64748b !important;font-size:0.95rem !important;font-weight:600 !important;transition:all 0.3s ease !important;text-decoration:none !important;}
.navbar .nav-link:hover{color:#ffffff !important;}
/* FIX #16: JS toggles .scrolled class instead of inline style */
.sm-header-nav.scrolled{background:rgba(8,10,18,0.9) !important;backdrop-filter:blur(20px) !important;-webkit-backdrop-filter:blur(20px) !important;}
/* FIX #15: mega-menu open via .open class (JS) + :hover (desktop bonus) */
.has-mega-menu .mega-menu{display:none !important;position:absolute !important;top:100% !important;left:50% !important;transform:translateX(-50%) translateY(20px) !important;background:#0d1117 !important;border:1px solid rgba(255,255,255,0.1) !important;border-radius:16px !important;min-width:480px !important;padding:2rem !important;opacity:0;visibility:hidden;transition:all 0.4s cubic-bezier(0.16,1,0.3,1) !important;box-shadow:0 40px 100px rgba(0,0,0,0.9) !important;z-index:1000000 !important;grid-template-columns:1fr 1fr !important;gap:1rem !important;}
.has-mega-menu.open .mega-menu,.has-mega-menu:hover .mega-menu{display:grid !important;opacity:1 !important;visibility:visible !important;transform:translateX(-50%) translateY(0) !important;}
.mega-menu-item{display:flex !important;align-items:center !important;gap:1rem !important;padding:1.25rem !important;border-radius:12px !important;color:#fff !important;text-decoration:none !important;transition:0.3s !important;border:1px solid transparent !important;}
.mega-menu-item:hover{background:rgba(131,0,233,0.08) !important;border-color:rgba(131,0,233,0.2) !important;transform:scale(1.02) !important;}
.mega-menu-icon{width:44px !important;height:44px !important;border-radius:10px !important;display:flex !important;align-items:center !important;justify-content:center !important;flex-shrink:0 !important;}
.mega-menu-info h5{color:#fff !important;margin:0 0 4px 0 !important;font-size:1rem !important;font-weight:700 !important;}
.mega-menu-info p{color:var(--text-muted) !important;margin:0 !important;font-size:0.85rem !important;}
.sm-native-section .sm-float-animation{animation:sm-float 6s ease-in-out infinite;}
@keyframes sm-float{0%,100%{transform:translate(-50%,-50%) translateY(0)}50%{transform:translate(-50%,-50%) translateY(-15px)}}
.sm-native-section{clear:both;overflow:hidden;}
.reveal-elite,.reveal{opacity:0;transform:translateY(20px);transition:all 0.8s cubic-bezier(0.16,1,0.3,1);}
.reveal-elite.active,.reveal.active{opacity:1;transform:translateY(0);}
.delay-1{transition-delay:0.15s}.delay-2{transition-delay:0.30s}.delay-3{transition-delay:0.45s}
.discord-footer-btn{transition:all 0.3s ease;}
.discord-footer-btn:hover{background:#5865F2 !important;box-shadow:0 15px 30px rgba(88,101,242,0.4) !important;transform:translateY(-3px) !important;color:#fff;}
.discord-social-icon{transition:all 0.3s ease;}
.discord-social-icon:hover{background:rgba(88,101,242,0.15) !important;color:#5865F2 !important;border-color:rgba(88,101,242,0.3) !important;}
.footer-link,.footer-bottom-link{color:var(--text-dim);text-decoration:none;transition:color 0.3s;}
.footer-link:hover,.footer-bottom-link:hover{color:#fff;}
body.single-post{background:#080a12;color:#fff;line-height:1.8;}
body.single-post .entry-title{font-size:clamp(2.5rem,5vw,4rem);font-weight:800;letter-spacing:-0.04em;color:#fff;}
body.single-post .post-content{font-size:1.15rem;color:rgba(255,255,255,0.7);max-width:900px;margin:0 auto;}
body.single-post img{border-radius:24px;border:1px solid rgba(255,255,255,0.08);margin:2rem 0;width:100%;}
body.single-post a{color:var(--accent-purple-light);text-decoration:none;font-weight:700;}
body.single-post a:hover{color:#fff;}
body.single-post blockquote{border-left:4px solid var(--accent-purple);padding:1.5rem 2rem;background:rgba(131,0,233,0.05);border-radius:0 16px 16px 0;font-style:italic;margin:3rem 0;font-size:1.4rem;color:#fff;}
