/* Landing Page Styles */

.landing-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
}

.logo-text {
  color: #1a336b;
}

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

.nav-links a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #518ac8;
}

.nav-signin {
  color: #1a1a1a !important;
}

.nav-signup {
  background: #518ac8;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-signup:hover {
  background: #3a6ca8;
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-headline {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1a336b;
  margin: 0 0 1.5rem;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: #666;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-primary {
  display: inline-block;
  background: #518ac8;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.cta-primary:hover {
  background: #3a6ca8;
}

.cta-note {
  font-size: 0.875rem;
  color: #888;
  margin: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.screenshot-mockup {
  background: #1a336b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 51, 107, 0.3);
  width: 100%;
  max-width: 500px;
}

.mockup-header {
  background: #0d1f3d;
  padding: 0.75rem 1rem;
}

.mockup-dots {
  display: flex;
  gap: 0.5rem;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #334;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27ca40; }

.mockup-content {
  padding: 1.5rem;
  background: #fff;
}

.mockup-content pre {
  margin: 0;
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #333;
  white-space: pre-wrap;
}

/* Social Proof */
.social-proof {
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
}

.social-proof p {
  margin: 0 0 1.5rem;
  color: #666;
  font-weight: 500;
}

.proof-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.badge {
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a336b;
  margin: 0 0 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a336b;
  margin: 0 0 0.75rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Comparison Section */
.comparison {
  padding: 5rem 2rem;
  background: #f8f9fa;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-col {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comparison-col h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a336b;
  margin: 0 0 1.5rem;
}

.comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-col li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #333;
}

.comparison-col li:last-child {
  border-bottom: none;
}

.check {
  color: #27ca40;
  font-weight: 700;
}

/* Pricing Section */
.pricing {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #666;
  margin: -2rem 0 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  border-color: #518ac8;
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #518ac8;
  transform: scale(1.05);
}

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

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #518ac8;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a336b;
  margin: 0 0 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 2rem;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.features-list li {
  padding: 0.5rem 0;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.features-list li:last-child {
  border-bottom: none;
}

.pricing-cta {
  display: block;
  background: #518ac8;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.pricing-cta:hover {
  background: #3a6ca8;
}

.trial-note {
  font-size: 0.875rem;
  color: #888;
  margin: 0.5rem 0 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1a336b 0%, #518ac8 100%);
  color: white;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.final-cta p {
  font-size: 1.25rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}

.final-cta .cta-primary {
  background: white;
  color: #1a336b;
}

.final-cta .cta-primary:hover {
  background: #f0f0f0;
}

/* Footer */
.landing-footer {
  background: #1a1a1a;
  color: #999;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand .nav-logo {
  margin-bottom: 0.5rem;
}

.footer-brand span {
  color: white;
}

.footer-brand p {
  margin: 0;
  color: #666;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: #999;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
}

.form-row {
  display: flex;
  gap: 0.5rem;
}

.form-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
  background: white;
  color: #1a1a1a;
}

.form-input:focus {
  border-color: #518ac8;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin: 0;
}

.referral-notice {
  font-size: 0.875rem;
  color: #518ac8;
  margin: 0;
  font-weight: 500;
}

/* Waitlist Success */
.waitlist-success {
  text-align: center;
  padding: 1rem;
}

.waitlist-success .success-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.waitlist-success h3 {
  font-size: 1.5rem;
  color: #1a336b;
  margin: 0 0 0.5rem;
}

.waitlist-success p {
  color: #666;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

/* Referral Share */
.referral-share {
  background: #f0f7ff;
  border: 1px solid #b3d4f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.referral-label {
  font-weight: 600;
  color: #1a336b;
  margin-bottom: 0.75rem !important;
}

.referral-link-box {
  display: flex;
  gap: 0.5rem;
}

.referral-link-box .referral-input {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border: 1px solid #b3d4f0;
  border-radius: 6px;
  font-size: 0.875rem;
  background: white;
  color: #1a1a1a;
}

.copy-btn {
  padding: 0.625rem 1rem;
  background: #518ac8;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #3a6ca8;
}

.referral-hint {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
}

/* Counter Badge */
.counter-badge {
  background: linear-gradient(135deg, #1a336b, #518ac8);
  color: white !important;
}

.counter-number {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Hero CTA button when used as form submit */
.hero-cta .cta-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsive */

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .nav-links {
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
