:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --gradient-start: #0f0c1a;
  --gradient-end: #2d2b4a;
  --text-color: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --border-radius: 0.75rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

ul {
  list-style: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 30, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

header:hover {
  background-color: rgba(10, 10, 30, 0.4);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

nav a:hover {
  color: var(--primary-color);
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

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

.cta-button.secondary:hover {
  background-color: rgba(99, 102, 241, 0.1);
}

.cta-button.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--gradient-start);
  min-height: 85vh;
  padding-top: 80px;
}

/* Add starry night effect */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    /* Small stars */ radial-gradient(
      1px 1px at 25% 15%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(1px 1px at 50% 30%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 75% 45%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 15% 60%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 35% 75%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 60% 25%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 40% 10%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 90% 85%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 10% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 65% 70%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 30% 90%, rgba(255, 255, 255, 0.5), transparent),
    /* Additional small stars */
      radial-gradient(1px 1px at 45% 35%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 75% 25%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 22% 18%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 38% 42%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 63% 63%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 83% 73%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 17% 83%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 57% 93%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 93% 42%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 8% 23%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 28% 53%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 52% 78%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 88% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 72% 93%, rgba(255, 255, 255, 0.6), transparent),
    /* Medium stars */
      radial-gradient(
        1.5px 1.5px at 18% 25%,
        rgba(255, 255, 255, 0.8),
        transparent
      ),
    radial-gradient(
      1.5px 1.5px at 47% 65%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 78% 32%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 23% 43%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 67% 87%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 82% 57%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 12% 72%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    /* Larger "special" stars with animation */
      radial-gradient(
        2.5px 2.5px at 20% 20%,
        rgba(255, 255, 255, 0.9),
        transparent
      ),
    radial-gradient(3px 3px at 80% 15%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 5% 65%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(
      2.5px 2.5px at 70% 80%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(3px 3px at 95% 95%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(
      2.5px 2.5px at 33% 23%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(2px 2px at 57% 54%, rgba(255, 255, 255, 0.9), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Multiple star layers with different animation timings */
.hero::before {
  animation: twinkleFast 4s ease-in-out infinite alternate;
}

.hero .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      1.5px 1.5px at 55% 35%,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(2px 2px at 42% 65%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(
      1.5px 1.5px at 80% 40%,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(
      2.5px 2.5px at 33% 45%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(2px 2px at 63% 88%, rgba(255, 255, 255, 0.7), transparent),
    /* Additional stars for second layer */
      radial-gradient(1px 1px at 23% 8%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 37% 29%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 64% 11%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(
      1.5px 1.5px at 78% 67%,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(1px 1px at 94% 73%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 13% 62%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(
      1.5px 1.5px at 44% 79%,
      rgba(255, 255, 255, 0.5),
      transparent
    ),
    radial-gradient(2px 2px at 85% 33%, rgba(255, 255, 255, 0.8), transparent);
  animation: twinkleSlow 7s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

@keyframes twinkleFast {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes twinkleSlow {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

/* Dynamic background with floating symbols */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Add a subtle pattern overlay */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  z-index: 2;
}

/* Bright pulsing stars */
.bright-star {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  filter: blur(0.5px);
  z-index: 2;
  pointer-events: none;
}

.bright-star-1 {
  top: 15%;
  left: 30%;
  width: 4px;
  height: 4px;
  animation: brightPulse 3s infinite alternate;
}

.bright-star-2 {
  bottom: 30%;
  right: 25%;
  width: 5px;
  height: 5px;
  animation: brightPulse 4s infinite alternate 1s;
}

.bright-star-3 {
  top: 75%;
  left: 15%;
  width: 3px;
  height: 3px;
  animation: brightPulse 5s infinite alternate 2s;
}

.bright-star-4 {
  top: 30%;
  right: 15%;
  width: 4px;
  height: 4px;
  animation: brightPulse 3.5s infinite alternate 1.5s;
}

.bright-star-5 {
  bottom: 20%;
  left: 75%;
  width: 3px;
  height: 3px;
  animation: brightPulse 4.5s infinite alternate 2.5s;
}

@keyframes brightPulse {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.4),
      0 0 8px 2px rgba(255, 255, 255, 0.2);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6),
      0 0 16px 4px rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 90%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
  margin-top: 30px;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(79, 70, 229, 0.1)
  );
  z-index: 1;
  pointer-events: none;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(-2deg) translateY(-5px);
}

.hero-image img {
  width: 100%;
  display: block;
  border-radius: var(--border-radius);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

.features h2,
.how-it-works h2,
.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* How it Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background-color: white;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  background-color: white;
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-card ul {
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-card li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--bg-light);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    margin-bottom: 2rem;
  }
  .app-mockup {
    margin-top: 10px;
    height: 320px;
  }
  nav ul {
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (min-width: 769px) {
  .hero {
    padding-top: 100px;
  }
  .hero-image {
    margin-top: 30px;
  }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  /* Make header static position */
  header {
    position: static;
  }

  /* Sticky navigation */
  .sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 30, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease, background-color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sticky-nav:hover {
    background-color: rgba(10, 10, 30, 0.4);
  }

  /* Match buttons styling */
  .sticky-nav .cta-button,
  .sticky-nav .btn-login {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
  }

  .sticky-nav .btn-login {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
  }

  header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .logo {
    margin-bottom: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  nav ul li {
    margin-right: 0.5rem;
  }

  /* Fix CTA button display */
  .cta-button,
  .btn-login {
    display: inline-block;
    width: auto;
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  /* Make pricing cards swipeable */
  .pricing-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.5rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .pricing-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    margin-right: 1rem;
  }

  /* Make feature cards swipeable */
  .feature-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.5rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .feature-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    margin-right: 1rem;
  }

  /* Add scroll indicators */
  .pricing::after,
  .features::after {
    content: "← Swipe →";
    display: block;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.7;
  }

  /* Adjust steps for better mobile display */
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.5rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .step {
    flex: 0 0 85%;
    scroll-snap-align: center;
    margin-right: 1rem;
  }

  .how-it-works::after {
    content: "← Swipe →";
    display: block;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.7;
  }

  /* Adjust hero section for mobile */
  .hero {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

/* Replace ghost button with a more visible login button */
.btn-login {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
  border: 2px solid var(--primary-color);
  text-decoration: none;
}

.btn-login:hover {
  background-color: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* Popup and login styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup.visible {
  display: flex;
}

.popup-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--box-shadow);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--text-color);
}

.popup-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.popup-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
}

.auth-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.auth-tab.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.form-text {
  color: var(--text-light);
  font-size: 0.875rem;
  display: block;
  margin-top: 0.5rem;
}

.btn-block {
  display: block;
  width: 100%;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.95);
  }
  50% {
    opacity: 0.5;
    transform: scaleX(1);
  }
}

/* App Mockup Styling */
.app-mockup {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  height: 370px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.mockup-header {
  display: none;
}

.mockup-content {
  display: flex;
  height: 100%;
}

.mockup-circles {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
}

.mockup-circles span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.mockup-circles span:nth-child(1) {
  background: #ff5f57;
}

.mockup-circles span:nth-child(2) {
  background: #febc2e;
}

.mockup-circles span:nth-child(3) {
  background: #28c840;
}

.mockup-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  flex-grow: 1;
  text-align: center;
}

.mockup-sidebar {
  width: 70px;
  background: #f7f8fc;
  padding: 20px 15px;
  border-right: 1px solid #eaedf3;
}

.mockup-nav-item {
  height: 40px;
  background: #e9ecf5;
  border-radius: 8px;
  margin-bottom: 15px;
}

.mockup-nav-item.active {
  background: var(--primary-color);
}

.mockup-main {
  flex-grow: 1;
  padding: 25px;
  background: #ffffff;
  overflow: hidden;
}

.mockup-form {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-label {
  height: 10px;
  width: 120px;
  background: #e9ecf5;
  border-radius: 4px;
}

.mockup-input {
  height: 36px;
  background: #f5f7fa;
  border: 1px solid #e9ecf5;
  border-radius: 6px;
}

.mockup-textarea {
  height: 80px;
  background: #f5f7fa;
  border: 1px solid #e9ecf5;
  border-radius: 6px;
}

.mockup-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.mockup-checkbox {
  height: 20px;
  background: #f5f7fa;
  border-radius: 4px;
  padding-left: 30px;
  position: relative;
}

.mockup-checkbox::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
}

.mockup-checkbox:nth-child(1)::before,
.mockup-checkbox:nth-child(2)::before {
  background: var(--primary-color);
}

.mockup-button {
  height: 40px;
  width: 180px;
  background: var(--primary-color);
  border-radius: 6px;
  margin-top: auto;
  align-self: flex-end;
}

@keyframes mockupFloat {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: none;
  }
}

/* Add shooting stars effect */
.hero-decoration::after {
  content: "";
  position: absolute;
  top: 20%;
  left: -10%;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
    0 0 0 8px rgba(255, 255, 255, 0.05);
  animation: shootingStarOne 12s linear infinite;
  z-index: 1;
}

.hero-decoration::before {
  content: "";
  position: absolute;
  top: 70%;
  right: -5%;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1),
    0 0 0 6px rgba(255, 255, 255, 0.05);
  animation: shootingStarTwo 15s linear infinite;
  animation-delay: 5s;
  z-index: 1;
}

/* Extra shooting star with different timing */
.hero .container::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 100%;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
    0 0 0 8px rgba(255, 255, 255, 0.05);
  animation: shootingStarThree 20s linear infinite;
  animation-delay: 7s;
  z-index: 1;
  pointer-events: none;
}

@keyframes shootingStarOne {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    transform: translateX(30vw) translateY(30vh);
    opacity: 0;
  }
  100% {
    transform: translateX(30vw) translateY(30vh);
    opacity: 0;
  }
}

@keyframes shootingStarTwo {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    transform: translateX(-25vw) translateY(20vh);
    opacity: 0;
  }
  100% {
    transform: translateX(-25vw) translateY(20vh);
    opacity: 0;
  }
}

@keyframes shootingStarThree {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  15% {
    transform: translateX(-40vw) translateY(15vh);
    opacity: 0;
  }
  100% {
    transform: translateX(-40vw) translateY(15vh);
    opacity: 0;
  }
}

/* Add a third layer of stars with different timing */
.hero-decoration:after {
  background-image: radial-gradient(
      1px 1px at 8% 10%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(1px 1px at 16% 37%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 31% 5%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 52% 13%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 70% 29%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 92% 41%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 18% 53%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 37% 67%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 59% 83%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 84% 97%, rgba(255, 255, 255, 0.6), transparent);
}

@keyframes twinkleMedium {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Remove the pulsing oval by fixing the conflicting pseudo-elements */
/* First shooting star */
.hero-decoration .shooting-star-1 {
  content: "";
  position: absolute;
  top: 20%;
  left: -10%;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
    0 0 0 8px rgba(255, 255, 255, 0.05);
  animation: shootingStarOne 12s linear infinite;
  z-index: 1;
}

/* Second shooting star */
.hero-decoration .shooting-star-2 {
  position: absolute;
  top: 70%;
  right: -5%;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1),
    0 0 0 6px rgba(255, 255, 255, 0.05);
  animation: shootingStarTwo 15s linear infinite;
  animation-delay: 5s;
  z-index: 1;
}

/* Remove conflicting ::before and ::after */
.hero-decoration::before,
.hero-decoration::after {
  display: none;
}

/* Extra shooting star with different timing */
.hero .container .shooting-star-3 {
  position: absolute;
  top: 40%;
  left: 100%;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
    0 0 0 8px rgba(255, 255, 255, 0.05);
  animation: shootingStarThree 20s linear infinite;
  animation-delay: 7s;
  z-index: 1;
  pointer-events: none;
}

.hero .container::after {
  display: none;
}

/* Sticky navigation - hidden by default on all screens */
.sticky-nav {
  display: none;
}

/* Highlight AI text in title */
.highlight-ai {
  position: relative;
  color: var(--primary-color);
  font-weight: 700;
}

/* Remove the purple background effect completely */
.highlight-ai::before {
  display: none;
}

/* App Mockup Styling - with more specificity to override any other styles */
.hero-image .app-mockup {
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  height: 370px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  border: none !important;
}

/* Make the content elements transparent as well */
.hero-image .mockup-sidebar {
  width: 70px;
  background: rgba(247, 248, 252, 0.8) !important;
  padding: 20px 15px;
  border-right: 1px solid rgba(234, 237, 243, 0.5);
}

.hero-image .mockup-main {
  flex-grow: 1;
  padding: 25px;
  background: rgba(255, 255, 255, 0.8) !important;
  overflow: hidden;
}

/* Make auth form styles more specific for the landing page login popup */
#loginPopup .auth-form button[type="submit"],
#loginPopup .auth-form .btn-block {
  background-color: var(--primary-color);
  color: white;
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: all 0.2s ease;
  margin-top: 1.5rem;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

#loginPopup .auth-form button[type="submit"]:hover,
#loginPopup .auth-form .btn-block:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#loginPopup .auth-form button[type="submit"]:active,
#loginPopup .auth-form .btn-block:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Enhance form inputs */
#loginPopup .auth-form .form-control {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: all 0.2s ease;
  height: 48px;
  background-color: var(--bg-white);
}

#loginPopup .auth-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
  background-color: white;
}

/* Enhance form labels */
#loginPopup .auth-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9375rem;
}
