/* Dollar Knight Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Prevent horizontal scrolling */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Accessible dashed focus outline for interactive and fillable elements */
:is(a, button, input, textarea, select, summary, [role="button"], [tabindex]):not([tabindex="-1"]):focus-visible {
  outline: 2px dashed #44b27b;
  outline-offset: 5px;
}

/* (removed) Honeypot field that was used for the waitlist form */

body {
  font-family: 'DM Sans', sans-serif;
  background: #f0f8ff;
  color: #374151;
  line-height: 1.6;
  padding-top: 80px; /* Add space for fixed header */
}

.launch-banner {
  background: linear-gradient(135deg, #44b27b, #224154);
  color: white;
  text-align: center;
  padding: 1rem;
}

.beta-tag {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: bold;
  margin-right: 0.5rem;
}

.hero {
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  min-height: 600px;
}

.hero-content { flex: 1; }

.hero h1 {
  font-size: 3rem;
  color: #44b27b;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

/* Add a span around "Autopilot" in the HTML */
.hero-title .autopilot {
  position: relative;
  display: inline-block;
}

.hero-title .autopilot::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 5%;
  width: 90%;
  height: 12px;
  background: 
    linear-gradient(90deg, 
      transparent 0%, 
      rgba(68, 178, 123, 0.2) 10%,
      rgba(68, 178, 123, 0.2) 90%, 
      transparent 100%);
  border-radius: 50%;
  filter: blur(4px);
  z-index: -1;
}

.hero-title .autopilot::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 6px;
  background-image: 
    linear-gradient(90deg, 
      transparent 0%, 
      #44b27b 15%, 
      #44b27b 35%, 
      rgba(68, 178, 123, 0.7) 50%, 
      #44b27b 65%, 
      #44b27b 85%, 
      transparent 100%),
    linear-gradient(to bottom, 
      transparent 0%,
      transparent 45%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 55%,
      transparent 100%);
  background-size: 200% 100%, 100% 100%;
  border-radius: 6px;
  transform-origin: center;
  transform: scaleX(0.92) translateX(4%) translateY(0);
  animation: shimmer 4s infinite linear;
  clip-path: polygon(
    0% 0%, 3% 35%, 5% 65%, 8% 25%, 
    13% 75%, 16% 35%, 20% 70%, 23% 30%, 
    28% 65%, 32% 20%, 36% 60%, 39% 40%, 
    43% 80%, 45% 10%, 48% 50%, 50% 30%, 
    53% 75%, 57% 25%, 60% 50%, 63% 15%, 
    68% 45%, 72% 5%, 76% 55%, 80% 25%, 
    84% 75%, 87% 45%, 92% 70%, 95% 35%, 
    98% 65%, 100% 0%
  );
}

@keyframes shimmer {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@media (hover: hover) {
  .hero-title .autopilot:hover {
    transform: translateY(-5px) scale(1.02);
    display: inline-block;
  }
}

.launch-info {
  background: #d1fae5;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #44b27b;
  margin: 1.5rem 0;
  display: none;
}

.launch-timeline {
  color: #44b27b;
  font-weight: bold;
  margin: 0;
}

.app-stores {
  text-align: center;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.store-badges {
  display: flex !important;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: row;
}

.store-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.store-badge {
  height: 50px;
  width: auto;
  transition: transform 0.2s;
  display: block;
}

.store-link:hover { transform: scale(1.05); }

.cta-button {
  background: linear-gradient(135deg, #44b27b, #369968);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 
    0 4px 6px rgba(68, 178, 123, 0.25),
    0 2px 4px rgba(68, 178, 123, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover {
  background: linear-gradient(135deg, #369968, #2d7a56);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(68, 178, 123, 0.3),
    0 4px 6px rgba(68, 178, 123, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(68, 178, 123, 0.25),
    0 2px 4px rgba(68, 178, 123, 0.15);
}

.screenshot-container {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.screenshot-image {
  width: 275px;
  height: auto;
  border-radius: 15px;
  background: transparent;
  transition: all 0.3s ease;
  animation: float 6s ease-in-out infinite;
  object-fit: contain;
}

.screenshot-2 {
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.screenshot-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.4),
    0 15px 25px rgba(0,0,0,0.25);
}

.features {
  background: #e0f2fe;
  padding: 4rem 2rem;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #44b27b;
  margin-bottom: 1.5rem;
}

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

.card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.card h3 {
  color: #44b27b;
  margin-bottom: 1rem;
}

/* Coming Soon Cards */
.card.coming-soon {
  position: relative;
  overflow: hidden;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(156, 163, 175, 0.75); /* Greyish overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.coming-soon-text {
  background: rgba(68, 178, 123, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* (removed) Waitlist form styles */

@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Adjust for smaller header on mobile */
  }
  
  .hero { 
    flex-direction: column; 
    text-align: center; 
    padding: 2rem 1rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
  }
  
  .app-stores {
    order: 10;
    margin-top: 2rem;
  }
  
  .hero h1 { 
    font-size: 2rem; 
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-title .autopilot::before {
    bottom: -10px;
    height: 10px;
  }
  
  .hero-title .autopilot::after {
    bottom: -6px;
    height: 5px;
  }
  
  /* (removed) Waitlist form responsive styles */
  
  .cta-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }
  
  .screenshot-container { 
    flex-direction: column; 
    gap: 1.5rem;
  }
  
  .screenshot-image { 
    width: 180px; 
    margin: 0 auto;
  }
  
  .store-badges { 
    flex-direction: row; 
    align-items: center; 
  }
}

@media (max-width: 480px) {
  .screenshot-image {
    width: 200px;
  }
  
  .screenshot-container {
    gap: 0rem;
    flex-direction: row;
  }
}

/* Blog Promo Section */
.blog-promo {
  background: linear-gradient(135deg, #f0f8ff, #e0f2fe);
  padding: 2rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.blog-promo-content {
  max-width: 600px;
  margin: 0 auto;
}

.blog-promo h2 {
  font-size: 2.2rem;
  color: #224154;
  margin-bottom: 1rem;
  font-family: 'Lora', serif;
}

.blog-promo p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.blog-cta-button {
  display: inline-block;
  background: #44b27b;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.blog-cta-button:hover {
  background: #224154;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(68, 178, 123, 0.3);
}
