:root {
  --primary-color: #00DDB3;
  --primary-dark: #00A78C;
  --primary-light: #33E7C4;
  --primary-extra-light: #E6FCF7;
  --text-dark: #2B2D42;
  --text-medium: #4A4E69;
  --text-light: #8D99AE;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html,
body {
  height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--bg-light);
  overflow: auto;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Navbar styles */
.navbar {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  color: var(--bg-white);
  padding: 12px 24px;
  width: 100%;
  /* was 100vw */
  height: 84px;
  box-sizing: border-box;
  position: fixed;
  /* Always fixed at top */
  top: 0;
  left: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Remove: position: static; */
  margin-bottom: 0;
  /* Remove margin-bottom */
}

.navbar img {
  height: 32px;
  width: 32px;
  margin-right: 12px;
}

.navbar-title {
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

/* Screen styles */
.screen {
  width: 100%;
  /* was 100vw */
  min-height: 100vh;
  display: none;
  flex-direction: column;
  padding-top: 84px;
  box-sizing: border-box;
  overflow-y: auto;
}

.screen.active {
  display: flex;
}

/* Home screen styles */
#homeScreen {
  background-color: var(--bg-white);
  padding: 84px 24px 60px;
  align-items: center;
}

.hero-section {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-medium);
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.5;
}

.cta-button {
  padding: 16px 32px;
  font-size: 1.2rem;
  border-radius: var(--border-radius);
  border: none;
  background: var(--primary-color);
  color: var(--bg-white);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 221, 179, 0.3);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 221, 179, 0.4);
}

.features-section {
  max-width: 1200px;
  width: 100%;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-medium);
  line-height: 1.6;
}

.demo-animation {
  width: 100%;
  /* already correct, but keep as is */
  max-width: 600px;
  height: 400px;
  margin: 40px auto;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}



button {
  transition: var(--transition);
  cursor: pointer;
  font-weight: 500;
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}



/* Footer styles */
.footer {
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 40px 20px;
  text-align: center;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 32px;
  width: 32px;
  margin-right: 12px;
}

.footer-logo span {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--bg-white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-copyright {
  color: var(--text-medium);
  font-size: 0.9em;
}


/* Responsive styles */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .card {
    padding: 24px 16px 24px 16px;
    width: 95vw;
  }

}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }

}