* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Sticky Header & Glassmorphism */
#header.sticky-header,
#header.glass,
.glass {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9;
}

.glass-dark {
  background: rgba(10, 42, 102, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradients & Text */
.text-gradient {
  background: linear-gradient(135deg, #0a2a66, #1558c0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-sun-rays {
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg 15deg,
    rgba(255, 193, 7, 0.05) 15deg 30deg
  );
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(47, 128, 237, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 128, 237, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Magnetic Button Glow */
.btn-magnetic {
  position: relative;
  overflow: hidden;
}
.btn-magnetic::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition:
    width 0.4s ease,
    height 0.4s ease;
}
.btn-magnetic:hover::before {
  width: 300px;
  height: 300px;
}

/* Custom Cursor */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #ffc107;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
  }
  .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(21, 88, 192, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition:
      width 0.2s,
      height 0.2s,
      border-color 0.2s;
  }
  body {
    cursor: none;
  }
  a,
  button,
  input,
  select,
  textarea {
    cursor: none;
  }
  .hovering .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
  }
}


/* Scroll Progress */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: #ffc107;
  z-index: 9999;
  transform-origin: left;
  width: 100%;
  transform: scaleX(0);
}

/* Tabs */
.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tab-content.active {
  display: block;
  opacity: 1;
}
