:root {
  --bg-color: #0d0d0f;
  --panel-color: #232323;
  --text-main: #f1f1f1;
  --text-secondary: #6f6f6f;
  --accent-color: #10d476;
  --font-main: 'Inter', sans-serif;
  --font-logo: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Custom scrollbar for Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--bg-color);
}

/* Custom scrollbar for Webkit browsers */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px;
  border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
  background: #15f087;
  /* Slightly brighter green on hover */
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-main);
  background-image: radial-gradient(circle at 50% 50%, rgba(16, 212, 118, 0.03) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 30px 30px, 30px 30px;
  background-attachment: fixed;
  font-family: var(--font-main);
  overflow-x: hidden;
  position: relative;
  /* Hide default cursor to use smooth JS cursor */
  cursor: none;
}

/* Ensure links and buttons also hide default cursor */
a,
button,
.sl-item {
  cursor: none !important;
}

/* ─── CUSTOM JS CURSOR ─── */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  background: var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  box-shadow: 0 0 15px var(--accent-color), 0 0 30px rgba(16, 212, 118, 0.4);
  /* The x/y and scaling will be handled by GSAP via inline styles */
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.custom-cursor.active {
  width: 36px;
  height: 36px;
  background: rgba(16, 212, 118, 0.1);
  border: 1.5px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(16, 212, 118, 0.6);
}

.website-container {
  width: 95%;
  max-width: 1600px;
  margin: 30px auto;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 5;
}

/* Glassmorphism Pill Navigation */
.nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--panel-color);
  border-radius: 22px;
  padding: 15px 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-left .logo {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
}

.nav-center span {
  font-family: var(--font-logo);
  color: var(--accent-color);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(16, 212, 118, 0.4);
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: default;
}

.nav-center span:hover {
  text-shadow: 0 0 20px rgba(16, 212, 118, 0.9), 0 0 40px rgba(16, 212, 118, 0.3);
  letter-spacing: 4px;
}

.nav-right {
  display: flex;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(241, 241, 241, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hero Container */
.hero-container {
  width: 100%;
  height: calc(100vh - 180px);
  min-height: 600px;
  background-color: var(--panel-color);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  z-index: 10;
  background: linear-gradient(90deg, var(--panel-color) 40%, transparent 100%);
}

.title {
  font-family: var(--font-logo);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.tagline {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(16, 212, 118, 0.3);
}

.description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background-color: transparent;
  color: var(--text-main);
  text-transform: uppercase;
  font-family: var(--font-logo);
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid var(--accent-color);
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
  box-shadow: 0 0 15px rgba(16, 212, 118, 0.1), inset 0 0 10px rgba(16, 212, 118, 0.1);
  text-decoration: none;
  width: max-content;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  color: var(--bg-color);
  box-shadow: 0 0 30px rgba(16, 212, 118, 0.6);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

/* Background Image Container */
.hero-background {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url('../assets/images/Hero%20background.png');
  background-size: cover;
  background-position: center right;
  border-radius: 22px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-wrapper {
    justify-content: center;
    margin-top: 20px;
  }

  .nav-center {
    border-radius: 20px 20px 0 0;
    margin: 0;
  }

  .hero-content {
    width: 100%;
    background: linear-gradient(90deg, rgba(35, 35, 35, 0.95) 0%, rgba(35, 35, 35, 0.7) 100%);
  }

  .title {
    font-size: 3.5rem;
  }
}