body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  background: #0a0a0a;
  color: #ffffff;
}

/* Space Grotesk for headings and key elements */
h1, h2, h3, .brand, .hero-text h1, .hero-subtitle, .features h2 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Framework Libraries Section */
.framework-libraries {
  background: #0f0f0f;
  padding: 5rem 0;
  color: #ffffff;
}

.framework-libraries h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #ffffff;
}

.libraries-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.library-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.library-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.library-card:visited {
  color: inherit;
  text-decoration: none;
}

.library-card:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.library-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  color: #ffffff;
  opacity: 0.9;
}

.library-icon svg {
  width: 100%;
  height: 100%;
}

.library-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff !important;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.library-card p {
  color: #cccccc !important;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* Test, Run & Deploy Section */
.test-run-deploy {
  background: #0a0a0a;
  padding: 5rem 0;
  color: #ffffff;
}

.test-run-deploy h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
}

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

.deploy-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.deploy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.deploy-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  color: #ffffff;
  opacity: 0.9;
}

.deploy-icon svg {
  width: 100%;
  height: 100%;
}

.deploy-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.deploy-card p {
  color: #cccccc;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* Tutorials Section */
.tutorials {
  background: #0f0f0f;
  padding: 5rem 0;
  color: #ffffff;
}

.tutorials h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.tutorial-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tutorial-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.tutorial-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  color: #ffffff;
  opacity: 0.9;
}

.tutorial-icon svg {
  width: 100%;
  height: 100%;
}

.tutorial-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tutorial-section p {
  color: #cccccc;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Tutorial section toggle functionality */
.tutorial-section[data-enabled="false"] {
  display: none !important;
}

.tutorial-section[data-enabled="true"] {
  display: block;
}

/* Center the remaining tutorial section when one is disabled */
.tutorials-grid:has(.tutorial-section[data-enabled="false"]) {
  display: flex;
  justify-content: center;
}

.tutorials-grid:has(.tutorial-section[data-enabled="false"]) .tutorial-section[data-enabled="true"] {
  max-width: 500px;
  width: 100%;
}

/* Fallback for browsers that don't support :has() */
.tutorials-grid.center-single {
  display: flex;
  justify-content: center;
}

.tutorials-grid.center-single .tutorial-section[data-enabled="true"] {
  max-width: 500px;
  width: 100%;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  background: #111111;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.navbar {
  padding: 1.2rem 0;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 2rem; /* Ensures minimum spacing between brand and navigation */
}

/* Desktop nav-header styling */
.nav-header {
  display: contents; /* Makes this behave as if it doesn't exist on desktop */
}

.brand {
  font-weight: 800;
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 1px;
  flex-shrink: 0; /* Prevents brand from shrinking */
}

/* Desktop navigation */
.nav-links {
  display: block;
}

.nav-links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0; /* Prevents navigation from shrinking */
}

.nav-links a {
  text-decoration: none;
  color: #cccccc;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
}

.hero {
  background: #111111;
  color: #ffffff;
  padding: 5rem 0 4rem 0;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 400;
  color: #cccccc;
  margin-bottom: 1.2rem;
  text-align: center;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.4;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 1.2rem 0;
  color: #ffffff;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #cccccc;
  margin-bottom: 0;
  font-style: italic;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}



.hero-content-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 auto 2rem auto;
  max-width: 800px;
  width: 100%;
}

.logo-icon {
  width: 180px;
  height: 180px;
  color: #ffffff;
  opacity: 0.9;
  margin: 1.5rem 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.nfv-points {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.nfv-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nfv-points li {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  text-align: left;
}

.nfv-points li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}



.code-examples {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* Toggle functionality for code examples, hero buttons, and hero tagline */
.code-examples[data-enabled="false"],
.hero-buttons[data-enabled="false"],
.hero-tagline[data-enabled="false"] {
  display: none !important;
}

.code-examples[data-enabled="true"] {
  display: block;
}

.hero-buttons[data-enabled="true"] {
  display: flex;
}

.hero-tagline[data-enabled="true"] {
  display: block;
}

.code-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-tab {
  background: transparent;
  color: #cccccc;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  flex: 1;
}

.code-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.code-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.code-content {
  position: relative;
  min-height: 600px;
}

.code-block {
  display: none;
  padding: 1.5rem;
}

.code-block.active {
  display: block;
}

.language-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.language-tab {
  background: transparent;
  color: #cccccc;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  flex: 1;
  border-radius: 8px 8px 0 0;
}

.language-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.language-tab.active {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.language-content {
  position: relative;
}

.language-block {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.language-block.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.code-container {
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #cccccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.copy-icon {
  width: 16px;
  height: 16px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.copy-btn.copied {
  background: #4CAF50;
  color: #ffffff;
  border-color: #4CAF50;
}

.language-block pre {
  margin: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 8px 8px;
  padding: 3rem;
  overflow-x: auto;
  overflow-y: auto;
  min-height: 500px;
  max-height: 600px;
}

.language-block code {
  color: #e0e7ef;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  display: block;
}

/* Override Prism.js theme for better dark theme integration */
.language-block pre[class*="language-"] {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 8px 8px;
  padding: 3rem;
  overflow-x: auto;
  overflow-y: auto;
  margin: 0;
  text-align: left;
  min-height: 500px;
  max-height: 600px;
}

.language-block code[class*="language-"] {
  text-align: left;
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Ensure language blocks are properly hidden/shown */
.language-content .language-block {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.2s ease;
}

.language-content .language-block.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-text p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 700px;
  color: #cccccc;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #333333;
}

.btn-secondary:hover {
  background: #333333;
  border-color: #ffffff;
}

.features {
  background: #0a0a0a;
  padding: 4rem 0 3rem 0;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

.features-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-card {
  background: #111111;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  padding: 2rem 1.5rem;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  text-align: center;
  color: #ffffff;
  border: 1px solid #222222;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border-color: #333333;
}

.feature-card h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.feature-card p {
  color: #cccccc;
  line-height: 1.5;
}

/* ===== FOOTER - MOBILE FIRST RESPONSIVE DESIGN ===== */

footer {
  background: #111111;
  color: #ffffff;
  padding: 2.5rem 0 1.5rem 0;
  border-top: 1px solid #222222;
  width: 100%;
  overflow-x: hidden;
}

/* Mobile First - Single Column Layout (Default for all mobile devices) */
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
}

.footer-section {
  width: 100%;
  text-align: center;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation Links */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: #cccccc;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  display: inline-block;
  min-height: 44px;
  line-height: 1.5;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #cccccc;
  text-decoration: none;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Contact Information */
.contact-info {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.8;
}

.contact-item span {
  text-align: center;
}

#contact-email a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

#contact-email a:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #222222;
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

#copyright {
  color: #999999;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE FOOTER BREAKPOINTS ===== */

/* Small Tablets (Portrait Mode) - iPad Mini, Surface Pro, etc. */
@media (min-width: 600px) and (max-width: 768px) {
  footer {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-content {
    gap: 2.5rem;
  }
  
  .footer-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }
  
  .social-icons {
    gap: 1.25rem;
  }
  
  .contact-item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .contact-item span {
    text-align: left;
  }
}

/* Medium Tablets (Portrait) - iPad Air, Zenbook Fold, etc. */
@media (min-width: 769px) and (max-width: 860px) {
  footer {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    justify-items: center;
    text-align: center;
  }
  
  .footer-section:nth-child(3) {
    grid-column: 1 / -1;
  }
  
  .footer-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }
  
  .social-icons {
    gap: 1.25rem;
  }
  
  .contact-item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .contact-item span {
    text-align: left;
  }
}

/* Large Tablets & Small Laptops (Landscape) */
@media (min-width: 861px) and (max-width: 1024px) {
  footer {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    justify-items: center;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: left;
  }
  
  .contact-item span {
    text-align: left;
  }
}

/* Desktop & Large Screens */
@media (min-width: 1025px) {
  footer {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    justify-items: start;
  }
  
  /* Restore desktop-specific alignments */
  .footer-section:nth-child(1) {
    justify-self: start;
    text-align: left;
  }
  
  .footer-section:nth-child(2) {
    justify-self: start;
    text-align: left;
  }
  
  .footer-section:nth-child(3) {
    justify-self: end;
    text-align: left; /* Address should be left-aligned as requested */
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .footer-nav li {
    margin-bottom: 0.25rem;
  }
  
  .footer-nav a {
    min-height: auto;
    padding: 0;
  }
  
  .social-icons {
    justify-content: flex-start;
    gap: 1rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-info {
    align-items: flex-start;
  }
  
  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: left;
  }
  
  .contact-icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }
  
  .contact-item span {
    text-align: left;
  }
}

.github-banner {
  background: #111111;
  color: #ffffff;
  padding: 0.5rem 0;
  border-bottom: 1px solid #222222;
}
.github-content {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.1rem;
  justify-content: center;
}
.github-icon {
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  color: #ffffff;
}
.github-text {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.github-link {
  display: flex;
  align-items: center;
  background: #ffffff;
  color: #0a0a0a;
  padding: 0.3rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.7rem;
  transition: background 0.2s ease;
  font-size: 1rem;
}
.github-link:hover {
  background: #f0f0f0;
}
.external-icon {
  width: 1em;
  height: 1em;
  margin-left: 0.4em;
  vertical-align: middle;
}
.github-btn-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5em;
  vertical-align: middle;
}

.disabled-tab {
  opacity: 0;
  pointer-events: none;
  cursor: default;
  background: transparent !important;
  color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.language-tab.disabled-tab:hover,
.language-tab.disabled-tab:focus {
  background: #222 !important;
  color: #888 !important;
  border: 1px solid #333 !important;
}

@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    align-items: center;
  }


  .libraries-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .deploy-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .tutorials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tutorials-grid.center-single {
    display: flex;
    justify-content: center;
  }
}

/* Tablet breakpoint - Force single column layout for cards */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Libraries section - single column on tablets */
  .libraries-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0 auto;
  }
  
  /* Test, Run & Deploy section - single column on tablets */
  .deploy-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0 auto;
  }
  
  /* Community section - single column on tablets */
  .community-links {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0 auto;
  }
  
  /* Tutorials section - single column on tablets */
  .tutorials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0 auto;
  }
}

/* Mobile navigation breakpoint */
@media (max-width: 768px) {
  /* Navbar container adjustments */
  .navbar {
    padding: 1rem 0;
  }
  
  .nav-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  
  /* Top row with brand and toggle */
  .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
  }
  
  .brand {
    font-size: 1.7rem;
    font-weight: 800;
  }
  
  /* Modern hamburger menu button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }
  
  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .nav-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }
  
  /* Hamburger lines */
  .nav-toggle span,
  .nav-toggle::before,
  .nav-toggle::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }
  
  .nav-toggle::before {
    transform: translateY(-6px);
  }
  
  .nav-toggle::after {
    transform: translateY(6px);
  }
  
  /* Animate to X when active */
  .nav-toggle.active::before {
    transform: rotate(45deg) translateY(0);
  }
  
  .nav-toggle.active span {
    opacity: 0;
    transform: scaleX(0);
  }
  
  .nav-toggle.active::after {
    transform: rotate(-45deg) translateY(0);
  }
  
  /* Accordion-style mobile menu */
  .nav-links {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
  }
  
  .nav-links.active {
    grid-template-rows: 1fr;
  }
  
  .nav-links-inner {
    overflow: hidden;
    min-height: 0;
  }
  
  .nav-links-inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  .nav-links-inner li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0ms;
  }
  
  .nav-links.active .nav-links-inner li {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Staggered animation for links */
  .nav-links.active .nav-links-inner li:nth-child(1) { transition-delay: 100ms; }
  .nav-links.active .nav-links-inner li:nth-child(2) { transition-delay: 150ms; }
  .nav-links.active .nav-links-inner li:nth-child(3) { transition-delay: 200ms; }
  .nav-links.active .nav-links-inner li:nth-child(4) { transition-delay: 250ms; }
  .nav-links.active .nav-links-inner li:nth-child(5) { transition-delay: 300ms; }
  .nav-links.active .nav-links-inner li:nth-child(6) { transition-delay: 350ms; }
  
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
  }
  
  .nav-links a:hover,
  .nav-links a:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding-left: 2rem;
  }
  
  .nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::before,
  .nav-links a:focus::before {
    width: 4px;
  }
  

}

@media (max-width: 600px) {
  .brand {
    font-size: 1.3rem;
  }
  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .hero-content-vertical {
    gap: 0;
  }
  
  .hero-subtitle {
    margin-bottom: 0;
  }
  
  .logo-icon {
    margin: 1rem 0;
  }
  
  /* Fix centering for mobile devices */
  .hero-content {
    align-items: center;
    justify-content: center;
  }
  
  .nfv-points {
    text-align: center;
    margin: 0 auto;
  }
  
  .nfv-points li {
    text-align: left;
    padding-left: 1.5rem;
    margin: 0 auto 1rem auto;
  }
  
  .nfv-points li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
  }
  .logo-icon {
    width: 140px;
    height: 140px;
  }
  .code-tabs {
    flex-direction: column;
  }
  .code-tab {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .code-tab.active {
    border-bottom: 2px solid #ffffff;
  }
  .language-tabs {
    flex-direction: column;
  }
  .language-tab {
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .language-tab.active {
    border-radius: 0;
    border-bottom: 2px solid #ffffff;
  }
  .framework-libraries h2 {
    font-size: 2rem;
  }
  .libraries-intro {
    font-size: 1rem;
  }
  .library-card {
    padding: 1.5rem;
  }
  .library-icon {
    width: 60px;
    height: 60px;
  }
  .deploy-icon {
    width: 60px;
    height: 60px;
  }
  .test-run-deploy h2 {
    font-size: 2rem;
  }
  .deploy-card {
    padding: 1.5rem;
  }
  .tutorials h2 {
    font-size: 2rem;
  }
  .tutorial-section {
    padding: 2rem;
  }
  .tutorial-icon {
    width: 60px;
    height: 60px;
  }
  .features h2 {
    font-size: 1.3rem;
  }
  .feature-card {
    padding: 1.2rem 0.7rem;
  }
  .container {
    padding: 0 1.5rem; /* Better mobile spacing to prevent text touching edges */
  }
}

/* Company Section */
.company {
  background: #111111;
  padding: 5rem 0;
  color: #ffffff;
}

.company h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
}

.company-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.company-visual svg {
  width: 300px;
  height: 210px;
  color: #ffffff;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.company-visual svg:hover {
  opacity: 1;
}

.company-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.company-text-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.company-text-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  transition: border-color 0.3s ease;
}

.company-text-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.company-text-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
  padding-left: 1.5rem;
  position: relative;
}

.company-text-box p::before {
  content: ">";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}

/* Pricing Section */
.pricing {
  background: #0a0a0a;
  padding: 5rem 0;
  color: #ffffff;
}

.pricing h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem auto;
  color: #ffffff;
  opacity: 0.9;
}

.pricing-icon svg {
  width: 100%;
  height: 100%;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pricing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.pricing-points li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: #cccccc;
  line-height: 1.6;
}

.pricing-points li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}

.pricing-note, .pricing-notes .pricing-note {
  color: #aaaaaa;
  font-style: italic;
  font-size: 0.9rem;
  margin: 1rem 0 0.5rem 0;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.pricing-subtitle {
  color: #999999;
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0.5rem 0 1.5rem 0;
  font-style: normal;
  line-height: 1.4;
}

.pricing-notes {
  margin-top: 1rem;
}

.service-category {
  margin-bottom: 1.5rem;
}

.service-category h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.price-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-height: 3rem;
}

.price-box:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.price-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #a0a0a0;
  margin: 0;
  letter-spacing: 0.3px;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4ade80;
  margin: 0;
  white-space: nowrap;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Contribution Section */
/* Community Section */
.community {
  background: #0a0a0a;
  padding: 5rem 0;
  color: #ffffff;
}

.community h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
}

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

.community-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.community-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.community-card p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.community-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  color: #ffffff;
  opacity: 0.9;
}

.community-icon svg {
  width: 100%;
  height: 100%;
}

/* Mobile Responsive Updates */
@media (max-width: 1200px) {
  .pricing-grid {
    gap: 1.5rem;
  }
  
  .pricing-card {
    padding: 1.2rem;
    min-height: 400px;
  }
}

@media (max-width: 950px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-card {
    padding: 1.5rem;
    min-height: 380px;
  }
  
  .community-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .company h2, .pricing h2, .community h2 {
    font-size: 2rem;
  }
  
  .pricing-card, .community-card {
    padding: 1.5rem;
    min-height: 400px;
  }
  
    .pricing-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .community-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .price-box {
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .price-label {
    font-size: 0.9rem;
  }
  
  .price {
    font-size: 1.2rem;
  }
  
  .company-content {
    padding: 0 1rem;
  }
  
  .company-text-box {
    padding: 1.2rem;
    border-radius: 8px;
  }
  
  .company-text-boxes {
    gap: 1rem;
  }
  
  .company-visual svg {
    width: 250px;
    height: 175px;
  }
}

/* iPhone SE and smaller phones */
@media (max-width: 375px) {
  .container {
    padding: 0 1rem; /* Compact spacing for iPhone SE */
    margin: 0 auto; /* Ensure proper centering */
  }
  
  body {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  .hero {
    padding: 3.5rem 0 2.5rem 0;
  }
  
  .hero-content {
    align-items: center;
    justify-content: center;
  }
  
  .hero-text {
    width: 100%;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-content-vertical {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
  }
  
  .nfv-points {
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }
  
  .nfv-points li {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
    padding-left: 1.5rem;
    margin: 0 auto 0.75rem auto;
    position: relative;
    max-width: 100%;
  }
  
  .nfv-points li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
  }
  
  .code-examples {
    width: 100%;
    margin: 0 auto;
  }
  
  /* Fix grid overflow on small screens */
  .libraries-grid,
  .deploy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  

  
  /* Fix horizontal overflow on iPhone SE */
  body {
    overflow-x: hidden;
  }
  
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .code-examples {
    max-width: 100%;
  }
  
  .nfv-points {
    max-width: 100%;
  }
  
  .libraries-intro {
    max-width: 100%;
  }
  
  .hero-content-vertical {
    max-width: 100%;
  }
  
  .language-block pre,
  .language-block pre[class*="language-"] {
    padding: 1rem;
    word-wrap: break-word;
    overflow-x: auto;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
    word-wrap: break-word;
  }
  
  .brand {
    font-size: 1.6rem;
  }
  
  .social-icons {
    gap: 0.5rem;
    justify-content: center;
  }
}

/* iPhone 12 Pro, Pixel 7 and similar larger phones */
@media (min-width: 376px) and (max-width: 480px) {
  .container {
    padding: 0 1.25rem; /* Better spacing for larger phones */
    margin: 0 auto; /* Ensure proper centering */
  }
  
  body {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  .hero {
    padding: 4rem 0 3rem 0;
  }
  
  .hero-content {
    align-items: center;
    justify-content: center;
  }
  
  .hero-text {
    width: 100%;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-content-vertical {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .nfv-points {
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }
  
  .nfv-points li {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
    padding-left: 1.5rem;
    margin: 0 auto 1rem auto;
    position: relative;
    max-width: 100%;
  }
  
  .nfv-points li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
  }
  
  .code-examples {
    width: 100%;
    margin: 0 auto;
  }
  
  /* Fix grid overflow on small screens */
  .libraries-grid,
  .deploy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  

  
  /* Fix overflow issues on larger phones too */
  .container {
    padding: 0 1.25rem;
  }
  
  .code-examples {
    max-width: 100%;
  }
  
  .language-block pre,
  .language-block pre[class*="language-"] {
    padding: 1.5rem;
    overflow-x: auto;
  }
  
  .social-icons {
    gap: 0.75rem;
    justify-content: center;
  }
} 