/* Base & Variables */
:root {
  --primary-bg: #050505; /* Slightly lighter than pure black for better gradient effect */
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --accent-glow: rgba(255, 255, 255, 0.6);
  --font-primary: "Inter", sans-serif;
  --font-heading: "Geist", sans-serif;
  --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--primary-bg);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: default;
}

/* Header styles */
.navbar {
  padding: 25px 0;
  width: 100%;
  z-index: 10;
  position: relative;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.logo {
  order: unset;
}

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

.icon {
  order: 1;
}

.icon img {
  height: 32px;
  width: auto;
}

/* Coming soon content */
.coming-soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.title-container {
  position: relative;
  margin-bottom: 2.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.coming-soon h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  display: block;
  color: var(--text-primary);
  background: linear-gradient(
    to right,
    rgba(245, 245, 245, 1) 0%,
    rgba(220, 220, 220, 0.9) 50%,
    rgba(200, 200, 200, 0.85) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
  transition: transform 0.5s ease;
}

.coming-soon h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  opacity: 0.8;
  background: linear-gradient(
    to right,
    rgba(220, 220, 220, 0.9) 0%,
    rgba(180, 180, 180, 0.7) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  transition: letter-spacing 0.5s ease;
}

.coming-soon p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 550px;
  margin-bottom: 2em;
  animation: fadeIn 2s ease-in-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.5;
  z-index: 5;
}

/* Gradient background */
.gradient-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: radial-gradient(
    circle at 50% 120%,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(0, 0, 0, 0) 55%
  );
  pointer-events: none;
  animation: pulseGlow 10s ease-in-out infinite alternate;
  transition: all 0.5s ease;
}

/* Additional subtle glow */
.glow-overlay {
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  left: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: 2;
  pointer-events: none;
  animation: subtleGlow 8s ease-in-out infinite;
  transition: transform 1s ease;
}

/* Floating ID text */
.id-text {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  font-weight: 400;
}

/* Cursor follow element */
.cursor-follow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

/* Animations */
@keyframes pulseGlow {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes subtleGlow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}

/* Media queries */
@media (max-width: 768px) {
  .coming-soon {
    padding: 0 15px;
  }
  .id-text {
    top: 5%;
  }
  .title-container {
    margin-bottom: 2em;
  }
  .cursor-follow {
    display: none; /* Disable on mobile/touch devices */
  }
}

/* Waitlist Form Styles */
.waitlist-form {
  margin-top: 1em;
  max-width: 500px;
  width: 100%;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 1.2s;
}

.waitlist-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 1em;
  opacity: 0.8;
}

.waitlist-form form {
  display: flex;
  gap: 0.5em;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.8em 1em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-radius: 25px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  transform: scale(1);
}

.waitlist-form input:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.waitlist-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.waitlist-form button {
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 0.8em 1.5em;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
  transform: scale(1);
}

.waitlist-form button:hover {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.1)
  );
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.waitlist-form button:active {
  transform: scale(0.98);
}

/* Submit Feedback Animation */
.waitlist-form button[type="submit"]:disabled {
  opacity: 0.7;
  transform: scale(0.95);
}

.waitlist-form button[type="submit"]:disabled:hover {
  transform: scale(0.95);
  box-shadow: none;
}

@media (max-width: 480px) {
  .waitlist-form form {
    flex-direction: row;
    gap: 10px;
  }
  .waitlist-form input,
  .waitlist-form button {
    width: auto;
    flex: 1;
  }
}
