/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  overflow-x: hidden;
}

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

/* Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -1px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #e5e7eb;
  color: #374151;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3b82f6;
}

.nav-links .nav-cta {
  color: white;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.25rem;
  color: #374151;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.mobile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(229, 231, 235, 0.3);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.mobile-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
}

.mobile-dropdown a:last-child {
  border-bottom: none;
}

.mobile-dropdown a:hover {
  background: rgba(59, 130, 246, 0.05);
  color: #3b82f6;
}

.mobile-dropdown .btn {
  margin: 0.5rem;
  justify-content: center;
  border-radius: 0.375rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: -2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: -4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 30%;
  animation-delay: -1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.8s forwards;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.hero-demo {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 1s forwards;
}

.demo-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(249, 250, 251, 0.8);
  border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.demo-dots {
  display: flex;
  gap: 0.375rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #e5e7eb;
}

.dot:nth-child(1) {
  background: #ef4444;
}
.dot:nth-child(2) {
  background: #f59e0b;
}
.dot:nth-child(3) {
  background: #10b981;
}

.demo-title {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.demo-code {
  padding: 1.5rem;
  font-family:
    "SF Mono", Monaco, "Inconsolata", "Roboto Mono", "Source Code Pro",
    monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #374151;
  background: rgba(255, 255, 255, 0.5);
}

.demo-code .tag {
  color: #dc2626;
}
.demo-code .attr {
  color: #059669;
}
.demo-code .string {
  color: #3b82f6;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Form Requirements */
.form-requirements {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
}

.requirement-card {
  background: rgba(59, 130, 246, 0.05);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
}

.requirement-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #3b82f6;
}

.requirement-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.field-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.field-list code {
  background: #3b82f6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: white;
}

/* Open Source Section */
.open-source {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.open-source-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.open-source-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.os-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
  font-weight: 500;
}

.os-feature i {
  color: #3b82f6;
  width: 1.25rem;
}

.github-stats {
  margin-top: 2rem;
}

.github-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #24292e;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.github-button:hover {
  background: #1a1e22;
  transform: translateY(-2px);
}

.star-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.open-source-code {
  opacity: 0;
  transform: translateY(30px);
}

.code-window {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(249, 250, 251, 0.8);
  border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.code-dots {
  display: flex;
  gap: 0.375rem;
}

.code-title {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.code-content {
  padding: 1.5rem;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #374151;
}

.code-content .comment {
  color: #6b7280;
}
.code-content .command {
  color: #dc2626;
  font-weight: 600;
}
.code-content .string {
  color: #3b82f6;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-item .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

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

.feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  border: 1px solid rgba(229, 231, 235, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.pricing-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  border: 2px solid rgba(229, 231, 235, 0.3);
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card:nth-child(2) {
  border-color: #3b82f6;
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2);
}

.featured-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
}

.price-period {
  font-size: 1rem;
  color: #6b7280;
}

.pricing-description {
  color: #6b7280;
  font-size: 0.875rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #374151;
}

.pricing-features i {
  color: #10b981;
  font-size: 0.875rem;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* Footer Updates */
.github-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.github-link:hover {
  color: #3b82f6;
}

.github-stars {
  font-size: 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: #3b82f6;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/* Footer */
.footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3b82f6;
}

.footer-description {
  margin-bottom: 1.5rem;
  color: #9ca3af;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .open-source-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .open-source-features {
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

  .nav-container {
    padding: 0 1.5rem;
    position: relative;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Hide code blocks on mobile */
  .demo-container,
  .code-window {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .open-source-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .open-source-features {
    align-items: center;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .hero-content {
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    min-height: 48px;
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat {
    min-width: 80px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }

  .section-title {
    font-size: 1.875rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* Sections padding adjustments */
  .features {
    padding: 4rem 0;
  }

  .open-source {
    padding: 4rem 0;
  }

  .about {
    padding: 4rem 0;
  }

  .pricing {
    padding: 4rem 0;
  }

  .cta {
    padding: 4rem 0;
  }

  .cta-title {
    font-size: 1.875rem;
    line-height: 1.3;
  }

  .cta-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

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

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }

  .feature-description {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

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

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-title {
    font-size: 1.375rem;
  }

  .price {
    font-size: 2.5rem;
  }

  .pricing-features {
    margin-bottom: 1.5rem;
  }

  .pricing-features li {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }

  .field-list {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .field-list code {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }

  .open-source-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .open-source-features {
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .os-feature {
    font-size: 0.9375rem;
  }

  .github-button {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }

  .code-window {
    margin: 0 -0.5rem;
  }

  .code-content {
    padding: 1rem;
    font-size: 0.8125rem;
    overflow-x: auto;
  }

  .demo-code {
    padding: 1rem;
    font-size: 0.8125rem;
    overflow-x: auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-description {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
    flex: 1;
    min-width: 0;
  }

  .stat-item .stat-number {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .stat-item .stat-label {
    font-size: 0.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-section:first-child .logo {
    justify-content: center;
  }

  .footer-section h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }

  .footer-section ul li {
    margin-bottom: 0.375rem;
  }

  .footer-section ul li a {
    font-size: 0.9375rem;
  }

  .footer-description {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
  }

  .github-link {
    justify-content: center;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.875rem;
  }
}

/* Additional mobile improvements for specific pages */
@media (max-width: 768px) {
  .docs-container {
    padding: 6rem 1.5rem 3rem;
    max-width: none;
  }

  .docs-nav {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .docs-nav h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .docs-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .docs-nav a {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    text-align: center;
  }

  .docs-section {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .docs-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .docs-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
  }

  .docs-section p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
  }

  .code-block {
    padding: 1rem;
    font-size: 0.8125rem;
    margin: 1rem 0;
    overflow-x: auto;
  }

  .step-list li {
    padding-left: 2.5rem;
    margin-bottom: 1rem;
  }

  .step-list li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }

  .warning {
    padding: 0.875rem;
    margin: 1rem 0;
    font-size: 0.9375rem;
  }

  .help-container {
    padding: 6rem 1.5rem 3rem;
    max-width: none;
  }

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

  .help-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .help-form {
    padding: 2rem 1.5rem;
  }

  .form-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .form-textarea {
    min-height: 100px;
  }

  .submit-btn {
    padding: 0.875rem;
    font-size: 0.9375rem;
    min-height: 48px;
  }

  .contact-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .contact-info h3 {
    font-size: 1.125rem;
  }

  .contact-info p {
    font-size: 0.9375rem;
  }

  .status-container {
    padding: 6rem 1.5rem 3rem;
    max-width: none;
  }

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

  .status-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .overall-status {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .status-indicator {
    font-size: 1.125rem;
    gap: 0.5rem;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-item {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .service-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
  }

  .service-details h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .service-details p {
    font-size: 0.8125rem;
  }

  .service-status {
    font-size: 0.9375rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .metric-card {
    padding: 1.5rem 1rem;
  }

  .metric-value {
    font-size: 2rem;
    margin-bottom: 0.25rem;
  }

  .metric-label {
    font-size: 0.75rem;
  }

  .uptime-chart {
    padding: 1.5rem;
  }

  .chart-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .chart-title {
    font-size: 1.125rem;
  }

  .chart-legend {
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
  }

  .legal-container {
    padding: 6rem 1.5rem 3rem;
    max-width: none;
  }

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

  .legal-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }

  .legal-content h2 {
    font-size: 1.375rem;
    margin: 1.5rem 0 0.75rem;
  }

  .legal-content h3 {
    font-size: 1.125rem;
    margin: 1.25rem 0 0.5rem;
  }

  .legal-content p {
    font-size: 0.9375rem;
    margin-bottom: 0.875rem;
  }

  .legal-content ul {
    font-size: 0.9375rem;
    margin-bottom: 0.875rem;
    padding-left: 1.25rem;
  }

  .contact-info {
    padding: 1.25rem;
    margin: 1.5rem 0;
  }

  .contact-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .contact-info p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }
}

/* Animation Classes */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.8s ease;
}

.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}
.stagger-6 {
  transition-delay: 0.6s;
}
/* Demo Video Modal */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.demo-modal.active {
  opacity: 1;
  visibility: visible;
}

.demo-modal-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  max-height: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.demo-modal.active .demo-modal-content {
  transform: scale(1);
}

.demo-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.demo-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.demo-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.demo-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.demo-video-container {
  position: relative;
  width: 100%;
  height: 400px;
  background: #f3f4f6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d1d5db;
}

.demo-video-placeholder {
  text-align: center;
  color: #6b7280;
}

.demo-video-placeholder i {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 1rem;
  display: block;
}

.demo-video-placeholder h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.demo-video-placeholder p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 768px) {
  .demo-modal-content {
    padding: 1.5rem;
    width: 95%;
  }

  .demo-modal-title {
    font-size: 1.25rem;
  }

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

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

  .demo-video-placeholder h3 {
    font-size: 1.125rem;
  }
}
