:root {
  --color-primary: #C20A66;
  --color-bg: #0D0B0F;
  --color-surface: #1C1A1E;
  --color-text: #F2EEF0;
  --color-text-secondary: #A9A2A6;
  --color-border: #322E32;
  --color-success: #4ADE80;
  --color-error: #FF6B6B;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-bg);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: aurora-float 20s ease-in-out infinite;
  will-change: transform;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #C20A66, transparent 70%);
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #D4A017, transparent 70%);
  bottom: 10%;
  right: -5%;
  animation-delay: -7s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #4A9E6A, transparent 70%);
  top: 40%;
  left: 60%;
  animation-delay: -14s;
}

@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob {
    animation: none;
  }
}

#scentCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 20px 16px;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(13, 11, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-text);
  text-decoration: none;
}

.wordmark-accent {
  color: var(--color-primary);
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 8vw, 60px);
  overflow-wrap: break-word;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  background: linear-gradient(105deg, var(--color-text) 45%, #E85D9F 75%, #D4A017 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-text);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero > * {
  animation: rise-in 0.6s ease both;
}

.hero h1 { animation-delay: 0.05s; }
.hero .subtitle { animation-delay: 0.15s; }
.hero #waitlist-form { animation-delay: 0.25s; }
.hero .feature-list { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .hero > * {
    animation: none;
  }
}

.subtitle {
  color: var(--color-text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
}

@media (max-width: 600px) {
  .desktop-br {
    display: none;
  }
}

#waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(28, 26, 30, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.35);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: flex;
  width: 100%;
  max-width: 420px;
  gap: 8px;
}

#email {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  font-size: 16px;
  background: rgba(13, 11, 15, 0.5);
  color: var(--color-text);
}

#email:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: transparent;
}

#submit-button {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-width: 110px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#submit-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(194, 10, 102, 0.45);
}

#submit-button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

#submit-button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

#submit-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner[hidden] {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-message {
  min-height: 20px;
  font-size: 14px;
  margin: 0;
}

.form-message.success {
  color: var(--color-success);
}

.form-message.error {
  color: var(--color-error);
}

.feature-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-list li {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(28, 26, 30, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.feature-list li:hover {
  color: var(--color-text);
  border-color: rgba(194, 10, 102, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 16px rgba(194, 10, 102, 0.25);
}

.screenshots-3d {
  perspective: 1200px;
  padding: 40px 20px 80px;
  display: flex;
  justify-content: center;
}

.phone-stack {
  position: relative;
  width: 320px;
  height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.phone-stack::before {
  content: "";
  position: absolute;
  inset: 5% 10%;
  background: radial-gradient(circle, rgba(194, 10, 102, 0.35), transparent 70%);
  filter: blur(30px);
  transform: translateZ(-70px);
  pointer-events: none;
}

.phone-stack .phone-frame {
  position: absolute;
  width: 170px;
  height: 340px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 18, 22, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready .screenshots-3d:not(.in-view) .phone-frame:nth-child(1) {
  transform: translateX(75px) translateZ(-40px) rotateY(0deg);
}

.reveal-ready .screenshots-3d:not(.in-view) .phone-frame:nth-child(3) {
  transform: translateX(-75px) translateZ(-40px) rotateY(0deg);
}

.phone-stack .phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-stack .phone-frame:nth-child(1) {
  left: 0;
  top: 10px;
  transform: translateZ(-40px) rotateY(12deg);
  z-index: 1;
}

.phone-stack .phone-frame:nth-child(2) {
  left: 75px;
  top: 0;
  transform: translateZ(0px) rotateY(0deg);
  z-index: 2;
}

.phone-stack .phone-frame:nth-child(3) {
  left: 150px;
  top: 10px;
  transform: translateZ(-40px) rotateY(-12deg);
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .phone-stack:hover .phone-frame:nth-child(1) {
    transform: translateZ(-20px) rotateY(12deg) translateX(-10px);
  }

  .phone-stack:hover .phone-frame:nth-child(3) {
    transform: translateZ(-20px) rotateY(-12deg) translateX(10px);
  }
}

@media (max-width: 400px) {
  .phone-stack {
    width: 260px;
    height: 300px;
  }

  .phone-stack .phone-frame {
    width: 140px;
    height: 280px;
  }

  .phone-stack .phone-frame:nth-child(2) {
    left: 60px;
  }

  .phone-stack .phone-frame:nth-child(3) {
    left: 120px;
  }

  .reveal-ready .screenshots-3d:not(.in-view) .phone-frame:nth-child(1) {
    transform: translateX(60px) translateZ(-40px) rotateY(0deg);
  }

  .reveal-ready .screenshots-3d:not(.in-view) .phone-frame:nth-child(3) {
    transform: translateX(-60px) translateZ(-40px) rotateY(0deg);
  }
}

.features {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-block:nth-child(even) .feature-phone {
  order: 2;
}

.feature-phone {
  display: flex;
  justify-content: center;
}

.feature-phone .phone-frame {
  width: 220px;
  height: 440px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 18, 22, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-phone .phone-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(194, 10, 102, 0.15);
}

.feature-phone .phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-copy .eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.5vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.feature-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 16px;
}

@media (max-width: 640px) {
  .features {
    gap: 64px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .feature-block:nth-child(even) .feature-phone {
    order: 0;
  }

  .feature-phone .phone-frame {
    width: 180px;
    height: 360px;
  }
}

.cta-final {
  text-align: center;
  padding: 40px 20px 72px;
}

.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.5vw, 34px);
  margin: 0 0 20px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(194, 10, 102, 0.45);
}

.cta-button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-ready .reveal.in-view {
  opacity: 1;
  transform: none;
}

.confirm-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 64px 20px;
  text-align: center;
}

.confirm-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  margin: 0 0 12px;
}

.legal-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
}

.legal-page h2 {
  font-size: 18px;
  margin-top: 32px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px 48px;
  color: var(--color-text-secondary);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: var(--color-text-secondary);
  text-decoration: underline;
}
