@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/*
  This stylesheet is a plain-CSS replica of the Tailwind + theme tokens used
  by the TSX you uploaded (HeroSection/FeatureGrid/PerksSection/WaitlistForm).
  Theme values are taken verbatim from index.css.
*/

:root {
  --background: 0 0% 100%;
  --foreground: 250 25% 15%;

  --card: 0 0% 100%;
  --card-foreground: 250 25% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 250 25% 15%;

  --primary: 280 70% 60%;
  --primary-foreground: 0 0% 100%;

  --secondary: 260 30% 96%;
  --secondary-foreground: 260 25% 20%;

  --muted: 260 20% 96%;
  --muted-foreground: 260 15% 45%;

  --accent: 280 60% 95%;
  --accent-foreground: 280 70% 50%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 260 20% 90%;
  --input: 260 20% 90%;
  --ring: 280 70% 60%;

  --radius: 1rem;

  /* Soft gradient palette - lavender to cyan */
  --lavender: 280 70% 65%;
  --pink: 330 80% 70%;
  --cyan: 185 80% 55%;
  --sky: 200 90% 60%;

  /* Gradients */
  --gradient-hero: linear-gradient(
    135deg,
    hsl(280 80% 92%) 0%,
    hsl(330 70% 94%) 25%,
    hsl(200 80% 94%) 50%,
    hsl(185 70% 92%) 100%
  );
  --gradient-primary: linear-gradient(
    135deg,
    hsl(280 70% 60%) 0%,
    hsl(330 80% 65%) 50%,
    hsl(185 80% 50%) 100%
  );
  --gradient-glow: radial-gradient(
    ellipse 60% 40% at 50% 0%,
    hsl(280 80% 70% / 0.2),
    hsl(185 80% 60% / 0.15),
    transparent 70%
  );
  --gradient-soft: linear-gradient(
    135deg,
    hsl(280 60% 95%) 0%,
    hsl(330 50% 96%) 50%,
    hsl(185 60% 94%) 100%
  );

  /* Shadows */
  --shadow-soft: 0 2px 12px hsl(280 50% 50% / 0.06);
  --shadow-card: 0 4px 20px hsl(280 50% 50% / 0.08);
  --shadow-glow: 0 8px 32px hsl(280 70% 60% / 0.2);
  --shadow-hover: 0 12px 40px hsl(280 50% 50% / 0.12);

  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
}

p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}

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

/* Breakpoints (Tailwind defaults) */
@media (min-width: 640px) {
  /* sm */
}
@media (min-width: 768px) {
  /* md */
}
@media (min-width: 1024px) {
  /* lg */
}

/* ---------------------------
   Theme utilities from index.css
---------------------------- */
.bg-hero-gradient {
  background: var(--gradient-hero);
}
.bg-primary-gradient {
  background: var(--gradient-primary);
}
.bg-glow {
  background: var(--gradient-glow);
}
.bg-soft-gradient {
  background: var(--gradient-soft);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}
.shadow-card {
  box-shadow: var(--shadow-card);
}
.shadow-glow {
  box-shadow: var(--shadow-glow);
}
.shadow-hover {
  box-shadow: var(--shadow-hover);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Used by logo + CTA button text */
.text-white {
  color: #fff;
}

/* ---------------------------
   Minimal Tailwind utility subset
   (only what's used in waitlist.pug)
---------------------------- */

/* Layout */
.min-h-screen {
  min-height: 100vh;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  inset: 0;
}
.overflow-hidden {
  overflow: hidden;
}
.pointer-events-none {
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Flex + grid */
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.text-center {
  text-align: center;
}
.whitespace-nowrap {
  white-space: nowrap;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.gap-6 {
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .md_grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md_grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md_py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .md_pt-32 {
    padding-top: 8rem;
  }
  .md_text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .md_text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  .md_text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}
@media (min-width: 640px) {
  .sm_text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  .sm_block {
    display: block;
  }
}
@media (min-width: 1024px) {
  .lg_grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hidden {
  display: none;
}

/* Spacing */
.px-6 {
  /* Respect iOS safe-area (curved edges / notches) */
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pt-20 {
  padding-top: 5rem;
}
.pb-24 {
  padding-bottom: 6rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.p-8 {
  padding: 2rem;
}
.p-1_5 {
  padding: 0.375rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.px-6 {
  /* Respect iOS safe-area (curved edges / notches) */
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-5 {
  margin-top: 1.25rem;
}

.max-w-md {
  max-width: 28rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.w-full {
  width: 100%;
}

/* Gap utilities */
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-2_5 {
  gap: 0.625rem;
}

/* Sizing */
.w-2 {
  width: 0.5rem;
}
.h-2 {
  height: 0.5rem;
}
.w-4 {
  width: 1rem;
}
.h-4 {
  height: 1rem;
}
.w-6 {
  width: 1.5rem;
}
.h-6 {
  height: 1.5rem;
}
.w-7 {
  width: 1.75rem;
}
.h-7 {
  height: 1.75rem;
}
.w-9 {
  width: 2.25rem;
}
.h-9 {
  height: 2.25rem;
}
.w-12 {
  width: 3rem;
}
.h-12 {
  height: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.h-14 {
  height: 3.5rem;
}

/* Typography */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading_1_1 {
  line-height: 1.1;
}

/* Colors */
.text-foreground {
  color: hsl(var(--foreground));
}
.text-foreground_80 {
  color: hsl(var(--foreground) / 0.8);
}
.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}
.text-muted-foreground_70 {
  color: hsl(var(--muted-foreground) / 0.7);
}
.text-primary {
  color: hsl(var(--primary));
}

.bg-transparent {
  background-color: transparent;
}
.bg-white_70 {
  background-color: rgb(255 255 255 / 0.7);
}
.bg-white_80 {
  background-color: rgb(255 255 255 / 0.8);
}
.bg-white {
  background-color: #fff;
}

/* Borders + radius */
.border {
  border-width: 1px;
  border-style: solid;
}
.border-white_50 {
  border-color: rgb(255 255 255 / 0.5);
}
.border-0 {
  border-width: 0;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}

/* Effects */
.backdrop-blur-sm {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.blur-3xl {
  filter: blur(64px);
}
.opacity-20 {
  opacity: 0.2;
}
.opacity-25 {
  opacity: 0.25;
}
.opacity-30 {
  opacity: 0.3;
}

/* Transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 200ms;
}
.transition-transform {
  transition-property: transform;
  transition-duration: 200ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}

/* Interactive variants (encoded as underscore-based classnames in Pug) */
.hover_text-foreground:hover {
  color: hsl(var(--foreground));
}
.hover_shadow-hover:hover {
  box-shadow: var(--shadow-hover);
}
.hover_bg-white:hover {
  background-color: #fff;
}
.active_scale_098:active {
  transform: scale(0.98);
}
.group-hover_translate-x_0_5 {
  will-change: transform;
}
.group:hover .group-hover_translate-x_0_5 {
  transform: translateX(0.125rem);
}
.group:hover .group-hover_shadow-soft {
  box-shadow: var(--shadow-soft);
}

/* Focus-within helpers for the input group */
.focus-within_shadow-glow:focus-within {
  box-shadow: var(--shadow-glow);
}
.focus-within_bg-white:focus-within {
  background-color: #fff;
}

/* Form elements */
.waitlist-form {
  width: 100%;
}
input {
  font: inherit;
  color: inherit;
}
input:focus {
  outline: none;
}
.placeholder_muted_50::placeholder {
  color: hsl(var(--muted-foreground) / 0.5);
}

button {
  font: inherit;
  border: 0;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Pulse animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Small niceties for SVG icons */
svg {
  display: block;
}

/* ---------------------------
   HERO match (reference)
---------------------------- */

.hero-pill {
  margin-bottom: 2.25rem;
}

.hero-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 1.5rem 0;
  /* Scale the whole headline together so all lines keep the same visual hierarchy */
  font-size: clamp(3rem, 6vw, 5.25rem);
}

.hero-line {
  display: block;
}

/* Keep “made beautiful” on one line without cropping on small screens */
.hero-title .text-gradient {
  display: inline-block;
  white-space: nowrap;
  line-height: inherit;
  padding-top: 0.02em;
  padding-bottom: 0.06em; /* avoids occasional glyph clipping with gradient text */
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 44rem;
  margin: 0 auto 2.25rem auto;
}

/* ---------------------------
   Waitlist input + button capsule
---------------------------- */

.waitlist-shell {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  border: 1px solid rgb(255 255 255 / 0.55);
  transition:
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.waitlist-shell:focus-within {
  background: #fff;
  box-shadow: var(--shadow-glow);
}

.waitlist-input {
  flex: 1 1 auto;
  /* Critical for flex rows: allows the input to shrink instead of overflowing */
  min-width: 14ch;
  height: 3.25rem;
  padding: 0 1.15rem;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.waitlist-input::placeholder {
  color: hsl(var(--muted-foreground) / 0.55);
}

.waitlist-button {
  height: 3.25rem;
  /* Let the button shrink a bit on mobile so the input always has typing room */
  flex: 0 1 auto;
  white-space: nowrap;
  padding: 0 1.25rem;
  border-radius: 1rem;
  border: 0;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-glow);
  transition:
    transform 160ms ease,
    box-shadow 200ms ease;
}

/* Mobile tune: scale headline + tighten the waitlist row */
@media (max-width: 420px) {
  .hero-title {
    /* Scale the whole headline down together on mobile */
    font-size: clamp(2.45rem, 9vw, 3.45rem);
  }

  .waitlist-shell {
    gap: 0.5rem;
    padding: 0.4rem;
  }

  .waitlist-input {
    min-width: 12ch;
    height: 3rem;
    padding: 0 1rem;
    font-size: 1rem;
  }

  .waitlist-button {
    height: 3rem;
    font-size: 0.9rem;
    padding: 0 0.9rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(2.25rem, 9.6vw, 3.15rem);
  }

  .waitlist-input {
    min-width: 10ch;
    height: 2.9rem;
    padding: 0 0.9rem;
  }

  .waitlist-button {
    height: 2.9rem;
    font-size: 0.85rem;
    padding: 0 0.8rem;
  }
}

.waitlist-button:hover {
  box-shadow: var(--shadow-hover);
}
.waitlist-button:active {
  transform: scale(0.98);
}

.waitlist-button .lucide-arrow-right {
  width: 1rem;
  height: 1rem;
}

.brand {
  text-decoration: none;
}
.brand-icon {
  width: 60px;
  height: 60px;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  object-fit: contain;
  display: block;
}
.brand-text {
  padding-top: 10px;
  height: 40px;
  width: auto;
  display: block;
}

/* Optional: make logo slightly smaller on very small screens */
@media (max-width: 420px) {
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .brand-text {
    height: 20px;
  }
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: rgb(255 255 255 / 0.7);
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-mobile {
  margin-top: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.78);
  border: 1px solid rgb(255 255 255 / 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  gap: 8px;

  display: none; /* default closed */
}
.nav-mobile:not([hidden]) {
  display: grid; /* open state */
}

.nav-mobile-link {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: hsl(var(--foreground));
}
.nav-mobile-link:hover {
  background: rgb(255 255 255 / 0.65);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .brand-icon {
    width: 40px;
    height: 40px;
  }
  .brand-text {
    height: 22px;
    padding-top: 0;
  }
}

@media (min-width: 641px) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    display: flex;
  }
  .nav-mobile {
    display: none !important;
  }
}
