body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0d1117;
  color: white;
}
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #0f172a, #1e3a8a);
}
.logo {
  max-width: 80px;
}
.buttons {
  margin: 2rem 0;
}
.btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 10px;
  margin: 0.5rem;
  display: inline-block;
}
.primary {
  background-color: #3b82f6;
  color: white;
}
.secondary {
  border: 2px solid white;
  color: white;
}
.tertiary {
  background-color: red;
  color: white;
}
.features {
  padding: 3rem 1rem;
  background: #111827;
  text-align: center;
}
.feature-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
footer {
  padding: 2rem;
  text-align: center;
  background: #0f172a;
}
footer a {
  margin: 0 1rem;
  color: #3b82f6;
  text-decoration: none;
}
.simple-header {
  text-align: center;
  padding: 2rem;
  background: #1e3a8a;
}
.content {
  padding: 2rem;
}


/* Ensure grid layout is styled */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Style individual features */
.feature:hover {
  transform: translateY(-5px);
}

/* Ensure content area (e.g., for TOS/Privacy) is readable */
main.content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 1rem 2rem;
  color: white;
  text-align: left;
}

main.content h2 {
  margin-top: 2rem;
  color: #4facfe;
  font-size: 1.5rem;
}

/* Button hover animation */
.btn {
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #00f2fe, #4facfe);
  color: black;
}


/* Enhanced feature card appearance */
.feature {
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}


/* Responsive footer nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
}

.footer-nav a {
  color: #bbb;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Ensure links stack better on narrow screens */
@media (max-width: 500px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
}


/* Mobile nav menu toggle */




.mobile-nav a {
  margin: 0.5rem 0;
  color: white;
  text-decoration: none;
}

@media (max-width: 9999px) { /* Always apply mobile nav layout */
  .footer-nav {
    display: none;
  }
  
  
}


/* Top navigation menu for mobile */







.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}


.mobile-nav a {
  margin: 0.5rem 0;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 9999px) { /* Always apply mobile nav layout */
  
  
  .footer-nav {
    display: none;
  }
}




.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #333;
}

.mobile-nav a:last-child {
  border-bottom: none;
}








.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}








.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}









  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}








.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}








.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}










.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}


.menu-container {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 1001;
}

.menu-toggle {
  display: block;
  background: #1f2937;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 1rem;
  border-radius: 5px;
}

.mobile-nav {
  flex-direction: column;
  align-items: flex-start;
  background: #2d3748;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  padding: 1rem;
  margin-top: 5px;
  z-index: 1000;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.mobile-nav.show {
  display: flex;
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
  border-bottom: none;
}


.feature-grid a.feature {
  text-decoration: none;
  color: inherit;
}

.feature-grid a.feature h3,
.feature-grid a.feature p {
  text-decoration: none;
  color: #f0f0f0;
}


.legal {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #141a28;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.legal h1 {
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 1.75rem;
  color: #50aaff;
}

.legal p, .legal ul {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal ul {
  margin-left: 2rem;
  list-style: disc;
}
