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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.logo {
  width: 250px;
  height: 250px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;;
}

.cta-button {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

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

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
}

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

.step {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.step p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
}

/* Why Postmarkly Section */
.why-postmarkly {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
}

.why-postmarkly h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
  line-height: 1.3;
}

.feature-card p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

/* Who It's For Section - Carousel */
.who-its-for {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
}

.who-its-for h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
}

.carousel-container {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 500%; /* 5 cards × 100% */
}

.user-card {
  flex: 0 0 20%; /* Each card takes 20% of track width (100% / 5 cards) */
  background: white;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  max-width: 100%;
}

.user-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.user-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user-content strong {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.user-content p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #1f2937;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(31, 41, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #2563eb;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(31, 41, 55, 0.6);
}

@media (max-width: 768px) {
  .who-its-for {
    padding: 4rem 1.5rem;
  }
  
  .who-its-for h2 {
    font-size: 2rem;
  }
  
  .carousel-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .carousel-btn {
    display: none; /* Hide nav buttons on mobile, use swipe instead */
  }
  
  .user-card {
    padding: 2rem 1.5rem;
    min-height: 250px;
  }
  
  .user-icon {
    font-size: 2.5rem;
  }
  
  .user-content strong {
    font-size: 1.1rem;
  }
  
  .carousel-dots {
    margin-top: 1rem;
  }
}

/* Pricing Section */
.pricing {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.pricing-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.pricing-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

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

.pricing-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.pricing-description {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.pricing-details {
  text-align: left;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.pricing-item:last-child {
  border-bottom: none;
}

.item-name {
  color: #4b5563;
  font-size: 0.9rem;
}

.item-price {
  color: #1f2937;
  font-weight: 600;
  font-size: 1rem;
}

.pricing-note {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-note p {
  color: #1e40af;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Combined Pricing Card Styles */
.pricing-card-combined {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.pricing-section {
  margin-bottom: 2.5rem;
}

.pricing-section:last-child {
  margin-bottom: 0;
}

.pricing-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-description {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.pricing-section .pricing-details {
  border-left: 3px solid #e5e7eb;
  padding-left: 1.5rem;
  margin-left: 1rem;
}

@media (max-width: 768px) {
  .pricing {
    padding: 4rem 1.5rem;
  }
  
  .pricing h2 {
    font-size: 2rem;
  }
  
  .pricing-grid {
    gap: 1.5rem;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .pricing-note {
    padding: 1rem;
  }
  
  .pricing-note p {
    font-size: 0.9rem;
  }
  
  .pricing-card-combined {
    padding: 2rem 1.5rem;
  }
  
  .pricing-section h4 {
    font-size: 1.1rem;
  }
  
  .pricing-section .pricing-details {
    padding-left: 1rem;
    margin-left: 0.5rem;
  }
}

/* Waitlist Signup Section */
.waitlist-signup {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
}

.waitlist-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-signup h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.waitlist-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.waitlist-form {
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.form-group input[type="email"],
.form-group input[type="text"] {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  /* background: white; */
  box-sizing: border-box;
}

.form-group input[type="email"]:focus,
.form-group input[type="text"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input[type="email"]::placeholder,
.form-group input[type="text"]::placeholder {
  color: #9ca3af;
}

.submit-button {
  padding: 1rem 2rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.privacy-note {
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
}

.thank-you-card {
  max-width: 500px;
  margin: 2rem auto;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
  animation: slideInUp 0.6s ease-out;
}

.thank-you-content {
  padding: 2rem;
  text-align: center;
  color: white;
}

.thank-you-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounceIn 0.8s ease-out 0.2s both;
}

.thank-you-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.thank-you-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
}

.hamburger-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.hamburger-btn span {
  width: 20px;
  height: 2px;
  background: #1f2937;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  width: 80%;
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 80%;
}

/*
  Dark Reader support - Make hamburger spans white when dark mode is active.
  Setting it black will make darkreader change it to white.
*/
html[data-darkreader-scheme="dark"] button.hamburger-btn span {
  border: solid 1px black;
}

.nav-menu {
  position: absolute;
  top: 60px;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 0;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  background: rgba(37, 99, 235, 0.1);
  border-left-color: #2563eb;
  color: #2563eb;
}

/* Footer */
.footer {
  background: #1f2937;
  padding: 3rem 2rem;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  width: 80px;
  height: 80px;
}

.copyright {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.terms-link {
  color: #9ca3af;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-link:hover {
  color: #d1d5db;
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.close-modal:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 2rem;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
  line-height: 1.6;
}

.modal-body h3 {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.modal-body h3:first-child {
  margin-top: 1rem;
}

.modal-body p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.modal-body ul {
  color: #4b5563;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 1.5rem;
  }
  
  .logo {
    width: 100px;
    height: 100px;
  }
  
  .how-it-works {
    padding: 4rem 1.5rem;
  }
  
  .how-it-works h2 {
    font-size: 2rem;
  }
  
  .steps {
    gap: 2rem;
  }
  
  .step {
    padding: 1.5rem;
  }
  
  .why-postmarkly {
    padding: 4rem 1.5rem;
  }
  
  .why-postmarkly h2 {
    font-size: 2rem;
  }
  
  .features {
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    font-size: 3rem;
  }
  
  .who-its-for {
    padding: 4rem 1.5rem;
  }
  
  .who-its-for h2 {
    font-size: 2rem;
  }
  
  .carousel-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .carousel-btn {
    display: none; /* Hide nav buttons on mobile, use swipe instead */
  }
  
  .user-card {
    padding: 2rem 1.5rem;
    min-height: 250px;
  }
  
  .user-icon {
    font-size: 2.5rem;
  }
  
  .user-content strong {
    font-size: 1.1rem;
  }
  
  .carousel-dots {
    margin-top: 1rem;
  }
  
  .pricing {
    padding: 4rem 1.5rem;
  }
  
  .pricing h2 {
    font-size: 2rem;
  }
  
  .pricing-grid {
    gap: 1.5rem;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .pricing-note {
    padding: 1rem;
  }
  
  .pricing-note p {
    font-size: 0.9rem;
  }
  
  .pricing-card-combined {
    padding: 2rem 1.5rem;
  }
  
  .pricing-section h4 {
    font-size: 1.1rem;
  }
  
  .pricing-section .pricing-details {
    padding-left: 1rem;
    margin-left: 0.5rem;
  }
  
  .waitlist-signup {
    padding: 4rem 1.5rem;
  }
  
  .waitlist-signup h2 {
    font-size: 2rem;
  }
  
  .form-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-group input[type="email"] {
    width: 100%;
  }
  
  .submit-button {
    width: 100%;
  }
  
  .floating-nav {
    top: 1rem;
    right: 1rem;
  }
  
  .hamburger-btn {
    width: 45px;
    height: 45px;
  }
  
  .nav-menu {
    min-width: 180px;
  }
  
  .footer {
    padding: 2rem 1.5rem;
  }
  
  .footer-logo {
    width: 60px;
    height: 60px;
  }
  
  .copyright {
    font-size: 0.8rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .terms-link {
    font-size: 0.8rem;
  }
  
  .modal-content {
    margin: 5% auto;
    width: 95%;
    max-height: 85vh;
  }
  
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
  
  .modal-body {
    padding: 1.5rem;
    max-height: calc(85vh - 80px);
  }
  
  .close-modal {
    font-size: 1.5rem;
    width: 25px;
    height: 25px;
  }
}