/* Lance Homepage Styles */

/* Override with custom color #625EFF site-wide */
:root > * {
  --md-primary-fg-color: #625EFF;
  --md-primary-fg-color--light: #8481FF;
  --md-primary-fg-color--dark: #4A46CC;
  --md-accent-fg-color: #625EFF;
  --md-accent-fg-color--transparent: rgba(98, 94, 255, 0.1);
}

* {
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

/* Hero Section - Fullscreen with Background Image */
.mdx-container {
  text-align: center;
  color: #f8f8f8;
  background: url("../images/lance-mj.png") no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-message {
  position: relative;
  padding: 40px 20px;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.hero-logo img {
  height: 120px;
  width: auto;
  margin-right: 24px;
  margin-top: 12px;
  filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.9));
}

.intro-message h1 {
  font-weight: 400;
  margin: 0;
  display: inline-block;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 1);
  font-size: 8em;
  line-height: 1.2;
  color: #ffffff;
  vertical-align: middle;
}

.intro-message h1 sup {
  font-size: 2rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.intro-message h3 {
  font-size: 1.1rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 1);
  font-weight: 600;
  margin-bottom: 32px;
  color: #ffffff;
}

.intro-divider {
  width: 400px;
  max-width: 80%;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  margin: 24px auto;
}

.list-inline {
  padding-left: 0;
  margin-left: -5px;
  list-style: none;
  margin-bottom: 0;
}

.list-inline li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}

.intro-message .md-button {
  margin: 8px;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.intro-message .md-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.intro-message .md-button--primary:hover {
  box-shadow: 0 8px 20px rgba(98, 94, 255, 0.5);
}

.intro-message .md-button:not(.md-button--primary):hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

/* What is Lance Section */
.lance-intro-section {
  padding: 80px 0;
  background-color: rgba(128, 128, 128, 0.03);
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.lance-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lance-intro-content h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--md-primary-fg-color);
}

.lance-intro-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0.9;
  text-align: center;
}

.lance-intro-content .md-button {
  margin-top: 16px;
  padding: 10px 28px;
  font-size: 14px;
  border: 2px solid currentColor;
  background-color: transparent;
  transition: all 0.3s ease;
}

.lance-intro-content .md-button:hover {
  color: var(--md-primary-fg-color);
  background-color: transparent;
}

/* Feature Sections */
.lance-feature-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.lance-feature-section:last-child {
  border-bottom: none;
}

.lance-feature-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.lance-feature-text {
  flex: 1;
  min-width: 300px;
}

.lance-feature-text h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--md-primary-fg-color);
}

.lance-feature-text p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 16px;
}

.lance-feature-text .md-button {
  font-size: 0.6rem;
  padding: 0;
  transition: all 0.3s ease;
}

.lance-feature-text .md-button:hover {
  transform: translateX(4px);
  color: var(--md-primary-fg-color);
}

.lance-feature-demo {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Alternating layout */
.lance-feature-section.reverse .lance-feature-content {
  flex-direction: row-reverse;
}

/* Terminal container adjustments */
[data-termynal] {
  margin: 0 auto;
  width: 500px;
  max-width: 100%;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .mdx-hero__content h1 {
    font-size: 2.2rem;
  }

  .mdx-hero__content p {
    font-size: 1.1rem;
  }

  .lance-feature-section {
    padding: 50px 0;
  }

  .lance-feature-content {
    flex-direction: column;
    gap: 40px;
  }

  .lance-feature-section.reverse .lance-feature-content {
    flex-direction: column;
  }

  .lance-feature-text h2 {
    font-size: 1.8rem;
  }

  .lance-feature-text p {
    font-size: 1rem;
  }

  .lance-feature-demo {
    min-width: 100%;
  }

  [data-termynal] {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 12px;
    padding: 50px 25px 25px;
  }
}

@media (max-width: 960px) {
  .intro-message .list-inline li {
    display: block;
    padding: 0;
    margin-bottom: 12px;
  }

  .intro-message .md-button {
    display: block;
    margin: 0 auto;
    width: 90%;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .intro-message h1 {
    font-size: 1.8rem;
  }

  .intro-message .md-button {
    max-width: 300px;
  }

  [data-termynal] {
    font-size: 10px;
    padding: 40px 15px 15px;
  }
}
