/* ==========================================================================
   Oye LLC - Design System & Styles
   Modern, clean, performance-focused
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg-light: #FAFAFA;
  --color-bg-dark: #0B0F14;
  --color-bg-card: #FFFFFF;
  --color-bg-card-dark: #1A1F2E;

  --color-accent: #6366F1;
  --color-accent-hover: #4F46E5;
  --color-accent-light: #E0E7FF;

  --color-text-primary: #1F2937;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;
  --color-text-light: #FFFFFF;
  --color-text-light-secondary: rgba(255, 255, 255, 0.7);

  --color-border: #E5E7EB;
  --color-border-dark: #374151;

  --color-success: #10B981;
  --color-ios: #007AFF;
  --color-android: #3DDC84;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-content: 680px;

  /* Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Z-index */
  --z-header: 100;
  --z-modal: 200;
  --z-tooltip: 300;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-light);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

p {
  color: var(--color-text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-20) 0;
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-light);
}

.section--dark p {
  color: var(--color-text-light-secondary);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

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

/* --------------------------------------------------------------------------
   Components: Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-secondary);
}

.btn--ghost:hover {
  color: var(--color-accent);
}

.btn--ios {
  background-color: var(--color-ios);
  color: var(--color-text-light);
}

.btn--ios:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn--android {
  background-color: var(--color-android);
  color: var(--color-bg-dark);
}

.btn--android:hover {
  background-color: #2bc46e;
  transform: translateY(-2px);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

.btn-group {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Components: Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__logo img {
  height: 32px;
  width: auto;
}

.header__logo-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header__nav-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.header__nav-link:hover {
  color: var(--color-accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mobile menu toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Components: Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(72px + var(--space-20));
  padding-bottom: var(--space-20);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

.hero__visual {
  position: relative;
}

.hero__mockup {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  filter: drop-shadow(var(--shadow-xl));
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--color-accent-light) 0%, transparent 70%);
  opacity: 0.5;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Components: Product Cards
   -------------------------------------------------------------------------- */
.products {
  background-color: var(--color-bg-light);
}

.products__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}

.products__header h2 {
  margin-bottom: var(--space-4);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.product-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.product-card__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

/* Piction logo needs background since it's transparent */
.product-card__icon--piction,
.product-hero__icon--piction {
  background: linear-gradient(135deg, #4F46E5 0%, #312E81 100%);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.product-card__tagline {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.product-card__features {
  margin-bottom: var(--space-8);
}

.product-card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
}

.product-card__feature::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--color-success);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}

.product-card__actions {
  display: flex;
  gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   Components: Features / What We Do
   -------------------------------------------------------------------------- */
.features {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.features__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-card {
  text-align: center;
  padding: var(--space-8);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background-color: rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.feature-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text-light);
}

.feature-card__description {
  font-size: var(--font-size-base);
  color: var(--color-text-light-secondary);
}

/* --------------------------------------------------------------------------
   Components: CTA Band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-accent) 0%, #A855F7 100%);
  color: var(--color-text-light);
  text-align: center;
  padding: var(--space-16) 0;
}

.cta-band__title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-light);
}

.cta-band__subtitle {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  color: var(--color-text-light);
}

.cta-band .btn--primary {
  background-color: var(--color-text-light);
  color: var(--color-accent);
}

.cta-band .btn--primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn--secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-text-light);
}

.cta-band .btn--secondary:hover {
  border-color: var(--color-text-light);
  background-color: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Components: Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer__logo-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

.footer__description {
  color: var(--color-text-light-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.footer__column h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  color: var(--color-text-light);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--font-size-sm);
  color: var(--color-text-light-secondary);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-text-light);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copyright {
  font-size: var(--font-size-sm);
  color: var(--color-text-light-secondary);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  color: var(--color-text-light-secondary);
  transition: color var(--transition-fast);
}

.footer__social a:hover {
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Page: Product Detail
   -------------------------------------------------------------------------- */
.product-hero {
  padding-top: calc(72px + var(--space-16));
  padding-bottom: var(--space-16);
  text-align: center;
}

.product-hero__icon {
  width: 260px;
  max-width: 80vw;
  height: auto;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  display: block;
}

.product-hero__title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.product-hero__tagline {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Page: Support / Privacy / Terms
   -------------------------------------------------------------------------- */
.page-header {
  padding-top: calc(72px + var(--space-16));
  padding-bottom: var(--space-12);
  text-align: center;
  background-color: var(--color-bg-light);
}

.page-header__title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.page-header__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: var(--space-12) 0 var(--space-20);
}

.page-content h2 {
  font-size: var(--font-size-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.page-content h3 {
  font-size: var(--font-size-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.page-content p {
  margin-bottom: var(--space-4);
  line-height: var(--line-height-relaxed);
}

.page-content ul,
.page-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.page-content li {
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

.page-content ul li {
  list-style-type: disc;
}

.page-content ol li {
  list-style-type: decimal;
}

.page-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.page-content a:hover {
  color: var(--color-accent-hover);
}

/* Contact/Support Card */
.contact-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background-color: var(--color-accent-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

.contact-card__description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

/* FAQ Section */
.faq {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.faq__question {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.faq__answer {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__visual {
    order: -1;
  }

  .hero__mockup {
    max-width: 350px;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .header__nav {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(72px + var(--space-12));
    min-height: auto;
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .product-card {
    padding: var(--space-6);
  }

  .product-card__actions {
    flex-direction: column;
  }

  .product-card__actions .btn {
    width: 100%;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__mockup {
    max-width: 280px;
  }

  .product-hero__icon {
    width: 80px;
    height: 80px;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.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;
}

.hidden {
  display: none !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }
.mt-8 { margin-top: var(--space-8) !important; }

/* --------------------------------------------------------------------------
   Waitlist Card (Hero section)
   -------------------------------------------------------------------------- */
.waitlist-card {
  max-width: 480px;
  margin: 32px auto 0;
  padding: 32px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1),
    0 0 0 1px #E5E7EB;
  text-align: center;
}

.waitlist-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #6366F1;
  margin-bottom: 16px;
}

.waitlist-card__badge-dot {
  width: 8px;
  height: 8px;
  background: #6366F1;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.waitlist-card__title {
  font-size: 24px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.waitlist-card__subtitle {
  font-size: 16px;
  color: #6B7280;
  margin: 0 0 24px 0;
}

.waitlist-card__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-card__input-group {
  display: flex;
  gap: 8px;
  background: #FAFAFA;
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  padding: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-card__input-group:focus-within {
  border-color: #6366F1;
  box-shadow: 0 0 0 4px #E0E7FF;
}

.waitlist-card__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1F2937;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.waitlist-card__input:focus {
  outline: none;
}

.waitlist-card__input::placeholder {
  color: #9CA3AF;
}

.waitlist-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #6366F1;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.waitlist-card__btn:hover {
  background: #4F46E5;
}

.waitlist-card__btn:active {
  transform: scale(0.98);
}

.waitlist-card__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.waitlist-card__btn-loading {
  display: inline-flex;
  align-items: center;
}

.spinner {
  animation: spin 1s linear infinite;
}

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

.waitlist-card__name-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FAFAFA;
  color: #1F2937;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.waitlist-card__name-input:focus {
  outline: none;
  border-color: #6366F1;
}

.waitlist-card__name-input::placeholder {
  color: #9CA3AF;
}

.waitlist-card__message {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.waitlist-card__message--success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.waitlist-card__message--error {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.waitlist-card__message--dark.waitlist-card__message--success {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
}

.waitlist-card__message--dark.waitlist-card__message--error {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
}

.waitlist-card__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: #9CA3AF;
}

.waitlist-card__privacy svg {
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Waitlist CTA (Bottom section - dark background)
   -------------------------------------------------------------------------- */
.waitlist-cta__form {
  max-width: 500px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-cta__input-group {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-cta__input-group:focus-within {
  border-color: #6366F1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.waitlist-cta__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #FFFFFF;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.waitlist-cta__input:focus {
  outline: none;
}

.waitlist-cta__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.waitlist-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #FFFFFF;
  color: #6366F1;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.waitlist-cta__btn:hover {
  background: #FAFAFA;
}

.waitlist-cta__btn:active {
  transform: scale(0.98);
}

.waitlist-cta__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.waitlist-cta__name-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.waitlist-cta__name-input:focus {
  outline: none;
  border-color: #6366F1;
}

.waitlist-cta__name-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Waitlist Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .waitlist-card {
    padding: 24px;
    margin: 24px auto 0;
  }

  .waitlist-card__title {
    font-size: 20px;
  }

  .waitlist-card__input-group {
    flex-direction: column;
    padding: 8px;
  }

  .waitlist-card__btn {
    width: 100%;
  }

  .waitlist-cta__input-group {
    flex-direction: column;
    padding: 8px;
  }

  .waitlist-cta__btn {
    width: 100%;
  }
}
