/* --- Google Font & Global Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

:root {
  --background-color: #131313;
  --text-color: #e0e0e0;
  --text-color-dark: #8A8A9E;
  --primary-blue: #585858;
  --gradient-start: #818181;
  --gradient-end: #f4f4f4;
  --container-width: 1100px;
}

* {
  cursor: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000000;
  color: var(--text-color);
  font-size: 18px; /* increased base font size */
  line-height: 1.7; /* better readability */

  background-image: url('images/bg.png');
  background-attachment: fixed; /* enables parallax effect */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#custom-cursor {
  position: fixed;
  width: 35px;
  height: 35px;
  background-color: rgba(200, 200, 200, 0.3); /* grey with 30% opacity */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    border-radius 0.2s ease,
    transform 0.1s ease,
    background-color 0.2s ease;
}


a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  color: #ffffff;
  font-weight: 900;
}

h4 {
  font-weight: 900;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #6a6a6a, var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Reusable Components --- */
.button {
  display: inline-block;
  background-color: #92a1c150;
  color: #ffffff;
  padding: 1rem 2.25rem; /* increased size */
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.button.wide {
  width: 11.25rem;
  transition: 
    transform 0.3s ease, 
    box-shadow 0.3s ease, 
    background-color 0.3s ease;
}

/* Hover effect to make it pop */
.button.wide:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); /* soft glow */
  background-color: #a3b1cc80; /* slightly brighter blueish */
}


.button:hover {
  background-color: #92a1c150;
}

header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;

  /* Force fixed size */
  width: 700px;
  min-width: 600px;
  max-width: 700px;
  padding: 15px 30px;
  border-radius: 20px;

  /* Glassmorphism */
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Layout */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;

  border: 2px solid rgba(55,55,55,0.5);

  /* Smooth size change */
  transition: all 0.25s ease;
}

header > * {
  flex-shrink: 0;
}

/* Smaller version when scrolled down */
/* Smaller version when scrolled down */
header.scrolled {
  width: 500px;        /* Change width */
  min-width: 500px;    /* Keep fixed */
  max-width: 500px;    /* Keep fixed */
  padding: 10px 25px;  /* Keep height the same */
  top: -80px;            /* Optional move up */
  transform: translateX(-50%); /* Keep centered */
}


/* Make logo bigger */
.logo-image {
  height: 50px;
  width: 30px;
  vertical-align: middle;
  margin-right: 10px;
}

.logo-image1 {
  height: 35px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
   margin-top: -4px;
}

/* Style the "Nullbit" text */
.logo-text {
  font-size: 1.5rem; /* bigger text */
  font-weight: 900;
  background: linear-gradient(90deg, #7a7a7a, #898989);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 5px;
}

/* Style the smaller text */
.logo-subtext {
  font-size: 1.2rem;
  color: var(--text-color-dark);
  margin-bottom: 4px;
}



.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  
  background: linear-gradient(90deg, #7a7a7a, #898989);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.logo img {
  height: 32px;
}

/* Applies the gradient to the logo text */
.logo span {
  background: linear-gradient(90deg, #b9b9b9, #F0F0F0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffffff;
}

.discord-button {
  background: #000000;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.discord-button img {
  display: block;
  width: 30px;
  height: auto;
  transition: inherit;
}

.discord-button:hover img {
  filter: brightness(1.2);  
  transform: scale(1.1);
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 20rem 1.5rem 14rem; /* instead of 350px 25px 250px */
}

.hero h1 {
  font-size: 5rem;
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero h1 span {
  font-weight: 900;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-color-dark);
  margin-bottom: 35px;
}

/* --- Features Section --- */
.features {
  text-align: center;
  padding: 5rem 1.5rem; /* instead of 100px 25px */
}

.features h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.features > p {
  color: var(--text-color-dark);
  margin-bottom: 3.5rem;
  font-size: 1.1rem;
}

.feature-container {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: var(--container-width);
  margin: 0 auto;
}

.feature-box {
  background-color: rgba(255, 255, 255, 0);
  border: 4px solid rgba(143, 143, 143, 0.35);
  border-radius: 14px;
  padding: 2.5rem;
  flex-basis: 340px;
  flex-grow: 1;
  text-align: left;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.feature-box p {
  color: var(--text-color-dark);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* --- CTA Section --- */
.cta {
  text-align: center;
  padding: 7.5rem 1.5rem;
}

.cta h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-color-dark);
}

.cta h3,
.cta h4 {
  font-size: 4rem;
  margin: 15px 0 25px;
}

.cta p {
  color: var(--text-color-dark);
  margin-bottom: 35px;
  font-size: 1.1rem;
}

.cta .button {
  margin: 0 14px;
}

.cta .button.secondary {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta .button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* --- Footer --- */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 50px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color-dark);
  font-size: 1rem;
}

footer img {
  height: 28px;
  vertical-align: middle;
  margin-right: 10px;
}

.text-white {
  color: #ffffff;
  font-size: 13rem;
}

.text-right .discord {
  margin-top: 8px;
  display: block;
  margin-left: 65px;
}


/* --- Pricing Section --- */
.pricing-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
}

.pricing-box {
  position: relative;
  background-color: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 28px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pricing-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.pricing-box.highlight {
  border-color: #ffffff50;
  background: linear-gradient(135deg, #3a3a3a80, #1f1f1f80);
}

.pricing-box h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.pricing-box .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* --- Feature List Styling --- */
.feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text-color-dark);
}

.feature-list li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  filter: brightness(1.2);
}

/* --- Buttons under pricing --- */
.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

/* To remove blur and "coming soon", delete or comment out .blur-overlay div in HTML */

.blur-overlay {
  position: absolute;
  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px); /* BLUR effect */
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

/* "Coming Soon" Text Style */
.coming-soon {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #dddddd, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-box {
    width: 90%;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group .button {
    width: 100%;
    margin-bottom: 10px;
  }
}



/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .cta h3,
  .cta h4 {
    font-size: 3rem;
  }

  header {
    flex-direction: column;
    gap: 25px;
    padding: 24px;
    width: 95%;
  }

  .hero {
    padding-top: 240px;
  }

  .feature-box {
    flex-basis: 100%;
  }
}

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When animation triggers */
.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.cta .pricing-box .blur-overlay {
  opacity: 1 !important;          /* Force fully visible during animation */
  transform: none !important;     /* Disable transform */
  transition: backdrop-filter 0.5s ease, background-color 0.5s ease !important;
  pointer-events: none;           /* Optional: prevent interaction */
  z-index: 20;                    /* Ensure it stays above content */
}
