/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background-color: #121212;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background: #121212;
  position: absolute;
  width: 100%;
  z-index: 10;
}
.logo {
  font-size: 1.5em;
  font-weight: bold;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}
nav a:hover {
  color: #f84b8a;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  top: 40%;
  padding: 0 2em;
}
.hero-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 1em;
}
.hero-content button {
  background: #f84b8a;
  border: none;
  padding: 0.8em 2em;
  font-size: 1em;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}
.hero-content button:hover {
  background: #ff66a3;
}

/* Features */
.features {
  padding: 3em 2em;
  background: #1e1e1e;
  text-align: center;
}
.features h2 {
  font-size: 2em;
  margin-bottom: 2em;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}
.feature-box {
  background: #2b2b2b;
  padding: 1em;
  border-radius: 8px;
  width: 280px;
}
.feature-box img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1em;
}

/* CTA */
.cta {
  padding: 3em 2em;
  text-align: center;
  background: #f84b8a;
}
.cta h2 {
  font-size: 2em;
  margin-bottom: 1em;
}
.cta button {
  background: #fff;
  color: #f84b8a;
  padding: 1em 2em;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.cta button:hover {
  background: #ffe6ee;
}

.signup-link {
  display: inline-block;
  background: #f84b8a;
  color: #fff;
  padding: 0.8em 1.5em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.signup-link:hover {
  background: #ff66a3;
}

/* === Modal Overlay === */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999; /* Ensure it appears on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.3s ease-in-out;
}

/* === Modal Content Box === */
.modal-content {
  background-color: #1e1e1e;
  margin: 8% auto;
  padding: 2em;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  animation: scaleIn 0.3s ease-in-out;
}

/* === Close Button (X) === */
.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5em;
  color: #fff;
  cursor: pointer;
}

/* === Headline === */
.modal-content h2 {
  text-align: center;
  color: #f84b8a;
  margin-bottom: 1.5em;
}

/* === Form Fields === */
.modal-content label {
  display: block;
  margin: 0.5em 0 0.3em;
  font-weight: 500;
}

.modal-content input {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  background-color: #2b2b2b;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1em;
}

.modal-content input::placeholder {
  color: #aaa;
}

/* === Submit Button === */
.modal-content button[type="submit"] {
  width: 100%;
  padding: 0.9em;
  background-color: #f84b8a;
  border: none;
  color: white;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.modal-content button[type="submit"]:hover {
  background-color: #ff66a3;
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === Responsive Adjustments === */
@media (max-width: 480px) {
  .modal-content {
    margin: 20% auto;
    padding: 1.5em;
  }
}


/* Footer */
footer {
  background: #000;
  text-align: center;
  padding: 1.5em 0;
  font-size: 0.9em;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2em;
  }
  .feature-grid {
    flex-direction: column;
    align-items: center;
  }
}
