:root {
  --lightPurple: #a88ee6;
  --mediumPurple: #8661f2;
  --deepPurple: #6c3ff5;
  --purple800: #5222c9;
  --purple900: #3d1f96;
  --purple950: #2e0c75;
  --purple980: #1a0a3f;
  --almostBlack: #0d051e;
  --background: #0d051e;
  --textPrimary: #ffffff;
  --textSecondary: #d6ccf0;
  --cardBorder: #8661f2;

  --font-wordmark: "DM Serif Display", serif;
  --font-headers: "Merriweather", serif;
  --font-body: "Merriweather", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  color: var(--textPrimary);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  text-align: center;
  cursor: none;
}

body.no-hover .custom-cursor {
  display: none;
}

body.no-hover .card:hover {
  transform: translateY(0px);
  box-shadow: none;
}

.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--lightPurple);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  z-index: 9999;
}

#interactive-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #0d051e;
}

#app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

section {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.logo {
  margin-bottom: 40px;
  width: 200px;
  height: auto;
  padding: 4em 0;
}

#hero {
  /* Removed fixed height and width */
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 16px;
  max-width: 100%;
  word-break: break-word;
}

h2 {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: 2.5rem;
  margin-bottom: 40px;
  max-width: 100%;
  word-break: break-word;
  opacity: 0; /* Set initial opacity to 0 for animation */
}

.gradient-text {
  background: linear-gradient(45deg, #ff69b4, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4, 0 0 15px #ff69b4;
  }
  to {
    text-shadow: 0 0 10px #8a2be2, 0 0 20px #8a2be2, 0 0 30px #8a2be2;
  }
}

h3 {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
  max-width: 100%;
  word-break: break-word;
}

p {
  color: var(--textSecondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 24px auto;
  font-size: 1.1rem;
  max-width: 100%;
  word-break: break-word;
}

.subtext {
  font-size: 1.25rem;
  margin-bottom: 24px;
  max-width: 100%;
  word-break: break-word;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--cardBorder);
  border-radius: 8px;
  padding: 20px;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(5px);
  opacity: 0;
  filter: blur(0px);
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, filter 0.6s ease-out,
    transform 0.6s ease-out, transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.card.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card p {
  color: var(--textSecondary);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  max-width: 100%;
}

.email-input {
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.email-input::placeholder {
  color: #999;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  background-color: var(--mediumPurple);
  color: var(--textPrimary);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--deepPurple);
}

.privacy-note {
  font-size: 0.95rem;
  color: var(--textSecondary);
  margin-top: 16px;
  max-width: 100%;
  word-break: break-word;
}

.highlight {
  color: var(--lightPurple);
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.5rem;
  max-width: 100%;
  word-break: break-word;
}

footer {
  padding: 40px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--textSecondary);
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .email-form {
    flex-direction: row;
    justify-content: center;
  }

  .email-input {
    width: auto;
    min-width: 300px;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4.5rem;
  }

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