/* General Styles */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --background-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --transition: all 0.3s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  color: var(--text-dark);
  line-height: 1.5;
  background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
}

*, *:before, *:after {
  box-sizing: inherit;
}

.container {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

/* Background Animation */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}

.animated-background::before,
.animated-background::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--primary-color);
  filter: blur(100px);
  animation: float 15s infinite alternate;
}

.animated-background::before {
  top: 10%;
  left: 20%;
  animation-delay: -5s;
}

.animated-background::after {
  bottom: 20%;
  right: 20%;
  background: #10b981;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Launching Soon Styles */
.launching-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.launching-soon span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #16a34a;
}

/* Heading Styles */
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  background: linear-gradient(45deg, var(--text-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 0.8s ease-out;
}

h2 {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  font-weight: 400;
  max-width: 800px;
}

/* Waitlist Form Styles */
.waitlist-container {
  max-width: 500px;
  margin: 2rem auto;
  position: relative;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.waitlist-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 1.5rem;
  z-index: -1;
  animation: gradientMove 8s ease-in-out infinite alternate;
}

@keyframes gradientMove {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(3deg) scale(1.02);
  }
}

.waitlist-form-preview {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 450px;
  margin: 20px auto;
}

.waitlist-form-preview input[type="email"],
.waitlist-form-preview textarea.comments-field {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  text-align: left;
  margin-bottom: 1rem;
}

.waitlist-form-preview textarea.comments-field {
  min-height: 100px;
  margin-bottom: 1.5rem;
  resize: vertical;
  font-family: inherit;
}

.waitlist-form-preview input[type="email"]:focus,
.waitlist-form-preview textarea.comments-field:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background: #fff;
}

.waitlist-submit-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.waitlist-submit-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.waitlist-submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.waitlist-form-heading {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.waitlist-form-heading h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.waitlist-form-heading p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.waitlist-form-preview .confirmation-message {
  display: none;
  margin-top: 15px;
  padding: 12px;
  background-color: #e8f5e9;
  color: #4caf50;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
}

.waitlist-form-preview .confirmation-message .referral-link {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
  word-break: break-all;
  font-family: monospace;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.waitlist-form-preview .confirmation-message .copy-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.waitlist-form-preview .confirmation-message .copy-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.waitlist-container * {
  box-sizing: border-box;
  text-align: center;
}

/* Feature Cards */
.features-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.card i {
  color: var(--primary-color);
  font-size: 2rem;
}

.card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.card ul li {
  margin-bottom: 0.5rem;
}

/* Footer Styles */
.footer {
  text-align: center;
  padding: 1rem;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .container {
    padding: 0.5rem;
  }

  .content {
    padding: 0.5rem;
    text-align: center;
  }

  h1 {
    font-size: 3.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  h2 {
    font-size: 1.25rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
  }

  .features-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 3rem;
  }

  .content {
    padding: 3rem;
  }

  .features-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}