/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #3f3f3f, #1e1e1e);
  overflow: hidden; /* Prevent scrolling */
  max-width: 100vw;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Side Glows */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 150px; /* Width of the glow */
  pointer-events: none;
  z-index: 0;
}

/* Left Glow */
body::before {
  left: 0;
  background: radial-gradient(ellipse at left, rgba(245, 215, 110, 0.15), transparent 70%);
}

/* Right Glow */
body::after {
  right: 0;
  background: radial-gradient(ellipse at right, rgba(245, 215, 110, 0.15), transparent 70%);
}

/* ================= NAVBAR ================= */
.navbar {
  height: 50px;
  background: linear-gradient(90deg, #111111, #2b2b2b, #1a1a1a);
  color: #e6d9a3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #7c6a2d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f5d76e;
  text-transform: uppercase;
}

.navbar ul {
  display: flex;
  list-style: none;
}

.navbar ul li a {
  position: relative;
  color: #c9c9c9;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  padding-bottom: 6px;
  transition: color 0.3s ease;
  font-weight: 500;
}

/* Active/Hover states */
.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f5d76e, #9e8430);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
  transform: scaleX(1);
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #f5d76e;
}

/* ================= HERO SECTION ================= */
.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  padding: 40px 20px;
  /* Texture Effect: Dark grid pattern */
  background-color: #1a1a1a;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
  overflow: hidden;
}

/* Animated Background glow */
.hero-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 215, 110, 0.1), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseGlow 8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffffff, #f5d76e, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 4s linear infinite;
  z-index: 1;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-subtitle {
  font-size: 1rem;
  color: #cfcfcf;
  max-width: 700px;
  margin-bottom: 25px;
  line-height: 1.4;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards 0.5s;
}

.cta-button {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  background: linear-gradient(90deg, #f5d76e, #c9a227);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 215, 110, 0.4);
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards 0.8s;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 215, 110, 0.6);
  background: linear-gradient(90deg, #ffeaa7, #e1b12c);
}

/* ================= FEATURES GRID ================= */
.features-grid {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards 1.2s;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-card {
  background: rgba(40, 40, 40, 0.6);
  border: 1px solid rgba(245, 215, 110, 0.2);
  backdrop-filter: blur(10px);
  padding: 15px; /* Smaller padding */
  border-radius: 12px;
  width: 200px; /* Smaller width */
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 215, 110, 0.6);
  background: rgba(50, 50, 50, 0.8);
}

.feature-icon {
  font-size: 1.5rem; /* Smaller icon */
  color: #f5d76e;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 0.95rem; /* Smaller title */
  color: #ffffff;
  margin-bottom: 5px;
  font-weight: 600;
}

.feature-desc {
  font-size: 0.8rem; /* Smaller desc */
  color: #b0b0b0;
  line-height: 1.3;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  background: linear-gradient(90deg, #111111, #2b2b2b, #1a1a1a);
  color: #e6d9a3; /* golden text */
  text-align: center;
  padding: 1px 0;
  font-size: 0.8rem;
  border-top: 1px solid #7c6a2d;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.5);
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
}

/* Responsive */
/* ================= MOBILE RESPONSIVE ================= */

/* Tablet and small desktops */
@media screen and (max-width: 1024px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
  body {
    overflow-y: auto; /* Allow scrolling on mobile */
    height: auto;
  }

  .hero-container {
    padding: 80px 20px 40px 20px; /* More top padding for navbar */
    height: auto;
    min-height: 100vh;
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .features-grid {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
  }

  .feature-card {
    width: 100%;
    max-width: 300px;
  }

  .footer {
    position: relative; /* Unstick footer on mobile so it doesn't cover content */
    margin-top: auto;
  }
  
  .navbar ul li a {
    margin-left: 10px;
    font-size: 12px;
  }
}
