html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1A2B4C;
  background-color: #F5F8FC;
  line-height: 1.6;
}

nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background-color: #FDFCFB;
  z-index: 1000;
  opacity: 0.95;
}

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

.nav-side {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.nav-links li {
  margin: 0 15px;
}

.nav-item {
  display: inline-block;
  text-decoration: none;
  color: #1A2B4C;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item.active {
  border-bottom: 2px solid currentColor;
}

.nav-create:hover,
.nav-create.active {
  color: #FF6B3B;
  transform: scale(1.1);
}

.nav-code:hover,
.nav-code.active {
  color: #63C7FF;
  transform: scale(1.1);
}

.nav-consult:hover,
.nav-consult.active {
  color: #00A78E;
  transform: scale(1.1);
}

.nav-tinker:hover,
.nav-tinker.active {
  color: #3D2C8D;
  transform: scale(1.2);
}

.nav-logo {
  max-width: 80px;
  margin-left: 32px;
}

.nav-contact-btn {
  color: #1A2B4C;
  display: inline-block;
  background: transparent;
  border: 2px solid #1A2B4C;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.nav-contact-btn:hover,
.nav-contact-btn.active {
  background-color: #1A2B4C;
  color: #fff;
}

.contact-form button.success {
  background-color: #4CAF50!important;
  color: #fff;
  transition: background-color 0.3s;
}

.contact-form button.error {
  background-color: #e53935!important;
  color: #fff;
  transition: background-color 0.3s;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: #1A2B4C;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-container.open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-container.open .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-container.open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-container.open {
  display: block;
  min-height: 100dvh;
}

header {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #F5F8FC;
  padding: 0 20px;
  box-sizing: border-box;
}

.header-content {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.main-logo {
  max-width: 340px;
  margin-bottom: 1rem;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.section {
  padding: 40px 20px;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
}

.center-section {
  justify-content: center;
  text-align: center;
}

.code-center-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.code-center-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.code-center-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.code-center-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 30px;
}

.consult-center-content,
.tinker-center-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.consult-center-content h2,
.tinker-center-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.consult-center-content h3,
.tinker-center-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.consult-center-content p,
.tinker-center-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 30px;
}

.create-center-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.create-center-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.create-center-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.create-center-content p {
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 30px;
}

section .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: background-color 0.3s;
}

section .btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.theme-lemmi {
  color: #1A2B4C;
  font-weight: bolder;
}

.theme-create {
  color: #fff;
  background: url("/images/lemmi_create_bg.png") #FF6B3B center center no-repeat;
}

.theme-code {
  color: #fff;
  background: url("/images/lemmi_code_bg.png") #63C7FF center center no-repeat;
}

.theme-consult {
  color: #fff;
  background: url("/images/lemmi_consult_bg.png") #00A78E center center no-repeat;
}

.theme-tinker {
  color: #fff;
  background: url("/images/lemmi_tinker_bg.png") #3D2C8D bottom left no-repeat;
}

.theme-contact {
  background-color: #fff;
  color: #1A2B4C;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1A2B4C;
}

.contact-form button {
  background-color: #1A2B4C;
  color: #fff;
  font-size: 1rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #163058;
}

.form-feedback {
  font-size: 0.9rem;
  color: #1A2B4C;
  margin-top: 10px;
}

.contact-section {
  justify-content: center;
  text-align: center;
  background-color: #fff;
  color: #1A2B4C;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section#contact {
  min-height: calc(100vh - 4rem);
}

.contact-content h2 {
  color: #1A2B4C;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.connect-tag {
  background-color: #1A2B4C;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out 0.2s, transform 0.4s ease-out 0.2s;
}

.connect-tag.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 480px;
}

.hero-cta {
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #1A2B4C;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.hero-cta:hover {
  background-color: #2c3e60;
}

footer {
  background-color: #FDFCFB;
  padding: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
  width: 100%;
}


@media (max-width: 768px) {
  .main-logo {
    max-width: 290px;
  }

  nav {
    margin: 0;
    padding: 20px;
  }

  .nav-container {
    padding-bottom: 0;
    padding-top: 0;
  }

  .nav-logo {
    margin: 0;
    vertical-align: sub;
  }

  .nav-links, .nav-right {
    display: none;
  }

  .nav-container.open .nav-logo {
    display: none;
  }

  .nav-container.open .nav-links, .nav-container.open .nav-right {
    display: table;
  }

  .nav-left {
    justify-content: right;
  }

  .nav-right {
    margin-top: 1rem;
  }

  .nav-links li {
    padding: 1rem 0 1rem 0;
    margin:0;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    justify-content: space-between;
    align-items: center;
  }
}

.pitch-page {
  background-color: #F9FBFF;
  font-family: 'Poppins', sans-serif;
  color: #1A2B4C;
}

.pitch-center-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.lemmi-dots::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 1.5em;
  margin-bottom: 0.1em;
  background-image: url('/images/lemmi-dots.svg');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.pitch-heading {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pitch-subheading {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1.25rem;
}

.pitch-tagline {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pitch-intro {
  font-size: 1.15rem;
  color: #1A2B4C;
  max-width: 90%;
}

.pitch-highlight {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1rem 0 2em;
  color: #1A2B4C;
}

.pitch-center-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 750px;
}

.pitch-list {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pitch-list li::before {
  content: "•";
  color: #1A2B4C;
  margin-right: 0.5rem;
  font-weight: bold;
  font-size: 2em;
  vertical-align: sub;
  line-height: 1em;
}

.pitch-list li:nth-child(1)::before { color: #FF6B3B; }
.pitch-list li:nth-child(2)::before { color: #00A78E; }
.pitch-list li:nth-child(3)::before { color: #63C7FF; }
.pitch-list li:nth-child(4)::before { color: #3D2C8D; }

.pitch-cta {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  background-color: #1A2B4C;
  color: #fff;
  display: inline-block;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pitch-cta:hover {
  background-color: #2a3f63;
  transform: translateY(-1px);
}

.pitch-footnote {
  margin-top: 3rem;
  font-style: italic;
  color: #444;
  font-size: 0.95rem;
  text-align: left;
}
