/* Custom styles for Ditto Landing Page */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation enhancements */
.seeds-nav {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Logo transitions - smoother and more stable */
.seeds-logo img {
  height: 180px;
  width: auto;
  max-width: 375px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height;
}

/* Navigation content transitions - smoother */
.seeds-nav-content {
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: padding;
}

/* Scroll shrink effect */
.seeds-nav.scrolled .seeds-nav-content {
  padding: 8px 0 !important;
}

.seeds-nav.scrolled .seeds-logo img {
  height: 60px !important;
}

/* Mobile navigation */
@media (max-width: 768px) {
  .seeds-nav-content {
    flex-direction: column;
    gap: var(--seeds-space-md);
  }
  
  .seeds-nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .seeds-nav-links .seeds-btn-primary {
    order: -1;
    margin-bottom: var(--seeds-space-sm);
  }
}

/* Form enhancements */
.seeds-cta-form input::placeholder,
.seeds-cta-form textarea::placeholder,
.seeds-cta-form select {
  color: var(--seeds-text-muted);
}

.seeds-cta-form input:focus,
.seeds-cta-form textarea:focus,
.seeds-cta-form select:focus {
  border-color: var(--seeds-orange);
  box-shadow: 0 0 0 3px rgba(255, 171, 64, 0.1);
}

/* Process steps enhancement */
.seeds-process-step {
  position: relative;
}

/* Benefit cards hover enhancement */
.seeds-benefit-card {
  border: 1px solid transparent;
}

/* Social proof enhancement */
blockquote {
  position: relative;
  padding: var(--seeds-space-xl);
}

blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--seeds-orange);
  position: absolute;
  top: -10px;
  left: 0;
  font-family: serif;
}

/* Button loading state */
.seeds-btn-primary:active {
  transform: translateY(0);
}

/* Accessibility improvements */
.seeds-btn-primary:focus,
.seeds-btn-secondary:focus {
  outline: 2px solid var(--seeds-orange);
  outline-offset: 2px;
}

/* Footer logo styling */

.seeds-footer-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  filter: brightness(0) invert(1); /* Makes the logo white for footer */
}

/* Newsletter Section Styles */
.seeds-newsletter-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--seeds-space-lg);
  margin-bottom: calc(var(--seeds-space-xl) * 2);
  text-align: center;
}

.seeds-newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.seeds-newsletter-content h3 {
  color: var(--seeds-white);
  font-size: var(--seeds-text-xl);
  font-weight: 700;
  margin-bottom: var(--seeds-space-md);
}

.seeds-newsletter-content p {
  color: var(--seeds-text-muted);
  font-size: var(--seeds-text-base);
  line-height: 1.6;
  margin-bottom: calc(var(--seeds-space-lg) * 1.5);
}



/* Newsletter Responsive */
@media (max-width: 768px) {
  .seeds-newsletter-section {
    padding: 0 var(--seeds-space-md);
    margin-bottom: var(--seeds-space-xl);
  }
  
  .seeds-newsletter-inline-section {
    padding: var(--seeds-space-xl) 0;
    margin: var(--seeds-space-xl) 0;
  }
  
  .seeds-newsletter-inline-content {
    grid-template-columns: 1fr;
    gap: var(--seeds-space-xl);
    text-align: center;
  }
  
  /* Custom Substack signup form styles */
  .substack-signup-form {
    max-width: 480px !important;
    margin: 0 auto !important;
  }
}

/* Clean CTA section */
.seeds-cta-section {
  background-color: var(--seeds-dark);
}

.seeds-cta-content {
  position: relative;
  z-index: 1;
}

/* How It Works section padding adjustment */
#how-it-works {
  padding-top: 66px;   /* Reduced by 30px from default 96px */
  padding-bottom: 46px; /* Reduced by 50px from default 96px */
}

/* Rotating Questions Responsive Typography */
.rotating-context {
  font-size: 2.125rem; /* 34px - Desktop size */
}

.rotating-question {
  font-size: 3.725rem; /* 59.6px - Desktop size */
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
  .rotating-context {
    font-size: 1.5rem; /* 24px - Larger and more readable */
    margin-bottom: calc(var(--seeds-space-lg) + 8px) !important; /* Reduced spacing on mobile */
  }
  
  .rotating-question {
    font-size: 2.25rem; /* 36px - Much larger and readable */
    line-height: 1.2 !important; /* Tighter line height for mobile */
  }
  
  /* Adjust rotating questions container for mobile */
  #rotating-questions {
    max-width: 100% !important;
    height: auto !important;
    min-height: 320px;
  }
  
  /* Hero container adjustments for mobile */
  .rotating-hero-container {
    margin-bottom: calc(var(--seeds-space-xl) + 30px) !important;
    height: auto !important;
    padding-top: 30px !important;
  }
}

/* Tablet breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
  .rotating-context {
    font-size: 1.75rem; /* 28px - Medium size for tablet */
  }
  
  .rotating-question {
    font-size: 2.75rem; /* 44px - Medium size for tablet */
  }
}

/* Strategic Decisions Section - Mobile Responsiveness */
@media (max-width: 768px) {
  /* Stack the three panels vertically on mobile */
  .seeds-container div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--seeds-space-lg) !important;
  }
}

/* Direct Value Hero Mobile Responsiveness */
@media (max-width: 768px) {
  /* Hero headline responsive sizing */
  h1[style*="4.5rem"] {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }
  
  /* Sub-headline responsive sizing */
  p[style*="1.75rem"] {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }
}