:root {
  --primary-blue: #007bff;
  /* Standard Bootstrap primary */
  --dark-background: #0d1117;
  /* Very dark background */
  --text-light: #f8f9fa;
  /* Light text for dark background */
  --text-muted: #adb5bd;
  /* Muted text */
  --heading-color: #ffffff;
  /* White headings */
  --card-bg: #1a1e26;
  /* Slightly lighter dark for cards */
  --input-bg: #2d333b;
  /* Darker input background */
  --input-border: #4d555f;
  /* Input border */
  --button-primary: #3b82f6;
  /* Blue button */
  --button-hover: #2563eb;
  

  /* New glow colors */
  --glow-color-light: rgba(60, 150, 255, 0.15);
  /* Lighter blue for diffuse glow */
  --glow-color-dark: rgba(30, 70, 150, 0.25);
  /* Darker blue for core glow */
  --glow-size-lg: 600px;
  --glow-size-md: 400px;
}

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--dark-background);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom utility classes */
.font-rajdhani {
  font-family: "Rajdhani", sans-serif;
}

.text-gradient {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
#hero {
  background: var(--dark-background);
  /* fallback */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Crucial to contain glows */
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("Images/img_rectangle_34624199.png");
  /* Replace with your actual background image */
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  /* Adjust opacity as needed */
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Glow effects for Hero Section */
#hero::after {
  /* Top-left glow */
  content: "";
  position: absolute;
  top: -150px;
  /* Adjust position */
  left: -150px;
  /* Adjust position */
  width: var(--glow-size-lg);
  height: var(--glow-size-lg);
  background: radial-gradient(
    circle,
    var(--glow-color-light) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

#hero .container::before {
  /* Bottom-left glow (inside container to be above background image) */
  content: "";
  position: absolute;
  bottom: -200px;
  /* Adjust position */
  left: -100px;
  /* Adjust position */
  width: var(--glow-size-lg);
  height: var(--glow-size-lg);
  background: radial-gradient(
    circle,
    var(--glow-color-dark) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  animation: pulse-glow 5s infinite alternate;
}

.hero-logo {
  max-width: 250px;
  /* Adjust as needed */
  margin-bottom: 2rem;
}

.hero-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  /* Responsive font size */
  background: linear-gradient(135deg, #c0c0c0, #404040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--heading-color);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Form styling */
.waitlist-form {
  max-width: 400px;
  margin: 0 auto;
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.waitlist-form .form-label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.waitlist-form .form-control {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-light);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
}

.waitlist-form .form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.waitlist-form .form-control:focus {
  background-color: var(--input-bg);
  color: var(--text-light);
  border-color: var(--button-primary);
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.waitlist-form .form-check-input {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  margin-top: 0.35rem;
}

.waitlist-form .form-check-input:checked {
  background-color: var(--button-primary);
  border-color: var(--button-primary);
}

.waitlist-form .form-check-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.waitlist-form .btn-primary {
  background-color: var(--button-primary);
  border-color: var(--button-primary);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.waitlist-form .btn-primary:hover {
  background-color: var(--button-hover);
  border-color: var(--button-hover);
}

/* Core Features Section */
#features {
  padding: 80px 0;
  text-align: center;
  background: var(--dark-background);
}

.features-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--heading-color);
  margin-bottom: 4rem;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  height: 100%;
  /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--button-primary);
  /* Icon color */
}

.feature-card .card-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.feature-card .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-card .card-text.text-primary-gradient {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Call to Action Section */
#cta {
  background-color: var(--dark-background);
  padding: 80px 0;
  text-align: center;
  position: relative;
  /* For the glow */
  overflow: hidden;
  /* To contain the glow */
}

/* Glow effect for CTA section (right mid-lower) */
#cta::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -100px;
  /* Adjust position */
  transform: translateY(-50%);
  width: var(--glow-size-md);
  height: var(--glow-size-md);
  background: radial-gradient(
    circle,
    var(--glow-color-light) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  animation: pulse-glow 6s infinite alternate-reverse;
}

.cta-box {
  background: var(--section-bg-gradient);
  padding: 3.5rem 2.5rem;
  border-radius: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  position: relative;
  /* Ensures text is above glow */
  z-index: 1;
}

.cta-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--dark-background);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer .footer-logo {
  max-width: 120px;
  margin-bottom: 1.5rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--heading-color);
}

.social-icons a {
  font-size: 1.5rem;
  margin-left: 1rem;
  color: var(--text-muted);
}

.social-icons a:hover {
  color: var(--heading-color);
}

/* Animation for subtle pulsing glow */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 0.25;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.35;
  }

  100% {
    transform: scale(1);
    opacity: 0.25;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-logo {
    max-width: 180px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .features-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 3rem;
  }

  .waitlist-form {
    padding: 1.5rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  footer {
    text-align: center;
  }

  footer .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .social-icons {
    margin-top: 1.5rem;
    text-align: center;
  }

  .social-icons a {
    margin: 0 0.5rem;
  }

  /* Hide some glows on small screens for better performance/less clutter */
  #hero::after,
  #hero .container::before,
  #cta::before {
    display: none;
  }
}

@media (min-width: 768px) {
  .feature-card:last-child {
    margin-bottom: 0;
  }
}
