/* Landing Page Styles - BEM Methodology */

/* Landing Container */
.landing {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 0;
  margin: -20px -20px 0 -20px;
  overflow-x: hidden;
}

/* Hero Section */
.landing__hero {
  text-align: center;
  padding: 5rem 2rem;
  color: white;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.landing__logo {
  margin-bottom: 2rem;
  animation: landing-float 3s ease-in-out infinite;
}

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

.landing__logo-icon {
  font-size: 5rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.landing__title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.landing__tagline {
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0 0 1.5rem;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.landing__description {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* CTA Buttons */
.landing__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.landing__button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.landing__button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.landing__button:hover::before {
  width: 300px;
  height: 300px;
}

.landing__button--primary {
  background: white;
  color: #764ba2;
}

.landing__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.landing__button--secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.landing__button--secondary:hover {
  background: white;
  color: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* Features Section */
.landing__features {
  padding: 5rem 2rem;
  background: white;
  position: relative;
}

.landing__features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(118, 75, 162, 0.1) 0%, transparent 100%);
}

.landing__section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 3rem;
  position: relative;
}

.landing__section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

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

.landing__feature {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: #f9fafb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.landing__feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.landing__feature:hover::before {
  transform: scaleX(1);
}

.landing__feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: landing-bounce 2s ease-in-out infinite;
  animation-delay: calc(var(--index) * 0.1s);
}

@keyframes landing-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.landing__feature:nth-child(1) { --index: 0; }
.landing__feature:nth-child(2) { --index: 1; }
.landing__feature:nth-child(3) { --index: 2; }
.landing__feature:nth-child(4) { --index: 3; }

.landing__feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1rem;
}

.landing__feature-text {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Competitive Analysis Section */
.landing__competitive {
  padding: 5rem 2rem;
  background: #f3f4f6;
}

.landing__grid--compare {
  margin: 0 auto 2.5rem;
  max-width: 1100px;
}

.landing__compare {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.landing__compare-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.landing__bullet {
  margin: 0;
  padding-left: 1.25rem;
  color: #374151;
  line-height: 1.7;
}

.landing__bullet--muted {
  color: #6b7280;
}

.landing__pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.landing__pillar {
  background: white;
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.landing__pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.landing__pillar-title {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.landing__pillar-text {
  color: #4b5563;
}

/* Capabilities Section */
.landing__capabilities {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.landing__capabilities .landing__section-title {
  color: white;
}

.landing__capabilities .landing__section-title::after {
  background: white;
}

.landing__list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.landing__list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.landing__list-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.landing__list-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: white;
  color: #764ba2;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Footer */
.landing__footer {
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

.landing__footer-text {
  margin: 0;
  opacity: 0.9;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .landing__hero {
    padding: 3rem 1.5rem;
  }

  .landing__title {
    font-size: 2.5rem;
  }

  .landing__tagline {
    font-size: 1.25rem;
  }

  .landing__description {
    font-size: 1rem;
  }

  .landing__button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .landing__section-title {
    font-size: 2rem;
  }

  .landing__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .landing__features,
  .landing__capabilities,
  .landing__competitive {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .landing__title {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .landing__logo-icon {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    line-height: 100px;
  }

  .landing__cta {
    flex-direction: column;
    align-items: center;
  }

  .landing__button {
    width: 100%;
    max-width: 280px;
  }
}

/* Animation for page load */
@keyframes landing-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing__hero > * {
  animation: landing-fade-in 0.8s ease-out backwards;
}

.landing__hero > *:nth-child(1) { animation-delay: 0.1s; }
.landing__hero > *:nth-child(2) { animation-delay: 0.2s; }
.landing__hero > *:nth-child(3) { animation-delay: 0.3s; }
.landing__hero > *:nth-child(4) { animation-delay: 0.4s; }
.landing__hero > *:nth-child(5) { animation-delay: 0.5s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .landing__logo,
  .landing__feature-icon,
  .landing__hero > * {
    animation: none;
  }
  
  .landing__button::before,
  .landing__feature,
  .landing__list-item {
    transition: none;
  }
}

/* Examples Section */
.landing__examples {
  background: rgba(255, 255, 255, 0.95);
  padding: 4rem 2rem;
  text-align: center;
}

.landing__examples-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.landing__examples-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.landing__example-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
}

.landing__example-card:hover {
  border-color: #667eea;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
  text-decoration: none;
}

.landing__example-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.landing__example-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.landing__example-stats {
  font-size: 0.875rem;
  color: #6b7280;
}

.landing__link {
  color: #667eea;
  font-weight: 500;
  text-decoration: none;
}

.landing__link:hover {
  text-decoration: underline;
}