* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;

  background: radial-gradient(circle at 50% 30%, #1a1a1c, #0b0b0c 60%);
}

.hero {
  height: 90vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.container {
  text-align: center;
  max-width: 700px;
  padding: 20px;
}

.logo {
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.headline {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 20px;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
}

.subtext {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 35px;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.waitlist-form input {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border-radius: 8px;
  width: 260px;
  outline: none;
}

.waitlist-form button {
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  background: linear linear-gradient(135deg, #ffffff, #dcdcdc);
  color: black;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.waitlist-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.note {
  font-size: 12px;
  opacity: 0.5;
}

.life-map-preview {
  margin: 45px auto 35px;
  display: grid;
  grid-template-columns: repeat(10, 10px);
  gap: 10px;
  justify-content: center;
  opacity: 0.85;
}

.life-map-preview span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #555;
}

.life-map-preview .documented {
  background-color: #6aa9ff;
}

.life-map-preview .future {
  background-color: #ffffff;
  opacity: 0.25;
}

.life-map-preview .crowned {
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d7a84f;
  transform: translate(-4px, -4px);
  box-shadow: 0 0 10px rgba(215, 168, 79, 0.6);
}

.micro-note {
    font-size: 12px;
    opacity: 0.4;
    margin-bottom: 100px;
    text-align: center;
}

.days-section {
  padding: 50px 20px 120px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.days-section .container {
    max-width: 700px;
    margin: 0 auto;
}

.days-number {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.days-text {
  font-size: 17px;
  opacity: 0.6;
  margin-bottom: 12px;
}

.days-text.highlight {
  margin-top: 25px;
  opacity: 1;
  font-size: 20px;
  font-weight: 500;
}


.life-map-preview span {
  animation: softPulse 3s ease-in-out infinite;
}

.life-map-preview span:nth-child(3n) {
  animation-delay: 0.4s;
}

.life-map-preview span:nth-child(4n) {
  animation-delay: 0.8s;
}

.life-map-preview span:nth-child(5n) {
  animation-delay: 1.2s;
}

.life-map-preview .crowned {
  animation: crownGlow 2.5s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% {
    opacity: 0.75;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes crownGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(215,168,79,0.5);
    transform: translate(-4px, -4px) scale(1);
  }

  50% {
    box-shadow: 0 0 22px rgba(215,168,79,0.9);
    transform: translate(-4px, -4px) scale(1.15);
  }
}


.success-message {
  margin-top: 15px;
  font-size: 14px;
  color: #9be7a1;
  font-weight: 500;
}

.success-message.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.features-section {
  padding: 100px 20px 120px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-title {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.features-list {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.features-list p {
  width: 100%;
  text-align: center;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.78);
  font-size: 15px;
}

.feature-item {
    opacity: 0;
    transform: translateY(18px);
    animation: opacity 0.6s ease, transform 0.6s ease;
}
.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer {
  margin-top: 60px;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);

  /* smooth entrance */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInFooter 1.2s ease forwards;
  animation-delay: 0.5s;
}

.footer h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
}

.footer p {
  font-size: 14px;
  margin-bottom: 6px;
  opacity: 0.7;
}

.footer span {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.5;
}

/* subtle animation */
@keyframes fadeInFooter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* =========================
   MOBILE FIX (iPhone SE & small screens)
========================= */
@media (max-width: 400px) {

  .container {
    padding: 0 16px;
  }

  /* HERO TITLE */
  .headline {
    font-size: 28px;
    line-height: 1.3;
  }

  /* SUBTEXT */
  .subtext {
    font-size: 14px;
    line-height: 1.6;
  }

  /* FORM STACK */
  .waitlist-form {
    flex-direction: column;
    gap: 10px;
  }

  .waitlist-form input {
    width: 100%;
    font-size: 14px;
    padding: 14px;
  }

  .waitlist-form button {
    width: 100%;
    padding: 14px;
    font-size: 14px;
  }

  /* LIFE MAP PREVIEW */
  .life-map-preview {
    transform: scale(0.9);
  }

  /* BIG NUMBER */
  .days-number {
    font-size: 48px;
    line-height: 1.2;
  }

  /* TEXT BELOW NUMBER */
  .days-text {
    font-size: 14px;
  }

  /* FEATURES */
  .features-section h2 {
    font-size: 22px;
  }

  .feature-item {
    font-size: 14px;
    padding: 14px;
  }

  /* FOOTER */
  .footer h3 {
    font-size: 16px;
  }

}



/* =========================
   TABLET (iPad)
========================= */
@media (min-width: 768px) and (max-width: 1100px) {

  .container {
    max-width: 700px;
  }

  /* HERO */
  .headline {
    font-size: 36px;
  }

  .subtext {
    font-size: 16px;
  }

  /* FORM */
  .waitlist-form {
    gap: 12px;
  }

  .waitlist-form input {
    padding: 16px;
    font-size: 15px;
  }

  .waitlist-form button {
    padding: 16px;
    font-size: 15px;
  }

  /* LIFE MAP */
  .life-map-preview {
    transform: scale(1.1);
  }

  /* BIG NUMBER */
  .days-number {
    font-size: 72px;
  }

  /* FEATURES */
  .feature-item {
    font-size: 15px;
    padding: 16px;
  }

}

@media (min-width: 768px) and (max-width: 1100px) {
  .hero {
    min-height: 75vh;
  }

  .days-section {
    padding-top: 40px;
  }
}