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

body {
  font-family: 'Orbitron', monospace;
  background: #161a25;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Cyber Grid Background */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(245, 67, 79, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 67, 79, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 10s linear infinite;
  z-index: -2;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* Particle Network */
.particle-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #f5434f;
  border-radius: 50%;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  background: rgba(22, 26, 37, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(245, 67, 79, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 40px;
  display: block;
  background: linear-gradient(45deg, #f5434f, #631e29);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(245, 67, 79, 0.5);
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px #f5434f);
  }

  to {
    filter: drop-shadow(0 0 20px #631e29);
  }
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #f5434f, #631e29);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Main Content */
.main-content {
  margin-top: 80px;
}

.section {
  min-height: 100vh;
  padding: 80px 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(22, 26, 37, 0.5)),
  url(assets/Hero_entry\ \(2\).gif);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  z-index: 10;
  position: relative;
}

.hero h1 {
  font-family: 'Bruno Ace SC', sans-serif;
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #f5434f, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 10px #631e29);
  }

  to {
    filter: drop-shadow(0 0 30px #f5434f);
  }
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Enter Button */ 
@import url("s://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap");

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#161a25, #161a25),
    linear-gradient(
      137.48deg,
      #f5434f 10%,
      #631e29 45%,
      #000000 67%,
      #161a25 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
  font-family: "Orbitron", sans-serif;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle-container {
  position: relative;
  width: 100%;
  height: 100%;
  animation: orbit 5s linear infinite;
}

.circle {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  filter: blur(2rem);
}

.circle:nth-of-type(1) {
  background: rgba(245, 67, 79, 0.636);
  animation: orbit 8s linear infinite;
}

.circle:nth-of-type(2) {
  background: rgba(99, 30, 41, 0.704);
  animation: orbit 10s linear infinite;
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #161a25;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #631e29;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #631e29;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#f5434f 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#631e29 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

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

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

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

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(22, 26, 37, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(22, 26, 37, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(22, 26, 37, 0);
  }
}
.hero-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 20px; /* optional spacing */
}


/* Features Section */
.features {
  background: rgba(22, 26, 37, 0.9);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: rgba(245, 67, 79, 0.1);
  border: 1px solid rgba(245, 67, 79, 0.3);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(245, 67, 79, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.feature-card:hover::before {
  transform: translateX(100%);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(245, 67, 79, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #f5434f;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.feature-card p {
  opacity: 0.8;
  line-height: 1.6;
}

/* Problem Statement Section */
.problem-solution {
  background: linear-gradient(135deg, rgba(99, 30, 41, 0.2), rgba(22, 26, 37, 0.9));
}

.problem-solution h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 40px;
  color: #f5434f;
  text-shadow: 0 0 20px rgba(245, 67, 79, 0.5);
}

.problem-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #f5434f;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
}

.solution-demo {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-card {
  flex: 1;
  min-width: 280px;
  background: rgba(22, 26, 37, 0.8);
  border: 1px solid rgba(245, 67, 79, 0.3);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(245, 67, 79, 0.2);
}

.demo-card h3 {
  color: #f5434f;
  margin-bottom: 20px;
}

.demo-card ul {
  line-height: 2;
  list-style: none;
  padding-left: 0;
}

.demo-card li {
  margin-bottom: 10px;
  opacity: 0.9;
}

/* Lightning and Rain Effects */
.lightning-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.lightning {
  position: absolute;
  width: 3px;
  height: 60vh;
  background: linear-gradient(to bottom, #fff, #f5434f, #631e29, transparent);
  opacity: 0;
  animation: flash 0.15s ease-in-out;
  box-shadow: 0 0 30px #f5434f, 0 0 60px #631e29;
  filter: blur(1px);
}

@keyframes flash {
  0% {
    opacity: 0;
    transform: scaleY(0) skewX(0deg);
  }
  50% {
    opacity: 1;
    transform: scaleY(1) skewX(15deg);
  }
  100% {
    opacity: 0;
    transform: scaleY(0) skewX(-15deg);
  }
}

.screen-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 67, 79, 0.1);
  opacity: 0;
  z-index: 6;
  animation: screenFlash 0.2s ease-in-out;
}

@keyframes screenFlash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.digital-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.rain-drop {
  position: absolute;
  color: #f5434f;
  font-size: 12px;
  opacity: 0.7;
  animation: fall 3s linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-100vh);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .solution-demo {
    flex-direction: column;
  }

  .problem-stats {
    flex-direction: column;
    gap: 30px;
  }

  .nav-links {
    display: none;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #f5434f, #631e29);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #631e29, #f5434f);
}