:root {
  --bg: #F5EDD9;
  --fg: #1a1a1a;
  --accent: #E8923A;
  --muted: #a09880;
  --faint: #c8c0b0;
  --card: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);
  --green: #4CAF50;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* === Layout === */
.page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 64px;
  height: 100vh;
  height: 100dvh;
  padding: 40px 64px;
  padding-top: 15vh;
  max-width: 1300px;
  margin: 0 auto;
}

.left {
  flex: 1;
  min-width: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 480px;
  transform: translateX(-20px);
}

.right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Logo === */
.logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 60px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.logo-icon {
  width: 80px;
  height: auto;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.logo-divider {
  width: 1px;
  height: 32px;
  background: var(--faint);
  margin: 0 4px;
  transform: translateY(1.5px);
}

.logo-tag {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 2;
  transform: translateY(1.5px);
}

/* === Headline === */
h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeUp 0.7s 0.3s ease-out both;
}

.grad {
  background: linear-gradient(135deg, var(--accent), #c46a10);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 400px;
  animation: fadeUp 0.7s 0.4s ease-out both;
}

/* === Waitlist === */
.waitlist {
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.5s ease-out both;
}

.waitlist-form {
  display: flex;
  gap: 8px;
}

.waitlist-input {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 240px;
  transition: border-color 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.waitlist-input::placeholder {
  color: var(--faint);
}

.waitlist-input:focus {
  border-color: var(--accent);
}

.waitlist-btn {
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  background: var(--fg);
  color: var(--bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.waitlist-btn:hover {
  opacity: 0.88;
  box-shadow: 0 4px 16px rgba(232, 146, 58, 0.2);
}

.waitlist-success {
  display: none;
  color: var(--green);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 0;
}

.waitlist-success.show {
  display: block;
}

/* === Badge === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(232, 146, 58, 0.1);
  border: 1px solid rgba(232, 146, 58, 0.3);
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeUp 0.7s 0.6s ease-out both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* === Product image (Glowly style) === */
.product-img {
  animation: fadeUp 0.9s 0.2s ease-out both;
}

.product-screenshot {
  width: 520px;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* === Footer === */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 24px;
  text-align: center;
  color: var(--faint);
  font-size: 0.7rem;
}

footer a {
  color: var(--faint);
  text-decoration: none;
}

footer a:hover {
  color: var(--muted);
}

/* === Animations === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive === */
@media (max-width: 900px) {
  .page {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 32px 24px;
    padding-top: 24px;
    overflow-y: auto;
  }

  html,
  body {
    overflow: auto;
  }

  .left {
    align-items: center;
    text-align: center;
    max-width: 100%;
    transform: none;
  }

  .logo-row {
    align-self: center;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .subtitle {
    max-width: 100%;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: center;
  }

  .waitlist-input {
    width: 100%;
    max-width: 300px;
  }

  .waitlist-success {
    text-align: center;
  }

  .right {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .product-screenshot {
    width: 280px;
    max-width: 80vw;
  }

  footer {
    position: relative;
    margin-top: 24px;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 10px;
  }

  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .product-screenshot {
    width: 300px;
  }
}