@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600&display=swap");

body {
  font-family: "Inter", system-ui, sans-serif;
}

h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.02em;
  color: #facc15;
}

/* ===============================
   ANIMATED GRADIENT HERO HEADING
   =============================== */

.hero h1,
.hero-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;

  /* Gradient colors */
  background: linear-gradient(
    110deg,
    #3f2e00 0%,
    #8c6b1f 10%,
    #fef3c7 18%,
    #facc15 25%,
    #fff7d6 32%,
    #eab308 40%,
    #ca8a04 52%,
    #facc15 65%,
    #fff1b8 72%,
    #8c6b1f 85%,
    #3f2e00 100%
  );

  background-size: 300% 100%;

  /* Gradient text magic */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  /* Glow for dark background */
  text-shadow: 0 6px 35px rgba(34, 211, 238, 0.25);

  /* Animation */
  animation: heroGradient 6s ease infinite;
}

/* Gradient animation */
@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans Devanagari", Arial, sans-serif;
  background: radial-gradient(circle at top, #1e293b, #020617);
  color: #e5e7eb;
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  position: sticky;
  top: 0px;
  z-index: 9999;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, #0f172a, #020617);
  border-bottom: 1px solid #1f2937;
}

.site-header .logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.site-header nav a {
  color: #cbd5f5;
  margin-left: 16px;
  text-decoration: none;
  font-weight: 500;
}

.site-header nav a:hover {
  color: #ffffff;
}

/* ===== HERO ===== */
.hero {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px 60px;
  text-align: center;
}

.hero p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 700px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  color: #fff;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}

.btn.danger {
  background: linear-gradient(90deg, #ef4444, #dc2626); /* red-500 → red-600 */
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn.danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
  filter: brightness(1.05);
}

.btn.danger:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(239, 68, 68, 0.25);
}

.btn.danger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.35);
}

.btn.success {
  background: linear-gradient(90deg, #22c55e, #84cc16);
  color: #ffffff;
}

.btn.success:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.btn.warning {
  background: linear-gradient(
    90deg,
    #f59e0b,
    #f97316
  ); /* amber-500 → orange-500 */
  color: #fff;
  font-weight: 600;
  /* padding: 10px 18px; */
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn.warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
  filter: brightness(1.05);
}

.btn.warning:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.25);
}

.btn.warning:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.35);
}

/* ===== AD BOX ===== */
.ad-box {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 12px;
  background: #020617;
  border: 1px dashed #1f2937;
  color: #64748b;
}

/* ===== MODULES ===== */
.modules {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card h2 {
  margin-bottom: 10px;
}

.card p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* ===== WHY ===== */
.why {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 16px;
}

.why h2 {
  margin-bottom: 14px;
}

.why ul {
  padding-left: 18px;
}

.why li {
  margin-bottom: 8px;
  color: #cbd5f5;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #1f2937;
  background: #020617;
  color: #94a3b8;
}

.site-footer.fixBottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.site-footer a {
  color: #93c5fd;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* ================================
   MOBILE HAMBURGER MENU
================================ */

/* Hamburger button */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #e5e7eb;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #020617;
    border-top: 1px solid #1f2937;

    display: none;
    flex-direction: column;
    padding: 14px 0;
    z-index: 999;
  }

  .site-header nav a {
    padding: 12px 20px;
    width: 100%;
    text-align: left;
  }

  .site-header nav.show {
    display: flex;
  }
}
