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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* Main Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: #2563eb;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.header-right {
  display: flex;
  align-items: center;
}

.get-started-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.get-started-link:hover {
  color: #1d4ed8;
  background-color: #eff6ff;
}

.landing-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 0 2rem;
  padding-top: 6rem; /* Account for fixed header */
  text-align: center;
  color: white;
}

.hero {
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
  font-size: 1.5rem;
  opacity: 0.9;
  font-weight: 300;
}

.invite-notice {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.invite-notice p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.invite-notice a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.invite-notice a:hover {
  color: #f0f0f0;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature p {
  opacity: 0.9;
  line-height: 1.6;
}

.cta {
  margin-top: 2rem;
}

.primary-button {
  background: white;
  color: #667eea;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.primary-button:active {
  transform: translateY(0);
}

/* Video Demo Section Styles */
.video-demo {
  margin: 4rem 0;
  text-align: center;
}

.video-demo h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-description {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  color: white;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  border: none;
}

/* Tech Section Styles */
.tech-section {
  margin-top: 4rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 4rem 0;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.tech-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tech-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

.tech-intro {
  font-size: 1.125rem;
  opacity: 0.9;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tech-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tech-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: white;
}

.tech-item p {
  opacity: 0.9;
  line-height: 1.5;
  font-size: 0.95rem;
  color: white;
}

.learning-note {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.learning-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: white;
}

.learning-note strong {
  color: #fff;
  font-weight: 600;
}

/* Footer Styles */
.main-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 2rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem 2rem;
  text-align: center;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer-text strong {
  color: white;
  font-weight: 600;
}

.github-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.github-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.open-source {
  color: #34d399;
  font-weight: 500;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 0.75rem;
  }

  .logo-text {
    font-size: 1.125rem;
  }

  .get-started-link {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }

  .landing-container {
    padding: 1rem;
    padding-top: 5.5rem; /* Slightly less padding on mobile */
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.25rem;
  }

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

  .video-demo {
    margin: 3rem 0;
  }

  .video-demo h2 {
    font-size: 2rem;
  }

  .video-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .video-container {
    padding: 0.75rem;
  }

  .video-container iframe {
    height: 250px;
  }

  .tech-container {
    padding: 0 1rem;
  }

  .tech-section {
    padding: 3rem 0;
  }

  .tech-section h2 {
    font-size: 1.75rem;
  }

  .tech-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

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

  .tech-item {
    padding: 1.25rem;
  }

  .learning-note {
    padding: 1.25rem;
  }

  .footer-container {
    padding: 0 1rem 1.5rem 1rem;
  }

  .main-footer {
    padding: 1.5rem 0 0 0;
  }

  .footer-text {
    font-size: 0.875rem;
  }
}
