/* ================================
   VIBENEURS - Premium Design
   ================================ */

/* Floating Decorations */
.floating-decor {
  position: fixed;
  font-family: "Space Grotesk", monospace;
  font-weight: 700;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
  user-select: none;
  animation: float 10s ease-in-out infinite;
}

.bin {
  color: var(--primary);
  opacity: 0.03 !important; /* Extra low opacity for binaries */
}
.money {
  color: var(--success);
  opacity: 0.08;
}

/* Sizes */
.tiny {
  font-size: 1.5rem;
}
.small {
  font-size: 2.5rem;
}
.medium {
  font-size: 3.5rem;
}

/* Positions */
.p1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}
.p2 {
  top: 25%;
  left: 15%;
  animation-delay: -2s;
}
.p3 {
  top: 45%;
  left: 5%;
  animation-delay: -4s;
}
.p4 {
  top: 70%;
  left: 10%;
  animation-delay: -1s;
}

.p5 {
  top: 15%;
  right: 10%;
  animation-delay: -3s;
}
.p6 {
  top: 35%;
  right: 20%;
  animation-delay: -5s;
}

.p7 {
  bottom: 20%;
  left: 20%;
  animation-delay: -2s;
}
.p8 {
  bottom: 10%;
  left: 5%;
  animation-delay: 0s;
}
.p9 {
  bottom: 40%;
  right: 5%;
  animation-delay: -4s;
}

.p10 {
  top: 5%;
  right: 30%;
  animation-delay: -1s;
}
.p11 {
  bottom: 25%;
  right: 15%;
  animation-delay: -3s;
}

.p12 {
  top: 50%;
  right: 8%;
  animation-delay: -2s;
}
.p13 {
  top: 80%;
  right: 25%;
  animation-delay: -5s;
}
.p14 {
  top: 60%;
  left: 25%;
  animation-delay: -1s;
}

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

:root {
  --accent: #ffe500;
  --accent-dark: #e6cf00;
  --primary: #1a1a2e;
  --text: #1a1a2e;
  --text-light: #555555;
  --bg: #f8f8f8;
  --white: #ffffff;
  --border: #e0e0e0;
  --success: #22c55e;
  --font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

/* Accessibility: Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(#e1e1e1 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ================================
   Page Layout
   ================================ */

.page {
  min-height: 100vh;
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
}

.content-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* ================================
   Header
   ================================ */

.header {
  margin-bottom: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-icon {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text mark {
  background: var(--accent);
  color: var(--text);
  padding: 0 0.1em;
}

/* ================================
   Main Content
   ================================ */

.main {
  width: 100%;
}

/* Title */
.title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.title mark {
  background: var(--accent);
  color: var(--text);
  padding: 0 0.15em;
  padding: 0 0.15em;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ================================
   Signup Card
   ================================ */

.card {
  background: transparent;
  padding: 0;
  box-shadow: none;
  margin-bottom: 2rem;
}

.card-intro {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.card-intro strong {
  font-weight: 700;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border);
  background: var(--bg);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form input::placeholder {
  color: #999;
}

.form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}

.form button {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--accent);
  border: none;

  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}

.form button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.card-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

/* ================================
   Benefits
   ================================ */

.benefits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.benefit strong {
  color: var(--text);
  font-weight: 600;
}

.check {
  color: var(--success);
  font-weight: 700;
}

/* ================================
   Footer
   ================================ */

.footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  padding-top: 1.5rem;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 600px) {
  .page {
    padding: 1rem;
  }

  .header {
    margin-bottom: 1rem;
  }

  .title {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }

  .tagline {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .card-intro {
    margin-bottom: 1rem;
  }

  .form {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .card-note {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .benefits {
    gap: 0.5rem;
  }

  /* Compact decorations for mobile */
  .tiny {
    font-size: 0.85rem;
  }
  .small {
    font-size: 1.25rem;
  }
  .medium {
    font-size: 1.75rem;
  }
}

/* Success */
.form.success button {
  background: var(--success);
  color: white;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(-10px);
  }
  80% {
    transform: translateX(10px);
  }
}
