:root {
  --primary-color: #cba4ff;
  --secondary-color: #b48ee6;
  --accent-color: #3b82f6;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --background: #ffffff;
  --background-alt: #f3f4f6;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--background);
  min-height: 100vh;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

.floating-emoji {
  position: fixed;
  font-size: 24px;
  pointer-events: none;
  user-select: none;
  animation: float-up 8s linear forwards;
  z-index: 1;
  opacity: 1;
}

@keyframes float-up {
  0% {
    /* transform: translateY(0px) rotate(0deg); */
    transform: rotate(0deg);
    bottom:-10px;
    opacity: 0.4;
  }
  100% {
    /* transform: translateY(-100px) rotate(45deg); */
    transform: rotate(45deg);
    bottom: 200px;
    opacity: 0;
  }
}

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

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: sticky;
  top: 20px;
  z-index: 100;
  background: var(--background);
  padding: 8px 20px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 20px;
  }
}

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

.logo-image {
  height: 60px;
  width: auto;
}

.button {
  background-color: var(--primary-color);
  color: var(--background);
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.no-credit {
  font-size: 14px;
}

.button:hover {
  background-color: lighten(var(--primary-color), 10%);
  transform: translateY(-1px);
}

/* Indie Hackers Section */
.indie-hackers {
  text-align: center;
  margin: 40px 0;
}

.profile-pictures {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--background);
  margin-left: -12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-pic:first-child {
  margin-left: 0;
}

.indie-hackers-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Hero Section */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-primary);
  max-width: 800px;
}

.hero-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 18px;
  max-width: 600px;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--background);
  padding: 16px 32px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  width: fit-content;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(203, 164, 255, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(203, 164, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(203, 164, 255, 0);
  }
}

/* Social Proof */
.social-proof {
  text-align: center;
  margin: 60px 0;
  overflow: hidden;
  width: 70%;
}

.as-seen-on {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
}

.logos-container {
  position: relative;
  width: 100%;
  height: 50px;
  overflow: visible;
  margin: 20px 0 40px 0;
  background: linear-gradient(90deg,
      var(--background) 0%,
      rgba(255, 255, 255, 0) 5%,
      rgba(255, 255, 255, 0) 95%,
      var(--background) 100%);
}

.logos-track {
  display: flex;
  gap: 40px;
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: scroll 20s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item svg {
  width: 24px;
  height: 24px;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Testimonials */
.testimonial {
  background-color: var(--background);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.stars {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-size: 20px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-alt);
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 500;
  color: var(--text-primary);
}

.author-handle {
  color: var(--text-secondary);
  font-size: 14px;
}

.dashboard-preview {
  margin-top: 48px;
  width: 100%;
  height: 300px;
  background-color: var(--background-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

/* Founders Section */
.founders-section {
  text-align: center;
  margin: 40px 0;
}

.founders {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  position: relative;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--background);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  margin-left: -15px;
}

.avatar:first-child {
  margin-left: 0;
}

.founders-text {
  font-size: 18px;
  color: var(--text-primary);
}

.founders-text .highlight {
  font-weight: bold;
  color: var(--primary-color);
}

/* Section Styles */
.section {
  text-align: center;
  margin: 40px 0;
}

.section-label {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 16px;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--text-primary);
}

/* Feature Section */
.feature-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, transparent, var(--background-alt));
  margin: 40px -20px;
}

.feature-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

@media (min-width: 1024px) {
  .feature-container {
    width: 100%;
  }
  
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .feature-col:first-child {
    max-width: none;
  }

  .feature-col:last-child {
    max-width: 800px;
    margin: 0 auto;
  }

  .feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    text-align: left;
  }

  .feature-icon {
    margin: 0;
    font-size: 32px;
  }
}

.feature-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.label {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.feature-col h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--background);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

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

.feature-icon {
  font-size: 24px;
  display: inline-block;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.solution-preview {
  background: var(--background);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.preview-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 24px;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.feature-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .feature-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Pricing Section */
.pricing-section {
  text-align: center;
  margin: 50px 0;
}

.pricing-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 1024px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--background);
  border: 1px solid var(--background-alt);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pricing-card-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing-card-price {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pricing-card-price span {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.pricing-card-features li {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

.pricing-card-button {
  background-color: var(--primary-color);
  color: var(--background);
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.pricing-card-button:hover {
  background-color: darken(var(--primary-color), 5%);
}

/* FAQ Section */
.faq-section {
  margin: 50px 0;
  background: var(--background);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
}

.faq-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.faq-item {
  border-bottom: 1px solid var(--background-alt);
  padding: 15px 0;
  cursor: pointer;
}

.faq-item:hover {
  background-color: var(--background-alt);
}

.faq-question {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-answer {
  display: none;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 90%;
  }

  .hero-title {
    font-size: 36px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .pricing-card {
    padding: 16px;
  }

  .pricing-card-title {
    font-size: 16px;
  }

  .pricing-card-price {
    font-size: 28px;
  }

  .pricing-card-features li {
    font-size: 12px;
  }

  .faq-title {
    font-size: 20px;
  }

  .faq-question {
    font-size: 16px;
  }

  .testimonial {
    padding: 16px;
  }

  .testimonial-text {
    font-size: 14px;
  }
}

/* Footer */
.footer {
  margin-top: 60px;
  padding: 40px 0;
  background: var(--background);
  border-top: 1px solid var(--background-alt);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.copyright {
  color: var(--text-secondary);
  font-size: 14px;
}

.made-love {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top:8px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}

.modal-content {
  background-color: var(--background);
  margin: 15% auto;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 12px;
  max-width: 500px;
  position: relative;
  text-align: center;
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-content h2 {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.modal-content p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

#emailForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#emailForm input {
  padding: 12px;
  border: 1px solid var(--background-alt);
  border-radius: 8px;
  font-size: 16px;
}