/**
 * Trail Agent Landing Page Styles
 */

/* Hide WordPress theme header/nav on landing page */
body.tcr-landing-page #masthead,
body.tcr-landing-page .site-header,
body.tcr-landing-page header.site-header,
body.tcr-landing-page .main-navigation,
body.tcr-landing-page .primary-navigation,
body.tcr-landing-page .entry-header,
body.tcr-landing-page .page-header,
body.tcr-landing-page #site-navigation,
body.tcr-landing-page .site-branding,
body.tcr-landing-page .menu-toggle,
body.tcr-landing-page .header-inner,
body.tcr-landing-page nav.navbar,
body.tcr-landing-page .site-footer,
body.tcr-landing-page footer.site-footer,
body.tcr-landing-page #colophon,
/* WordPress Block Theme elements */
body.tcr-landing-page header.wp-block-template-part,
body.tcr-landing-page footer.wp-block-template-part,
body.tcr-landing-page .wp-block-template-part {
  display: none !important;
}

/* Hide only the theme's wp-block-navigation, not our landing header nav */
body.tcr-landing-page nav.wp-block-navigation {
  display: none !important;
}

/* Make the landing page content full width */
body.tcr-landing-page .site-content,
body.tcr-landing-page .content-area,
body.tcr-landing-page main,
body.tcr-landing-page article,
body.tcr-landing-page .entry-content,
body.tcr-landing-page .wp-site-blocks {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tcr-landing {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

/* Landing Page Header */
.tcr-landing .landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0 2rem;
}

.tcr-landing .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}

.tcr-landing .header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.25rem;
}

.tcr-landing .header-logo {
  font-size: 1.5rem;
}

.tcr-landing .header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tcr-landing .header-nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tcr-landing .header-nav a:hover {
  color: #2d5016;
}

.tcr-landing .header-nav .btn-primary,
.tcr-landing .header-nav .btn-secondary {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.tcr-landing .header-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.tcr-landing .header-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s ease;
}

/* Add padding to hero to account for fixed header */
.tcr-landing .hero {
  padding-top: 110px;
}

.tcr-landing * {
  box-sizing: border-box;
}

.tcr-landing h1, .tcr-landing h2, .tcr-landing h3 {
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.tcr-landing p {
  margin: 0 0 1rem 0;
}

.tcr-landing section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.tcr-landing .btn-primary,
.tcr-landing .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.tcr-landing .btn-primary {
  background: #2d5016;
  color: white;
}

.tcr-landing .btn-primary:hover {
  background: #1e3a0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.tcr-landing .btn-secondary {
  background: transparent;
  color: #2d5016;
  border: 2px solid #2d5016;
}

.tcr-landing .btn-secondary:hover {
  background: #2d5016;
  color: white;
}

.tcr-landing .btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.tcr-landing .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 6rem 2rem 4rem 2rem;
  background: linear-gradient(135deg, #f0f7e9 0%, #e8f5e0 100%);
  max-width: 100%;
  margin: 0;
}

.tcr-landing .hero-content {
  max-width: 600px;
  margin-left: auto;
  padding-left: 2rem;
}

.tcr-landing .hero h1 {
  font-size: 3rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.tcr-landing .hero-subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 2rem;
}

.tcr-landing .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tcr-landing .hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 2rem;
}

.tcr-landing .hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Stats Bar */
.tcr-landing .stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: #2d5016;
  color: white;
  padding: 3rem 2rem;
  max-width: 100%;
  margin: 0;
}

.tcr-landing .stat {
  text-align: center;
}

.tcr-landing .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
}

.tcr-landing .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Features Section */
.tcr-landing .features {
  text-align: center;
}

.tcr-landing .features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.tcr-landing .feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tcr-landing .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tcr-landing .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tcr-landing .feature-card h3 {
  color: #2d5016;
  font-size: 1.25rem;
}

.tcr-landing .feature-card p {
  color: #666;
  font-size: 0.95rem;
}

/* How It Works */
.tcr-landing .how-it-works {
  background: #f8f9fa;
  text-align: center;
  max-width: 100%;
  margin: 0;
}

.tcr-landing .how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.tcr-landing .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tcr-landing .step {
  text-align: center;
}

.tcr-landing .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #2d5016;
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tcr-landing .step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tcr-landing .step p {
  color: #666;
  font-size: 0.9rem;
}

/* About Section */
.tcr-landing .about {
  text-align: center;
}

.tcr-landing .about-content {
  max-width: 800px;
  margin: 0 auto;
}

.tcr-landing .about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.tcr-landing .about p {
  font-size: 1.1rem;
  color: #444;
}

/* Pricing Section */
.tcr-landing .pricing {
  background: #f8f9fa;
  text-align: center;
  max-width: 100%;
  margin: 0;
}

.tcr-landing .pricing h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.tcr-landing .pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tcr-landing .pricing-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.tcr-landing .pricing-card.featured {
  border: 3px solid #2d5016;
  transform: scale(1.05);
}

.tcr-landing .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d5016;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tcr-landing .pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tcr-landing .price {
  font-size: 3rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1.5rem;
}

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

.tcr-landing .pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.tcr-landing .pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: #444;
}

.tcr-landing .pricing-card li:last-child {
  border-bottom: none;
}

.tcr-landing .pricing-card li::before {
  content: "✓";
  color: #2d5016;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Contact Section */
.tcr-landing .contact {
  text-align: center;
}

.tcr-landing .contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tcr-landing .contact > p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: #444;
}

.tcr-landing .contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.tcr-landing .contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2d5016;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

.tcr-landing .contact-link:hover {
  text-decoration: underline;
}

.tcr-landing .contact-icon {
  font-size: 1.5rem;
}

/* CTA Section */
.tcr-landing .cta {
  background: linear-gradient(135deg, #2d5016 0%, #3d6a1e 100%);
  color: white;
  text-align: center;
  max-width: 100%;
  margin: 0;
}

.tcr-landing .cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tcr-landing .cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.tcr-landing .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tcr-landing .cta .btn-primary {
  background: white;
  color: #2d5016;
}

.tcr-landing .cta .btn-primary:hover {
  background: #f0f0f0;
}

.tcr-landing .cta .btn-secondary {
  border-color: white;
  color: white;
}

.tcr-landing .cta .btn-secondary:hover {
  background: white;
  color: #2d5016;
}

/* Footer */
.tcr-landing .landing-footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 2rem 1rem 2rem;
  max-width: 100%;
  margin: 0;
}

.tcr-landing .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.tcr-landing .footer-brand strong {
  font-size: 1.25rem;
}

.tcr-landing .footer-brand p {
  color: #888;
  font-size: 0.9rem;
}

.tcr-landing .footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.tcr-landing .footer-links a {
  color: #ccc;
  text-decoration: none;
}

.tcr-landing .footer-links a:hover {
  color: white;
}

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

.tcr-landing .footer-bottom p {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .tcr-landing .header-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
  }

  .tcr-landing .header-nav.open {
    display: flex;
  }

  .tcr-landing .header-nav a {
    padding: 0.75rem 1rem;
    display: block;
    width: 100%;
    text-align: center;
  }

  .tcr-landing .header-mobile-toggle {
    display: flex;
  }

  .tcr-landing .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .tcr-landing .hero-content {
    margin: 0 auto;
    padding: 0;
  }

  .tcr-landing .hero-buttons {
    justify-content: center;
  }

  .tcr-landing .hero-image {
    padding: 0;
    order: -1;
  }

  .tcr-landing .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tcr-landing .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tcr-landing .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

@media (max-width: 768px) {
  .tcr-landing .hero h1 {
    font-size: 2rem;
  }

  .tcr-landing section {
    padding: 3rem 1rem;
  }

  .tcr-landing .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .tcr-landing .features-grid {
    grid-template-columns: 1fr;
  }

  .tcr-landing .steps {
    grid-template-columns: 1fr;
  }

  .tcr-landing h2 {
    font-size: 1.75rem !important;
  }
}
