* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 20vh;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b0b0b;
  color: #fff;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-right: 20px; /* Moves buttons 20px to the right */
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}


.nav-links a {
  color: white;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0f7a34;
  transition: width 0.3s;
}

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

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }
  nav {
    justify-content: center;
  }
}

/* HERO */
.hero {
  padding: 120px 16px 70px;
  background: linear-gradient(135deg, #0f7a33, #0f7a33);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.hero-left {
  max-width: 420px;
  text-align: center;
}

.features {
  list-style: none;
  padding: 0;
}

.features li {
  margin: 6px 0;
}

/* SIGNUP CARD */
.signup-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #1a1a1a, #111);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

#signupForm {
  margin-top: 20px;
}

.signup-card button,
.signup-card input[type="submit"] {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  background: linear-gradient(135deg, #0f7a34, #12a63f);
  color: white;
  cursor: pointer;
}

.signup-card input,
.signup-card select {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 2px solid #0f7a34;
  background: #1a1a1a;
  color: white;
}

.signup-card select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}

/* SECTIONS */
.section {
  padding: 70px 16px;
  text-align: center;
}

.rules {
  list-style: none;
  padding: 0;
  max-width: 320px;
  margin: auto;
  text-align: left;
}

.rules li {
  margin: 10px 0;
}

.faq-item {
  max-width: 500px;
  margin: 12px auto;
  background: #1a1a1a;
  padding: 16px;
  border-radius: 12px;
}

footer {
  padding: 30px;
  text-align: center;
  background: #111;
  font-size: 14px;
}

/* UTIL */
.hidden {
  display: none !important;
}

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.micro-copy {
  font-size: 12px;
  color: #aaa;
}

/* POPUP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-card {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 18px;
  padding: 24px;
  max-width: 320px;
  text-align: center;
  animation: popIn 0.4s ease;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.popup-card h2 {
  margin-bottom: 10px;
}

.popup-card button {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0f7a34, #12a63f);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pricing {
  background: linear-gradient(
    to bottom,
    #0f7a33 10%,
    #0b0b0b   100%
  );
}


.price-card {
  padding: 32px;
}

.price-card h2 {
  font-size: 48px;
  margin: 10px 0;
}

.price-card span {
  font-size: 20px;
  opacity: 0.7;
}

.pricing-container {
  display: flex;
  flex-direction: column; /* Stacks vertically on mobile */
  align-items: center;
  max-width: 360px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1a1a, #111);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  overflow: hidden;
}


.pricing-image img {
  width: 100%;
  height: auto;
  display: block;
}


  .price-card {
    padding: 50px;    /* More padding */
    flex: 1;
    width: 100%;
  }

  .price-card h2 {
    font-size: 72px; /* Bigger text */
  }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
  text-align: left;
  display: inline-block;
}

.pricing-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.pricing-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 600px;
  margin: auto;
}

.rules-grid div {
  background: #1a1a1a;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}

.section-bridge {
  height: 120px;
  background: linear-gradient(
    to bottom,
    #0f7a33 0%,
    #0b5f28 50%,
    #000000 100%
  );
}

textarea {
  width: 100%;
  min-height: 90px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 2px solid #1e8f3a;
  color: #ffffff;
  font-size: 15px;
  resize: vertical;
  line-height: 1.5;
}

textarea::placeholder {
  color: #9a9a9a;
}

textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.pricing-card {
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.25);
}


@media (min-width: 769px) {
  .pricing-container {
    flex-direction: row;     /* side by side */
    max-width: 1100px;
    align-items: stretch;
  }

  .pricing-image {
    flex: 1;
  }

  .pricing-image img {
    height: 100%;
    object-fit: cover;
  }

  .price-card {
    flex: 1;
  }
}
